@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:05.987Z") @Stability(value=Stable) public interface CfnTransitGatewayPeeringAttachmentProps 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.*;
CfnTransitGatewayPeeringAttachmentProps cfnTransitGatewayPeeringAttachmentProps = CfnTransitGatewayPeeringAttachmentProps.builder()
.peerAccountId("peerAccountId")
.peerRegion("peerRegion")
.peerTransitGatewayId("peerTransitGatewayId")
.transitGatewayId("transitGatewayId")
// the properties below are optional
.options(TransitGatewayPeeringAttachmentOptionsProperty.builder()
.dynamicRouting("dynamicRouting")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnTransitGatewayPeeringAttachmentProps.Builder
A builder for
CfnTransitGatewayPeeringAttachmentProps |
static class |
CfnTransitGatewayPeeringAttachmentProps.Jsii$Proxy
An implementation for
CfnTransitGatewayPeeringAttachmentProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnTransitGatewayPeeringAttachmentProps.Builder |
builder() |
default Object |
getOptions()
`AWS::EC2::TransitGatewayPeeringAttachment.Options`.
|
String |
getPeerAccountId()
`AWS::EC2::TransitGatewayPeeringAttachment.PeerAccountId`.
|
String |
getPeerRegion()
`AWS::EC2::TransitGatewayPeeringAttachment.PeerRegion`.
|
String |
getPeerTransitGatewayId()
`AWS::EC2::TransitGatewayPeeringAttachment.PeerTransitGatewayId`.
|
default List<CfnTag> |
getTags()
`AWS::EC2::TransitGatewayPeeringAttachment.Tags`.
|
String |
getTransitGatewayId()
`AWS::EC2::TransitGatewayPeeringAttachment.TransitGatewayId`.
|
@Stability(value=Stable) @Nullable default Object getOptions()
@Stability(value=Stable) @NotNull String getPeerAccountId()
@Stability(value=Stable) @NotNull String getPeerRegion()
@Stability(value=Stable) @NotNull String getPeerTransitGatewayId()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) @NotNull String getTransitGatewayId()
@Stability(value=Stable) static CfnTransitGatewayPeeringAttachmentProps.Builder builder()
Copyright © 2021. All rights reserved.