Class ConnectionType
Inheritance
System.Object
ConnectionType
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class ConnectionType : Enum
Syntax (vb)
Public NotInheritable Class ConnectionType
Inherits
Enum
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
Fields
INTERNET | For connections through the public routable internet. |
value__ | |
VPC_LINK | For private connections between API Gateway and a network load balancer in a VPC. |
Fields
INTERNET
For connections through the public routable internet.
public const ConnectionType INTERNET
Field Value
Type | Description |
---|---|
ConnectionType |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |
VPC_LINK
For private connections between API Gateway and a network load balancer in a VPC.
public const ConnectionType VPC_LINK
Field Value
Type | Description |
---|---|
ConnectionType |