Table of Contents

Interface ICfnVpcLinkProps

Namespace
Amazon.CDK.AWS.APIGateway
Assembly
Amazon.CDK.AWS.APIGateway.dll

Properties for defining a CfnVpcLink.

public interface ICfnVpcLinkProps

Examples

// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.APIGateway;

             var cfnVpcLinkProps = new CfnVpcLinkProps {
                 Name = "name",
                 TargetArns = new [] { "targetArns" },

                 // the properties below are optional
                 Description = "description",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Remarks

Properties

Description

The description of the VPC link.

string? Description { get; }

Property Value

string

Remarks

Name

The name used to label and identify the VPC link.

string Name { get; }

Property Value

string

Remarks

Tags

An array of arbitrary tags (key-value pairs) to associate with the VPC link.

ICfnTag[]? Tags { get; }

Property Value

ICfnTag[]

Remarks

TargetArns

The ARN of the network load balancer of the VPC targeted by the VPC link.

string[] TargetArns { get; }

Property Value

string[]

Remarks

The network load balancer must be owned by the same AWS account of the API owner.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-vpclink.html#cfn-apigateway-vpclink-targetarns