Class CfnDevice
Specifies a device.
Inherited Members
Namespace: Amazon.CDK.AWS.NetworkManager
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDevice : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnDevice
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
CloudformationResource: AWS::NetworkManager::Device
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 cfnDevice = new CfnDevice(this, "MyCfnDevice", new CfnDeviceProps {
GlobalNetworkId = "globalNetworkId",
// the properties below are optional
AwsLocation = new AWSLocationProperty {
SubnetArn = "subnetArn",
Zone = "zone"
},
Description = "description",
Location = new LocationProperty {
Address = "address",
Latitude = "latitude",
Longitude = "longitude"
},
Model = "model",
SerialNumber = "serialNumber",
SiteId = "siteId",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
Type = "type",
Vendor = "vendor"
});
Synopsis
Constructors
CfnDevice(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnDevice(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnDevice(Construct, String, ICfnDeviceProps) |
Properties
AttrCreatedAt | The time that the device was created. |
AttrDeviceArn | The ARN of the device. |
AttrDeviceId | The ID of the device. |
AttrState | The state of the device. |
AwsLocation | The AWS location of the device. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Description | A description of the device. |
GlobalNetworkId | The ID of the global network. |
Location | The site location. |
Model | The model of the device. |
SerialNumber | The serial number of the device. |
SiteId | The site ID. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | The tags for the device. |
Type | The device type. |
Vendor | The vendor of the device. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnDevice(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnDevice(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnDevice(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnDevice(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnDevice(Construct, String, ICfnDeviceProps)
public CfnDevice(Construct scope, string id, ICfnDeviceProps 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 ICfnDeviceProps
Resource properties.
Properties
AttrCreatedAt
The time that the device was created.
public virtual string AttrCreatedAt { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CreatedAt
AttrDeviceArn
The ARN of the device.
public virtual string AttrDeviceArn { get; }
Property Value
System.String
Remarks
For example, arn:aws:networkmanager::123456789012:device/global-network-01231231231231231/device-07f6fd08867abc123
.
CloudformationAttribute: DeviceArn
AttrDeviceId
The ID of the device.
public virtual string AttrDeviceId { get; }
Property Value
System.String
Remarks
For example, device-07f6fd08867abc123
.
CloudformationAttribute: DeviceId
AttrState
The state of the device.
public virtual string AttrState { get; }
Property Value
System.String
Remarks
CloudformationAttribute: State
AwsLocation
The AWS location of the device.
public virtual object AwsLocation { 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 device.
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
Location
The site location.
public virtual object Location { get; set; }
Property Value
System.Object
Model
The model of the device.
public virtual string Model { get; set; }
Property Value
System.String
SerialNumber
The serial number of the device.
public virtual string SerialNumber { get; set; }
Property Value
System.String
SiteId
The site ID.
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 device type.
public virtual string Type { get; set; }
Property Value
System.String
Vendor
The vendor of the device.
public virtual string Vendor { 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>