Class CfnDeviceProps
Properties for defining a CfnDevice
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.NetworkManager
Assembly: Amazon.CDK.AWS.NetworkManager.dll
Syntax (csharp)
public class CfnDeviceProps : Object, ICfnDeviceProps
Syntax (vb)
Public Class CfnDeviceProps
Inherits Object
Implements ICfnDeviceProps
Remarks
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 cfnDeviceProps = 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
CfnDeviceProps() |
Properties
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. |
Constructors
CfnDeviceProps()
public CfnDeviceProps()
Properties
Description
A description of the device.
public string Description { get; set; }
Property Value
System.String
Remarks
Constraints: Maximum length of 256 characters.
GlobalNetworkId
The ID of the global network.
public string GlobalNetworkId { get; set; }
Property Value
System.String
Remarks
Location
The site location.
public object Location { get; set; }
Property Value
System.Object
Remarks
Model
The model of the device.
public string Model { get; set; }
Property Value
System.String
Remarks
Constraints: Maximum length of 128 characters.
SerialNumber
The serial number of the device.
public string SerialNumber { get; set; }
Property Value
System.String
Remarks
Constraints: Maximum length of 128 characters.
SiteId
The site ID.
public string SiteId { get; set; }
Property Value
System.String
Remarks
Tags
Type
The device type.
public string Type { get; set; }
Property Value
System.String
Remarks
Vendor
The vendor of the device.
public string Vendor { get; set; }
Property Value
System.String
Remarks
Constraints: Maximum length of 128 characters.