Class VpcLinkProps
Properties for a VpcLink.
Inheritance
System.Object
VpcLinkProps
Implements
Namespace: Amazon.CDK.AWS.Apigatewayv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class VpcLinkProps : Object, IVpcLinkProps
Syntax (vb)
Public Class VpcLinkProps
Inherits Object
Implements IVpcLinkProps
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.EC2;
using Amazon.CDK.AWS.ElasticLoadBalancingV2;
using Amazon.CDK.HttpAlbIntegration;
var vpc = new Vpc(this, "VPC");
var alb = new ApplicationLoadBalancer(this, "AppLoadBalancer", new ApplicationLoadBalancerProps { Vpc = vpc });
var vpcLink = new VpcLink(this, "VpcLink", new VpcLinkProps { Vpc = vpc });
// Creating an HTTP ALB Integration:
var albIntegration = new HttpAlbIntegration("ALBIntegration", alb.Listeners[0], new HttpAlbIntegrationProps { });
Synopsis
Constructors
VpcLinkProps() |
Properties
SecurityGroups | A list of security groups for the VPC link. |
Subnets | A list of subnets for the VPC link. |
Vpc | The VPC in which the private resources reside. |
VpcLinkName | The name used to label and identify the VPC link. |
Constructors
VpcLinkProps()
public VpcLinkProps()
Properties
SecurityGroups
A list of security groups for the VPC link.
public ISecurityGroup[] SecurityGroups { get; set; }
Property Value
Remarks
Default: - no security groups. Use addSecurityGroups
to add security groups
Subnets
A list of subnets for the VPC link.
public ISubnetSelection Subnets { get; set; }
Property Value
Remarks
Default: - private subnets of the provided VPC. Use addSubnets
to add more subnets
Vpc
VpcLinkName
The name used to label and identify the VPC link.
public string VpcLinkName { get; set; }
Property Value
System.String
Remarks
Default: - automatically generated name