Interface CfnTransitGatewayVpcAttachmentMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTransitGatewayVpcAttachmentMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:58.733Z")
@Stability(Stable)
public interface CfnTransitGatewayVpcAttachmentMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnTransitGatewayVpcAttachmentPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.ec2.*;
Object options;
CfnTransitGatewayVpcAttachmentMixinProps cfnTransitGatewayVpcAttachmentMixinProps = CfnTransitGatewayVpcAttachmentMixinProps.builder()
.addSubnetIds(List.of("addSubnetIds"))
.options(options)
.removeSubnetIds(List.of("removeSubnetIds"))
.subnetIds(List.of("subnetIds"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.transitGatewayId("transitGatewayId")
.vpcId("vpcId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTransitGatewayVpcAttachmentMixinPropsstatic final classAn implementation forCfnTransitGatewayVpcAttachmentMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The IDs of one or more subnets to add.default ObjectThe VPC attachment options.The IDs of one or more subnets to remove.The IDs of the subnets.getTags()The tags for the VPC attachment.default ObjectThe ID of the transit gateway.default StringgetVpcId()The ID of the VPC.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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:
-
getSubnetIds
The IDs of the subnets.- See Also:
-
getTags
The tags for the VPC attachment.- See Also:
-
getTransitGatewayId
The ID of the transit gateway.Returns union: either
StringorITransitGatewayRef- See Also:
-
getVpcId
The ID of the VPC.- See Also:
-
builder
-