Class CfnLink
A CloudFormation AWS::NetworkManager::Link
.
Inherited Members
Namespace: Amazon.CDK.AWS.NetworkManager
Assembly: Amazon.CDK.AWS.NetworkManager.dll
Syntax (csharp)
public class CfnLink : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnLink
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Specifies a link for a site.
CloudformationResource: AWS::NetworkManager::Link
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-link.html
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 cfnLink = new CfnLink(this, "MyCfnLink", new CfnLinkProps {
Bandwidth = new BandwidthProperty {
DownloadSpeed = 123,
UploadSpeed = 123
},
GlobalNetworkId = "globalNetworkId",
SiteId = "siteId",
// the properties below are optional
Description = "description",
Provider = "provider",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
Type = "type"
});
Synopsis
Constructors
CfnLink(Construct, String, ICfnLinkProps) | Create a new |
CfnLink(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnLink(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrLinkArn | The ARN of the link. |
AttrLinkId | The ID of the link. |
Bandwidth | The bandwidth for the link. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Description | A description of the link. |
GlobalNetworkId | The ID of the global network. |
Provider | The provider of the link. |
SiteId | The ID of the site. |
Tags | The tags for the link. |
Type | The type of the link. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnLink(Construct, String, ICfnLinkProps)
Create a new AWS::NetworkManager::Link
.
public CfnLink(Construct scope, string id, ICfnLinkProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnLinkProps
- resource properties.
CfnLink(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnLink(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnLink(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnLink(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrLinkArn
The ARN of the link.
public virtual string AttrLinkArn { get; }
Property Value
System.String
Remarks
For example, arn:aws:networkmanager::123456789012:link/global-network-01231231231231231/link-11112222aaaabbbb1
.
CloudformationAttribute: LinkArn
AttrLinkId
The ID of the link.
public virtual string AttrLinkId { get; }
Property Value
System.String
Remarks
For example, link-11112222aaaabbbb1
.
CloudformationAttribute: LinkId
Bandwidth
The bandwidth for the link.
public virtual object Bandwidth { 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
Description
A description of the link.
public virtual string Description { get; set; }
Property Value
System.String
Remarks
Constraints: Maximum length of 256 characters.
GlobalNetworkId
The ID of the global network.
public virtual string GlobalNetworkId { get; set; }
Property Value
System.String
Remarks
Provider
The provider of the link.
public virtual string Provider { get; set; }
Property Value
System.String
Remarks
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
SiteId
The ID of the site.
public virtual string SiteId { get; set; }
Property Value
System.String
Remarks
Tags
The tags for the link.
public virtual TagManager Tags { get; }
Property Value
Remarks
Type
The type of the link.
public virtual string Type { get; set; }
Property Value
System.String
Remarks
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
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>