Class CfnLink
Specifies a link for a site.
Inherited Members
Namespace: Amazon.CDK.AWS.NetworkManager
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLink : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnLink
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-link.html
CloudformationResource: AWS::NetworkManager::Link
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(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 |
CfnLink(Construct, String, ICfnLinkProps) |
Properties
AttrCreatedAt | The date and time that the link was created. |
AttrLinkArn | The ARN of the link. |
AttrLinkId | The ID of the link. |
AttrState | The state 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 | Tag Manager which manages the tags for this resource. |
TagsRaw | 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(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
CfnLink(Construct, String, ICfnLinkProps)
public CfnLink(Construct scope, string id, ICfnLinkProps 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 ICfnLinkProps
Resource properties.
Properties
AttrCreatedAt
The date and time that the link was created.
public virtual string AttrCreatedAt { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CreatedAt
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
AttrState
The state of the link.
public virtual string AttrState { get; }
Property Value
System.String
Remarks
CloudformationAttribute: State
Bandwidth
The bandwidth for the link.
public virtual object Bandwidth { 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
Description
A description of the link.
public virtual string Description { get; set; }
Property Value
System.String
GlobalNetworkId
The ID of the global network.
public virtual string GlobalNetworkId { get; set; }
Property Value
System.String
Provider
The provider of the link.
public virtual string Provider { get; set; }
Property Value
System.String
SiteId
The ID of the site.
public virtual string SiteId { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
Type
The type of the link.
public virtual string Type { get; set; }
Property Value
System.String
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>