Interface CfnTransitGatewayPeeringAttachmentProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTransitGatewayPeeringAttachmentProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:08.334Z")
@Stability(Stable)
public interface CfnTransitGatewayPeeringAttachmentProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnTransitGatewayPeeringAttachment.
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
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTransitGatewayPeeringAttachmentPropsstatic final classAn implementation forCfnTransitGatewayPeeringAttachmentProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPeerAccountId
The ID of the AWS account that owns the transit gateway.- See Also:
-
getPeerRegion
The Region of the transit gateway.- See Also:
-
getPeerTransitGatewayId
The ID of the transit gateway.- See Also:
-
getTransitGatewayId
The ID of the transit gateway peering attachment.- See Also:
-
getTags
The tags for the transit gateway peering attachment.- See Also:
-
builder
-