Class CfnConnectPeer
Creates a core network Connect peer for a specified core network connect attachment between a core network and an appliance.
Inherited Members
Namespace: Amazon.CDK.AWS.NetworkManager
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnConnectPeer : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnConnectPeer
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
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",
PeerAddress = "peerAddress",
// the properties below are optional
BgpOptions = new BgpOptionsProperty {
PeerAsn = 123
},
CoreNetworkAddress = "coreNetworkAddress",
InsideCidrBlocks = new [] { "insideCidrBlocks" },
SubnetArn = "subnetArn",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
Cfn |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Cfn |
Used by jsii to construct an instance of this class from DeputyProps |
Cfn |
Properties
Attr |
|
Attr |
|
Attr |
|
Attr |
|
Attr |
|
Attr |
|
Attr |
The ID of the Connect peer. |
Attr |
The core network ID. |
Attr |
The timestamp when the Connect peer was created. |
Attr |
The Connect peer Regions where edges are located. |
Attr |
The state of the Connect peer. |
Bgp |
Describes the BGP options. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
Cfn |
|
Connect |
The ID of the attachment to connect. |
Core |
The IP address of a core network. |
Inside |
The inside IP addresses used for a Connect peer configuration. |
Peer |
The IP address of the Connect peer. |
Subnet |
The subnet ARN of the Connect peer. |
Tags | Tag Manager which manages the tags for this resource. |
Tags |
The list of key-value tags associated with the Connect peer. |
Methods
Inspect(Tree |
Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
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. By Ref Value 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. Deputy Base. Deputy Props The deputy props
CfnConnectPeer(Construct, String, ICfnConnectPeerProps)
public CfnConnectPeer(Construct scope, string id, ICfnConnectPeerProps props)
Parameters
- scope Constructs.
Construct Scope in which this resource is defined.
- id System.
String Construct identifier for this resource (unique in its scope).
- props ICfn
Connect Peer Props Resource properties.
Properties
AttrConfiguration
public virtual IResolvable AttrConfiguration { get; }
Property Value
Remarks
CloudformationAttribute: Configuration
AttrConfigurationBgpConfigurations
public virtual IResolvable AttrConfigurationBgpConfigurations { get; }
Property Value
Remarks
CloudformationAttribute: Configuration.BgpConfigurations
AttrConfigurationCoreNetworkAddress
public virtual string AttrConfigurationCoreNetworkAddress { get; }
Property Value
System.
Remarks
CloudformationAttribute: Configuration.CoreNetworkAddress
AttrConfigurationInsideCidrBlocks
public virtual string[] AttrConfigurationInsideCidrBlocks { get; }
Property Value
System.
Remarks
CloudformationAttribute: Configuration.InsideCidrBlocks
AttrConfigurationPeerAddress
public virtual string AttrConfigurationPeerAddress { get; }
Property Value
System.
Remarks
CloudformationAttribute: Configuration.PeerAddress
AttrConfigurationProtocol
public virtual string AttrConfigurationProtocol { get; }
Property Value
System.
Remarks
CloudformationAttribute: Configuration.Protocol
AttrConnectPeerId
The ID of the Connect peer.
public virtual string AttrConnectPeerId { get; }
Property Value
System.
Remarks
CloudformationAttribute: ConnectPeerId
AttrCoreNetworkId
The core network ID.
public virtual string AttrCoreNetworkId { get; }
Property Value
System.
Remarks
CloudformationAttribute: CoreNetworkId
AttrCreatedAt
The timestamp when the Connect peer was created.
public virtual string AttrCreatedAt { get; }
Property Value
System.
Remarks
CloudformationAttribute: CreatedAt
AttrEdgeLocation
The Connect peer Regions where edges are located.
public virtual string AttrEdgeLocation { get; }
Property Value
System.
Remarks
CloudformationAttribute: EdgeLocation
AttrState
The state of the Connect peer.
public virtual string AttrState { get; }
Property Value
System.
Remarks
This will be: REJECTED
| PENDING_ATTACHMENT_ACCEPTANCE
| CREATING
| FAILED
| AVAILABLE
| UPDATING
| PENDING_NETWORK_UPDATE
| PENDING_TAG_ACCEPTANCE
| DELETING
.
CloudformationAttribute: State
BgpOptions
Describes the BGP options.
public virtual object BgpOptions { get; set; }
Property Value
System.
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.
Overrides
ConnectAttachmentId
The ID of the attachment to connect.
public virtual string ConnectAttachmentId { get; set; }
Property Value
System.
CoreNetworkAddress
The IP address of a core network.
public virtual string CoreNetworkAddress { get; set; }
Property Value
System.
InsideCidrBlocks
The inside IP addresses used for a Connect peer configuration.
public virtual string[] InsideCidrBlocks { get; set; }
Property Value
System.
PeerAddress
The IP address of the Connect peer.
public virtual string PeerAddress { get; set; }
Property Value
System.
SubnetArn
The subnet ARN of the Connect peer.
public virtual string SubnetArn { get; set; }
Property Value
System.
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
The list of key-value tags associated with the Connect peer.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfn
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector Tree
Inspector 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. <System.Generic. IDictionary String , System.Object >
Returns
System.