Interface CfnTransitGatewayVpcAttachmentProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTransitGatewayVpcAttachmentProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.128Z")
@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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTransitGatewayVpcAttachmentProps
static final class
An implementation forCfnTransitGatewayVpcAttachmentProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The IDs of one or more subnets to add.default Object
The VPC attachment options, in JSON or YAML.The IDs of one or more subnets to remove.The IDs of the subnets.getTags()
The tags for the VPC attachment.The ID of the transit gateway.getVpcId()
The ID of the VPC.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSubnetIds
The IDs of the subnets. -
getTransitGatewayId
The ID of the transit gateway. -
getVpcId
The ID of the VPC. -
getAddSubnetIds
The IDs of one or more subnets to add.You can specify at most one subnet per Availability Zone.
-
getOptions
The VPC attachment options, in JSON or YAML.ApplianceModeSupport
- Set toenable
ordisable
. The default isdisable
.DnsSupport
- Set toenable
ordisable
. The default isenable
.Ipv6Support
- Set toenable
ordisable
. The default isdisable
.
-
getRemoveSubnetIds
The IDs of one or more subnets to remove. -
getTags
The tags for the VPC attachment. -
builder
-