Interface ICfnTransitGatewayAttachmentMixinProps
Properties for CfnTransitGatewayAttachmentPropsMixin.
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.EC2
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface ICfnTransitGatewayAttachmentMixinProps
Syntax (vb)
Public Interface ICfnTransitGatewayAttachmentMixinProps
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.CfnPropertyMixins.AWS.EC2;
var options;
var cfnTransitGatewayAttachmentMixinProps = new CfnTransitGatewayAttachmentMixinProps {
Options = options,
SubnetIds = new [] { "subnetIds" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TransitGatewayId = "transitGatewayId",
VpcId = "vpcId"
};
Synopsis
Properties
| Options | The VPC attachment options. |
| SubnetIds | The IDs of one or more subnets. |
| Tags | The tags for the attachment. |
| TransitGatewayId | The ID of the transit gateway. |
| VpcId | The ID of the VPC. |
Properties
Options
The VPC attachment options.
object? Options { get; }
Property Value
Remarks
SubnetIds
The IDs of one or more subnets.
object[]? SubnetIds { get; }
Property Value
object[]
Remarks
You can specify only one subnet per Availability Zone. You must specify at least one subnet, but we recommend that you specify two subnets for better availability. The transit gateway uses one IP address from each specified subnet.
Type union: (either string or ISubnetRef)[]
Tags
TransitGatewayId
The ID of the transit gateway.
object? TransitGatewayId { get; }
Property Value
Remarks
VpcId
The ID of the VPC.
object? VpcId { get; }