Class CfnConnectPeer
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.networkmanager.CfnConnectPeer
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IConnectPeerRef,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:09.755Z")
@Stability(Stable)
public class CfnConnectPeer
extends CfnResource
implements IInspectable, IConnectPeerRef, ITaggable
Creates a core network Connect peer for a specified core network connect attachment between a core network and an appliance.
The peer address and transit gateway address must be the same IP address family (IPv4 or IPv6).
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.networkmanager.*;
CfnConnectPeer cfnConnectPeer = CfnConnectPeer.Builder.create(this, "MyCfnConnectPeer")
.connectAttachmentId("connectAttachmentId")
.peerAddress("peerAddress")
// the properties below are optional
.bgpOptions(BgpOptionsProperty.builder()
.peerAsn(123)
.build())
.coreNetworkAddress("coreNetworkAddress")
.insideCidrBlocks(List.of("insideCidrBlocks"))
.subnetArn("subnetArn")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceDescribes the BGP options.static final classA fluent builder forCfnConnectPeer.static interfaceDescribes a core network BGP configuration.static interfaceDescribes a core network Connect peer configuration.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.networkmanager.IConnectPeerRef
IConnectPeerRef.Jsii$Default, IConnectPeerRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnConnectPeer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnConnectPeer(software.amazon.jsii.JsiiObjectRef objRef) CfnConnectPeer(software.constructs.Construct scope, String id, CfnConnectPeerProps props) Create a newAWS::NetworkManager::ConnectPeer. -
Method Summary
Modifier and TypeMethodDescriptionThe ID of the Connect peer.The core network ID.The timestamp when the Connect peer was created.The Connect peer Regions where edges are located.Describes the error associated with the attachment request.The state of the Connect peer.Describes the BGP options.The ID of the attachment to connect.A reference to a ConnectPeer resource.The IP address of a core network.The inside IP addresses used for a Connect peer configuration.The IP address of the Connect peer.The subnet ARN of the Connect peer.getTags()Tag Manager which manages the tags for this resource.The list of key-value tags associated with the Connect peer.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetBgpOptions(IResolvable value) Describes the BGP options.voidDescribes the BGP options.voidsetConnectAttachmentId(String value) The ID of the attachment to connect.voidsetCoreNetworkAddress(String value) The IP address of a core network.voidsetInsideCidrBlocks(List<String> value) The inside IP addresses used for a Connect peer configuration.voidsetPeerAddress(String value) The IP address of the Connect peer.voidsetSubnetArn(String value) The subnet ARN of the Connect peer.voidsetTagsRaw(List<CfnTag> value) The list of key-value tags associated with the Connect peer.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnConnectPeer
protected CfnConnectPeer(software.amazon.jsii.JsiiObjectRef objRef) -
CfnConnectPeer
protected CfnConnectPeer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnConnectPeer
@Stability(Stable) public CfnConnectPeer(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnConnectPeerProps props) Create a newAWS::NetworkManager::ConnectPeer.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrConfiguration
-
getAttrConfigurationBgpConfigurations
-
getAttrConfigurationCoreNetworkAddress
-
getAttrConfigurationInsideCidrBlocks
-
getAttrConfigurationPeerAddress
-
getAttrConfigurationProtocol
-
getAttrConnectPeerId
The ID of the Connect peer. -
getAttrCoreNetworkId
The core network ID. -
getAttrCreatedAt
The timestamp when the Connect peer was created. -
getAttrEdgeLocation
The Connect peer Regions where edges are located. -
getAttrLastModificationErrors
Describes the error associated with the attachment request. -
getAttrState
The state of the Connect peer.This will be:
REJECTED|PENDING_ATTACHMENT_ACCEPTANCE|CREATING|FAILED|AVAILABLE|UPDATING|PENDING_NETWORK_UPDATE|PENDING_TAG_ACCEPTANCE|DELETING. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getConnectPeerRef
A reference to a ConnectPeer resource.- Specified by:
getConnectPeerRefin interfaceIConnectPeerRef
-
getTags
Tag Manager which manages the tags for this resource. -
getConnectAttachmentId
The ID of the attachment to connect. -
setConnectAttachmentId
The ID of the attachment to connect. -
getPeerAddress
The IP address of the Connect peer. -
setPeerAddress
The IP address of the Connect peer. -
getBgpOptions
Describes the BGP options.Returns union: either
IResolvableorCfnConnectPeer.BgpOptionsProperty -
setBgpOptions
Describes the BGP options. -
setBgpOptions
Describes the BGP options. -
getCoreNetworkAddress
The IP address of a core network. -
setCoreNetworkAddress
The IP address of a core network. -
getInsideCidrBlocks
The inside IP addresses used for a Connect peer configuration. -
setInsideCidrBlocks
The inside IP addresses used for a Connect peer configuration. -
getSubnetArn
The subnet ARN of the Connect peer. -
setSubnetArn
The subnet ARN of the Connect peer. -
getTagsRaw
The list of key-value tags associated with the Connect peer. -
setTagsRaw
The list of key-value tags associated with the Connect peer.
-