@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.367Z") @Stability(value=Stable) public interface CfnTransitGatewayVpcAttachmentProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnTransitGatewayVpcAttachmentProps.Builder
A builder for
CfnTransitGatewayVpcAttachmentProps |
static class |
CfnTransitGatewayVpcAttachmentProps.Jsii$Proxy
An implementation for
CfnTransitGatewayVpcAttachmentProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnTransitGatewayVpcAttachmentProps.Builder |
builder() |
default List<String> |
getAddSubnetIds()
The IDs of one or more subnets to add.
|
default Object |
getOptions()
The VPC attachment options in JSON or YAML.
|
default List<String> |
getRemoveSubnetIds()
The IDs of one or more subnets to remove.
|
List<String> |
getSubnetIds()
The IDs of the subnets.
|
default List<CfnTag> |
getTags()
The tags for the VPC attachment.
|
String |
getTransitGatewayId()
The ID of the transit gateway.
|
String |
getVpcId()
The ID of the VPC.
|
@Stability(value=Stable) @NotNull String getTransitGatewayId()
@Stability(value=Stable) @NotNull String getVpcId()
@Stability(value=Stable) @Nullable default List<String> getAddSubnetIds()
You can specify at most one subnet per Availability Zone.
@Stability(value=Stable) @Nullable default Object getOptions()
@Stability(value=Stable) @Nullable default List<String> getRemoveSubnetIds()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnTransitGatewayVpcAttachmentProps.Builder builder()
Copyright © 2022. All rights reserved.