@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.044Z") @Stability(value=Stable) 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")
.bgpOptions(BgpOptionsProperty.builder()
.peerAsn(123)
.build())
.connectAttachmentId("connectAttachmentId")
.coreNetworkAddress("coreNetworkAddress")
.insideCidrBlocks(List.of("insideCidrBlocks"))
.peerAddress("peerAddress")
.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. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnConnectPeer(software.constructs.Construct scope,
String id)
Create a new `AWS::NetworkManager::ConnectPeer`.
|
|
CfnConnectPeer(software.constructs.Construct scope,
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 |
|---|---|
String |
getAttrConnectPeerId()
The ID of the Connect peer.
|
String |
getAttrCoreNetworkId()
The core network ID.
|
String |
getAttrCreatedAt()
The timestamp when the Connect peer was created.
|
String |
getAttrEdgeLocation()
The Region where the edge is located.
|
String |
getAttrState()
The state of the Connect peer.
|
Object |
getBgpOptions()
The BGP peer options.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getConnectAttachmentId()
The ID of Connect peer.
|
String |
getCoreNetworkAddress()
The IP address of a core network.
|
List<String> |
getInsideCidrBlocks()
The inside IP addresses used for a Connect peer configuration.
|
String |
getPeerAddress()
The IP address of the Connect peer.
|
TagManager |
getTags()
The tags associated with the Connect peer.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setBgpOptions(CfnConnectPeer.BgpOptionsProperty value)
The BGP peer options.
|
void |
setBgpOptions(IResolvable value)
The BGP peer options.
|
void |
setConnectAttachmentId(String value)
The ID of Connect peer.
|
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.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnConnectPeer(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnConnectPeer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnConnectPeer(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
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.@Stability(value=Stable)
public CfnConnectPeer(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrConnectPeerId()
@Stability(value=Stable) @NotNull public String getAttrCoreNetworkId()
@Stability(value=Stable) @NotNull public String getAttrCreatedAt()
@Stability(value=Stable) @NotNull public String getAttrEdgeLocation()
@Stability(value=Stable) @NotNull public String getAttrState()
This will be: REJECTED | PENDING_ATTACHMENT_ACCEPTANCE | CREATING | FAILED | AVAILABLE | UPDATING | PENDING_NETWORK_UPDATE | PENDING_TAG_ACCEPTANCE | DELETING .
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @Nullable public Object getBgpOptions()
@Stability(value=Stable)
public void setBgpOptions(@Nullable
CfnConnectPeer.BgpOptionsProperty value)
@Stability(value=Stable)
public void setBgpOptions(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getConnectAttachmentId()
@Stability(value=Stable)
public void setConnectAttachmentId(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getCoreNetworkAddress()
@Stability(value=Stable)
public void setCoreNetworkAddress(@Nullable
String value)
@Stability(value=Stable) @Nullable public List<String> getInsideCidrBlocks()
@Stability(value=Stable)
public void setInsideCidrBlocks(@Nullable
List<String> value)
@Stability(value=Stable) @Nullable public String getPeerAddress()
@Stability(value=Stable)
public void setPeerAddress(@Nullable
String value)
Copyright © 2022. All rights reserved.