Class CfnConnectPeer
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.CfnElement
software.amazon.awscdk.core.CfnRefElement
software.amazon.awscdk.core.CfnResource
software.amazon.awscdk.services.networkmanager.CfnConnectPeer
- All Implemented Interfaces:
IConstruct
,IDependable
,IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:00.449Z")
@Stability(Stable)
public class CfnConnectPeer
extends CfnResource
implements IInspectable
A CloudFormation
AWS::NetworkManager::ConnectPeer
.
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") .insideCidrBlocks(List.of("insideCidrBlocks")) .peerAddress("peerAddress") // the properties below are optional .bgpOptions(BgpOptionsProperty.builder() .peerAsn(123) .build()) .coreNetworkAddress("coreNetworkAddress") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Describes the BGP options.static final class
A fluent builder forCfnConnectPeer
.static interface
Describes a core network BGP configuration.static interface
Describes a core network Connect peer configuration.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionCfnConnectPeer
(Construct scope, String id, CfnConnectPeerProps props) Create a newAWS::NetworkManager::ConnectPeer
.protected
CfnConnectPeer
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnConnectPeer
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe ID of the Connect peer.The core network ID.The timestamp when the Connect peer was created.The Region where the edge is located.The state of the Connect peer.AWS::NetworkManager::ConnectPeer.BgpOptions
.The ID of the attachment to connect.The IP address of a core network.The inside IP addresses used for a Connect peer configuration.The IP address of the Connect peer.getTags()
The list of key-value tags associated with the Connect peer.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setBgpOptions
(IResolvable value) AWS::NetworkManager::ConnectPeer.BgpOptions
.void
AWS::NetworkManager::ConnectPeer.BgpOptions
.void
setConnectAttachmentId
(String value) The ID of the attachment to connect.void
setCoreNetworkAddress
(String value) The IP address of a core network.void
setInsideCidrBlocks
(List<String> value) The inside IP addresses used for a Connect peer configuration.void
setPeerAddress
(String value) The IP address of the Connect peer.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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 Construct scope, @NotNull String id, @NotNull CfnConnectPeerProps props) Create a newAWS::NetworkManager::ConnectPeer
.- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
props
-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
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 Region where the edge is located. -
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:
getCfnProperties
in classCfnResource
-
getTags
The list of key-value tags associated with the Connect peer. -
getConnectAttachmentId
The ID of the attachment to connect. -
setConnectAttachmentId
The ID of the attachment to connect. -
getInsideCidrBlocks
The inside IP addresses used for a Connect peer configuration. -
setInsideCidrBlocks
The inside IP addresses used for a Connect peer configuration. -
getPeerAddress
The IP address of the Connect peer. -
setPeerAddress
The IP address of the Connect peer. -
getBgpOptions
AWS::NetworkManager::ConnectPeer.BgpOptions
. -
setBgpOptions
AWS::NetworkManager::ConnectPeer.BgpOptions
. -
setBgpOptions
AWS::NetworkManager::ConnectPeer.BgpOptions
. -
getCoreNetworkAddress
The IP address of a core network. -
setCoreNetworkAddress
The IP address of a core network.
-