Interface IVpcLinkProps
Properties for a VpcLink.
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IVpcLinkProps
Syntax (vb)
Public Interface IVpcLinkProps
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,
Options = new IntegrationOptions {
ConnectionType = ConnectionType.VPC_LINK,
VpcLink = link
}
});
Synopsis
Properties
Description | The description of the VPC link. |
Targets | The network load balancers of the VPC targeted by the VPC link. |
VpcLinkName | The name used to label and identify the VPC link. |
Properties
Description
The description of the VPC link.
virtual string Description { get; }
Property Value
System.String
Remarks
Default: no description
Targets
The network load balancers of the VPC targeted by the VPC link.
virtual INetworkLoadBalancer[] Targets { get; }
Property Value
Remarks
The network load balancers must be owned by the same AWS account of the API owner.
Default: - no targets. Use addTargets
to add targets
VpcLinkName
The name used to label and identify the VPC link.
virtual string VpcLinkName { get; }
Property Value
System.String
Remarks
Default: - automatically generated name