class AwsIntegration
This page is available in another version. Click here for the v2 documentation.
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.APIGateway.AwsIntegration |
![]() | software.amazon.awscdk.services.apigateway.AwsIntegration |
![]() | aws_cdk.aws_apigateway.AwsIntegration |
![]() | @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
Aws
Integration 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.