@pulumi/aws-native 0.77.0 → 0.78.1-alpha.1696230222

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.
Files changed (157) hide show
  1. package/apigatewayv2/api.d.ts +99 -3
  2. package/apigatewayv2/api.js +1 -1
  3. package/apigatewayv2/api.js.map +1 -1
  4. package/apigatewayv2/apiMapping.d.ts +9 -9
  5. package/apigatewayv2/apiMapping.js +1 -1
  6. package/apigatewayv2/deployment.d.ts +19 -1
  7. package/apigatewayv2/deployment.js +1 -1
  8. package/apigatewayv2/deployment.js.map +1 -1
  9. package/apigatewayv2/getApi.d.ts +24 -3
  10. package/apigatewayv2/getApi.js +2 -2
  11. package/apigatewayv2/getApi.js.map +1 -1
  12. package/apigatewayv2/getApiMapping.d.ts +7 -7
  13. package/apigatewayv2/getApiMapping.js +2 -2
  14. package/apigatewayv2/getDeployment.d.ts +11 -2
  15. package/apigatewayv2/getDeployment.js +2 -2
  16. package/apigatewayv2/getDeployment.js.map +1 -1
  17. package/apigatewayv2/getIntegrationResponse.d.ts +14 -11
  18. package/apigatewayv2/getIntegrationResponse.js +2 -2
  19. package/apigatewayv2/getIntegrationResponse.js.map +1 -1
  20. package/apigatewayv2/getModel.d.ts +20 -2
  21. package/apigatewayv2/getModel.js +2 -2
  22. package/apigatewayv2/getModel.js.map +1 -1
  23. package/apigatewayv2/getRoute.d.ts +35 -2
  24. package/apigatewayv2/getRoute.js +2 -2
  25. package/apigatewayv2/getRoute.js.map +1 -1
  26. package/apigatewayv2/getRouteResponse.d.ts +26 -2
  27. package/apigatewayv2/getRouteResponse.js +2 -2
  28. package/apigatewayv2/getRouteResponse.js.map +1 -1
  29. package/apigatewayv2/integrationResponse.d.ts +21 -15
  30. package/apigatewayv2/integrationResponse.js +1 -1
  31. package/apigatewayv2/integrationResponse.js.map +1 -1
  32. package/apigatewayv2/model.d.ts +31 -1
  33. package/apigatewayv2/model.js +1 -1
  34. package/apigatewayv2/model.js.map +1 -1
  35. package/apigatewayv2/route.d.ts +73 -1
  36. package/apigatewayv2/route.js +1 -1
  37. package/apigatewayv2/route.js.map +1 -1
  38. package/apigatewayv2/routeResponse.d.ts +37 -1
  39. package/apigatewayv2/routeResponse.js +1 -1
  40. package/apigatewayv2/routeResponse.js.map +1 -1
  41. package/autoscaling/autoScalingGroup.d.ts +2 -0
  42. package/autoscaling/autoScalingGroup.js +2 -0
  43. package/autoscaling/autoScalingGroup.js.map +1 -1
  44. package/autoscaling/getAutoScalingGroup.d.ts +3 -3
  45. package/autoscaling/getAutoScalingGroup.js +1 -1
  46. package/autoscaling/getAutoScalingGroup.js.map +1 -1
  47. package/cognito/index.d.ts +0 -3
  48. package/cognito/index.js +1 -4
  49. package/cognito/index.js.map +1 -1
  50. package/cognito/userPoolUser.d.ts +0 -3
  51. package/cognito/userPoolUser.js +0 -5
  52. package/cognito/userPoolUser.js.map +1 -1
  53. package/connect/getPhoneNumber.d.ts +4 -0
  54. package/connect/getPhoneNumber.js.map +1 -1
  55. package/connect/getSecurityProfile.d.ts +48 -0
  56. package/connect/getSecurityProfile.js +25 -0
  57. package/connect/getSecurityProfile.js.map +1 -0
  58. package/connect/index.d.ts +6 -0
  59. package/connect/index.js +9 -2
  60. package/connect/index.js.map +1 -1
  61. package/connect/phoneNumber.js +1 -1
  62. package/connect/phoneNumber.js.map +1 -1
  63. package/connect/securityProfile.d.ts +95 -0
  64. package/connect/securityProfile.js +75 -0
  65. package/connect/securityProfile.js.map +1 -0
  66. package/ec2/getVpcEndpointConnectionNotification.d.ts +18 -3
  67. package/ec2/getVpcEndpointConnectionNotification.js +1 -1
  68. package/ec2/getVpcEndpointConnectionNotification.js.map +1 -1
  69. package/ec2/vpcEndpointConnectionNotification.d.ts +28 -0
  70. package/ec2/vpcEndpointConnectionNotification.js +2 -0
  71. package/ec2/vpcEndpointConnectionNotification.js.map +1 -1
  72. package/events/eventBus.d.ts +32 -7
  73. package/events/eventBus.js +3 -8
  74. package/events/eventBus.js.map +1 -1
  75. package/events/getEventBus.d.ts +21 -7
  76. package/events/getEventBus.js +3 -3
  77. package/events/getEventBus.js.map +1 -1
  78. package/events/getRule.d.ts +1 -0
  79. package/events/getRule.js.map +1 -1
  80. package/events/rule.js +1 -1
  81. package/events/rule.js.map +1 -1
  82. package/healthimaging/datastore.d.ts +47 -0
  83. package/healthimaging/datastore.js +72 -0
  84. package/healthimaging/datastore.js.map +1 -0
  85. package/healthimaging/getDatastore.d.ts +23 -0
  86. package/healthimaging/getDatastore.js +25 -0
  87. package/healthimaging/getDatastore.js.map +1 -0
  88. package/healthimaging/index.d.ts +7 -0
  89. package/healthimaging/index.js +41 -0
  90. package/healthimaging/index.js.map +1 -0
  91. package/index.d.ts +2 -1
  92. package/index.js +5 -3
  93. package/index.js.map +1 -1
  94. package/kendra/dataSource.d.ts +2 -0
  95. package/kendra/dataSource.js +2 -0
  96. package/kendra/dataSource.js.map +1 -1
  97. package/kendra/getDataSource.d.ts +1 -0
  98. package/kendra/getDataSource.js.map +1 -1
  99. package/kinesisfirehose/deliveryStream.d.ts +2 -0
  100. package/kinesisfirehose/deliveryStream.js +3 -1
  101. package/kinesisfirehose/deliveryStream.js.map +1 -1
  102. package/macie/customDataIdentifier.d.ts +10 -0
  103. package/macie/customDataIdentifier.js +2 -0
  104. package/macie/customDataIdentifier.js.map +1 -1
  105. package/macie/getCustomDataIdentifier.d.ts +5 -0
  106. package/macie/getCustomDataIdentifier.js.map +1 -1
  107. package/package.json +2 -2
  108. package/package.json.dev +1 -1
  109. package/s3/bucketPolicy.d.ts +0 -3
  110. package/s3/bucketPolicy.js +0 -5
  111. package/s3/bucketPolicy.js.map +1 -1
  112. package/sagemaker/getModelPackage.d.ts +1 -0
  113. package/sagemaker/getModelPackage.js.map +1 -1
  114. package/sagemaker/modelPackage.d.ts +2 -0
  115. package/sagemaker/modelPackage.js +2 -0
  116. package/sagemaker/modelPackage.js.map +1 -1
  117. package/ssm/getParameter.d.ts +20 -10
  118. package/ssm/getParameter.js +1 -1
  119. package/ssm/getParameter.js.map +1 -1
  120. package/ssm/parameter.d.ts +61 -9
  121. package/ssm/parameter.js +0 -5
  122. package/ssm/parameter.js.map +1 -1
  123. package/types/enums/cloudfront/index.d.ts +5 -0
  124. package/types/enums/cloudfront/index.js +5 -1
  125. package/types/enums/cloudfront/index.js.map +1 -1
  126. package/types/enums/connect/index.d.ts +1 -0
  127. package/types/enums/connect/index.js +1 -0
  128. package/types/enums/connect/index.js.map +1 -1
  129. package/types/enums/healthimaging/index.d.ts +11 -0
  130. package/types/enums/healthimaging/index.js +13 -0
  131. package/types/enums/healthimaging/index.js.map +1 -0
  132. package/types/enums/index.d.ts +2 -1
  133. package/types/enums/index.js +4 -2
  134. package/types/enums/index.js.map +1 -1
  135. package/types/enums/iot/index.d.ts +4 -0
  136. package/types/enums/iot/index.js +4 -0
  137. package/types/enums/iot/index.js.map +1 -1
  138. package/types/enums/kinesisfirehose/index.d.ts +6 -0
  139. package/types/enums/kinesisfirehose/index.js +6 -1
  140. package/types/enums/kinesisfirehose/index.js.map +1 -1
  141. package/types/enums/oam/index.d.ts +1 -0
  142. package/types/enums/oam/index.js +1 -0
  143. package/types/enums/oam/index.js.map +1 -1
  144. package/types/enums/quicksight/index.d.ts +66 -0
  145. package/types/enums/quicksight/index.js +61 -7
  146. package/types/enums/quicksight/index.js.map +1 -1
  147. package/types/enums/sagemaker/index.d.ts +8 -0
  148. package/types/enums/sagemaker/index.js +6 -2
  149. package/types/enums/sagemaker/index.js.map +1 -1
  150. package/types/enums/ssm/index.d.ts +26 -0
  151. package/types/enums/ssm/index.js +15 -1
  152. package/types/enums/ssm/index.js.map +1 -1
  153. package/types/input.d.ts +249 -46
  154. package/types/output.d.ts +249 -46
  155. package/cognito/getUserPoolUser.d.ts +0 -18
  156. package/cognito/getUserPoolUser.js +0 -25
  157. package/cognito/getUserPoolUser.js.map +0 -1
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "../types/input";
3
3
  import * as outputs from "../types/output";
