@pulumi/aws-apigateway 0.0.13 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,6 +2,40 @@
|
|
|
2
2
|
|
|
3
3
|
Easily create AWS API Gateway REST APIs using Pulumi. This component exposes the Crosswalk for AWS functionality documented in the [Pulumi AWS API Gateway guide](https://www.pulumi.com/docs/guides/crosswalk/aws/api-gateway/) as a package available in all Pulumi languages.
|
|
4
4
|
|
|
5
|
+
## Installing
|
|
6
|
+
|
|
7
|
+
This package is available in many languages in the standard packaging formats.
|
|
8
|
+
|
|
9
|
+
### Node.js (Java/TypeScript)
|
|
10
|
+
|
|
11
|
+
To use from JavaScript or TypeScript in Node.js, install using either `npm`:
|
|
12
|
+
|
|
13
|
+
npm install @pulumi/aws-apigateway
|
|
14
|
+
|
|
15
|
+
or `yarn`:
|
|
16
|
+
|
|
17
|
+
yarn add @pulumi/aws-apigateway
|
|
18
|
+
|
|
19
|
+
### Python
|
|
20
|
+
|
|
21
|
+
To use from Python, install using `pip`:
|
|
22
|
+
|
|
23
|
+
pip install pulumi-aws-apigateway
|
|
24
|
+
|
|
25
|
+
### Go
|
|
26
|
+
|
|
27
|
+
To use from Go, use `go get` to grab the latest version of the library
|
|
28
|
+
|
|
29
|
+
go get github.com/pulumi/pulumi-aws-apigateway/sdk
|
|
30
|
+
|
|
31
|
+
### .NET
|
|
32
|
+
|
|
33
|
+
To use from .NET, install using `dotnet add package`:
|
|
34
|
+
|
|
35
|
+
dotnet add package Pulumi.AwsApiGateway
|
|
36
|
+
|
|
37
|
+
## Example
|
|
38
|
+
|
|
5
39
|
Python:
|
|
6
40
|
|
|
7
41
|
```py
|
|
@@ -14,7 +48,7 @@ api = apigateway.RestAPI('api', routes=[
|
|
|
14
48
|
pulumi.export('url', api.url)
|
|
15
49
|
```
|
|
16
50
|
|
|
17
|
-
Go:
|
|
51
|
+
Go:
|
|
18
52
|
|
|
19
53
|
```go
|
|
20
54
|
getMethod := apigateway.MethodGET
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/aws-apigateway",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "v1.0.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"pulumi",
|
|
6
6
|
"aws",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource aws-apigateway
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource aws-apigateway v1.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/aws": "^5.4.0",
|