Class CfnTransitGatewayVpcAttachmentProps
Properties for defining a CfnTransitGatewayVpcAttachment
.
Inheritance
System.Object
CfnTransitGatewayVpcAttachmentProps
Implements
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTransitGatewayVpcAttachmentProps : Object, ICfnTransitGatewayVpcAttachmentProps
Syntax (vb)
Public Class CfnTransitGatewayVpcAttachmentProps
Inherits Object
Implements ICfnTransitGatewayVpcAttachmentProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var options;
var cfnTransitGatewayVpcAttachmentProps = new CfnTransitGatewayVpcAttachmentProps {
SubnetIds = new [] { "subnetIds" },
TransitGatewayId = "transitGatewayId",
VpcId = "vpcId",
// the properties below are optional
AddSubnetIds = new [] { "addSubnetIds" },
Options = options,
RemoveSubnetIds = new [] { "removeSubnetIds" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnTransitGatewayVpcAttachmentProps() |
Properties
AddSubnetIds | The IDs of one or more subnets to add. |
Options | The VPC attachment options. |
RemoveSubnetIds | The IDs of one or more subnets to remove. |
SubnetIds | The IDs of the subnets. |
Tags | The tags for the VPC attachment. |
TransitGatewayId | The ID of the transit gateway. |
VpcId | The ID of the VPC. |
Constructors
CfnTransitGatewayVpcAttachmentProps()
public CfnTransitGatewayVpcAttachmentProps()
Properties
AddSubnetIds
The IDs of one or more subnets to add.
public string[] AddSubnetIds { get; set; }
Property Value
System.String[]
Remarks
You can specify at most one subnet per Availability Zone.
Options
The VPC attachment options.
public object Options { get; set; }
Property Value
System.Object
Remarks
RemoveSubnetIds
The IDs of one or more subnets to remove.
public string[] RemoveSubnetIds { get; set; }
Property Value
System.String[]
Remarks
SubnetIds
The IDs of the subnets.
public string[] SubnetIds { get; set; }
Property Value
System.String[]
Remarks
Tags
The tags for the VPC attachment.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
TransitGatewayId
The ID of the transit gateway.
public string TransitGatewayId { get; set; }
Property Value
System.String
Remarks
VpcId
The ID of the VPC.
public string VpcId { get; set; }
Property Value
System.String