class AwsIntegration
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.APIGateway.AwsIntegration |
Java | software.amazon.awscdk.services.apigateway.AwsIntegration |
Python | aws_cdk.aws_apigateway.AwsIntegration |
TypeScript (source) | @aws-cdk/aws-apigateway » AwsIntegration |
Extends
Integration
This type of integration lets an API expose AWS service actions.
It is intended for calling all AWS service actions, but is not recommended for calling a Lambda function, because the Lambda custom integration is a legacy technology.
Example
const getMessageIntegration = new apigateway.AwsIntegration({
service: 'sqs',
path: 'queueName',
region: 'eu-west-1'
});
Initializer
new AwsIntegration(props: AwsIntegrationProps)
Parameters
- props
AwsIntegration Props
Methods
| Name | Description |
|---|---|
| bind(method) | Can be overridden by subclasses to allow the integration to interact with the method being integrated, access the REST API object, method ARNs, etc. |
bind(method)
public bind(method: Method): IntegrationConfig
Parameters
- method
Method
Returns
Can be overridden by subclasses to allow the integration to interact with the method being integrated, access the REST API object, method ARNs, etc.

.NET
Java
Python
TypeScript (