Class CfnConnectPeer
A CloudFormation AWS::NetworkManager::ConnectPeer
.
Inherited Members
Namespace: Amazon.CDK.AWS.NetworkManager
Assembly: Amazon.CDK.AWS.NetworkManager.dll
Syntax (csharp)
public class CfnConnectPeer : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnConnectPeer
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
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).
CloudformationResource: AWS::NetworkManager::ConnectPeer
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.NetworkManager;
var cfnConnectPeer = new CfnConnectPeer(this, "MyCfnConnectPeer", new CfnConnectPeerProps {
ConnectAttachmentId = "connectAttachmentId",
InsideCidrBlocks = new [] { "insideCidrBlocks" },
PeerAddress = "peerAddress",
// the properties below are optional
BgpOptions = new BgpOptionsProperty {
PeerAsn = 123
},
CoreNetworkAddress = "coreNetworkAddress",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnConnectPeer(Construct, String, ICfnConnectPeerProps) | Create a new |
CfnConnectPeer(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnConnectPeer(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrConfigurationBgpConfigurations | |
AttrConfigurationCoreNetworkAddress | |
AttrConfigurationInsideCidrBlocks | |
AttrConfigurationPeerAddress | |
AttrConfigurationProtocol | |
AttrConnectPeerId | The ID of the Connect peer. |
AttrCoreNetworkId | The core network ID. |
AttrCreatedAt | The timestamp when the Connect peer was created. |
AttrEdgeLocation | The Region where the edge is located. |
AttrState | The state of the Connect peer. |
BgpOptions |
|
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
ConnectAttachmentId | The ID of the attachment to connect. |
CoreNetworkAddress | The IP address of a core network. |
InsideCidrBlocks | The inside IP addresses used for a Connect peer configuration. |
PeerAddress | The IP address of the Connect peer. |
Tags | The list of key-value tags associated with the Connect peer. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnConnectPeer(Construct, String, ICfnConnectPeerProps)
Create a new AWS::NetworkManager::ConnectPeer
.
public CfnConnectPeer(Construct scope, string id, ICfnConnectPeerProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnConnectPeerProps
- resource properties.
CfnConnectPeer(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnConnectPeer(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnConnectPeer(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnConnectPeer(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrConfigurationBgpConfigurations
public virtual IResolvable AttrConfigurationBgpConfigurations { get; }
Property Value
Remarks
CloudformationAttribute: Configuration.BgpConfigurations
AttrConfigurationCoreNetworkAddress
public virtual string AttrConfigurationCoreNetworkAddress { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Configuration.CoreNetworkAddress
AttrConfigurationInsideCidrBlocks
public virtual string[] AttrConfigurationInsideCidrBlocks { get; }
Property Value
System.String[]
Remarks
CloudformationAttribute: Configuration.InsideCidrBlocks
AttrConfigurationPeerAddress
public virtual string AttrConfigurationPeerAddress { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Configuration.PeerAddress
AttrConfigurationProtocol
public virtual string AttrConfigurationProtocol { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Configuration.Protocol
AttrConnectPeerId
The ID of the Connect peer.
public virtual string AttrConnectPeerId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ConnectPeerId
AttrCoreNetworkId
The core network ID.
public virtual string AttrCoreNetworkId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CoreNetworkId
AttrCreatedAt
The timestamp when the Connect peer was created.
public virtual string AttrCreatedAt { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CreatedAt
AttrEdgeLocation
The Region where the edge is located.
public virtual string AttrEdgeLocation { get; }
Property Value
System.String
Remarks
CloudformationAttribute: EdgeLocation
AttrState
The state of the Connect peer.
public virtual string AttrState { get; }
Property Value
System.String
Remarks
This will be: REJECTED
| PENDING_ATTACHMENT_ACCEPTANCE
| CREATING
| FAILED
| AVAILABLE
| UPDATING
| PENDING_NETWORK_UPDATE
| PENDING_TAG_ACCEPTANCE
| DELETING
.
CloudformationAttribute: State
BgpOptions
AWS::NetworkManager::ConnectPeer.BgpOptions
.
public virtual object BgpOptions { get; set; }
Property Value
System.Object
Remarks
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
ConnectAttachmentId
The ID of the attachment to connect.
public virtual string ConnectAttachmentId { get; set; }
Property Value
System.String
Remarks
CoreNetworkAddress
The IP address of a core network.
public virtual string CoreNetworkAddress { get; set; }
Property Value
System.String
Remarks
InsideCidrBlocks
The inside IP addresses used for a Connect peer configuration.
public virtual string[] InsideCidrBlocks { get; set; }
Property Value
System.String[]
Remarks
PeerAddress
The IP address of the Connect peer.
public virtual string PeerAddress { get; set; }
Property Value
System.String
Remarks
Tags
The list of key-value tags associated with the Connect peer.
public virtual TagManager Tags { get; }
Property Value
Remarks
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>