@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-20T22:19:56.674Z") public class CfnDevice extends CfnResource implements IInspectable
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.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.sagemaker.*; CfnDevice cfnDevice = CfnDevice.Builder.create(this, "MyCfnDevice") .deviceFleetName("deviceFleetName") // the properties below are optional .device(DeviceProperty.builder() .deviceName("deviceName") // the properties below are optional .description("description") .iotThingName("iotThingName") .build()) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnDevice.Builder
A fluent builder for
CfnDevice . |
static interface |
CfnDevice.DeviceProperty
Information of a particular device.
|
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnDevice(Construct scope,
java.lang.String id,
CfnDeviceProps props)
Create a new `AWS::SageMaker::Device`.
|
protected |
CfnDevice(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnDevice(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.Object |
getDevice()
Edge device you want to create.
|
java.lang.String |
getDeviceFleetName()
The name of the fleet the device belongs to.
|
TagManager |
getTags()
An array of key-value pairs that contain metadata to help you categorize and organize your devices.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setDevice(CfnDevice.DeviceProperty value)
Edge device you want to create.
|
void |
setDevice(IResolvable value)
Edge device you want to create.
|
void |
setDeviceFleetName(java.lang.String value)
The name of the fleet the device belongs to.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnDevice(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnDevice(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnDevice(Construct scope, java.lang.String id, CfnDeviceProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
Each tag consists of a key and a value, both of which you define.
public java.lang.String getDeviceFleetName()
public void setDeviceFleetName(java.lang.String value)
public java.lang.Object getDevice()
public void setDevice(IResolvable value)
public void setDevice(CfnDevice.DeviceProperty value)