pulumi-aws-apigateway 2.7.0a1742520710__py3-none-any.whl → 3.1.0a1764307263__py3-none-any.whl
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.
- pulumi_aws_apigateway/__init__.py +1 -0
- pulumi_aws_apigateway/_enums.py +14 -6
- pulumi_aws_apigateway/_inputs.py +151 -151
- pulumi_aws_apigateway/provider.py +2 -1
- pulumi_aws_apigateway/pulumi-plugin.json +1 -1
- pulumi_aws_apigateway/rest_api.py +61 -60
- {pulumi_aws_apigateway-2.7.0a1742520710.dist-info → pulumi_aws_apigateway-3.1.0a1764307263.dist-info}/METADATA +4 -4
- pulumi_aws_apigateway-3.1.0a1764307263.dist-info/RECORD +12 -0
- {pulumi_aws_apigateway-2.7.0a1742520710.dist-info → pulumi_aws_apigateway-3.1.0a1764307263.dist-info}/WHEEL +1 -1
- pulumi_aws_apigateway-2.7.0a1742520710.dist-info/RECORD +0 -12
- {pulumi_aws_apigateway-2.7.0a1742520710.dist-info → pulumi_aws_apigateway-3.1.0a1764307263.dist-info}/top_level.txt +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -25,6 +25,7 @@ class ProviderArgs:
|
|
|
25
25
|
pass
|
|
26
26
|
|
|
27
27
|
|
|
28
|
+
@pulumi.type_token("pulumi:providers:aws-apigateway")
|
|
28
29
|
class Provider(pulumi.ProviderResource):
|
|
29
30
|
@overload
|
|
30
31
|
def __init__(__self__,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -23,25 +23,25 @@ __all__ = ['RestAPIArgs', 'RestAPI']
|
|
|
23
23
|
class RestAPIArgs:
|
|
24
24
|
def __init__(__self__, *,
|
|
25
25
|
api_key_source: Optional['APIKeySource'] = None,
|
|
26
|
-
binary_media_types: Optional[Sequence[pulumi.Input[str]]] = None,
|
|
27
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
28
|
-
disable_execute_api_endpoint: Optional[pulumi.Input[bool]] = None,
|
|
26
|
+
binary_media_types: Optional[Sequence[pulumi.Input[_builtins.str]]] = None,
|
|
27
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
|
+
disable_execute_api_endpoint: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
29
29
|
gateway_responses: Optional[Mapping[str, pulumi.Input['SwaggerGatewayResponseArgs']]] = None,
|
|
30
30
|
request_validator: Optional['RequestValidator'] = None,
|
|
31
31
|
routes: Optional[Sequence['RouteArgs']] = None,
|
|
32
|
-
stage_name: Optional[pulumi.Input[str]] = None,
|
|
32
|
+
stage_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
33
33
|
static_routes_bucket: Optional[pulumi.Input['pulumi_aws.s3.Bucket']] = None,
|
|
34
|
-
swagger_string: Optional[pulumi.Input[str]] = None,
|
|
35
|
-
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
34
|
+
swagger_string: Optional[pulumi.Input[_builtins.str]] = None,
|
|
35
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
|
|
36
36
|
"""
|
|
37
37
|
The set of arguments for constructing a RestAPI resource.
|
|
38
38
|
:param 'APIKeySource' api_key_source: The source for the apikey. This can either be a HEADER or AUTHORIZER. If `apiKeyRequired` is
|
|
39
39
|
set to true on a route, and this is not defined the value will default to HEADER.
|
|
40
|
-
:param Sequence[pulumi.Input[str]] binary_media_types: List of binary media types supported by the REST API. By default, the REST API supports only UTF-8-encoded text payloads.
|
|
40
|
+
:param Sequence[pulumi.Input[_builtins.str]] binary_media_types: List of binary media types supported by the REST API. By default, the REST API supports only UTF-8-encoded text payloads.
|
|
41
41
|
If importing an OpenAPI specification via the body argument, this corresponds to the x-amazon-apigateway-binary-media-types extension.
|
|
42
42
|
If the argument value is provided and is different than the OpenAPI value, the argument value will override the OpenAPI value.
|
|
43
|
-
:param pulumi.Input[str] description: Description of the REST API.
|
|
44
|
-
:param pulumi.Input[bool] disable_execute_api_endpoint: Whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke
|
|
43
|
+
:param pulumi.Input[_builtins.str] description: Description of the REST API.
|
|
44
|
+
:param pulumi.Input[_builtins.bool] disable_execute_api_endpoint: Whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke
|
|
45
45
|
your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that
|
|
46
46
|
clients use a custom domain name to invoke your API, disable the default endpoint. Defaults to false.
|
|
47
47
|
:param Mapping[str, pulumi.Input['SwaggerGatewayResponseArgs']] gateway_responses: Define custom gateway responses for the API. This can be used to properly enable
|
|
@@ -52,15 +52,15 @@ class RestAPIArgs:
|
|
|
52
52
|
specification for the API.
|
|
53
53
|
|
|
54
54
|
Either `swaggerString` or `routes` must be specified.
|
|
55
|
-
:param pulumi.Input[str] stage_name: The stage name for your API. This will get added as a base path to your API url.
|
|
55
|
+
:param pulumi.Input[_builtins.str] stage_name: The stage name for your API. This will get added as a base path to your API url.
|
|
56
56
|
:param pulumi.Input['pulumi_aws.s3.Bucket'] static_routes_bucket: Bucket to use for placing resources for static resources. If not provided a default one will
|
|
57
57
|
be created on your behalf if any `StaticRoute`s are provided.
|
|
58
|
-
:param pulumi.Input[str] swagger_string: A Swagger specification already in string form to use to initialize the APIGateway. Note
|
|
58
|
+
:param pulumi.Input[_builtins.str] swagger_string: A Swagger specification already in string form to use to initialize the APIGateway. Note
|
|
59
59
|
that you must manually provide permission for any route targets to be invoked by API Gateway
|
|
60
60
|
when using `swaggerString`.
|
|
61
61
|
|
|
62
62
|
Either `swaggerString` or `routes` must be specified.
|
|
63
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: 'Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present,
|
|
63
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: 'Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present,
|
|
64
64
|
tags with matching keys will overwrite those defined at the provider-level.
|
|
65
65
|
"""
|
|
66
66
|
if api_key_source is not None:
|
|
@@ -86,7 +86,7 @@ class RestAPIArgs:
|
|
|
86
86
|
if tags is not None:
|
|
87
87
|
pulumi.set(__self__, "tags", tags)
|
|
88
88
|
|
|
89
|
-
@property
|
|
89
|
+
@_builtins.property
|
|
90
90
|
@pulumi.getter(name="apiKeySource")
|
|
91
91
|
def api_key_source(self) -> Optional['APIKeySource']:
|
|
92
92
|
"""
|
|
@@ -99,9 +99,9 @@ class RestAPIArgs:
|
|
|
99
99
|
def api_key_source(self, value: Optional['APIKeySource']):
|
|
100
100
|
pulumi.set(self, "api_key_source", value)
|
|
101
101
|
|
|
102
|
-
@property
|
|
102
|
+
@_builtins.property
|
|
103
103
|
@pulumi.getter(name="binaryMediaTypes")
|
|
104
|
-
def binary_media_types(self) -> Optional[Sequence[pulumi.Input[str]]]:
|
|
104
|
+
def binary_media_types(self) -> Optional[Sequence[pulumi.Input[_builtins.str]]]:
|
|
105
105
|
"""
|
|
106
106
|
List of binary media types supported by the REST API. By default, the REST API supports only UTF-8-encoded text payloads.
|
|
107
107
|
If importing an OpenAPI specification via the body argument, this corresponds to the x-amazon-apigateway-binary-media-types extension.
|
|
@@ -110,24 +110,24 @@ class RestAPIArgs:
|
|
|
110
110
|
return pulumi.get(self, "binary_media_types")
|
|
111
111
|
|
|
112
112
|
@binary_media_types.setter
|
|
113
|
-
def binary_media_types(self, value: Optional[Sequence[pulumi.Input[str]]]):
|
|
113
|
+
def binary_media_types(self, value: Optional[Sequence[pulumi.Input[_builtins.str]]]):
|
|
114
114
|
pulumi.set(self, "binary_media_types", value)
|
|
115
115
|
|
|
116
|
-
@property
|
|
116
|
+
@_builtins.property
|
|
117
117
|
@pulumi.getter
|
|
118
|
-
def description(self) -> Optional[pulumi.Input[str]]:
|
|
118
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
119
119
|
"""
|
|
120
120
|
Description of the REST API.
|
|
121
121
|
"""
|
|
122
122
|
return pulumi.get(self, "description")
|
|
123
123
|
|
|
124
124
|
@description.setter
|
|
125
|
-
def description(self, value: Optional[pulumi.Input[str]]):
|
|
125
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
126
126
|
pulumi.set(self, "description", value)
|
|
127
127
|
|
|
128
|
-
@property
|
|
128
|
+
@_builtins.property
|
|
129
129
|
@pulumi.getter(name="disableExecuteApiEndpoint")
|
|
130
|
-
def disable_execute_api_endpoint(self) -> Optional[pulumi.Input[bool]]:
|
|
130
|
+
def disable_execute_api_endpoint(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
131
131
|
"""
|
|
132
132
|
Whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke
|
|
133
133
|
your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that
|
|
@@ -136,10 +136,10 @@ class RestAPIArgs:
|
|
|
136
136
|
return pulumi.get(self, "disable_execute_api_endpoint")
|
|
137
137
|
|
|
138
138
|
@disable_execute_api_endpoint.setter
|
|
139
|
-
def disable_execute_api_endpoint(self, value: Optional[pulumi.Input[bool]]):
|
|
139
|
+
def disable_execute_api_endpoint(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
140
140
|
pulumi.set(self, "disable_execute_api_endpoint", value)
|
|
141
141
|
|
|
142
|
-
@property
|
|
142
|
+
@_builtins.property
|
|
143
143
|
@pulumi.getter(name="gatewayResponses")
|
|
144
144
|
def gateway_responses(self) -> Optional[Mapping[str, pulumi.Input['SwaggerGatewayResponseArgs']]]:
|
|
145
145
|
"""
|
|
@@ -152,7 +152,7 @@ class RestAPIArgs:
|
|
|
152
152
|
def gateway_responses(self, value: Optional[Mapping[str, pulumi.Input['SwaggerGatewayResponseArgs']]]):
|
|
153
153
|
pulumi.set(self, "gateway_responses", value)
|
|
154
154
|
|
|
155
|
-
@property
|
|
155
|
+
@_builtins.property
|
|
156
156
|
@pulumi.getter(name="requestValidator")
|
|
157
157
|
def request_validator(self) -> Optional['RequestValidator']:
|
|
158
158
|
"""
|
|
@@ -165,7 +165,7 @@ class RestAPIArgs:
|
|
|
165
165
|
def request_validator(self, value: Optional['RequestValidator']):
|
|
166
166
|
pulumi.set(self, "request_validator", value)
|
|
167
167
|
|
|
168
|
-
@property
|
|
168
|
+
@_builtins.property
|
|
169
169
|
@pulumi.getter
|
|
170
170
|
def routes(self) -> Optional[Sequence['RouteArgs']]:
|
|
171
171
|
"""
|
|
@@ -180,19 +180,19 @@ class RestAPIArgs:
|
|
|
180
180
|
def routes(self, value: Optional[Sequence['RouteArgs']]):
|
|
181
181
|
pulumi.set(self, "routes", value)
|
|
182
182
|
|
|
183
|
-
@property
|
|
183
|
+
@_builtins.property
|
|
184
184
|
@pulumi.getter(name="stageName")
|
|
185
|
-
def stage_name(self) -> Optional[pulumi.Input[str]]:
|
|
185
|
+
def stage_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
186
186
|
"""
|
|
187
187
|
The stage name for your API. This will get added as a base path to your API url.
|
|
188
188
|
"""
|
|
189
189
|
return pulumi.get(self, "stage_name")
|
|
190
190
|
|
|
191
191
|
@stage_name.setter
|
|
192
|
-
def stage_name(self, value: Optional[pulumi.Input[str]]):
|
|
192
|
+
def stage_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
193
193
|
pulumi.set(self, "stage_name", value)
|
|
194
194
|
|
|
195
|
-
@property
|
|
195
|
+
@_builtins.property
|
|
196
196
|
@pulumi.getter(name="staticRoutesBucket")
|
|
197
197
|
def static_routes_bucket(self) -> Optional[pulumi.Input['pulumi_aws.s3.Bucket']]:
|
|
198
198
|
"""
|
|
@@ -205,9 +205,9 @@ class RestAPIArgs:
|
|
|
205
205
|
def static_routes_bucket(self, value: Optional[pulumi.Input['pulumi_aws.s3.Bucket']]):
|
|
206
206
|
pulumi.set(self, "static_routes_bucket", value)
|
|
207
207
|
|
|
208
|
-
@property
|
|
208
|
+
@_builtins.property
|
|
209
209
|
@pulumi.getter(name="swaggerString")
|
|
210
|
-
def swagger_string(self) -> Optional[pulumi.Input[str]]:
|
|
210
|
+
def swagger_string(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
211
211
|
"""
|
|
212
212
|
A Swagger specification already in string form to use to initialize the APIGateway. Note
|
|
213
213
|
that you must manually provide permission for any route targets to be invoked by API Gateway
|
|
@@ -218,12 +218,12 @@ class RestAPIArgs:
|
|
|
218
218
|
return pulumi.get(self, "swagger_string")
|
|
219
219
|
|
|
220
220
|
@swagger_string.setter
|
|
221
|
-
def swagger_string(self, value: Optional[pulumi.Input[str]]):
|
|
221
|
+
def swagger_string(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
222
222
|
pulumi.set(self, "swagger_string", value)
|
|
223
223
|
|
|
224
|
-
@property
|
|
224
|
+
@_builtins.property
|
|
225
225
|
@pulumi.getter
|
|
226
|
-
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
226
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
227
227
|
"""
|
|
228
228
|
'Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present,
|
|
229
229
|
tags with matching keys will overwrite those defined at the provider-level.
|
|
@@ -231,26 +231,27 @@ class RestAPIArgs:
|
|
|
231
231
|
return pulumi.get(self, "tags")
|
|
232
232
|
|
|
233
233
|
@tags.setter
|
|
234
|
-
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
234
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
235
235
|
pulumi.set(self, "tags", value)
|
|
236
236
|
|
|
237
237
|
|
|
238
|
+
@pulumi.type_token("aws-apigateway:index:RestAPI")
|
|
238
239
|
class RestAPI(pulumi.ComponentResource):
|
|
239
240
|
@overload
|
|
240
241
|
def __init__(__self__,
|
|
241
242
|
resource_name: str,
|
|
242
243
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
243
244
|
api_key_source: Optional['APIKeySource'] = None,
|
|
244
|
-
binary_media_types: Optional[Sequence[pulumi.Input[str]]] = None,
|
|
245
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
246
|
-
disable_execute_api_endpoint: Optional[pulumi.Input[bool]] = None,
|
|
245
|
+
binary_media_types: Optional[Sequence[pulumi.Input[_builtins.str]]] = None,
|
|
246
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
247
|
+
disable_execute_api_endpoint: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
247
248
|
gateway_responses: Optional[Mapping[str, pulumi.Input[Union['SwaggerGatewayResponseArgs', 'SwaggerGatewayResponseArgsDict']]]] = None,
|
|
248
249
|
request_validator: Optional['RequestValidator'] = None,
|
|
249
250
|
routes: Optional[Sequence[Union['RouteArgs', 'RouteArgsDict']]] = None,
|
|
250
|
-
stage_name: Optional[pulumi.Input[str]] = None,
|
|
251
|
+
stage_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
251
252
|
static_routes_bucket: Optional[pulumi.Input['pulumi_aws.s3.Bucket']] = None,
|
|
252
|
-
swagger_string: Optional[pulumi.Input[str]] = None,
|
|
253
|
-
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
253
|
+
swagger_string: Optional[pulumi.Input[_builtins.str]] = None,
|
|
254
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
254
255
|
__props__=None):
|
|
255
256
|
"""
|
|
256
257
|
The RestAPI component offers a simple interface for creating a fully functional API Gateway REST API. The
|
|
@@ -262,11 +263,11 @@ class RestAPI(pulumi.ComponentResource):
|
|
|
262
263
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
263
264
|
:param 'APIKeySource' api_key_source: The source for the apikey. This can either be a HEADER or AUTHORIZER. If `apiKeyRequired` is
|
|
264
265
|
set to true on a route, and this is not defined the value will default to HEADER.
|
|
265
|
-
:param Sequence[pulumi.Input[str]] binary_media_types: List of binary media types supported by the REST API. By default, the REST API supports only UTF-8-encoded text payloads.
|
|
266
|
+
:param Sequence[pulumi.Input[_builtins.str]] binary_media_types: List of binary media types supported by the REST API. By default, the REST API supports only UTF-8-encoded text payloads.
|
|
266
267
|
If importing an OpenAPI specification via the body argument, this corresponds to the x-amazon-apigateway-binary-media-types extension.
|
|
267
268
|
If the argument value is provided and is different than the OpenAPI value, the argument value will override the OpenAPI value.
|
|
268
|
-
:param pulumi.Input[str] description: Description of the REST API.
|
|
269
|
-
:param pulumi.Input[bool] disable_execute_api_endpoint: Whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke
|
|
269
|
+
:param pulumi.Input[_builtins.str] description: Description of the REST API.
|
|
270
|
+
:param pulumi.Input[_builtins.bool] disable_execute_api_endpoint: Whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke
|
|
270
271
|
your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that
|
|
271
272
|
clients use a custom domain name to invoke your API, disable the default endpoint. Defaults to false.
|
|
272
273
|
:param Mapping[str, pulumi.Input[Union['SwaggerGatewayResponseArgs', 'SwaggerGatewayResponseArgsDict']]] gateway_responses: Define custom gateway responses for the API. This can be used to properly enable
|
|
@@ -277,15 +278,15 @@ class RestAPI(pulumi.ComponentResource):
|
|
|
277
278
|
specification for the API.
|
|
278
279
|
|
|
279
280
|
Either `swaggerString` or `routes` must be specified.
|
|
280
|
-
:param pulumi.Input[str] stage_name: The stage name for your API. This will get added as a base path to your API url.
|
|
281
|
+
:param pulumi.Input[_builtins.str] stage_name: The stage name for your API. This will get added as a base path to your API url.
|
|
281
282
|
:param pulumi.Input['pulumi_aws.s3.Bucket'] static_routes_bucket: Bucket to use for placing resources for static resources. If not provided a default one will
|
|
282
283
|
be created on your behalf if any `StaticRoute`s are provided.
|
|
283
|
-
:param pulumi.Input[str] swagger_string: A Swagger specification already in string form to use to initialize the APIGateway. Note
|
|
284
|
+
:param pulumi.Input[_builtins.str] swagger_string: A Swagger specification already in string form to use to initialize the APIGateway. Note
|
|
284
285
|
that you must manually provide permission for any route targets to be invoked by API Gateway
|
|
285
286
|
when using `swaggerString`.
|
|
286
287
|
|
|
287
288
|
Either `swaggerString` or `routes` must be specified.
|
|
288
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: 'Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present,
|
|
289
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: 'Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present,
|
|
289
290
|
tags with matching keys will overwrite those defined at the provider-level.
|
|
290
291
|
"""
|
|
291
292
|
...
|
|
@@ -316,16 +317,16 @@ class RestAPI(pulumi.ComponentResource):
|
|
|
316
317
|
resource_name: str,
|
|
317
318
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
318
319
|
api_key_source: Optional['APIKeySource'] = None,
|
|
319
|
-
binary_media_types: Optional[Sequence[pulumi.Input[str]]] = None,
|
|
320
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
321
|
-
disable_execute_api_endpoint: Optional[pulumi.Input[bool]] = None,
|
|
320
|
+
binary_media_types: Optional[Sequence[pulumi.Input[_builtins.str]]] = None,
|
|
321
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
322
|
+
disable_execute_api_endpoint: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
322
323
|
gateway_responses: Optional[Mapping[str, pulumi.Input[Union['SwaggerGatewayResponseArgs', 'SwaggerGatewayResponseArgsDict']]]] = None,
|
|
323
324
|
request_validator: Optional['RequestValidator'] = None,
|
|
324
325
|
routes: Optional[Sequence[Union['RouteArgs', 'RouteArgsDict']]] = None,
|
|
325
|
-
stage_name: Optional[pulumi.Input[str]] = None,
|
|
326
|
+
stage_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
326
327
|
static_routes_bucket: Optional[pulumi.Input['pulumi_aws.s3.Bucket']] = None,
|
|
327
|
-
swagger_string: Optional[pulumi.Input[str]] = None,
|
|
328
|
-
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
328
|
+
swagger_string: Optional[pulumi.Input[_builtins.str]] = None,
|
|
329
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
329
330
|
__props__=None):
|
|
330
331
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
331
332
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -360,7 +361,7 @@ class RestAPI(pulumi.ComponentResource):
|
|
|
360
361
|
opts,
|
|
361
362
|
remote=True)
|
|
362
363
|
|
|
363
|
-
@property
|
|
364
|
+
@_builtins.property
|
|
364
365
|
@pulumi.getter
|
|
365
366
|
def api(self) -> pulumi.Output['pulumi_aws.apigateway.RestApi']:
|
|
366
367
|
"""
|
|
@@ -368,7 +369,7 @@ class RestAPI(pulumi.ComponentResource):
|
|
|
368
369
|
"""
|
|
369
370
|
return pulumi.get(self, "api")
|
|
370
371
|
|
|
371
|
-
@property
|
|
372
|
+
@_builtins.property
|
|
372
373
|
@pulumi.getter(name="apiPolicy")
|
|
373
374
|
def api_policy(self) -> pulumi.Output[Optional['pulumi_aws.apigateway.RestApiPolicy']]:
|
|
374
375
|
"""
|
|
@@ -376,7 +377,7 @@ class RestAPI(pulumi.ComponentResource):
|
|
|
376
377
|
"""
|
|
377
378
|
return pulumi.get(self, "api_policy")
|
|
378
379
|
|
|
379
|
-
@property
|
|
380
|
+
@_builtins.property
|
|
380
381
|
@pulumi.getter
|
|
381
382
|
def deployment(self) -> pulumi.Output['pulumi_aws.apigateway.Deployment']:
|
|
382
383
|
"""
|
|
@@ -384,7 +385,7 @@ class RestAPI(pulumi.ComponentResource):
|
|
|
384
385
|
"""
|
|
385
386
|
return pulumi.get(self, "deployment")
|
|
386
387
|
|
|
387
|
-
@property
|
|
388
|
+
@_builtins.property
|
|
388
389
|
@pulumi.getter
|
|
389
390
|
def stage(self) -> pulumi.Output['pulumi_aws.apigateway.Stage']:
|
|
390
391
|
"""
|
|
@@ -392,9 +393,9 @@ class RestAPI(pulumi.ComponentResource):
|
|
|
392
393
|
"""
|
|
393
394
|
return pulumi.get(self, "stage")
|
|
394
395
|
|
|
395
|
-
@property
|
|
396
|
+
@_builtins.property
|
|
396
397
|
@pulumi.getter
|
|
397
|
-
def url(self) -> pulumi.Output[str]:
|
|
398
|
+
def url(self) -> pulumi.Output[_builtins.str]:
|
|
398
399
|
"""
|
|
399
400
|
The URL where the Rest API is exposed.
|
|
400
401
|
"""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pulumi_aws_apigateway
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.1.0a1764307263
|
|
4
4
|
Summary: Pulumi Amazon Web Services (AWS) API Gateway Components.
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
Project-URL: Repository, https://github.com/pulumi/pulumi-aws-apigateway
|
|
@@ -8,10 +8,10 @@ Keywords: pulumi,aws,apigateway,category/cloud,kind/component
|
|
|
8
8
|
Requires-Python: >=3.9
|
|
9
9
|
Description-Content-Type: text/markdown
|
|
10
10
|
Requires-Dist: parver>=0.2.1
|
|
11
|
-
Requires-Dist: pulumi<4.0.0,>=3.
|
|
12
|
-
Requires-Dist: pulumi-aws<
|
|
11
|
+
Requires-Dist: pulumi<4.0.0,>=3.165.0
|
|
12
|
+
Requires-Dist: pulumi-aws<8.0.0,>=7.0.0
|
|
13
13
|
Requires-Dist: semver>=2.8.1
|
|
14
|
-
Requires-Dist: typing-extensions
|
|
14
|
+
Requires-Dist: typing-extensions<5,>=4.11; python_version < "3.11"
|
|
15
15
|
|
|
16
16
|
[](https://github.com/pulumi/pulumi-aws-apigateway/actions)
|
|
17
17
|
[](https://slack.pulumi.com)
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
pulumi_aws_apigateway/__init__.py,sha256=-Y2G_LvPPAIYvzap0o0WQV8XcrVQryd3Zi3Xv9mUW9k,747
|
|
2
|
+
pulumi_aws_apigateway/_enums.py,sha256=yYie1py4CEPLxDkkI-OkI13cXQgjwDFfxmcu8qasf8Y,1600
|
|
3
|
+
pulumi_aws_apigateway/_inputs.py,sha256=K5_wORVkNkk_KtxjmO1EQ3VHLZ75hWVVkpTs3sAAlBg,52033
|
|
4
|
+
pulumi_aws_apigateway/_utilities.py,sha256=66uLGQDI1oMFOI3Fe5igAphtexWhcSLDyuVW50jW3ik,10789
|
|
5
|
+
pulumi_aws_apigateway/provider.py,sha256=0EETsawHAXrPjtcLTWDLSGjRxnt8znP3_RboozHPqiI,3001
|
|
6
|
+
pulumi_aws_apigateway/pulumi-plugin.json,sha256=JYwmCH5bASoEEcm6wzzypC6hRbmbjG1sjRw-_DYwgjY,90
|
|
7
|
+
pulumi_aws_apigateway/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
|
+
pulumi_aws_apigateway/rest_api.py,sha256=Hvi-OjnfE1dNXApVb6hh8YvJx0kXYpaoPrwB2lJdf3Q,22306
|
|
9
|
+
pulumi_aws_apigateway-3.1.0a1764307263.dist-info/METADATA,sha256=nVtgGwMjO_8QrLz63zU7ycy3CFvqkniXHU3rtZENB50,3009
|
|
10
|
+
pulumi_aws_apigateway-3.1.0a1764307263.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
11
|
+
pulumi_aws_apigateway-3.1.0a1764307263.dist-info/top_level.txt,sha256=YY2wCK-Qy789n9y-8rwjASV5533Pg_6X5fH0hoDSif4,22
|
|
12
|
+
pulumi_aws_apigateway-3.1.0a1764307263.dist-info/RECORD,,
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
pulumi_aws_apigateway/__init__.py,sha256=RoNAMO6Va0tdiVpaxvabQ6QS0rOoyfdaVzpOkhAQwgw,718
|
|
2
|
-
pulumi_aws_apigateway/_enums.py,sha256=GY4S2fT72PJRKnJVxT6iWOXIvcAfj1LDSmDeQ3Q7jEI,1129
|
|
3
|
-
pulumi_aws_apigateway/_inputs.py,sha256=DTrhUjN8IQMuSSiCDC1HUkPrn8fmF0D6q8scI3TG2JQ,50466
|
|
4
|
-
pulumi_aws_apigateway/_utilities.py,sha256=66uLGQDI1oMFOI3Fe5igAphtexWhcSLDyuVW50jW3ik,10789
|
|
5
|
-
pulumi_aws_apigateway/provider.py,sha256=cbIA3-ZKMVPg4z8NlnICkc7I-f-m7J9fGz_kOcZtsJs,2930
|
|
6
|
-
pulumi_aws_apigateway/pulumi-plugin.json,sha256=Mu-rz8glyfaSzagp4DoSGx3BHCTea4MIlEFoQE7Qjbo,90
|
|
7
|
-
pulumi_aws_apigateway/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
|
-
pulumi_aws_apigateway/rest_api.py,sha256=EbFtw0QW6SuGufSlLTdlh2gVHHCHEu6rp6pATE0YVQU,21648
|
|
9
|
-
pulumi_aws_apigateway-2.7.0a1742520710.dist-info/METADATA,sha256=XsQLSRr5BF8gnoNmU-RUoHR7w6DoUj7_5nid6jLDe9c,3007
|
|
10
|
-
pulumi_aws_apigateway-2.7.0a1742520710.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
|
11
|
-
pulumi_aws_apigateway-2.7.0a1742520710.dist-info/top_level.txt,sha256=YY2wCK-Qy789n9y-8rwjASV5533Pg_6X5fH0hoDSif4,22
|
|
12
|
-
pulumi_aws_apigateway-2.7.0a1742520710.dist-info/RECORD,,
|
|
File without changes
|