Interface IIntegrationProps
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IIntegrationProps
Syntax (vb)
Public Interface IIntegrationProps
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.ElasticLoadBalancingV2;
var vpc = new Vpc(this, "VPC");
var nlb = new NetworkLoadBalancer(this, "NLB", new NetworkLoadBalancerProps {
Vpc = vpc
});
var link = new VpcLink(this, "link", new VpcLinkProps {
Targets = new [] { nlb }
});
var integration = new Integration(new IntegrationProps {
Type = IntegrationType.HTTP_PROXY,
IntegrationHttpMethod = "ANY",
Options = new IntegrationOptions {
ConnectionType = ConnectionType.VPC_LINK,
VpcLink = link
}
});
Synopsis
Properties
IntegrationHttpMethod | The integration's HTTP method type. |
Options | Integration options. |
Type | Specifies an API method integration type. |
Uri | The Uniform Resource Identifier (URI) for the integration. |
Properties
IntegrationHttpMethod
The integration's HTTP method type.
virtual string IntegrationHttpMethod { get; }
Property Value
System.String
Remarks
Required unless you use a MOCK integration.
Options
Integration options.
virtual IIntegrationOptions Options { get; }
Property Value
Type
Specifies an API method integration type.
IntegrationType Type { get; }
Property Value
Uri
The Uniform Resource Identifier (URI) for the integration.
virtual object Uri { get; }
Property Value
System.Object