@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-14T16:25:24.551Z") public class CfnConnectPeer extends CfnResource implements IInspectable
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();
Modifier and Type | Class and Description |
---|---|
static interface |
CfnConnectPeer.BgpOptionsProperty
Describes the BGP options.
|
static class |
CfnConnectPeer.Builder
A fluent builder for
CfnConnectPeer . |
static interface |
CfnConnectPeer.ConnectPeerBgpConfigurationProperty
Describes a core network BGP configuration.
|
static interface |
CfnConnectPeer.ConnectPeerConfigurationProperty
Describes a core network Connect peer configuration.
|
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnConnectPeer(Construct scope,
java.lang.String id,
CfnConnectPeerProps props)
Create a new `AWS::NetworkManager::ConnectPeer`.
|
protected |
CfnConnectPeer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnConnectPeer(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
IResolvable |
getAttrConfigurationBgpConfigurations() |
java.lang.String |
getAttrConfigurationCoreNetworkAddress() |
java.util.List<java.lang.String> |
getAttrConfigurationInsideCidrBlocks() |
java.lang.String |
getAttrConfigurationPeerAddress() |
java.lang.String |
getAttrConfigurationProtocol() |
java.lang.String |
getAttrConnectPeerId()
The ID of the Connect peer.
|
java.lang.String |
getAttrCoreNetworkId()
The core network ID.
|
java.lang.String |
getAttrCreatedAt()
The timestamp when the Connect peer was created.
|
java.lang.String |
getAttrEdgeLocation()
The Region where the edge is located.
|
java.lang.String |
getAttrState()
The state of the Connect peer.
|
java.lang.Object |
getBgpOptions()
`AWS::NetworkManager::ConnectPeer.BgpOptions`.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getConnectAttachmentId()
The ID of the attachment to connect.
|
java.lang.String |
getCoreNetworkAddress()
The IP address of a core network.
|
java.util.List<java.lang.String> |
getInsideCidrBlocks()
The inside IP addresses used for a Connect peer configuration.
|
java.lang.String |
getPeerAddress()
The IP address of the Connect peer.
|
TagManager |
getTags()
The list of key-value tags associated with the Connect peer.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setBgpOptions(CfnConnectPeer.BgpOptionsProperty value)
`AWS::NetworkManager::ConnectPeer.BgpOptions`.
|
void |
setBgpOptions(IResolvable value)
`AWS::NetworkManager::ConnectPeer.BgpOptions`.
|
void |
setConnectAttachmentId(java.lang.String value)
The ID of the attachment to connect.
|
void |
setCoreNetworkAddress(java.lang.String value)
The IP address of a core network.
|
void |
setInsideCidrBlocks(java.util.List<java.lang.String> value)
The inside IP addresses used for a Connect peer configuration.
|
void |
setPeerAddress(java.lang.String value)
The IP address of the Connect peer.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnConnectPeer(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnConnectPeer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnConnectPeer(Construct scope, java.lang.String id, CfnConnectPeerProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public IResolvable getAttrConfigurationBgpConfigurations()
public java.lang.String getAttrConfigurationCoreNetworkAddress()
public java.util.List<java.lang.String> getAttrConfigurationInsideCidrBlocks()
public java.lang.String getAttrConfigurationPeerAddress()
public java.lang.String getAttrConfigurationProtocol()
public java.lang.String getAttrConnectPeerId()
public java.lang.String getAttrCoreNetworkId()
public java.lang.String getAttrCreatedAt()
public java.lang.String getAttrEdgeLocation()
public java.lang.String getAttrState()
This will be: REJECTED
| PENDING_ATTACHMENT_ACCEPTANCE
| CREATING
| FAILED
| AVAILABLE
| UPDATING
| PENDING_NETWORK_UPDATE
| PENDING_TAG_ACCEPTANCE
| DELETING
.
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
public java.lang.String getConnectAttachmentId()
public void setConnectAttachmentId(java.lang.String value)
public java.util.List<java.lang.String> getInsideCidrBlocks()
public void setInsideCidrBlocks(java.util.List<java.lang.String> value)
public java.lang.String getPeerAddress()
public void setPeerAddress(java.lang.String value)
public java.lang.Object getBgpOptions()
public void setBgpOptions(IResolvable value)
public void setBgpOptions(CfnConnectPeer.BgpOptionsProperty value)
public java.lang.String getCoreNetworkAddress()
public void setCoreNetworkAddress(java.lang.String value)