Class CfnDevice
A CloudFormation AWS::SageMaker::Device
.
Inherited Members
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.AWS.Sagemaker.dll
Syntax (csharp)
public class CfnDevice : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnDevice
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
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. Each device must be listed individually in the CFN specification.
CloudformationResource: AWS::SageMaker::Device
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-device.html
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(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
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 | 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(Construct, String, ICfnDeviceProps)
Create a new AWS::SageMaker::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
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
Remarks
DeviceFleetName
The name of the fleet the device belongs to.
public virtual string DeviceFleetName { get; set; }
Property Value
System.String
Remarks
Tags
An array of key-value pairs that contain metadata to help you categorize and organize your devices.
public virtual TagManager Tags { get; }
Property Value
Remarks
Each tag consists of a key and a value, both of which you define.
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>