Interface CfnTransitGatewayVpcAttachmentProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTransitGatewayVpcAttachmentProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-14T03:24:57.099Z")
@Stability(Stable)
public interface CfnTransitGatewayVpcAttachmentProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnTransitGatewayVpcAttachment
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ec2.*; Object options; CfnTransitGatewayVpcAttachmentProps cfnTransitGatewayVpcAttachmentProps = CfnTransitGatewayVpcAttachmentProps.builder() .subnetIds(List.of("subnetIds")) .transitGatewayId("transitGatewayId") .vpcId("vpcId") // the properties below are optional .addSubnetIds(List.of("addSubnetIds")) .options(options) .removeSubnetIds(List.of("removeSubnetIds")) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTransitGatewayVpcAttachmentProps
static final class
An implementation forCfnTransitGatewayVpcAttachmentProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSubnetIds
The IDs of the subnets.- See Also:
-
getTransitGatewayId
The ID of the transit gateway.- See Also:
-
getVpcId
The ID of the VPC.- See Also:
-
getAddSubnetIds
The IDs of one or more subnets to add.You can specify at most one subnet per Availability Zone.
- See Also:
-
getOptions
The VPC attachment options.- See Also:
-
getRemoveSubnetIds
The IDs of one or more subnets to remove.- See Also:
-
getTags
The tags for the VPC attachment.- See Also:
-
builder
-