Class AwsIntegration
This type of integration lets an API expose AWS service actions.
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AwsIntegration : Integration
Syntax (vb)
Public Class AwsIntegration
Inherits Integration
Remarks
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.
ExampleMetadata: infused
Examples
var getMessageIntegration = new AwsIntegration(new AwsIntegrationProps {
Service = "sqs",
Path = "queueName",
Region = "eu-west-1"
});
Synopsis
Constructors
AwsIntegration(IAwsIntegrationProps) | |
AwsIntegration(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
AwsIntegration(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
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. |
Constructors
AwsIntegration(IAwsIntegrationProps)
AwsIntegration(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected AwsIntegration(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
AwsIntegration(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected AwsIntegration(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
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.
public override IIntegrationConfig Bind(Method method)
Parameters
- method Method
Returns