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
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 |
CfnConnectPeer(Construct, String, ICfnConnectPeerProps) |
Properties
AttrConfiguration | |
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 Connect peer Regions where edges are located. |
AttrState | The state of the Connect peer. |
BgpOptions | Describes the BGP options. |
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. |
SubnetArn | The subnet ARN of the Connect peer. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | 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(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
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 ICfnConnectPeerProps
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.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 Connect peer Regions where edges are 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
Describes the BGP options.
public virtual object BgpOptions { get; set; }
Property Value
System.Object
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
CoreNetworkAddress
The IP address of a core network.
public virtual string CoreNetworkAddress { get; set; }
Property Value
System.String
InsideCidrBlocks
The inside IP addresses used for a Connect peer configuration.
public virtual string[] InsideCidrBlocks { get; set; }
Property Value
System.String[]
PeerAddress
The IP address of the Connect peer.
public virtual string PeerAddress { get; set; }
Property Value
System.String
SubnetArn
The subnet ARN of the Connect peer.
public virtual string SubnetArn { get; set; }
Property Value
System.String
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
ICfnTag[]
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>