Class CfnDevice
A CloudFormation AWS::NetworkManager::Device
.
Inherited Members
Namespace: Amazon.CDK.AWS.NetworkManager
Assembly: Amazon.CDK.AWS.NetworkManager.dll
Syntax (csharp)
public class CfnDevice : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnDevice
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Specifies a device.
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
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(Construct, String, ICfnDeviceProps) | Create a new |
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 |
Properties
AttrDeviceArn | The ARN of the device. |
AttrDeviceId | The ID 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 | 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(Construct, String, ICfnDeviceProps)
Create a new AWS::NetworkManager::Device
.
public CfnDevice(Construct scope, string id, ICfnDeviceProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnDeviceProps
- resource properties.
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
Properties
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
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
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
Location
The site location.
public virtual object Location { get; set; }
Property Value
System.Object
Remarks
Model
The model of the device.
public virtual string Model { get; set; }
Property Value
System.String
Remarks
Constraints: Maximum length of 128 characters.
SerialNumber
The serial number of the device.
public virtual string SerialNumber { get; set; }
Property Value
System.String
Remarks
Constraints: Maximum length of 128 characters.
SiteId
The site ID.
public virtual string SiteId { get; set; }
Property Value
System.String
Remarks
Tags
The tags for the device.
public virtual TagManager Tags { get; }
Property Value
Remarks
Type
The device type.
public virtual string Type { get; set; }
Property Value
System.String
Remarks
Vendor
The vendor of the device.
public virtual string Vendor { get; set; }
Property Value
System.String
Remarks
Constraints: Maximum length of 128 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>