Class IntegrationProps
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class IntegrationProps : IIntegrationProps
Syntax (vb)
Public Class IntegrationProps Implements 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
Constructors
IntegrationProps() |
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. |
Constructors
IntegrationProps()
public IntegrationProps()
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
}
});
Properties
IntegrationHttpMethod
The integration's HTTP method type.
public string? IntegrationHttpMethod { get; set; }
Property Value
Remarks
Required unless you use a MOCK integration.
Options
Integration options.
public IIntegrationOptions? Options { get; set; }
Property Value
Remarks
ExampleMetadata: infused
Type
Specifies an API method integration type.
public IntegrationType Type { get; set; }
Property Value
Remarks
ExampleMetadata: infused
Uri
The Uniform Resource Identifier (URI) for the integration.
public object? Uri { get; set; }