Interface ICfnTransitGatewayVpcAttachmentProps
Properties for defining a CfnTransitGatewayVpcAttachment
.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnTransitGatewayVpcAttachmentProps
Syntax (vb)
Public Interface 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
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. |
Properties
AddSubnetIds
The IDs of one or more subnets to add.
virtual string[] AddSubnetIds { get; }
Property Value
System.String[]
Remarks
You can specify at most one subnet per Availability Zone.
Options
The VPC attachment options.
virtual object Options { get; }
Property Value
System.Object
Remarks
RemoveSubnetIds
The IDs of one or more subnets to remove.
virtual string[] RemoveSubnetIds { get; }
Property Value
System.String[]
Remarks
SubnetIds
The IDs of the subnets.
string[] SubnetIds { get; }
Property Value
System.String[]
Remarks
Tags
TransitGatewayId
The ID of the transit gateway.
string TransitGatewayId { get; }
Property Value
System.String
Remarks
VpcId
The ID of the VPC.
string VpcId { get; }
Property Value
System.String