Interface CfnTransitGatewayConnectPeerProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTransitGatewayConnectPeerProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-12T17:54:11.985Z")
@Stability(Stable)
public interface CfnTransitGatewayConnectPeerProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnTransitGatewayConnectPeer.
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.*;
CfnTransitGatewayConnectPeerProps cfnTransitGatewayConnectPeerProps = CfnTransitGatewayConnectPeerProps.builder()
.connectPeerConfiguration(TransitGatewayConnectPeerConfigurationProperty.builder()
.insideCidrBlocks(List.of("insideCidrBlocks"))
.peerAddress("peerAddress")
// the properties below are optional
.bgpConfigurations(List.of(TransitGatewayAttachmentBgpConfigurationProperty.builder()
.bgpStatus("bgpStatus")
.peerAddress("peerAddress")
.peerAsn(123)
.transitGatewayAddress("transitGatewayAddress")
.transitGatewayAsn(123)
.build()))
.protocol("protocol")
.transitGatewayAddress("transitGatewayAddress")
.build())
.transitGatewayAttachmentId("transitGatewayAttachmentId")
// 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 forCfnTransitGatewayConnectPeerPropsstatic final classAn implementation forCfnTransitGatewayConnectPeerProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConnectPeerConfiguration
The Connect peer details.Returns union: either
IResolvableorCfnTransitGatewayConnectPeer.TransitGatewayConnectPeerConfigurationProperty- See Also:
-
getTransitGatewayAttachmentId
The ID of the Connect attachment.- See Also:
-
getTags
The tags for the Connect peer.- See Also:
-
builder
-