@pulumi/aws-native 0.77.0 → 0.78.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/apigatewayv2/api.d.ts +99 -3
- package/apigatewayv2/api.js +1 -1
- package/apigatewayv2/api.js.map +1 -1
- package/apigatewayv2/apiMapping.d.ts +9 -9
- package/apigatewayv2/apiMapping.js +1 -1
- package/apigatewayv2/deployment.d.ts +19 -1
- package/apigatewayv2/deployment.js +1 -1
- package/apigatewayv2/deployment.js.map +1 -1
- package/apigatewayv2/getApi.d.ts +24 -3
- package/apigatewayv2/getApi.js +2 -2
- package/apigatewayv2/getApi.js.map +1 -1
- package/apigatewayv2/getApiMapping.d.ts +7 -7
- package/apigatewayv2/getApiMapping.js +2 -2
- package/apigatewayv2/getDeployment.d.ts +11 -2
- package/apigatewayv2/getDeployment.js +2 -2
- package/apigatewayv2/getDeployment.js.map +1 -1
- package/apigatewayv2/getIntegrationResponse.d.ts +14 -11
- package/apigatewayv2/getIntegrationResponse.js +2 -2
- package/apigatewayv2/getIntegrationResponse.js.map +1 -1
- package/apigatewayv2/getModel.d.ts +20 -2
- package/apigatewayv2/getModel.js +2 -2
- package/apigatewayv2/getModel.js.map +1 -1
- package/apigatewayv2/getRoute.d.ts +35 -2
- package/apigatewayv2/getRoute.js +2 -2
- package/apigatewayv2/getRoute.js.map +1 -1
- package/apigatewayv2/getRouteResponse.d.ts +26 -2
- package/apigatewayv2/getRouteResponse.js +2 -2
- package/apigatewayv2/getRouteResponse.js.map +1 -1
- package/apigatewayv2/integrationResponse.d.ts +21 -15
- package/apigatewayv2/integrationResponse.js +1 -1
- package/apigatewayv2/integrationResponse.js.map +1 -1
- package/apigatewayv2/model.d.ts +31 -1
- package/apigatewayv2/model.js +1 -1
- package/apigatewayv2/model.js.map +1 -1
- package/apigatewayv2/route.d.ts +73 -1
- package/apigatewayv2/route.js +1 -1
- package/apigatewayv2/route.js.map +1 -1
- package/apigatewayv2/routeResponse.d.ts +37 -1
- package/apigatewayv2/routeResponse.js +1 -1
- package/apigatewayv2/routeResponse.js.map +1 -1
- package/autoscaling/autoScalingGroup.d.ts +2 -0
- package/autoscaling/autoScalingGroup.js +2 -0
- package/autoscaling/autoScalingGroup.js.map +1 -1
- package/autoscaling/getAutoScalingGroup.d.ts +3 -3
- package/autoscaling/getAutoScalingGroup.js +1 -1
- package/autoscaling/getAutoScalingGroup.js.map +1 -1
- package/connect/getSecurityProfile.d.ts +48 -0
- package/connect/getSecurityProfile.js +25 -0
- package/connect/getSecurityProfile.js.map +1 -0
- package/connect/index.d.ts +6 -0
- package/connect/index.js +9 -2
- package/connect/index.js.map +1 -1
- package/connect/securityProfile.d.ts +95 -0
- package/connect/securityProfile.js +75 -0
- package/connect/securityProfile.js.map +1 -0
- package/ec2/getVpcEndpointConnectionNotification.d.ts +18 -3
- package/ec2/getVpcEndpointConnectionNotification.js +1 -1
- package/ec2/getVpcEndpointConnectionNotification.js.map +1 -1
- package/ec2/vpcEndpointConnectionNotification.d.ts +28 -0
- package/ec2/vpcEndpointConnectionNotification.js +2 -0
- package/ec2/vpcEndpointConnectionNotification.js.map +1 -1
- package/healthimaging/datastore.d.ts +47 -0
- package/healthimaging/datastore.js +72 -0
- package/healthimaging/datastore.js.map +1 -0
- package/healthimaging/getDatastore.d.ts +23 -0
- package/healthimaging/getDatastore.js +25 -0
- package/healthimaging/getDatastore.js.map +1 -0
- package/healthimaging/index.d.ts +7 -0
- package/healthimaging/index.js +41 -0
- package/healthimaging/index.js.map +1 -0
- package/index.d.ts +2 -1
- package/index.js +5 -3
- package/index.js.map +1 -1
- package/kendra/dataSource.d.ts +2 -0
- package/kendra/dataSource.js +2 -0
- package/kendra/dataSource.js.map +1 -1
- package/kendra/getDataSource.d.ts +1 -0
- package/kendra/getDataSource.js.map +1 -1
- package/macie/customDataIdentifier.d.ts +10 -0
- package/macie/customDataIdentifier.js +2 -0
- package/macie/customDataIdentifier.js.map +1 -1
- package/macie/getCustomDataIdentifier.d.ts +5 -0
- package/macie/getCustomDataIdentifier.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/s3/bucketPolicy.d.ts +12 -3
- package/s3/bucketPolicy.js +0 -5
- package/s3/bucketPolicy.js.map +1 -1
- package/s3/getBucketPolicy.d.ts +11 -3
- package/s3/getBucketPolicy.js +1 -1
- package/s3/getBucketPolicy.js.map +1 -1
- package/types/enums/cloudfront/index.d.ts +5 -0
- package/types/enums/cloudfront/index.js +5 -1
- package/types/enums/cloudfront/index.js.map +1 -1
- package/types/enums/connect/index.d.ts +1 -0
- package/types/enums/connect/index.js +1 -0
- package/types/enums/connect/index.js.map +1 -1
- package/types/enums/healthimaging/index.d.ts +11 -0
- package/types/enums/healthimaging/index.js +13 -0
- package/types/enums/healthimaging/index.js.map +1 -0
- package/types/enums/index.d.ts +2 -1
- package/types/enums/index.js +4 -2
- package/types/enums/index.js.map +1 -1
- package/types/enums/oam/index.d.ts +1 -0
- package/types/enums/oam/index.js +1 -0
- package/types/enums/oam/index.js.map +1 -1
- package/types/enums/quicksight/index.d.ts +66 -0
- package/types/enums/quicksight/index.js +61 -7
- package/types/enums/quicksight/index.js.map +1 -1
- package/types/input.d.ts +231 -42
- package/types/output.d.ts +231 -42
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getIntegrationResponse.js","sourceRoot":"","sources":["../../apigatewayv2/getIntegrationResponse.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAEhG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;KACtD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wDAQC;
|
|
1
|
+
{"version":3,"file":"getIntegrationResponse.js","sourceRoot":"","sources":["../../apigatewayv2/getIntegrationResponse.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAEhG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;KACtD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wDAQC;AA8CD;;GAEG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjF,CAAC;AAFD,oEAEC"}
|
|
@@ -1,24 +1,42 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* The ``AWS::ApiGatewayV2::Model`` resource updates data model for a WebSocket API. For more information, see [Model Selection Expressions](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-model-selection-expressions) in the *API Gateway Developer Guide*.
|
|
4
4
|
*/
|
|
5
5
|
export declare function getModel(args: GetModelArgs, opts?: pulumi.InvokeOptions): Promise<GetModelResult>;
|
|
6
6
|
export interface GetModelArgs {
|
|
7
|
+
/**
|
|
8
|
+
* The API identifier.
|
|
9
|
+
*/
|
|
7
10
|
apiId: string;
|
|
8
11
|
modelId: string;
|
|
9
12
|
}
|
|
10
13
|
export interface GetModelResult {
|
|
14
|
+
/**
|
|
15
|
+
* The content-type for the model, for example, "application/json".
|
|
16
|
+
*/
|
|
11
17
|
readonly contentType?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The description of the model.
|
|
20
|
+
*/
|
|
12
21
|
readonly description?: string;
|
|
13
22
|
readonly modelId?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The name of the model.
|
|
25
|
+
*/
|
|
14
26
|
readonly name?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The schema for the model. For application/json models, this should be JSON schema draft 4 model.
|
|
29
|
+
*/
|
|
15
30
|
readonly schema?: any;
|
|
16
31
|
}
|
|
17
32
|
/**
|
|
18
|
-
*
|
|
33
|
+
* The ``AWS::ApiGatewayV2::Model`` resource updates data model for a WebSocket API. For more information, see [Model Selection Expressions](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-model-selection-expressions) in the *API Gateway Developer Guide*.
|
|
19
34
|
*/
|
|
20
35
|
export declare function getModelOutput(args: GetModelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetModelResult>;
|
|
21
36
|
export interface GetModelOutputArgs {
|
|
37
|
+
/**
|
|
38
|
+
* The API identifier.
|
|
39
|
+
*/
|
|
22
40
|
apiId: pulumi.Input<string>;
|
|
23
41
|
modelId: pulumi.Input<string>;
|
|
24
42
|
}
|
package/apigatewayv2/getModel.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.getModelOutput = exports.getModel = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The ``AWS::ApiGatewayV2::Model`` resource updates data model for a WebSocket API. For more information, see [Model Selection Expressions](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-model-selection-expressions) in the *API Gateway Developer Guide*.
|
|
10
10
|
*/
|
|
11
11
|
function getModel(args, opts) {
|
|
12
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -17,7 +17,7 @@ function getModel(args, opts) {
|
|
|
17
17
|
}
|
|
18
18
|
exports.getModel = getModel;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* The ``AWS::ApiGatewayV2::Model`` resource updates data model for a WebSocket API. For more information, see [Model Selection Expressions](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-model-selection-expressions) in the *API Gateway Developer Guide*.
|
|
21
21
|
*/
|
|
22
22
|
function getModelOutput(args, opts) {
|
|
23
23
|
return pulumi.output(args).apply((a) => getModel(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getModel.js","sourceRoot":"","sources":["../../apigatewayv2/getModel.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4BAOC;
|
|
1
|
+
{"version":3,"file":"getModel.js","sourceRoot":"","sources":["../../apigatewayv2/getModel.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4BAOC;AA6BD;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
|
|
@@ -1,29 +1,62 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* The ``AWS::ApiGatewayV2::Route`` resource creates a route for an API.
|
|
4
4
|
*/
|
|
5
5
|
export declare function getRoute(args: GetRouteArgs, opts?: pulumi.InvokeOptions): Promise<GetRouteResult>;
|
|
6
6
|
export interface GetRouteArgs {
|
|
7
|
+
/**
|
|
8
|
+
* The API identifier.
|
|
9
|
+
*/
|
|
7
10
|
apiId: string;
|
|
8
11
|
routeId: string;
|
|
9
12
|
}
|
|
10
13
|
export interface GetRouteResult {
|
|
14
|
+
/**
|
|
15
|
+
* Specifies whether an API key is required for the route. Supported only for WebSocket APIs.
|
|
16
|
+
*/
|
|
11
17
|
readonly apiKeyRequired?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* The authorization scopes supported by this route.
|
|
20
|
+
*/
|
|
12
21
|
readonly authorizationScopes?: string[];
|
|
22
|
+
/**
|
|
23
|
+
* The authorization type for the route. For WebSocket APIs, valid values are ``NONE`` for open access, ``AWS_IAM`` for using AWS IAM permissions, and ``CUSTOM`` for using a Lambda authorizer. For HTTP APIs, valid values are ``NONE`` for open access, ``JWT`` for using JSON Web Tokens, ``AWS_IAM`` for using AWS IAM permissions, and ``CUSTOM`` for using a Lambda authorizer.
|
|
24
|
+
*/
|
|
13
25
|
readonly authorizationType?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The model selection expression for the route. Supported only for WebSocket APIs.
|
|
28
|
+
*/
|
|
14
29
|
readonly modelSelectionExpression?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The operation name for the route.
|
|
32
|
+
*/
|
|
15
33
|
readonly operationName?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The request models for the route. Supported only for WebSocket APIs.
|
|
36
|
+
*/
|
|
16
37
|
readonly requestModels?: any;
|
|
17
38
|
readonly routeId?: string;
|
|
39
|
+
/**
|
|
40
|
+
* The route key for the route. For HTTP APIs, the route key can be either ``$default``, or a combination of an HTTP method and resource path, for example, ``GET /pets``.
|
|
41
|
+
*/
|
|
18
42
|
readonly routeKey?: string;
|
|
43
|
+
/**
|
|
44
|
+
* The route response selection expression for the route. Supported only for WebSocket APIs.
|
|
45
|
+
*/
|
|
19
46
|
readonly routeResponseSelectionExpression?: string;
|
|
47
|
+
/**
|
|
48
|
+
* The target for the route.
|
|
49
|
+
*/
|
|
20
50
|
readonly target?: string;
|
|
21
51
|
}
|
|
22
52
|
/**
|
|
23
|
-
*
|
|
53
|
+
* The ``AWS::ApiGatewayV2::Route`` resource creates a route for an API.
|
|
24
54
|
*/
|
|
25
55
|
export declare function getRouteOutput(args: GetRouteOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRouteResult>;
|
|
26
56
|
export interface GetRouteOutputArgs {
|
|
57
|
+
/**
|
|
58
|
+
* The API identifier.
|
|
59
|
+
*/
|
|
27
60
|
apiId: pulumi.Input<string>;
|
|
28
61
|
routeId: pulumi.Input<string>;
|
|
29
62
|
}
|
package/apigatewayv2/getRoute.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.getRouteOutput = exports.getRoute = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The ``AWS::ApiGatewayV2::Route`` resource creates a route for an API.
|
|
10
10
|
*/
|
|
11
11
|
function getRoute(args, opts) {
|
|
12
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -17,7 +17,7 @@ function getRoute(args, opts) {
|
|
|
17
17
|
}
|
|
18
18
|
exports.getRoute = getRoute;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* The ``AWS::ApiGatewayV2::Route`` resource creates a route for an API.
|
|
21
21
|
*/
|
|
22
22
|
function getRouteOutput(args, opts) {
|
|
23
23
|
return pulumi.output(args).apply((a) => getRoute(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRoute.js","sourceRoot":"","sources":["../../apigatewayv2/getRoute.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4BAOC;
|
|
1
|
+
{"version":3,"file":"getRoute.js","sourceRoot":"","sources":["../../apigatewayv2/getRoute.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4BAOC;AAiDD;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
|
|
@@ -1,27 +1,51 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "../types/output";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* The ``AWS::ApiGatewayV2::RouteResponse`` resource creates a route response for a WebSocket API. For more information, see [Set up Route Responses for a WebSocket API in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-route-response.html) in the *API Gateway Developer Guide*.
|
|
5
5
|
*/
|
|
6
6
|
export declare function getRouteResponse(args: GetRouteResponseArgs, opts?: pulumi.InvokeOptions): Promise<GetRouteResponseResult>;
|
|
7
7
|
export interface GetRouteResponseArgs {
|
|
8
|
+
/**
|
|
9
|
+
* The API identifier.
|
|
10
|
+
*/
|
|
8
11
|
apiId: string;
|
|
12
|
+
/**
|
|
13
|
+
* The route ID.
|
|
14
|
+
*/
|
|
9
15
|
routeId: string;
|
|
10
16
|
routeResponseId: string;
|
|
11
17
|
}
|
|
12
18
|
export interface GetRouteResponseResult {
|
|
19
|
+
/**
|
|
20
|
+
* The model selection expression for the route response. Supported only for WebSocket APIs.
|
|
21
|
+
*/
|
|
13
22
|
readonly modelSelectionExpression?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The response models for the route response.
|
|
25
|
+
*/
|
|
14
26
|
readonly responseModels?: any;
|
|
27
|
+
/**
|
|
28
|
+
* The route response parameters.
|
|
29
|
+
*/
|
|
15
30
|
readonly responseParameters?: outputs.apigatewayv2.RouteResponseRouteParameters;
|
|
16
31
|
readonly routeResponseId?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The route response key.
|
|
34
|
+
*/
|
|
17
35
|
readonly routeResponseKey?: string;
|
|
18
36
|
}
|
|
19
37
|
/**
|
|
20
|
-
*
|
|
38
|
+
* The ``AWS::ApiGatewayV2::RouteResponse`` resource creates a route response for a WebSocket API. For more information, see [Set up Route Responses for a WebSocket API in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-route-response.html) in the *API Gateway Developer Guide*.
|
|
21
39
|
*/
|
|
22
40
|
export declare function getRouteResponseOutput(args: GetRouteResponseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRouteResponseResult>;
|
|
23
41
|
export interface GetRouteResponseOutputArgs {
|
|
42
|
+
/**
|
|
43
|
+
* The API identifier.
|
|
44
|
+
*/
|
|
24
45
|
apiId: pulumi.Input<string>;
|
|
46
|
+
/**
|
|
47
|
+
* The route ID.
|
|
48
|
+
*/
|
|
25
49
|
routeId: pulumi.Input<string>;
|
|
26
50
|
routeResponseId: pulumi.Input<string>;
|
|
27
51
|
}
|
|
@@ -6,7 +6,7 @@ exports.getRouteResponseOutput = exports.getRouteResponse = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The ``AWS::ApiGatewayV2::RouteResponse`` resource creates a route response for a WebSocket API. For more information, see [Set up Route Responses for a WebSocket API in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-route-response.html) in the *API Gateway Developer Guide*.
|
|
10
10
|
*/
|
|
11
11
|
function getRouteResponse(args, opts) {
|
|
12
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -18,7 +18,7 @@ function getRouteResponse(args, opts) {
|
|
|
18
18
|
}
|
|
19
19
|
exports.getRouteResponse = getRouteResponse;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* The ``AWS::ApiGatewayV2::RouteResponse`` resource creates a route response for a WebSocket API. For more information, see [Set up Route Responses for a WebSocket API in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-route-response.html) in the *API Gateway Developer Guide*.
|
|
22
22
|
*/
|
|
23
23
|
function getRouteResponseOutput(args, opts) {
|
|
24
24
|
return pulumi.output(args).apply((a) => getRouteResponse(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRouteResponse.js","sourceRoot":"","sources":["../../apigatewayv2/getRouteResponse.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4CAQC;
|
|
1
|
+
{"version":3,"file":"getRouteResponse.js","sourceRoot":"","sources":["../../apigatewayv2/getRouteResponse.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4CAQC;AAiCD;;GAEG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
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 class IntegrationResponse extends pulumi.CustomResource {
|
|
6
6
|
/**
|
|
@@ -18,15 +18,18 @@ export declare class IntegrationResponse extends pulumi.CustomResource {
|
|
|
18
18
|
*/
|
|
19
19
|
static isInstance(obj: any): obj is IntegrationResponse;
|
|
20
20
|
/**
|
|
21
|
-
* The API identifier
|
|
21
|
+
* The API identifier.
|
|
22
22
|
*/
|
|
23
23
|
readonly apiId: pulumi.Output<string>;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* 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:
|
|
26
|
+
* ``CONVERT_TO_BINARY``: Converts a response payload from a Base64-encoded string to the corresponding binary blob.
|
|
27
|
+
* ``CONVERT_TO_TEXT``: Converts a response payload from a binary blob to a Base64-encoded string.
|
|
28
|
+
* 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.
|
|
26
29
|
*/
|
|
27
30
|
readonly contentHandlingStrategy: pulumi.Output<string | undefined>;
|
|
28
31
|
/**
|
|
29
|
-
* The integration ID
|
|
32
|
+
* The integration ID.
|
|
30
33
|
*/
|
|
31
34
|
readonly integrationId: pulumi.Output<string>;
|
|
32
35
|
/**
|
|
@@ -34,19 +37,19 @@ export declare class IntegrationResponse extends pulumi.CustomResource {
|
|
|
34
37
|
*/
|
|
35
38
|
readonly integrationResponseId: pulumi.Output<string>;
|
|
36
39
|
/**
|
|
37
|
-
* The integration response key
|
|
40
|
+
* The integration response key.
|
|
38
41
|
*/
|
|
39
42
|
readonly integrationResponseKey: pulumi.Output<string>;
|
|
40
43
|
/**
|
|
41
|
-
* A key-value map specifying response parameters that are passed to the method response from the backend
|
|
44
|
+
* 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.
|
|
42
45
|
*/
|
|
43
46
|
readonly responseParameters: pulumi.Output<any | undefined>;
|
|
44
47
|
/**
|
|
45
|
-
* The collection of response templates for the integration response as a string-to-string map of key-value pairs
|
|
48
|
+
* 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.
|
|
46
49
|
*/
|
|
47
50
|
readonly responseTemplates: pulumi.Output<any | undefined>;
|
|
48
51
|
/**
|
|
49
|
-
* The template selection expression for the integration response. Supported only for WebSocket APIs
|
|
52
|
+
* The template selection expression for the integration response. Supported only for WebSocket APIs.
|
|
50
53
|
*/
|
|
51
54
|
readonly templateSelectionExpression: pulumi.Output<string | undefined>;
|
|
52
55
|
/**
|
|
@@ -63,31 +66,34 @@ export declare class IntegrationResponse extends pulumi.CustomResource {
|
|
|
63
66
|
*/
|
|
64
67
|
export interface IntegrationResponseArgs {
|
|
65
68
|
/**
|
|
66
|
-
* The API identifier
|
|
69
|
+
* The API identifier.
|
|
67
70
|
*/
|
|
68
71
|
apiId: pulumi.Input<string>;
|
|
69
72
|
/**
|
|
70
|
-
*
|
|
73
|
+
* 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:
|
|
74
|
+
* ``CONVERT_TO_BINARY``: Converts a response payload from a Base64-encoded string to the corresponding binary blob.
|
|
75
|
+
* ``CONVERT_TO_TEXT``: Converts a response payload from a binary blob to a Base64-encoded string.
|
|
76
|
+
* 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.
|
|
71
77
|
*/
|
|
72
78
|
contentHandlingStrategy?: pulumi.Input<string>;
|
|
73
79
|
/**
|
|
74
|
-
* The integration ID
|
|
80
|
+
* The integration ID.
|
|
75
81
|
*/
|
|
76
82
|
integrationId: pulumi.Input<string>;
|
|
77
83
|
/**
|
|
78
|
-
* The integration response key
|
|
84
|
+
* The integration response key.
|
|
79
85
|
*/
|
|
80
86
|
integrationResponseKey: pulumi.Input<string>;
|
|
81
87
|
/**
|
|
82
|
-
* A key-value map specifying response parameters that are passed to the method response from the backend
|
|
88
|
+
* 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.
|
|
83
89
|
*/
|
|
84
90
|
responseParameters?: any;
|
|
85
91
|
/**
|
|
86
|
-
* The collection of response templates for the integration response as a string-to-string map of key-value pairs
|
|
92
|
+
* 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.
|
|
87
93
|
*/
|
|
88
94
|
responseTemplates?: any;
|
|
89
95
|
/**
|
|
90
|
-
* The template selection expression for the integration response. Supported only for WebSocket APIs
|
|
96
|
+
* The template selection expression for the integration response. Supported only for WebSocket APIs.
|
|
91
97
|
*/
|
|
92
98
|
templateSelectionExpression?: pulumi.Input<string>;
|
|
93
99
|
}
|
|
@@ -6,7 +6,7 @@ exports.IntegrationResponse = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
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
|
class IntegrationResponse extends pulumi.CustomResource {
|
|
12
12
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrationResponse.js","sourceRoot":"","sources":["../../apigatewayv2/integrationResponse.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;
|
|
1
|
+
{"version":3,"file":"integrationResponse.js","sourceRoot":"","sources":["../../apigatewayv2/integrationResponse.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IAsCD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA6B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1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* The ``AWS::ApiGatewayV2::Model`` resource updates data model for a WebSocket API. For more information, see [Model Selection Expressions](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-model-selection-expressions) in the *API Gateway Developer Guide*.
|
|
4
4
|
*/
|
|
5
5
|
export declare class Model extends pulumi.CustomResource {
|
|
6
6
|
/**
|
|
@@ -17,11 +17,26 @@ export declare class Model 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 Model;
|
|
20
|
+
/**
|
|
21
|
+
* The API identifier.
|
|
22
|
+
*/
|
|
20
23
|
readonly apiId: pulumi.Output<string>;
|
|
24
|
+
/**
|
|
25
|
+
* The content-type for the model, for example, "application/json".
|
|
26
|
+
*/
|
|
21
27
|
readonly contentType: pulumi.Output<string | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* The description of the model.
|
|
30
|
+
*/
|
|
22
31
|
readonly description: pulumi.Output<string | undefined>;
|
|
23
32
|
readonly modelId: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* The name of the model.
|
|
35
|
+
*/
|
|
24
36
|
readonly name: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* The schema for the model. For application/json models, this should be JSON schema draft 4 model.
|
|
39
|
+
*/
|
|
25
40
|
readonly schema: pulumi.Output<any>;
|
|
26
41
|
/**
|
|
27
42
|
* Create a Model resource with the given unique name, arguments, and options.
|
|
@@ -36,9 +51,24 @@ export declare class Model extends pulumi.CustomResource {
|
|
|
36
51
|
* The set of arguments for constructing a Model resource.
|
|
37
52
|
*/
|
|
38
53
|
export interface ModelArgs {
|
|
54
|
+
/**
|
|
55
|
+
* The API identifier.
|
|
56
|
+
*/
|
|
39
57
|
apiId: pulumi.Input<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The content-type for the model, for example, "application/json".
|
|
60
|
+
*/
|
|
40
61
|
contentType?: pulumi.Input<string>;
|
|
62
|
+
/**
|
|
63
|
+
* The description of the model.
|
|
64
|
+
*/
|
|
41
65
|
description?: pulumi.Input<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The name of the model.
|
|
68
|
+
*/
|
|
42
69
|
name?: pulumi.Input<string>;
|
|
70
|
+
/**
|
|
71
|
+
* The schema for the model. For application/json models, this should be JSON schema draft 4 model.
|
|
72
|
+
*/
|
|
43
73
|
schema: any;
|
|
44
74
|
}
|
package/apigatewayv2/model.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.Model = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The ``AWS::ApiGatewayV2::Model`` resource updates data model for a WebSocket API. For more information, see [Model Selection Expressions](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-model-selection-expressions) in the *API Gateway Developer Guide*.
|
|
10
10
|
*/
|
|
11
11
|
class Model extends pulumi.CustomResource {
|
|
12
12
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.js","sourceRoot":"","sources":["../../apigatewayv2/model.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,KAAK,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC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;QACzD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AApFL,sBAqFC;AAxEG,gBAAgB;AACO,kBAAY,GAAG,+BAA+B,CAAC"}
|
package/apigatewayv2/route.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* The ``AWS::ApiGatewayV2::Route`` resource creates a route for an API.
|
|
4
4
|
*/
|
|
5
5
|
export declare class Route extends pulumi.CustomResource {
|
|
6
6
|
/**
|
|
@@ -17,18 +17,54 @@ export declare class Route 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 Route;
|
|
20
|
+
/**
|
|
21
|
+
* The API identifier.
|
|
22
|
+
*/
|
|
20
23
|
readonly apiId: pulumi.Output<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Specifies whether an API key is required for the route. Supported only for WebSocket APIs.
|
|
26
|
+
*/
|
|
21
27
|
readonly apiKeyRequired: pulumi.Output<boolean | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* The authorization scopes supported by this route.
|
|
30
|
+
*/
|
|
22
31
|
readonly authorizationScopes: pulumi.Output<string[] | undefined>;
|
|
32
|
+
/**
|
|
33
|
+
* The authorization type for the route. For WebSocket APIs, valid values are ``NONE`` for open access, ``AWS_IAM`` for using AWS IAM permissions, and ``CUSTOM`` for using a Lambda authorizer. For HTTP APIs, valid values are ``NONE`` for open access, ``JWT`` for using JSON Web Tokens, ``AWS_IAM`` for using AWS IAM permissions, and ``CUSTOM`` for using a Lambda authorizer.
|
|
34
|
+
*/
|
|
23
35
|
readonly authorizationType: pulumi.Output<string | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* The identifier of the ``Authorizer`` resource to be associated with this route. The authorizer identifier is generated by API Gateway when you created the authorizer.
|
|
38
|
+
*/
|
|
24
39
|
readonly authorizerId: pulumi.Output<string | undefined>;
|
|
40
|
+
/**
|
|
41
|
+
* The model selection expression for the route. Supported only for WebSocket APIs.
|
|
42
|
+
*/
|
|
25
43
|
readonly modelSelectionExpression: pulumi.Output<string | undefined>;
|
|
44
|
+
/**
|
|
45
|
+
* The operation name for the route.
|
|
46
|
+
*/
|
|
26
47
|
readonly operationName: pulumi.Output<string | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* The request models for the route. Supported only for WebSocket APIs.
|
|
50
|
+
*/
|
|
27
51
|
readonly requestModels: pulumi.Output<any | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* The request parameters for the route. Supported only for WebSocket APIs.
|
|
54
|
+
*/
|
|
28
55
|
readonly requestParameters: pulumi.Output<any | undefined>;
|
|
29
56
|
readonly routeId: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* The route key for the route. For HTTP APIs, the route key can be either ``$default``, or a combination of an HTTP method and resource path, for example, ``GET /pets``.
|
|
59
|
+
*/
|
|
30
60
|
readonly routeKey: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The route response selection expression for the route. Supported only for WebSocket APIs.
|
|
63
|
+
*/
|
|
31
64
|
readonly routeResponseSelectionExpression: pulumi.Output<string | undefined>;
|
|
65
|
+
/**
|
|
66
|
+
* The target for the route.
|
|
67
|
+
*/
|
|
32
68
|
readonly target: pulumi.Output<string | undefined>;
|
|
33
69
|
/**
|
|
34
70
|
* Create a Route resource with the given unique name, arguments, and options.
|
|
@@ -43,16 +79,52 @@ export declare class Route extends pulumi.CustomResource {
|
|
|
43
79
|
* The set of arguments for constructing a Route resource.
|
|
44
80
|
*/
|
|
45
81
|
export interface RouteArgs {
|
|
82
|
+
/**
|
|
83
|
+
* The API identifier.
|
|
84
|
+
*/
|
|
46
85
|
apiId: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Specifies whether an API key is required for the route. Supported only for WebSocket APIs.
|
|
88
|
+
*/
|
|
47
89
|
apiKeyRequired?: pulumi.Input<boolean>;
|
|
90
|
+
/**
|
|
91
|
+
* The authorization scopes supported by this route.
|
|
92
|
+
*/
|
|
48
93
|
authorizationScopes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
94
|
+
/**
|
|
95
|
+
* The authorization type for the route. For WebSocket APIs, valid values are ``NONE`` for open access, ``AWS_IAM`` for using AWS IAM permissions, and ``CUSTOM`` for using a Lambda authorizer. For HTTP APIs, valid values are ``NONE`` for open access, ``JWT`` for using JSON Web Tokens, ``AWS_IAM`` for using AWS IAM permissions, and ``CUSTOM`` for using a Lambda authorizer.
|
|
96
|
+
*/
|
|
49
97
|
authorizationType?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* The identifier of the ``Authorizer`` resource to be associated with this route. The authorizer identifier is generated by API Gateway when you created the authorizer.
|
|
100
|
+
*/
|
|
50
101
|
authorizerId?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* The model selection expression for the route. Supported only for WebSocket APIs.
|
|
104
|
+
*/
|
|
51
105
|
modelSelectionExpression?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The operation name for the route.
|
|
108
|
+
*/
|
|
52
109
|
operationName?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* The request models for the route. Supported only for WebSocket APIs.
|
|
112
|
+
*/
|
|
53
113
|
requestModels?: any;
|
|
114
|
+
/**
|
|
115
|
+
* The request parameters for the route. Supported only for WebSocket APIs.
|
|
116
|
+
*/
|
|
54
117
|
requestParameters?: any;
|
|
118
|
+
/**
|
|
119
|
+
* The route key for the route. For HTTP APIs, the route key can be either ``$default``, or a combination of an HTTP method and resource path, for example, ``GET /pets``.
|
|
120
|
+
*/
|
|
55
121
|
routeKey: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* The route response selection expression for the route. Supported only for WebSocket APIs.
|
|
124
|
+
*/
|
|
56
125
|
routeResponseSelectionExpression?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* The target for the route.
|
|
128
|
+
*/
|
|
57
129
|
target?: pulumi.Input<string>;
|
|
58
130
|
}
|
package/apigatewayv2/route.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.Route = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The ``AWS::ApiGatewayV2::Route`` resource creates a route for an API.
|
|
10
10
|
*/
|
|
11
11
|
class Route extends pulumi.CustomResource {
|
|
12
12
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"route.js","sourceRoot":"","sources":["../../apigatewayv2/route.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,KAAK,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;
|
|
1
|
+
{"version":3,"file":"route.js","sourceRoot":"","sources":["../../apigatewayv2/route.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;A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