@pulumi/aws-native 0.108.2 → 0.108.4
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/getIntegration.d.ts +132 -0
- package/apigatewayv2/getIntegration.js +25 -0
- package/apigatewayv2/getIntegration.js.map +1 -0
- package/apigatewayv2/index.d.ts +6 -0
- package/apigatewayv2/index.js +8 -1
- package/apigatewayv2/index.js.map +1 -1
- package/apigatewayv2/integration.d.ts +255 -0
- package/apigatewayv2/integration.js +100 -0
- package/apigatewayv2/integration.js.map +1 -0
- package/applicationsignals/getServiceLevelObjective.d.ts +43 -0
- package/applicationsignals/getServiceLevelObjective.js +25 -0
- package/applicationsignals/getServiceLevelObjective.js.map +1 -0
- package/applicationsignals/index.d.ts +7 -0
- package/applicationsignals/index.js +41 -0
- package/applicationsignals/index.js.map +1 -0
- package/applicationsignals/serviceLevelObjective.d.ts +69 -0
- package/applicationsignals/serviceLevelObjective.js +75 -0
- package/applicationsignals/serviceLevelObjective.js.map +1 -0
- package/bedrock/agent.d.ts +2 -0
- package/bedrock/agent.js +2 -0
- package/bedrock/agent.js.map +1 -1
- package/bedrock/getAgent.d.ts +1 -0
- package/bedrock/getAgent.js.map +1 -1
- package/bedrock/getGuardrail.d.ts +15 -0
- package/bedrock/getGuardrail.js.map +1 -1
- package/bedrock/guardrail.d.ts +27 -0
- package/bedrock/guardrail.js.map +1 -1
- package/cloudfront/getKeyValueStore.d.ts +3 -0
- package/cloudfront/getKeyValueStore.js.map +1 -1
- package/cloudfront/keyValueStore.d.ts +3 -0
- package/cloudfront/keyValueStore.js.map +1 -1
- package/codebuild/fleet.d.ts +28 -0
- package/codebuild/fleet.js.map +1 -1
- package/codebuild/getFleet.d.ts +14 -0
- package/codebuild/getFleet.js.map +1 -1
- package/cognito/getUserPoolResourceServer.d.ts +12 -8
- package/cognito/getUserPoolResourceServer.js +2 -1
- package/cognito/getUserPoolResourceServer.js.map +1 -1
- package/cognito/userPoolResourceServer.d.ts +0 -4
- package/cognito/userPoolResourceServer.js +0 -2
- package/cognito/userPoolResourceServer.js.map +1 -1
- package/datazone/getGroupProfile.d.ts +3 -0
- package/datazone/getGroupProfile.js.map +1 -1
- package/datazone/getUserProfile.d.ts +6 -0
- package/datazone/getUserProfile.js.map +1 -1
- package/datazone/groupProfile.d.ts +6 -0
- package/datazone/groupProfile.js.map +1 -1
- package/datazone/projectMembership.d.ts +24 -0
- package/datazone/projectMembership.js.map +1 -1
- package/datazone/userProfile.d.ts +15 -0
- package/datazone/userProfile.js.map +1 -1
- package/deadline/farm.d.ts +10 -0
- package/deadline/farm.js +2 -0
- package/deadline/farm.js.map +1 -1
- package/deadline/fleet.d.ts +8 -0
- package/deadline/fleet.js +2 -0
- package/deadline/fleet.js.map +1 -1
- package/deadline/getFarm.d.ts +5 -0
- package/deadline/getFarm.js.map +1 -1
- package/deadline/getFleet.d.ts +4 -0
- package/deadline/getFleet.js.map +1 -1
- package/deadline/getLicenseEndpoint.d.ts +5 -0
- package/deadline/getLicenseEndpoint.js.map +1 -1
- package/deadline/getMonitor.d.ts +42 -0
- package/deadline/getMonitor.js +25 -0
- package/deadline/getMonitor.js.map +1 -0
- package/deadline/getQueue.d.ts +4 -0
- package/deadline/getQueue.js.map +1 -1
- package/deadline/getQueueEnvironment.d.ts +1 -1
- package/deadline/index.d.ts +6 -0
- package/deadline/index.js +8 -1
- package/deadline/index.js.map +1 -1
- package/deadline/licenseEndpoint.d.ts +10 -0
- package/deadline/licenseEndpoint.js +2 -0
- package/deadline/licenseEndpoint.js.map +1 -1
- package/deadline/monitor.d.ts +78 -0
- package/deadline/monitor.js +84 -0
- package/deadline/monitor.js.map +1 -0
- package/deadline/queue.d.ts +8 -0
- package/deadline/queue.js +2 -0
- package/deadline/queue.js.map +1 -1
- package/deadline/queueEnvironment.d.ts +2 -2
- package/ec2/capacityReservationFleet.d.ts +4 -4
- package/ec2/customerGateway.d.ts +14 -4
- package/ec2/customerGateway.js.map +1 -1
- package/ec2/getCapacityReservationFleet.d.ts +1 -1
- package/ec2/getVpnGateway.d.ts +7 -5
- package/ec2/getVpnGateway.js +4 -2
- package/ec2/getVpnGateway.js.map +1 -1
- package/ec2/vpnGateway.d.ts +3 -2
- package/ec2/vpnGateway.js +2 -1
- package/ec2/vpnGateway.js.map +1 -1
- package/elasticloadbalancingv2/getLoadBalancer.d.ts +4 -1
- package/elasticloadbalancingv2/getLoadBalancer.js.map +1 -1
- package/elasticloadbalancingv2/loadBalancer.d.ts +8 -2
- package/elasticloadbalancingv2/loadBalancer.js.map +1 -1
- package/guardduty/getMalwareProtectionPlan.d.ts +57 -0
- package/guardduty/getMalwareProtectionPlan.js +25 -0
- package/guardduty/getMalwareProtectionPlan.js.map +1 -0
- package/guardduty/index.d.ts +6 -0
- package/guardduty/index.js +8 -1
- package/guardduty/index.js.map +1 -1
- package/guardduty/malwareProtectionPlan.d.ts +81 -0
- package/guardduty/malwareProtectionPlan.js +78 -0
- package/guardduty/malwareProtectionPlan.js.map +1 -0
- package/index.d.ts +2 -1
- package/index.js +7 -5
- package/index.js.map +1 -1
- package/iot/getTopicRule.d.ts +2 -2
- package/iot/topicRule.d.ts +2 -2
- package/mediapackagev2/channel.d.ts +1 -0
- package/mediapackagev2/channel.js +2 -0
- package/mediapackagev2/channel.js.map +1 -1
- package/mediapackagev2/getChannel.d.ts +1 -0
- package/mediapackagev2/getChannel.js.map +1 -1
- package/mediapackagev2/getOriginEndpoint.d.ts +3 -0
- package/mediapackagev2/getOriginEndpoint.js.map +1 -1
- package/mediapackagev2/originEndpoint.d.ts +3 -0
- package/mediapackagev2/originEndpoint.js +6 -0
- package/mediapackagev2/originEndpoint.js.map +1 -1
- package/msk/cluster.d.ts +2 -2
- package/msk/getCluster.d.ts +1 -1
- package/mwaa/environment.d.ts +20 -0
- package/mwaa/environment.js.map +1 -1
- package/mwaa/getEnvironment.d.ts +10 -0
- package/mwaa/getEnvironment.js.map +1 -1
- package/osis/getPipeline.d.ts +4 -0
- package/osis/getPipeline.js.map +1 -1
- package/osis/index.d.ts +1 -0
- package/osis/index.js +16 -0
- package/osis/index.js.map +1 -1
- package/osis/pipeline.d.ts +4 -0
- package/osis/pipeline.js +2 -0
- package/osis/pipeline.js.map +1 -1
- package/package.json +3 -3
- package/package.json.dev +2 -2
- package/rds/dbCluster.d.ts +8 -0
- package/rds/dbCluster.js +2 -0
- package/rds/dbCluster.js.map +1 -1
- package/rds/dbInstance.d.ts +14 -6
- package/rds/dbInstance.js +2 -0
- package/rds/dbInstance.js.map +1 -1
- package/rds/getDbCluster.d.ts +4 -0
- package/rds/getDbCluster.js.map +1 -1
- package/rds/getDbInstance.d.ts +1 -0
- package/rds/getDbInstance.js.map +1 -1
- package/rolesanywhere/getProfile.d.ts +3 -0
- package/rolesanywhere/getProfile.js.map +1 -1
- package/rolesanywhere/profile.d.ts +6 -0
- package/rolesanywhere/profile.js.map +1 -1
- package/securityhub/configurationPolicy.d.ts +12 -0
- package/securityhub/configurationPolicy.js.map +1 -1
- package/securityhub/getConfigurationPolicy.d.ts +6 -0
- package/securityhub/getConfigurationPolicy.js.map +1 -1
- package/securitylake/getSubscriberNotification.d.ts +3 -0
- package/securitylake/getSubscriberNotification.js.map +1 -1
- package/securitylake/subscriberNotification.d.ts +6 -0
- package/securitylake/subscriberNotification.js.map +1 -1
- package/types/enums/applicationsignals/index.d.ts +26 -0
- package/types/enums/applicationsignals/index.js +20 -0
- package/types/enums/applicationsignals/index.js.map +1 -0
- package/types/enums/codebuild/index.d.ts +8 -0
- package/types/enums/index.d.ts +3 -1
- package/types/enums/index.js +8 -4
- package/types/enums/index.js.map +1 -1
- package/types/enums/kms/index.d.ts +1 -0
- package/types/enums/kms/index.js +1 -0
- package/types/enums/kms/index.js.map +1 -1
- package/types/enums/osis/index.d.ts +8 -0
- package/types/enums/osis/index.js +10 -0
- package/types/enums/osis/index.js.map +1 -0
- package/types/enums/securityhub/index.d.ts +7 -0
- package/types/input.d.ts +593 -29
- package/types/output.d.ts +603 -29
- package/workspacesweb/getPortal.d.ts +3 -3
- package/workspacesweb/portal.d.ts +6 -6
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Resource Type definition for AWS::ApiGatewayV2::Integration
|
|
5
|
+
*/
|
|
6
|
+
export declare function getIntegration(args: GetIntegrationArgs, opts?: pulumi.InvokeOptions): Promise<GetIntegrationResult>;
|
|
7
|
+
export interface GetIntegrationArgs {
|
|
8
|
+
/**
|
|
9
|
+
* The identifier.
|
|
10
|
+
*/
|
|
11
|
+
id: string;
|
|
12
|
+
}
|
|
13
|
+
export interface GetIntegrationResult {
|
|
14
|
+
/**
|
|
15
|
+
* The ID of the VPC link for a private integration. Supported only for HTTP APIs.
|
|
16
|
+
*/
|
|
17
|
+
readonly connectionId?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The type of the network connection to the integration endpoint. Specify `INTERNET` for connections through the public routable internet or `VPC_LINK` for private connections between API Gateway and resources in a VPC. The default value is `INTERNET` .
|
|
20
|
+
*/
|
|
21
|
+
readonly connectionType?: string;
|
|
22
|
+
/**
|
|
23
|
+
* 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:
|
|
24
|
+
*
|
|
25
|
+
* `CONVERT_TO_BINARY` : Converts a response payload from a Base64-encoded string to the corresponding binary blob.
|
|
26
|
+
*
|
|
27
|
+
* `CONVERT_TO_TEXT` : Converts a response payload from a binary blob to a Base64-encoded string.
|
|
28
|
+
*
|
|
29
|
+
* 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.
|
|
30
|
+
*/
|
|
31
|
+
readonly contentHandlingStrategy?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Specifies the credentials required for the integration, if any. For AWS integrations, 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 the string `arn:aws:iam::*:user/*` . To use resource-based permissions on supported AWS services, don't specify this parameter.
|
|
34
|
+
*/
|
|
35
|
+
readonly credentialsArn?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The description of the integration.
|
|
38
|
+
*/
|
|
39
|
+
readonly description?: string;
|
|
40
|
+
/**
|
|
41
|
+
* The identifier.
|
|
42
|
+
*/
|
|
43
|
+
readonly id?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Specifies the integration's HTTP method type. For WebSocket APIs, if you use a Lambda integration, you must set the integration method to `POST` .
|
|
46
|
+
*/
|
|
47
|
+
readonly integrationMethod?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Supported only for HTTP API `AWS_PROXY` integrations. Specifies the AWS service action to invoke. To learn more, see [Integration subtype reference](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services-reference.html) .
|
|
50
|
+
*/
|
|
51
|
+
readonly integrationSubtype?: string;
|
|
52
|
+
/**
|
|
53
|
+
* The integration type of an integration. One of the following:
|
|
54
|
+
*
|
|
55
|
+
* `AWS` : for integrating the route or method request with an AWS service action, including the Lambda function-invoking action. With the Lambda function-invoking action, this is referred to as the Lambda custom integration. With any other AWS service action, this is known as AWS integration. Supported only for WebSocket APIs.
|
|
56
|
+
*
|
|
57
|
+
* `AWS_PROXY` : for integrating the route or method request with a Lambda function or other AWS service action. This integration is also referred to as a Lambda proxy integration.
|
|
58
|
+
*
|
|
59
|
+
* `HTTP` : for integrating the route or method request with an HTTP endpoint. This integration is also referred to as the HTTP custom integration. Supported only for WebSocket APIs.
|
|
60
|
+
*
|
|
61
|
+
* `HTTP_PROXY` : for integrating the route or method request with an HTTP endpoint, with the client request passed through as-is. This is also referred to as HTTP proxy integration. For HTTP API private integrations, use an `HTTP_PROXY` integration.
|
|
62
|
+
*
|
|
63
|
+
* `MOCK` : for integrating the route or method request with API Gateway as a "loopback" endpoint without invoking any backend. Supported only for WebSocket APIs.
|
|
64
|
+
*/
|
|
65
|
+
readonly integrationType?: string;
|
|
66
|
+
/**
|
|
67
|
+
* For a Lambda integration, specify the URI of a Lambda function.
|
|
68
|
+
*
|
|
69
|
+
* For an HTTP integration, specify a fully-qualified URL.
|
|
70
|
+
*
|
|
71
|
+
* For an HTTP API private integration, specify the ARN of an Application Load Balancer listener, Network Load Balancer listener, or AWS Cloud Map service. If you specify the ARN of an AWS Cloud Map service, API Gateway uses `DiscoverInstances` to identify resources. You can use query parameters to target specific resources. To learn more, see [DiscoverInstances](https://docs.aws.amazon.com/cloud-map/latest/api/API_DiscoverInstances.html) . For private integrations, all resources must be owned by the same AWS account .
|
|
72
|
+
*/
|
|
73
|
+
readonly integrationUri?: string;
|
|
74
|
+
/**
|
|
75
|
+
* Specifies the pass-through behavior for incoming requests based on the `Content-Type` header in the request, and the available mapping templates specified as the `requestTemplates` property on the `Integration` resource. There are three valid values: `WHEN_NO_MATCH` , `WHEN_NO_TEMPLATES` , and `NEVER` . Supported only for WebSocket APIs.
|
|
76
|
+
*
|
|
77
|
+
* `WHEN_NO_MATCH` passes the request body for unmapped content types through to the integration backend without transformation.
|
|
78
|
+
*
|
|
79
|
+
* `NEVER` rejects unmapped content types with an `HTTP 415 Unsupported Media Type` response.
|
|
80
|
+
*
|
|
81
|
+
* `WHEN_NO_TEMPLATES` allows pass-through when the integration has no content types mapped to templates. However, if there is at least one content type defined, unmapped content types will be rejected with the same `HTTP 415 Unsupported Media Type` response.
|
|
82
|
+
*/
|
|
83
|
+
readonly passthroughBehavior?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Specifies the format of the payload sent to an integration. Required for HTTP APIs. For HTTP APIs, supported values for Lambda proxy integrations are `1.0` and `2.0` . For all other integrations, `1.0` is the only supported value. To learn more, see [Working with AWS Lambda proxy integrations for HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html) .
|
|
86
|
+
*/
|
|
87
|
+
readonly payloadFormatVersion?: string;
|
|
88
|
+
/**
|
|
89
|
+
* For WebSocket APIs, a key-value map specifying request parameters that are passed from the method request to the backend. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the backend. The method request parameter value must match the pattern of `method.request. {location} . {name}` , where `{location}` is `querystring` , `path` , or `header` ; and `{name}` must be a valid and unique method request parameter name.
|
|
90
|
+
*
|
|
91
|
+
* For HTTP API integrations with a specified `integrationSubtype` , request parameters are a key-value map specifying parameters that are passed to `AWS_PROXY` integrations. You can provide static values, or map request data, stage variables, or context variables that are evaluated at runtime. To learn more, see [Working with AWS service integrations for HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html) .
|
|
92
|
+
*
|
|
93
|
+
* For HTTP API integrations without a specified `integrationSubtype` request parameters are a key-value map specifying how to transform HTTP requests before sending them to the backend. The key should follow the pattern <action>:<header|querystring|path>.<location> where action can be `append` , `overwrite` or `remove` . For values, you can provide static values, or map request data, stage variables, or context variables that are evaluated at runtime. To learn more, see [Transforming API requests and responses](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html) .
|
|
94
|
+
*
|
|
95
|
+
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::ApiGatewayV2::Integration` for more information about the expected schema for this property.
|
|
96
|
+
*/
|
|
97
|
+
readonly requestParameters?: any;
|
|
98
|
+
/**
|
|
99
|
+
* Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value. Supported only for WebSocket APIs.
|
|
100
|
+
*
|
|
101
|
+
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::ApiGatewayV2::Integration` for more information about the expected schema for this property.
|
|
102
|
+
*/
|
|
103
|
+
readonly requestTemplates?: any;
|
|
104
|
+
/**
|
|
105
|
+
* Supported only for HTTP APIs. You use response parameters to transform the HTTP response from a backend integration before returning the response to clients. Specify a key-value map from a selection key to response parameters. The selection key must be a valid HTTP status code within the range of 200-599. The value is of type [`ResponseParameterList`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-responseparameterlist.html) . To learn more, see [Transforming API requests and responses](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html) .
|
|
106
|
+
*
|
|
107
|
+
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::ApiGatewayV2::Integration` for more information about the expected schema for this property.
|
|
108
|
+
*/
|
|
109
|
+
readonly responseParameters?: any;
|
|
110
|
+
/**
|
|
111
|
+
* The template selection expression for the integration. Supported only for WebSocket APIs.
|
|
112
|
+
*/
|
|
113
|
+
readonly templateSelectionExpression?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 and 30,000 milliseconds for HTTP APIs. The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.
|
|
116
|
+
*/
|
|
117
|
+
readonly timeoutInMillis?: number;
|
|
118
|
+
/**
|
|
119
|
+
* The TLS configuration for a private integration. If you specify a TLS configuration, private integration traffic uses the HTTPS protocol. Supported only for HTTP APIs.
|
|
120
|
+
*/
|
|
121
|
+
readonly tlsConfig?: outputs.apigatewayv2.IntegrationTlsConfig;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Resource Type definition for AWS::ApiGatewayV2::Integration
|
|
125
|
+
*/
|
|
126
|
+
export declare function getIntegrationOutput(args: GetIntegrationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetIntegrationResult>;
|
|
127
|
+
export interface GetIntegrationOutputArgs {
|
|
128
|
+
/**
|
|
129
|
+
* The identifier.
|
|
130
|
+
*/
|
|
131
|
+
id: pulumi.Input<string>;
|
|
132
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getIntegrationOutput = exports.getIntegration = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource Type definition for AWS::ApiGatewayV2::Integration
|
|
10
|
+
*/
|
|
11
|
+
function getIntegration(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("aws-native:apigatewayv2:getIntegration", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getIntegration = getIntegration;
|
|
18
|
+
/**
|
|
19
|
+
* Resource Type definition for AWS::ApiGatewayV2::Integration
|
|
20
|
+
*/
|
|
21
|
+
function getIntegrationOutput(args, opts) {
|
|
22
|
+
return pulumi.output(args).apply((a) => getIntegration(a, opts));
|
|
23
|
+
}
|
|
24
|
+
exports.getIntegrationOutput = getIntegrationOutput;
|
|
25
|
+
//# sourceMappingURL=getIntegration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getIntegration.js","sourceRoot":"","sources":["../../apigatewayv2/getIntegration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC;AAuHD;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
|
package/apigatewayv2/index.d.ts
CHANGED
|
@@ -28,6 +28,9 @@ export declare const getDeploymentOutput: typeof import("./getDeployment").getDe
|
|
|
28
28
|
export { GetDomainNameArgs, GetDomainNameResult, GetDomainNameOutputArgs } from "./getDomainName";
|
|
29
29
|
export declare const getDomainName: typeof import("./getDomainName").getDomainName;
|
|
30
30
|
export declare const getDomainNameOutput: typeof import("./getDomainName").getDomainNameOutput;
|
|
31
|
+
export { GetIntegrationArgs, GetIntegrationResult, GetIntegrationOutputArgs } from "./getIntegration";
|
|
32
|
+
export declare const getIntegration: typeof import("./getIntegration").getIntegration;
|
|
33
|
+
export declare const getIntegrationOutput: typeof import("./getIntegration").getIntegrationOutput;
|
|
31
34
|
export { GetIntegrationResponseArgs, GetIntegrationResponseResult, GetIntegrationResponseOutputArgs } from "./getIntegrationResponse";
|
|
32
35
|
export declare const getIntegrationResponse: typeof import("./getIntegrationResponse").getIntegrationResponse;
|
|
33
36
|
export declare const getIntegrationResponseOutput: typeof import("./getIntegrationResponse").getIntegrationResponseOutput;
|
|
@@ -43,6 +46,9 @@ export declare const getRouteResponseOutput: typeof import("./getRouteResponse")
|
|
|
43
46
|
export { GetVpcLinkArgs, GetVpcLinkResult, GetVpcLinkOutputArgs } from "./getVpcLink";
|
|
44
47
|
export declare const getVpcLink: typeof import("./getVpcLink").getVpcLink;
|
|
45
48
|
export declare const getVpcLinkOutput: typeof import("./getVpcLink").getVpcLinkOutput;
|
|
49
|
+
export { IntegrationArgs } from "./integration";
|
|
50
|
+
export type Integration = import("./integration").Integration;
|
|
51
|
+
export declare const Integration: typeof import("./integration").Integration;
|
|
46
52
|
export { IntegrationResponseArgs } from "./integrationResponse";
|
|
47
53
|
export type IntegrationResponse = import("./integrationResponse").IntegrationResponse;
|
|
48
54
|
export declare const IntegrationResponse: typeof import("./integrationResponse").IntegrationResponse;
|
package/apigatewayv2/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.VpcLink = exports.RouteResponse = exports.Route = exports.Model = exports.IntegrationResponse = exports.getVpcLinkOutput = exports.getVpcLink = exports.getRouteResponseOutput = exports.getRouteResponse = exports.getRouteOutput = exports.getRoute = exports.getModelOutput = exports.getModel = exports.getIntegrationResponseOutput = exports.getIntegrationResponse = exports.getDomainNameOutput = exports.getDomainName = exports.getDeploymentOutput = exports.getDeployment = exports.getAuthorizerOutput = exports.getAuthorizer = exports.getApiMappingOutput = exports.getApiMapping = exports.getApiOutput = exports.getApi = exports.DomainName = exports.Deployment = exports.Authorizer = exports.ApiMapping = exports.Api = void 0;
|
|
5
|
+
exports.VpcLink = exports.RouteResponse = exports.Route = exports.Model = exports.IntegrationResponse = exports.Integration = exports.getVpcLinkOutput = exports.getVpcLink = exports.getRouteResponseOutput = exports.getRouteResponse = exports.getRouteOutput = exports.getRoute = exports.getModelOutput = exports.getModel = exports.getIntegrationResponseOutput = exports.getIntegrationResponse = exports.getIntegrationOutput = exports.getIntegration = exports.getDomainNameOutput = exports.getDomainName = exports.getDeploymentOutput = exports.getDeployment = exports.getAuthorizerOutput = exports.getAuthorizer = exports.getApiMappingOutput = exports.getApiMapping = exports.getApiOutput = exports.getApi = exports.DomainName = exports.Deployment = exports.Authorizer = exports.ApiMapping = exports.Api = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.Api = null;
|
|
@@ -30,6 +30,9 @@ utilities.lazyLoad(exports, ["getDeployment", "getDeploymentOutput"], () => requ
|
|
|
30
30
|
exports.getDomainName = null;
|
|
31
31
|
exports.getDomainNameOutput = null;
|
|
32
32
|
utilities.lazyLoad(exports, ["getDomainName", "getDomainNameOutput"], () => require("./getDomainName"));
|
|
33
|
+
exports.getIntegration = null;
|
|
34
|
+
exports.getIntegrationOutput = null;
|
|
35
|
+
utilities.lazyLoad(exports, ["getIntegration", "getIntegrationOutput"], () => require("./getIntegration"));
|
|
33
36
|
exports.getIntegrationResponse = null;
|
|
34
37
|
exports.getIntegrationResponseOutput = null;
|
|
35
38
|
utilities.lazyLoad(exports, ["getIntegrationResponse", "getIntegrationResponseOutput"], () => require("./getIntegrationResponse"));
|
|
@@ -45,6 +48,8 @@ utilities.lazyLoad(exports, ["getRouteResponse", "getRouteResponseOutput"], () =
|
|
|
45
48
|
exports.getVpcLink = null;
|
|
46
49
|
exports.getVpcLinkOutput = null;
|
|
47
50
|
utilities.lazyLoad(exports, ["getVpcLink", "getVpcLinkOutput"], () => require("./getVpcLink"));
|
|
51
|
+
exports.Integration = null;
|
|
52
|
+
utilities.lazyLoad(exports, ["Integration"], () => require("./integration"));
|
|
48
53
|
exports.IntegrationResponse = null;
|
|
49
54
|
utilities.lazyLoad(exports, ["IntegrationResponse"], () => require("./integrationResponse"));
|
|
50
55
|
exports.Model = null;
|
|
@@ -69,6 +74,8 @@ const _module = {
|
|
|
69
74
|
return new exports.Deployment(name, undefined, { urn });
|
|
70
75
|
case "aws-native:apigatewayv2:DomainName":
|
|
71
76
|
return new exports.DomainName(name, undefined, { urn });
|
|
77
|
+
case "aws-native:apigatewayv2:Integration":
|
|
78
|
+
return new exports.Integration(name, undefined, { urn });
|
|
72
79
|
case "aws-native:apigatewayv2:IntegrationResponse":
|
|
73
80
|
return new exports.IntegrationResponse(name, undefined, { urn });
|
|
74
81
|
case "aws-native:apigatewayv2:Model":
|
|
@@ -1 +1 @@
|
|
|
1
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AAC,sBAAsB,CAAC,YAAY,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Resource Type definition for AWS::ApiGatewayV2::Integration
|
|
6
|
+
*/
|
|
7
|
+
export declare class Integration extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing Integration resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
15
|
+
*/
|
|
16
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Integration;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of Integration. This is designed to work even
|
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
|
+
*/
|
|
21
|
+
static isInstance(obj: any): obj is Integration;
|
|
22
|
+
/**
|
|
23
|
+
* The API identifier.
|
|
24
|
+
*/
|
|
25
|
+
readonly apiId: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* The identifier.
|
|
28
|
+
*/
|
|
29
|
+
readonly awsId: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* The ID of the VPC link for a private integration. Supported only for HTTP APIs.
|
|
32
|
+
*/
|
|
33
|
+
readonly connectionId: pulumi.Output<string | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* The type of the network connection to the integration endpoint. Specify `INTERNET` for connections through the public routable internet or `VPC_LINK` for private connections between API Gateway and resources in a VPC. The default value is `INTERNET` .
|
|
36
|
+
*/
|
|
37
|
+
readonly connectionType: pulumi.Output<string | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* 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:
|
|
40
|
+
*
|
|
41
|
+
* `CONVERT_TO_BINARY` : Converts a response payload from a Base64-encoded string to the corresponding binary blob.
|
|
42
|
+
*
|
|
43
|
+
* `CONVERT_TO_TEXT` : Converts a response payload from a binary blob to a Base64-encoded string.
|
|
44
|
+
*
|
|
45
|
+
* 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.
|
|
46
|
+
*/
|
|
47
|
+
readonly contentHandlingStrategy: pulumi.Output<string | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* Specifies the credentials required for the integration, if any. For AWS integrations, 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 the string `arn:aws:iam::*:user/*` . To use resource-based permissions on supported AWS services, don't specify this parameter.
|
|
50
|
+
*/
|
|
51
|
+
readonly credentialsArn: pulumi.Output<string | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* The description of the integration.
|
|
54
|
+
*/
|
|
55
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
56
|
+
/**
|
|
57
|
+
* Specifies the integration's HTTP method type. For WebSocket APIs, if you use a Lambda integration, you must set the integration method to `POST` .
|
|
58
|
+
*/
|
|
59
|
+
readonly integrationMethod: pulumi.Output<string | undefined>;
|
|
60
|
+
/**
|
|
61
|
+
* Supported only for HTTP API `AWS_PROXY` integrations. Specifies the AWS service action to invoke. To learn more, see [Integration subtype reference](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services-reference.html) .
|
|
62
|
+
*/
|
|
63
|
+
readonly integrationSubtype: pulumi.Output<string | undefined>;
|
|
64
|
+
/**
|
|
65
|
+
* The integration type of an integration. One of the following:
|
|
66
|
+
*
|
|
67
|
+
* `AWS` : for integrating the route or method request with an AWS service action, including the Lambda function-invoking action. With the Lambda function-invoking action, this is referred to as the Lambda custom integration. With any other AWS service action, this is known as AWS integration. Supported only for WebSocket APIs.
|
|
68
|
+
*
|
|
69
|
+
* `AWS_PROXY` : for integrating the route or method request with a Lambda function or other AWS service action. This integration is also referred to as a Lambda proxy integration.
|
|
70
|
+
*
|
|
71
|
+
* `HTTP` : for integrating the route or method request with an HTTP endpoint. This integration is also referred to as the HTTP custom integration. Supported only for WebSocket APIs.
|
|
72
|
+
*
|
|
73
|
+
* `HTTP_PROXY` : for integrating the route or method request with an HTTP endpoint, with the client request passed through as-is. This is also referred to as HTTP proxy integration. For HTTP API private integrations, use an `HTTP_PROXY` integration.
|
|
74
|
+
*
|
|
75
|
+
* `MOCK` : for integrating the route or method request with API Gateway as a "loopback" endpoint without invoking any backend. Supported only for WebSocket APIs.
|
|
76
|
+
*/
|
|
77
|
+
readonly integrationType: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* For a Lambda integration, specify the URI of a Lambda function.
|
|
80
|
+
*
|
|
81
|
+
* For an HTTP integration, specify a fully-qualified URL.
|
|
82
|
+
*
|
|
83
|
+
* For an HTTP API private integration, specify the ARN of an Application Load Balancer listener, Network Load Balancer listener, or AWS Cloud Map service. If you specify the ARN of an AWS Cloud Map service, API Gateway uses `DiscoverInstances` to identify resources. You can use query parameters to target specific resources. To learn more, see [DiscoverInstances](https://docs.aws.amazon.com/cloud-map/latest/api/API_DiscoverInstances.html) . For private integrations, all resources must be owned by the same AWS account .
|
|
84
|
+
*/
|
|
85
|
+
readonly integrationUri: pulumi.Output<string | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* Specifies the pass-through behavior for incoming requests based on the `Content-Type` header in the request, and the available mapping templates specified as the `requestTemplates` property on the `Integration` resource. There are three valid values: `WHEN_NO_MATCH` , `WHEN_NO_TEMPLATES` , and `NEVER` . Supported only for WebSocket APIs.
|
|
88
|
+
*
|
|
89
|
+
* `WHEN_NO_MATCH` passes the request body for unmapped content types through to the integration backend without transformation.
|
|
90
|
+
*
|
|
91
|
+
* `NEVER` rejects unmapped content types with an `HTTP 415 Unsupported Media Type` response.
|
|
92
|
+
*
|
|
93
|
+
* `WHEN_NO_TEMPLATES` allows pass-through when the integration has no content types mapped to templates. However, if there is at least one content type defined, unmapped content types will be rejected with the same `HTTP 415 Unsupported Media Type` response.
|
|
94
|
+
*/
|
|
95
|
+
readonly passthroughBehavior: pulumi.Output<string | undefined>;
|
|
96
|
+
/**
|
|
97
|
+
* Specifies the format of the payload sent to an integration. Required for HTTP APIs. For HTTP APIs, supported values for Lambda proxy integrations are `1.0` and `2.0` . For all other integrations, `1.0` is the only supported value. To learn more, see [Working with AWS Lambda proxy integrations for HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html) .
|
|
98
|
+
*/
|
|
99
|
+
readonly payloadFormatVersion: pulumi.Output<string | undefined>;
|
|
100
|
+
/**
|
|
101
|
+
* For WebSocket APIs, a key-value map specifying request parameters that are passed from the method request to the backend. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the backend. The method request parameter value must match the pattern of `method.request. {location} . {name}` , where `{location}` is `querystring` , `path` , or `header` ; and `{name}` must be a valid and unique method request parameter name.
|
|
102
|
+
*
|
|
103
|
+
* For HTTP API integrations with a specified `integrationSubtype` , request parameters are a key-value map specifying parameters that are passed to `AWS_PROXY` integrations. You can provide static values, or map request data, stage variables, or context variables that are evaluated at runtime. To learn more, see [Working with AWS service integrations for HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html) .
|
|
104
|
+
*
|
|
105
|
+
* For HTTP API integrations without a specified `integrationSubtype` request parameters are a key-value map specifying how to transform HTTP requests before sending them to the backend. The key should follow the pattern <action>:<header|querystring|path>.<location> where action can be `append` , `overwrite` or `remove` . For values, you can provide static values, or map request data, stage variables, or context variables that are evaluated at runtime. To learn more, see [Transforming API requests and responses](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html) .
|
|
106
|
+
*
|
|
107
|
+
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::ApiGatewayV2::Integration` for more information about the expected schema for this property.
|
|
108
|
+
*/
|
|
109
|
+
readonly requestParameters: pulumi.Output<any | undefined>;
|
|
110
|
+
/**
|
|
111
|
+
* Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value. Supported only for WebSocket APIs.
|
|
112
|
+
*
|
|
113
|
+
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::ApiGatewayV2::Integration` for more information about the expected schema for this property.
|
|
114
|
+
*/
|
|
115
|
+
readonly requestTemplates: pulumi.Output<any | undefined>;
|
|
116
|
+
/**
|
|
117
|
+
* Supported only for HTTP APIs. You use response parameters to transform the HTTP response from a backend integration before returning the response to clients. Specify a key-value map from a selection key to response parameters. The selection key must be a valid HTTP status code within the range of 200-599. The value is of type [`ResponseParameterList`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-responseparameterlist.html) . To learn more, see [Transforming API requests and responses](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html) .
|
|
118
|
+
*
|
|
119
|
+
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::ApiGatewayV2::Integration` for more information about the expected schema for this property.
|
|
120
|
+
*/
|
|
121
|
+
readonly responseParameters: pulumi.Output<any | undefined>;
|
|
122
|
+
/**
|
|
123
|
+
* The template selection expression for the integration. Supported only for WebSocket APIs.
|
|
124
|
+
*/
|
|
125
|
+
readonly templateSelectionExpression: pulumi.Output<string | undefined>;
|
|
126
|
+
/**
|
|
127
|
+
* Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 and 30,000 milliseconds for HTTP APIs. The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.
|
|
128
|
+
*/
|
|
129
|
+
readonly timeoutInMillis: pulumi.Output<number | undefined>;
|
|
130
|
+
/**
|
|
131
|
+
* The TLS configuration for a private integration. If you specify a TLS configuration, private integration traffic uses the HTTPS protocol. Supported only for HTTP APIs.
|
|
132
|
+
*/
|
|
133
|
+
readonly tlsConfig: pulumi.Output<outputs.apigatewayv2.IntegrationTlsConfig | undefined>;
|
|
134
|
+
/**
|
|
135
|
+
* Create a Integration resource with the given unique name, arguments, and options.
|
|
136
|
+
*
|
|
137
|
+
* @param name The _unique_ name of the resource.
|
|
138
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
139
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
140
|
+
*/
|
|
141
|
+
constructor(name: string, args: IntegrationArgs, opts?: pulumi.CustomResourceOptions);
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* The set of arguments for constructing a Integration resource.
|
|
145
|
+
*/
|
|
146
|
+
export interface IntegrationArgs {
|
|
147
|
+
/**
|
|
148
|
+
* The API identifier.
|
|
149
|
+
*/
|
|
150
|
+
apiId: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* The ID of the VPC link for a private integration. Supported only for HTTP APIs.
|
|
153
|
+
*/
|
|
154
|
+
connectionId?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* The type of the network connection to the integration endpoint. Specify `INTERNET` for connections through the public routable internet or `VPC_LINK` for private connections between API Gateway and resources in a VPC. The default value is `INTERNET` .
|
|
157
|
+
*/
|
|
158
|
+
connectionType?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* 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:
|
|
161
|
+
*
|
|
162
|
+
* `CONVERT_TO_BINARY` : Converts a response payload from a Base64-encoded string to the corresponding binary blob.
|
|
163
|
+
*
|
|
164
|
+
* `CONVERT_TO_TEXT` : Converts a response payload from a binary blob to a Base64-encoded string.
|
|
165
|
+
*
|
|
166
|
+
* 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.
|
|
167
|
+
*/
|
|
168
|
+
contentHandlingStrategy?: pulumi.Input<string>;
|
|
169
|
+
/**
|
|
170
|
+
* Specifies the credentials required for the integration, if any. For AWS integrations, 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 the string `arn:aws:iam::*:user/*` . To use resource-based permissions on supported AWS services, don't specify this parameter.
|
|
171
|
+
*/
|
|
172
|
+
credentialsArn?: pulumi.Input<string>;
|
|
173
|
+
/**
|
|
174
|
+
* The description of the integration.
|
|
175
|
+
*/
|
|
176
|
+
description?: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* Specifies the integration's HTTP method type. For WebSocket APIs, if you use a Lambda integration, you must set the integration method to `POST` .
|
|
179
|
+
*/
|
|
180
|
+
integrationMethod?: pulumi.Input<string>;
|
|
181
|
+
/**
|
|
182
|
+
* Supported only for HTTP API `AWS_PROXY` integrations. Specifies the AWS service action to invoke. To learn more, see [Integration subtype reference](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services-reference.html) .
|
|
183
|
+
*/
|
|
184
|
+
integrationSubtype?: pulumi.Input<string>;
|
|
185
|
+
/**
|
|
186
|
+
* The integration type of an integration. One of the following:
|
|
187
|
+
*
|
|
188
|
+
* `AWS` : for integrating the route or method request with an AWS service action, including the Lambda function-invoking action. With the Lambda function-invoking action, this is referred to as the Lambda custom integration. With any other AWS service action, this is known as AWS integration. Supported only for WebSocket APIs.
|
|
189
|
+
*
|
|
190
|
+
* `AWS_PROXY` : for integrating the route or method request with a Lambda function or other AWS service action. This integration is also referred to as a Lambda proxy integration.
|
|
191
|
+
*
|
|
192
|
+
* `HTTP` : for integrating the route or method request with an HTTP endpoint. This integration is also referred to as the HTTP custom integration. Supported only for WebSocket APIs.
|
|
193
|
+
*
|
|
194
|
+
* `HTTP_PROXY` : for integrating the route or method request with an HTTP endpoint, with the client request passed through as-is. This is also referred to as HTTP proxy integration. For HTTP API private integrations, use an `HTTP_PROXY` integration.
|
|
195
|
+
*
|
|
196
|
+
* `MOCK` : for integrating the route or method request with API Gateway as a "loopback" endpoint without invoking any backend. Supported only for WebSocket APIs.
|
|
197
|
+
*/
|
|
198
|
+
integrationType: pulumi.Input<string>;
|
|
199
|
+
/**
|
|
200
|
+
* For a Lambda integration, specify the URI of a Lambda function.
|
|
201
|
+
*
|
|
202
|
+
* For an HTTP integration, specify a fully-qualified URL.
|
|
203
|
+
*
|
|
204
|
+
* For an HTTP API private integration, specify the ARN of an Application Load Balancer listener, Network Load Balancer listener, or AWS Cloud Map service. If you specify the ARN of an AWS Cloud Map service, API Gateway uses `DiscoverInstances` to identify resources. You can use query parameters to target specific resources. To learn more, see [DiscoverInstances](https://docs.aws.amazon.com/cloud-map/latest/api/API_DiscoverInstances.html) . For private integrations, all resources must be owned by the same AWS account .
|
|
205
|
+
*/
|
|
206
|
+
integrationUri?: pulumi.Input<string>;
|
|
207
|
+
/**
|
|
208
|
+
* Specifies the pass-through behavior for incoming requests based on the `Content-Type` header in the request, and the available mapping templates specified as the `requestTemplates` property on the `Integration` resource. There are three valid values: `WHEN_NO_MATCH` , `WHEN_NO_TEMPLATES` , and `NEVER` . Supported only for WebSocket APIs.
|
|
209
|
+
*
|
|
210
|
+
* `WHEN_NO_MATCH` passes the request body for unmapped content types through to the integration backend without transformation.
|
|
211
|
+
*
|
|
212
|
+
* `NEVER` rejects unmapped content types with an `HTTP 415 Unsupported Media Type` response.
|
|
213
|
+
*
|
|
214
|
+
* `WHEN_NO_TEMPLATES` allows pass-through when the integration has no content types mapped to templates. However, if there is at least one content type defined, unmapped content types will be rejected with the same `HTTP 415 Unsupported Media Type` response.
|
|
215
|
+
*/
|
|
216
|
+
passthroughBehavior?: pulumi.Input<string>;
|
|
217
|
+
/**
|
|
218
|
+
* Specifies the format of the payload sent to an integration. Required for HTTP APIs. For HTTP APIs, supported values for Lambda proxy integrations are `1.0` and `2.0` . For all other integrations, `1.0` is the only supported value. To learn more, see [Working with AWS Lambda proxy integrations for HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html) .
|
|
219
|
+
*/
|
|
220
|
+
payloadFormatVersion?: pulumi.Input<string>;
|
|
221
|
+
/**
|
|
222
|
+
* For WebSocket APIs, a key-value map specifying request parameters that are passed from the method request to the backend. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the backend. The method request parameter value must match the pattern of `method.request. {location} . {name}` , where `{location}` is `querystring` , `path` , or `header` ; and `{name}` must be a valid and unique method request parameter name.
|
|
223
|
+
*
|
|
224
|
+
* For HTTP API integrations with a specified `integrationSubtype` , request parameters are a key-value map specifying parameters that are passed to `AWS_PROXY` integrations. You can provide static values, or map request data, stage variables, or context variables that are evaluated at runtime. To learn more, see [Working with AWS service integrations for HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html) .
|
|
225
|
+
*
|
|
226
|
+
* For HTTP API integrations without a specified `integrationSubtype` request parameters are a key-value map specifying how to transform HTTP requests before sending them to the backend. The key should follow the pattern <action>:<header|querystring|path>.<location> where action can be `append` , `overwrite` or `remove` . For values, you can provide static values, or map request data, stage variables, or context variables that are evaluated at runtime. To learn more, see [Transforming API requests and responses](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html) .
|
|
227
|
+
*
|
|
228
|
+
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::ApiGatewayV2::Integration` for more information about the expected schema for this property.
|
|
229
|
+
*/
|
|
230
|
+
requestParameters?: any;
|
|
231
|
+
/**
|
|
232
|
+
* Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value. Supported only for WebSocket APIs.
|
|
233
|
+
*
|
|
234
|
+
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::ApiGatewayV2::Integration` for more information about the expected schema for this property.
|
|
235
|
+
*/
|
|
236
|
+
requestTemplates?: any;
|
|
237
|
+
/**
|
|
238
|
+
* Supported only for HTTP APIs. You use response parameters to transform the HTTP response from a backend integration before returning the response to clients. Specify a key-value map from a selection key to response parameters. The selection key must be a valid HTTP status code within the range of 200-599. The value is of type [`ResponseParameterList`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-responseparameterlist.html) . To learn more, see [Transforming API requests and responses](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html) .
|
|
239
|
+
*
|
|
240
|
+
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::ApiGatewayV2::Integration` for more information about the expected schema for this property.
|
|
241
|
+
*/
|
|
242
|
+
responseParameters?: any;
|
|
243
|
+
/**
|
|
244
|
+
* The template selection expression for the integration. Supported only for WebSocket APIs.
|
|
245
|
+
*/
|
|
246
|
+
templateSelectionExpression?: pulumi.Input<string>;
|
|
247
|
+
/**
|
|
248
|
+
* Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 and 30,000 milliseconds for HTTP APIs. The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.
|
|
249
|
+
*/
|
|
250
|
+
timeoutInMillis?: pulumi.Input<number>;
|
|
251
|
+
/**
|
|
252
|
+
* The TLS configuration for a private integration. If you specify a TLS configuration, private integration traffic uses the HTTPS protocol. Supported only for HTTP APIs.
|
|
253
|
+
*/
|
|
254
|
+
tlsConfig?: pulumi.Input<inputs.apigatewayv2.IntegrationTlsConfigArgs>;
|
|
255
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Integration = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource Type definition for AWS::ApiGatewayV2::Integration
|
|
10
|
+
*/
|
|
11
|
+
class Integration extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing Integration resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
19
|
+
*/
|
|
20
|
+
static get(name, id, opts) {
|
|
21
|
+
return new Integration(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of Integration. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj) {
|
|
28
|
+
if (obj === undefined || obj === null) {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
return obj['__pulumiType'] === Integration.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a Integration resource with the given unique name, arguments, and options.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resource.
|
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
39
|
+
*/
|
|
40
|
+
constructor(name, args, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (!opts.id) {
|
|
44
|
+
if ((!args || args.apiId === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'apiId'");
|
|
46
|
+
}
|
|
47
|
+
if ((!args || args.integrationType === undefined) && !opts.urn) {
|
|
48
|
+
throw new Error("Missing required property 'integrationType'");
|
|
49
|
+
}
|
|
50
|
+
resourceInputs["apiId"] = args ? args.apiId : undefined;
|
|
51
|
+
resourceInputs["connectionId"] = args ? args.connectionId : undefined;
|
|
52
|
+
resourceInputs["connectionType"] = args ? args.connectionType : undefined;
|
|
53
|
+
resourceInputs["contentHandlingStrategy"] = args ? args.contentHandlingStrategy : undefined;
|
|
54
|
+
resourceInputs["credentialsArn"] = args ? args.credentialsArn : undefined;
|
|
55
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
56
|
+
resourceInputs["integrationMethod"] = args ? args.integrationMethod : undefined;
|
|
57
|
+
resourceInputs["integrationSubtype"] = args ? args.integrationSubtype : undefined;
|
|
58
|
+
resourceInputs["integrationType"] = args ? args.integrationType : undefined;
|
|
59
|
+
resourceInputs["integrationUri"] = args ? args.integrationUri : undefined;
|
|
60
|
+
resourceInputs["passthroughBehavior"] = args ? args.passthroughBehavior : undefined;
|
|
61
|
+
resourceInputs["payloadFormatVersion"] = args ? args.payloadFormatVersion : undefined;
|
|
62
|
+
resourceInputs["requestParameters"] = args ? args.requestParameters : undefined;
|
|
63
|
+
resourceInputs["requestTemplates"] = args ? args.requestTemplates : undefined;
|
|
64
|
+
resourceInputs["responseParameters"] = args ? args.responseParameters : undefined;
|
|
65
|
+
resourceInputs["templateSelectionExpression"] = args ? args.templateSelectionExpression : undefined;
|
|
66
|
+
resourceInputs["timeoutInMillis"] = args ? args.timeoutInMillis : undefined;
|
|
67
|
+
resourceInputs["tlsConfig"] = args ? args.tlsConfig : undefined;
|
|
68
|
+
resourceInputs["awsId"] = undefined /*out*/;
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
resourceInputs["apiId"] = undefined /*out*/;
|
|
72
|
+
resourceInputs["awsId"] = undefined /*out*/;
|
|
73
|
+
resourceInputs["connectionId"] = undefined /*out*/;
|
|
74
|
+
resourceInputs["connectionType"] = undefined /*out*/;
|
|
75
|
+
resourceInputs["contentHandlingStrategy"] = undefined /*out*/;
|
|
76
|
+
resourceInputs["credentialsArn"] = undefined /*out*/;
|
|
77
|
+
resourceInputs["description"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["integrationMethod"] = undefined /*out*/;
|
|
79
|
+
resourceInputs["integrationSubtype"] = undefined /*out*/;
|
|
80
|
+
resourceInputs["integrationType"] = undefined /*out*/;
|
|
81
|
+
resourceInputs["integrationUri"] = undefined /*out*/;
|
|
82
|
+
resourceInputs["passthroughBehavior"] = undefined /*out*/;
|
|
83
|
+
resourceInputs["payloadFormatVersion"] = undefined /*out*/;
|
|
84
|
+
resourceInputs["requestParameters"] = undefined /*out*/;
|
|
85
|
+
resourceInputs["requestTemplates"] = undefined /*out*/;
|
|
86
|
+
resourceInputs["responseParameters"] = undefined /*out*/;
|
|
87
|
+
resourceInputs["templateSelectionExpression"] = undefined /*out*/;
|
|
88
|
+
resourceInputs["timeoutInMillis"] = undefined /*out*/;
|
|
89
|
+
resourceInputs["tlsConfig"] = undefined /*out*/;
|
|
90
|
+
}
|
|
91
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
92
|
+
const replaceOnChanges = { replaceOnChanges: ["apiId"] };
|
|
93
|
+
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
94
|
+
super(Integration.__pulumiType, name, resourceInputs, opts);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.Integration = Integration;
|
|
98
|
+
/** @internal */
|
|
99
|
+
Integration.__pulumiType = 'aws-native:apigatewayv2:Integration';
|
|
100
|
+
//# sourceMappingURL=integration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integration.js","sourceRoot":"","sources":["../../apigatewayv2/integration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,WAAY,SAAQ,M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