Class CfnDevice
The AWS::SageMaker::Device
resource is an Amazon SageMaker resource type that allows you to register your Devices against an existing SageMaker Edge Manager DeviceFleet.
Inherited Members
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDevice : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnDevice
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
Each device must be listed individually in the CFN specification.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-device.html
CloudformationResource: AWS::SageMaker::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.Sagemaker;
var cfnDevice = new CfnDevice(this, "MyCfnDevice", new CfnDeviceProps {
DeviceFleetName = "deviceFleetName",
// the properties below are optional
Device = new DeviceProperty {
DeviceName = "deviceName",
// the properties below are optional
Description = "description",
IotThingName = "iotThingName"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
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
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Device | Edge device you want to create. |
DeviceFleetName | The name of the fleet the device belongs to. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | An array of key-value pairs that contain metadata to help you categorize and organize your devices. |
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
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
Device
Edge device you want to create.
public virtual object Device { get; set; }
Property Value
System.Object
DeviceFleetName
The name of the fleet the device belongs to.
public virtual string DeviceFleetName { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
An array of key-value pairs that contain metadata to help you categorize and organize your devices.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
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>