4
4
  /**
5
- * Resource Type definition for AWS::ApiGatewayV2::Api
5
+ * The ``AWS::ApiGatewayV2::Api`` resource creates an API. WebSocket APIs and HTTP APIs are supported. For more information about WebSocket APIs, see [About WebSocket APIs in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-overview.html) in the *API Gateway Developer Guide*. For more information about HTTP APIs, see [HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api.html) in the *API Gateway Developer Guide.*
6
6
  */
7
7
  export declare class Api extends pulumi.CustomResource {
8
8
  /**
@@ -21,25 +21,73 @@ export declare class Api extends pulumi.CustomResource {
21
21
  static isInstance(obj: any): obj is Api;
22
22
  readonly apiEndpoint: pulumi.Output<string>;
23
23
  readonly apiId: pulumi.Output<string>;
24
+ /**
25
+ * An API key selection expression. Supported only for WebSocket APIs. See [API Key Selection Expressions](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions).
26
+ */
24
27
  readonly apiKeySelectionExpression: pulumi.Output<string | undefined>;
28
+ /**
29
+ * Specifies how to interpret the base path of the API during import. Valid values are ``ignore``, ``prepend``, and ``split``. The default value is ``ignore``. To learn more, see [Set the OpenAPI basePath Property](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-import-api-basePath.html). Supported only for HTTP APIs.
30
+ */
25
31
  readonly basePath: pulumi.Output<string | undefined>;
32
+ /**
33
+ * The OpenAPI definition. Supported only for HTTP APIs. To import an HTTP API, you must specify a ``Body`` or ``BodyS3Location``. If you specify a ``Body`` or ``BodyS3Location``, don't specify CloudFormation resources such as ``AWS::ApiGatewayV2::Authorizer`` or ``AWS::ApiGatewayV2::Route``. API Gateway doesn't support the combination of OpenAPI and CloudFormation resources.
34
+ */
26
35
  readonly body: pulumi.Output<any | undefined>;
36
+ /**
37
+ * The S3 location of an OpenAPI definition. Supported only for HTTP APIs. To import an HTTP API, you must specify a ``Body`` or ``BodyS3Location``. If you specify a ``Body`` or ``BodyS3Location``, don't specify CloudFormation resources such as ``AWS::ApiGatewayV2::Authorizer`` or ``AWS::ApiGatewayV2::Route``. API Gateway doesn't support the combination of OpenAPI and CloudFormation resources.
38
+ */
27
39
  readonly bodyS3Location: pulumi.Output<outputs.apigatewayv2.ApiBodyS3Location | undefined>;
40
+ /**
41
+ * A CORS configuration. Supported only for HTTP APIs. See [Configuring CORS](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html) for more information.
42
+ */
28
43
  readonly corsConfiguration: pulumi.Output<outputs.apigatewayv2.ApiCors | undefined>;
44
+ /**
45
+ * This property is part of quick create. It specifies the credentials required for the integration, if any. For a Lambda integration, three options are available. To specify an IAM Role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To require that the caller's identity be passed through from the request, specify ``arn:aws:iam::*:user/*``. To use resource-based permissions on supported AWS services, specify ``null``. Currently, this property is not used for HTTP integrations. Supported only for HTTP APIs.
46
+ */
29
47
  readonly credentialsArn: pulumi.Output<string | undefined>;
48
+ /**
49
+ * The description of the API.
50
+ */
30
51
  readonly description: pulumi.Output<string | undefined>;
52
+ /**
53
+ * Specifies whether clients can invoke your API by using the default ``execute-api`` endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.
54
+ */
31
55
  readonly disableExecuteApiEndpoint: pulumi.Output<boolean | undefined>;
56
+ /**
57
+ * Avoid validating models when creating a deployment. Supported only for WebSocket APIs.
58
+ */
32
59
  readonly disableSchemaValidation: pulumi.Output<boolean | undefined>;
60
+ /**
61
+ * Specifies whether to rollback the API creation when a warning is encountered. By default, API creation continues if a warning is encountered.
62
+ */
33
63
  readonly failOnWarnings: pulumi.Output<boolean | undefined>;
64
+ /**
65
+ * The name of the API. Required unless you specify an OpenAPI definition for ``Body`` or ``S3BodyLocation``.
66
+ */
34
67
  readonly name: pulumi.Output<string | undefined>;
68
+ /**
69
+ * The API protocol. Valid values are ``WEBSOCKET`` or ``HTTP``. Required unless you specify an OpenAPI definition for ``Body`` or ``S3BodyLocation``.
70
+ */
35
71
  readonly protocolType: pulumi.Output<string | undefined>;
72
+ /**
73
+ * This property is part of quick create. If you don't specify a ``routeKey``, a default route of ``$default`` is created. The ``$default`` route acts as a catch-all for any request made to your API, for a particular stage. The ``$default`` route key can't be modified. You can add routes after creating the API, and you can update the route keys of additional routes. Supported only for HTTP APIs.
74
+ */
36
75
  readonly routeKey: pulumi.Output<string | undefined>;
76
+ /**
77
+ * The route selection expression for the API. For HTTP APIs, the ``routeSelectionExpression`` must be ``${request.method} ${request.path}``. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs.
78
+ */
37
79
  readonly routeSelectionExpression: pulumi.Output<string | undefined>;
38
80
  /**
39
- * This resource type use map for Tags, suggest to use List of Tag
81
+ * The collection of tags. Each tag element is associated with a given resource.
40
82
  */
41
83
  readonly tags: pulumi.Output<any | undefined>;
84
+ /**
85
+ * This property is part of quick create. Quick create produces an API with an integration, a default catch-all route, and a default stage which is configured to automatically deploy changes. For HTTP integrations, specify a fully qualified URL. For Lambda integrations, specify a function ARN. The type of the integration will be HTTP_PROXY or AWS_PROXY, respectively. Supported only for HTTP APIs.
86
+ */
42
87
  readonly target: pulumi.Output<string | undefined>;
88
+ /**
89
+ * A version identifier for the API.
90
+ */
43
91
  readonly version: pulumi.Output<string | undefined>;
44
92
  /**
45
93
  * Create a Api resource with the given unique name, arguments, and options.
@@ -54,24 +102,72 @@ export declare class Api extends pulumi.CustomResource {
54
102
  * The set of arguments for constructing a Api resource.
55
103
  */
56
104
  export interface ApiArgs {
105
+ /**
106
+ * An API key selection expression. Supported only for WebSocket APIs. See [API Key Selection Expressions](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions).
107
+ */
57
108
  apiKeySelectionExpression?: pulumi.Input<string>;
109
+ /**
110
+ * Specifies how to interpret the base path of the API during import. Valid values are ``ignore``, ``prepend``, and ``split``. The default value is ``ignore``. To learn more, see [Set the OpenAPI basePath Property](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-import-api-basePath.html). Supported only for HTTP APIs.
111
+ */
58
112
  basePath?: pulumi.Input<string>;
113
+ /**
114
+ * The OpenAPI definition. Supported only for HTTP APIs. To import an HTTP API, you must specify a ``Body`` or ``BodyS3Location``. If you specify a ``Body`` or ``BodyS3Location``, don't specify CloudFormation resources such as ``AWS::ApiGatewayV2::Authorizer`` or ``AWS::ApiGatewayV2::Route``. API Gateway doesn't support the combination of OpenAPI and CloudFormation resources.
115
+ */
59
116
  body?: any;
117
+ /**
118
+ * The S3 location of an OpenAPI definition. Supported only for HTTP APIs. To import an HTTP API, you must specify a ``Body`` or ``BodyS3Location``. If you specify a ``Body`` or ``BodyS3Location``, don't specify CloudFormation resources such as ``AWS::ApiGatewayV2::Authorizer`` or ``AWS::ApiGatewayV2::Route``. API Gateway doesn't support the combination of OpenAPI and CloudFormation resources.
119
+ */
60
120
  bodyS3Location?: pulumi.Input<inputs.apigatewayv2.ApiBodyS3LocationArgs>;
121
+ /**
122
+ * A CORS configuration. Supported only for HTTP APIs. See [Configuring CORS](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html) for more information.
123
+ */
61
124
  corsConfiguration?: pulumi.Input<inputs.apigatewayv2.ApiCorsArgs>;
125
+ /**
126
+ * This property is part of quick create. It specifies the credentials required for the integration, if any. For a Lambda integration, three options are available. To specify an IAM Role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To require that the caller's identity be passed through from the request, specify ``arn:aws:iam::*:user/*``. To use resource-based permissions on supported AWS services, specify ``null``. Currently, this property is not used for HTTP integrations. Supported only for HTTP APIs.
127
+ */
62
128
  credentialsArn?: pulumi.Input<string>;
129
+ /**
130
+ * The description of the API.
131
+ */
63
132
  description?: pulumi.Input<string>;
133
+ /**
134
+ * Specifies whether clients can invoke your API by using the default ``execute-api`` endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.
135
+ */
64
136
  disableExecuteApiEndpoint?: pulumi.Input<boolean>;
137
+ /**
138
+ * Avoid validating models when creating a deployment. Supported only for WebSocket APIs.
139
+ */
65
140
  disableSchemaValidation?: pulumi.Input<boolean>;
141
+ /**
142
+ * Specifies whether to rollback the API creation when a warning is encountered. By default, API creation continues if a warning is encountered.
143
+ */
66
144
  failOnWarnings?: pulumi.Input<boolean>;
145
+ /**
146
+ * The name of the API. Required unless you specify an OpenAPI definition for ``Body`` or ``S3BodyLocation``.
147
+ */
67
148
  name?: pulumi.Input<string>;
149
+ /**
150
+ * The API protocol. Valid values are ``WEBSOCKET`` or ``HTTP``. Required unless you specify an OpenAPI definition for ``Body`` or ``S3BodyLocation``.
151
+ */
68
152
  protocolType?: pulumi.Input<string>;
153
+ /**
154
+ * This property is part of quick create. If you don't specify a ``routeKey``, a default route of ``$default`` is created. The ``$default`` route acts as a catch-all for any request made to your API, for a particular stage. The ``$default`` route key can't be modified. You can add routes after creating the API, and you can update the route keys of additional routes. Supported only for HTTP APIs.
155
+ */
69
156
  routeKey?: pulumi.Input<string>;
157
+ /**
158
+ * The route selection expression for the API. For HTTP APIs, the ``routeSelectionExpression`` must be ``${request.method} ${request.path}``. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs.
159
+ */
70
160
  routeSelectionExpression?: pulumi.Input<string>;
71
161
  /**
72
- * This resource type use map for Tags, suggest to use List of Tag
162
+ * The collection of tags. Each tag element is associated with a given resource.
73
163
  */
74
164
  tags?: any;
165
+ /**
166
+ * This property is part of quick create. Quick create produces an API with an integration, a default catch-all route, and a default stage which is configured to automatically deploy changes. For HTTP integrations, specify a fully qualified URL. For Lambda integrations, specify a function ARN. The type of the integration will be HTTP_PROXY or AWS_PROXY, respectively. Supported only for HTTP APIs.
167
+ */
75
168
  target?: pulumi.Input<string>;
169
+ /**
170
+ * A version identifier for the API.
171
+ */
76
172
  version?: pulumi.Input<string>;
77
173
  }
@@ -6,7 +6,7 @@ exports.Api = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * Resource Type definition for AWS::ApiGatewayV2::Api
9
+ * The ``AWS::ApiGatewayV2::Api`` resource creates an API. WebSocket APIs and HTTP APIs are supported. For more information about WebSocket APIs, see [About WebSocket APIs in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-overview.html) in the *API Gateway Developer Guide*. For more information about HTTP APIs, see [HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api.html) in the *API Gateway Developer Guide.*
10
10
  */
11
11
  class Api extends pulumi.CustomResource {
12
12
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"api.js","sourceRoot":"","sources":["../../apigatewayv2/api.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,GAAG,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,GAAG,CAAC,YAAY,CAAC;IACpD,CAAC;IAyBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAc,EAAE,IAAmC;QACzE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,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AAO,CAAC;YAC/C,cAAc,CAAC,0BAA0B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/D,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,cAAc,CAAC,EAAE,CAAC;QAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;;AAzJL,kBA0JC;AA7IG,gBAAgB;AACO,gBAAY,GAAG,6BAA6B,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Schema for AWS::ApiGatewayV2::ApiMapping
3
+ * The ``AWS::ApiGatewayV2::ApiMapping`` resource contains an API mapping. An API mapping relates a path of your custom domain name to a stage of your API. A custom domain name can have multiple API mappings, but the paths can't overlap. A custom domain can map only to APIs of the same protocol type. For more information, see [CreateApiMapping](https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/domainnames-domainname-apimappings.html#CreateApiMapping) in the *Amazon API Gateway V2 API Reference*.
4
4
  */
5
5
  export declare class ApiMapping extends pulumi.CustomResource {
6
6
  /**
@@ -18,7 +18,7 @@ export declare class ApiMapping extends pulumi.CustomResource {
18
18
  */
19
19
  static isInstance(obj: any): obj is ApiMapping;
20
20
  /**
21
- * The API identifier
21
+ * The identifier of the API.
22
22
  */
23
23
  readonly apiId: pulumi.Output<string>;
24
24
  /**
@@ -26,15 +26,15 @@ export declare class ApiMapping extends pulumi.CustomResource {
26
26
  */
27
27
  readonly apiMappingId: pulumi.Output<string>;
28
28
  /**
29
- * The API mapping key
29
+ * The API mapping key.
30
30
  */
31
31
  readonly apiMappingKey: pulumi.Output<string | undefined>;
32
32
  /**
33
- * The domain name
33
+ * The domain name.
34
34
  */
35
35
  readonly domainName: pulumi.Output<string>;
36
36
  /**
37
- * The API stage
37
+ * The API stage.
38
38
  */
39
39
  readonly stage: pulumi.Output<string>;
40
40
  /**
@@ -51,19 +51,19 @@ export declare class ApiMapping extends pulumi.CustomResource {
51
51
  */
52
52
  export interface ApiMappingArgs {
53
53
  /**
54
- * The API identifier
54
+ * The identifier of the API.
55
55
  */
56
56
  apiId: pulumi.Input<string>;
57
57
  /**
58
- * The API mapping key
58
+ * The API mapping key.
59
59
  */
60
60
  apiMappingKey?: pulumi.Input<string>;
61
61
  /**
62
- * The domain name
62
+ * The domain name.
63
63
  */
64
64
  domainName: pulumi.Input<string>;
65
65
  /**
66
- * The API stage
66
+ * The API stage.
67
67
  */
68
68
  stage: pulumi.Input<string>;
69
69
  }
@@ -6,7 +6,7 @@ exports.ApiMapping = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * Schema for AWS::ApiGatewayV2::ApiMapping
9
+ * The ``AWS::ApiGatewayV2::ApiMapping`` resource contains an API mapping. An API mapping relates a path of your custom domain name to a stage of your API. A custom domain name can have multiple API mappings, but the paths can't overlap. A custom domain can map only to APIs of the same protocol type. For more information, see [CreateApiMapping](https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/domainnames-domainname-apimappings.html#CreateApiMapping) in the *Amazon API Gateway V2 API Reference*.
10
10
  */
11
11
  class ApiMapping extends pulumi.CustomResource {
12
12
  /**
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Resource Type definition for AWS::ApiGatewayV2::Deployment
3
+ * The ``AWS::ApiGatewayV2::Deployment`` resource creates a deployment for an API.
4
4
  */
5
5
  export declare class Deployment extends pulumi.CustomResource {
6
6
  /**
@@ -17,9 +17,18 @@ export declare class Deployment extends pulumi.CustomResource {
17
17
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
18
  */
19
19
  static isInstance(obj: any): obj is Deployment;
20
+ /**
21
+ * The API identifier.
22
+ */
20
23
  readonly apiId: pulumi.Output<string>;
21
24
  readonly deploymentId: pulumi.Output<string>;
25
+ /**
26
+ * The description for the deployment resource.
27
+ */
22
28
  readonly description: pulumi.Output<string | undefined>;
29
+ /**
30
+ * The name of an existing stage to associate with the deployment.
31
+ */
23
32
  readonly stageName: pulumi.Output<string | undefined>;
24
33
  /**
25
34
  * Create a Deployment resource with the given unique name, arguments, and options.
@@ -34,7 +43,16 @@ export declare class Deployment extends pulumi.CustomResource {
34
43
  * The set of arguments for constructing a Deployment resource.
35
44
  */
36
45
  export interface DeploymentArgs {
46
+ /**
47
+ * The API identifier.
48
+ */
37
49
  apiId: pulumi.Input<string>;
50
+ /**
51
+ * The description for the deployment resource.
52
+ */
38
53
  description?: pulumi.Input<string>;
54
+ /**
55
+ * The name of an existing stage to associate with the deployment.
56
+ */
39
57
  stageName?: pulumi.Input<string>;
40
58
  }
@@ -6,7 +6,7 @@ exports.Deployment = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * Resource Type definition for AWS::ApiGatewayV2::Deployment
9
+ * The ``AWS::ApiGatewayV2::Deployment`` resource creates a deployment for an API.
10
10
  */
11
11
  class Deployment extends pulumi.CustomResource {
12
12
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"deployment.js","sourceRoot":"","sources":["../../apigatewayv2/deployment.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;I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AI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AArEL,gCAsEC;AAzDG,gBAAgB;AACO,uBAAY,GAAG,oCAAoC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "../types/output";
3
3
  /**
4
- * Resource Type definition for AWS::ApiGatewayV2::Api
4
+ * The ``AWS::ApiGatewayV2::Api`` resource creates an API. WebSocket APIs and HTTP APIs are supported. For more information about WebSocket APIs, see [About WebSocket APIs in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-overview.html) in the *API Gateway Developer Guide*. For more information about HTTP APIs, see [HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api.html) in the *API Gateway Developer Guide.*
5
5
  */
6
6
  export declare function getApi(args: GetApiArgs, opts?: pulumi.InvokeOptions): Promise<GetApiResult>;
7
7
  export interface GetApiArgs {
@@ -10,20 +10,41 @@ export interface GetApiArgs {
10
10
  export interface GetApiResult {
11
11
  readonly apiEndpoint?: string;
12
12
  readonly apiId?: string;
13
+ /**
14
+ * An API key selection expression. Supported only for WebSocket APIs. See [API Key Selection Expressions](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions).
15
+ */
13
16
  readonly apiKeySelectionExpression?: string;
17
+ /**
18
+ * A CORS configuration. Supported only for HTTP APIs. See [Configuring CORS](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html) for more information.
19
+ */
14
20
  readonly corsConfiguration?: outputs.apigatewayv2.ApiCors;
21
+ /**
22
+ * The description of the API.
23
+ */
15
24
  readonly description?: string;
25
+ /**
26
+ * Specifies whether clients can invoke your API by using the default ``execute-api`` endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.
27
+ */
16
28
  readonly disableExecuteApiEndpoint?: boolean;
29
+ /**
30
+ * The name of the API. Required unless you specify an OpenAPI definition for ``Body`` or ``S3BodyLocation``.
31
+ */
17
32
  readonly name?: string;
33
+ /**
34
+ * The route selection expression for the API. For HTTP APIs, the ``routeSelectionExpression`` must be ``${request.method} ${request.path}``. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs.
35
+ */
18
36
  readonly routeSelectionExpression?: string;
19
37
  /**
20
- * This resource type use map for Tags, suggest to use List of Tag
38
+ * The collection of tags. Each tag element is associated with a given resource.
21
39
  */
22
40
  readonly tags?: any;
41
+ /**
42
+ * A version identifier for the API.
43
+ */
23
44
  readonly version?: string;
24
45
  }
25
46
  /**
26
- * Resource Type definition for AWS::ApiGatewayV2::Api
47
+ * The ``AWS::ApiGatewayV2::Api`` resource creates an API. WebSocket APIs and HTTP APIs are supported. For more information about WebSocket APIs, see [About WebSocket APIs in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-overview.html) in the *API Gateway Developer Guide*. For more information about HTTP APIs, see [HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api.html) in the *API Gateway Developer Guide.*
27
48
  */
28
49
  export declare function getApiOutput(args: GetApiOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetApiResult>;
29
50
  export interface GetApiOutputArgs {
@@ -6,7 +6,7 @@ exports.getApiOutput = exports.getApi = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * Resource Type definition for AWS::ApiGatewayV2::Api
9
+ * The ``AWS::ApiGatewayV2::Api`` resource creates an API. WebSocket APIs and HTTP APIs are supported. For more information about WebSocket APIs, see [About WebSocket APIs in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-overview.html) in the *API Gateway Developer Guide*. For more information about HTTP APIs, see [HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api.html) in the *API Gateway Developer Guide.*
10
10
  */
11
11
  function getApi(args, opts) {
12
12
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -16,7 +16,7 @@ function getApi(args, opts) {
16
16
  }
17
17
  exports.getApi = getApi;
18
18
  /**
19
- * Resource Type definition for AWS::ApiGatewayV2::Api
19
+ * The ``AWS::ApiGatewayV2::Api`` resource creates an API. WebSocket APIs and HTTP APIs are supported. For more information about WebSocket APIs, see [About WebSocket APIs in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-overview.html) in the *API Gateway Developer Guide*. For more information about HTTP APIs, see [HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api.html) in the *API Gateway Developer Guide.*
20
20
  */
21
21
  function getApiOutput(args, opts) {
22
22
  return pulumi.output(args).apply((a) => getApi(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getApi.js","sourceRoot":"","sources":["../../apigatewayv2/getApi.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAEhE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wBAMC;AAqBD;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,oCAEC"}
1
+ {"version":3,"file":"getApi.js","sourceRoot":"","sources":["../../apigatewayv2/getApi.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAEhE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wBAMC;AA0CD;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,oCAEC"}
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Schema for AWS::ApiGatewayV2::ApiMapping
3
+ * The ``AWS::ApiGatewayV2::ApiMapping`` resource contains an API mapping. An API mapping relates a path of your custom domain name to a stage of your API. A custom domain name can have multiple API mappings, but the paths can't overlap. A custom domain can map only to APIs of the same protocol type. For more information, see [CreateApiMapping](https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/domainnames-domainname-apimappings.html#CreateApiMapping) in the *Amazon API Gateway V2 API Reference*.
4
4
  */
5
5
  export declare function getApiMapping(args: GetApiMappingArgs, opts?: pulumi.InvokeOptions): Promise<GetApiMappingResult>;
6
6
  export interface GetApiMappingArgs {
@@ -9,13 +9,13 @@ export interface GetApiMappingArgs {
9
9
  */
10
10
  apiMappingId: string;
11
11
  /**
12
- * The domain name
12
+ * The domain name.
13
13
  */
14
14
  domainName: string;
15
15
  }
16
16
  export interface GetApiMappingResult {
17
17
  /**
18
- * The API identifier
18
+ * The identifier of the API.
19
19
  */
20
20
  readonly apiId?: string;
21
21
  /**
@@ -23,16 +23,16 @@ export interface GetApiMappingResult {
23
23
  */
24
24
  readonly apiMappingId?: string;
25
25
  /**
26
- * The API mapping key
26
+ * The API mapping key.
27
27
  */
28
28
  readonly apiMappingKey?: string;
29
29
  /**
30
- * The API stage
30
+ * The API stage.
31
31
  */
32
32
  readonly stage?: string;
33
33
  }
34
34
  /**
35
- * Schema for AWS::ApiGatewayV2::ApiMapping
35
+ * The ``AWS::ApiGatewayV2::ApiMapping`` resource contains an API mapping. An API mapping relates a path of your custom domain name to a stage of your API. A custom domain name can have multiple API mappings, but the paths can't overlap. A custom domain can map only to APIs of the same protocol type. For more information, see [CreateApiMapping](https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/domainnames-domainname-apimappings.html#CreateApiMapping) in the *Amazon API Gateway V2 API Reference*.
36
36
  */
37
37
  export declare function getApiMappingOutput(args: GetApiMappingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetApiMappingResult>;
38
38
  export interface GetApiMappingOutputArgs {
@@ -41,7 +41,7 @@ export interface GetApiMappingOutputArgs {
41
41
  */
42
42
  apiMappingId: pulumi.Input<string>;
43
43
  /**
44
- * The domain name
44
+ * The domain name.
45
45
  */
46
46
  domainName: pulumi.Input<string>;
47
47
  }
@@ -6,7 +6,7 @@ exports.getApiMappingOutput = exports.getApiMapping = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * Schema for AWS::ApiGatewayV2::ApiMapping
9
+ * The ``AWS::ApiGatewayV2::ApiMapping`` resource contains an API mapping. An API mapping relates a path of your custom domain name to a stage of your API. A custom domain name can have multiple API mappings, but the paths can't overlap. A custom domain can map only to APIs of the same protocol type. For more information, see [CreateApiMapping](https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/domainnames-domainname-apimappings.html#CreateApiMapping) in the *Amazon API Gateway V2 API Reference*.
10
10
  */
11
11
  function getApiMapping(args, opts) {
12
12
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -17,7 +17,7 @@ function getApiMapping(args, opts) {
17
17
  }
18
18
  exports.getApiMapping = getApiMapping;
19
19
  /**
20
- * Schema for AWS::ApiGatewayV2::ApiMapping
20
+ * The ``AWS::ApiGatewayV2::ApiMapping`` resource contains an API mapping. An API mapping relates a path of your custom domain name to a stage of your API. A custom domain name can have multiple API mappings, but the paths can't overlap. A custom domain can map only to APIs of the same protocol type. For more information, see [CreateApiMapping](https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/domainnames-domainname-apimappings.html#CreateApiMapping) in the *Amazon API Gateway V2 API Reference*.
21
21
  */
22
22
  function getApiMappingOutput(args, opts) {
23
23
  return pulumi.output(args).apply((a) => getApiMapping(a, opts));
@@ -1,21 +1,30 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Resource Type definition for AWS::ApiGatewayV2::Deployment
3
+ * The ``AWS::ApiGatewayV2::Deployment`` resource creates a deployment for an API.
4
4
  */
5
5
  export declare function getDeployment(args: GetDeploymentArgs, opts?: pulumi.InvokeOptions): Promise<GetDeploymentResult>;
6
6
  export interface GetDeploymentArgs {
7
+ /**
8
+ * The API identifier.
9
+ */
7
10
  apiId: string;
8
11
  deploymentId: string;
9
12
  }
10
13
  export interface GetDeploymentResult {
11
14
  readonly deploymentId?: string;
15
+ /**
16
+ * The description for the deployment resource.
17
+ */
12
18
  readonly description?: string;
13
19
  }
14
20
  /**
15
- * Resource Type definition for AWS::ApiGatewayV2::Deployment
21
+ * The ``AWS::ApiGatewayV2::Deployment`` resource creates a deployment for an API.
16
22
  */
17
23
  export declare function getDeploymentOutput(args: GetDeploymentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDeploymentResult>;
18
24
  export interface GetDeploymentOutputArgs {
25
+ /**
26
+ * The API identifier.
27
+ */
19
28
  apiId: pulumi.Input<string>;
20
29
  deploymentId: pulumi.Input<string>;
21
30
  }
@@ -6,7 +6,7 @@ exports.getDeploymentOutput = exports.getDeployment = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * Resource Type definition for AWS::ApiGatewayV2::Deployment
9
+ * The ``AWS::ApiGatewayV2::Deployment`` resource creates a deployment for an API.
10
10
  */
11
11
  function getDeployment(args, opts) {
12
12
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -17,7 +17,7 @@ function getDeployment(args, opts) {
17
17
  }
18
18
  exports.getDeployment = getDeployment;
19
19
  /**
20
- * Resource Type definition for AWS::ApiGatewayV2::Deployment
20
+ * The ``AWS::ApiGatewayV2::Deployment`` resource creates a deployment for an API.
21
21
  */
22
22
  function getDeploymentOutput(args, opts) {
23
23
  return pulumi.output(args).apply((a) => getDeployment(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getDeployment.js","sourceRoot":"","sources":["../../apigatewayv2/getDeployment.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAE9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uCAAuC,EAAE;QAClE,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sCAOC;AAWD;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
1
+ {"version":3,"file":"getDeployment.js","sourceRoot":"","sources":["../../apigatewayv2/getDeployment.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAE9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uCAAuC,EAAE;QAClE,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sCAOC;AAiBD;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
@@ -1,15 +1,15 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Schema for ApiGatewayV2 Integration Response
3
+ * The ``AWS::ApiGatewayV2::IntegrationResponse`` resource updates an integration response for an WebSocket API. For more information, see [Set up WebSocket API Integration Responses in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-integration-responses.html) in the *API Gateway Developer Guide*.
4
4
  */
5
5
  export declare function getIntegrationResponse(args: GetIntegrationResponseArgs, opts?: pulumi.InvokeOptions): Promise<GetIntegrationResponseResult>;
6
6
  export interface GetIntegrationResponseArgs {
7
7
  /**
8
- * The API identifier
8
+ * The API identifier.
9
9
  */
10
10
  apiId: string;
11
11
  /**
12
- * The integration ID
12
+ * The integration ID.
13
13
  */
14
14
  integrationId: string;
15
15
  /**
@@ -19,7 +19,10 @@ export interface GetIntegrationResponseArgs {
19
19
  }
20
20
  export interface GetIntegrationResponseResult {
21
21
  /**
22
- * Specifies how to handle response payload content type conversions
22
+ * Supported only for WebSocket APIs. Specifies how to handle response payload content type conversions. Supported values are ``CONVERT_TO_BINARY`` and ``CONVERT_TO_TEXT``, with the following behaviors:
23
+ * ``CONVERT_TO_BINARY``: Converts a response payload from a Base64-encoded string to the corresponding binary blob.
24
+ * ``CONVERT_TO_TEXT``: Converts a response payload from a binary blob to a Base64-encoded string.
25
+ * If this property is not defined, the response payload will be passed through from the integration response to the route response or method response without modification.
23
26
  */
24
27
  readonly contentHandlingStrategy?: string;
25
28
  /**
@@ -27,33 +30,33 @@ export interface GetIntegrationResponseResult {
27
30
  */
28
31
  readonly integrationResponseId?: string;
29
32
  /**
30
- * The integration response key
33
+ * The integration response key.
31
34
  */
32
35
  readonly integrationResponseKey?: string;
33
36
  /**
34
- * A key-value map specifying response parameters that are passed to the method response from the backend
37
+ * A key-value map specifying response parameters that are passed to the method response from the backend. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of ``method.response.header.{name}``, where name is a valid and unique header name. The mapped non-static value must match the pattern of ``integration.response.header.{name}`` or ``integration.response.body.{JSON-expression}``, where ``{name}`` is a valid and unique response header name and ``{JSON-expression}`` is a valid JSON expression without the ``$`` prefix.
35
38
  */
36
39
  readonly responseParameters?: any;
37
40
  /**
38
- * The collection of response templates for the integration response as a string-to-string map of key-value pairs
41
+ * The collection of response templates for the integration response as a string-to-string map of key-value pairs. Response templates are represented as a key/value map, with a content-type as the key and a template as the value.
39
42
  */
40
43
  readonly responseTemplates?: any;
41
44
  /**
42
- * The template selection expression for the integration response. Supported only for WebSocket APIs
45
+ * The template selection expression for the integration response. Supported only for WebSocket APIs.
43
46
  */
44
47
  readonly templateSelectionExpression?: string;
45
48
  }
46
49
  /**
47
- * Schema for ApiGatewayV2 Integration Response
50
+ * The ``AWS::ApiGatewayV2::IntegrationResponse`` resource updates an integration response for an WebSocket API. For more information, see [Set up WebSocket API Integration Responses in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-integration-responses.html) in the *API Gateway Developer Guide*.
48
51
  */
49
52
  export declare function getIntegrationResponseOutput(args: GetIntegrationResponseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetIntegrationResponseResult>;
50
53
  export interface GetIntegrationResponseOutputArgs {
51
54
  /**
52
- * The API identifier
55
+ * The API identifier.
53
56
  */
54
57
  apiId: pulumi.Input<string>;
55
58
  /**
56
- * The integration ID
59
+ * The integration ID.
57
60
  */
58
61
  integrationId: pulumi.Input<string>;
59
62
  /**
@@ -6,7 +6,7 @@ exports.getIntegrationResponseOutput = exports.getIntegrationResponse = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * Schema for ApiGatewayV2 Integration Response
9
+ * The ``AWS::ApiGatewayV2::IntegrationResponse`` resource updates an integration response for an WebSocket API. For more information, see [Set up WebSocket API Integration Responses in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-integration-responses.html) in the *API Gateway Developer Guide*.
10
10
  */
11
11
  function getIntegrationResponse(args, opts) {
12
12
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -18,7 +18,7 @@ function getIntegrationResponse(args, opts) {
18
18
  }
19
19
  exports.getIntegrationResponse = getIntegrationResponse;
20
20
  /**
21
- * Schema for ApiGatewayV2 Integration Response
21
+ * The ``AWS::ApiGatewayV2::IntegrationResponse`` resource updates an integration response for an WebSocket API. For more information, see [Set up WebSocket API Integration Responses in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-integration-responses.html) in the *API Gateway Developer Guide*.
22
22
  */
23
23
  function getIntegrationResponseOutput(args, opts) {
24
24
  return pulumi.output(args).apply((a) => getIntegrationResponse(a, opts));