@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.864Z") @Stability(value=Stable) 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.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnDevice(software.constructs.Construct scope,
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 Map<String,Object> |
getCfnProperties() |
Object |
getDevice()
Edge device you want to create.
|
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 Map<String,Object> |
renderProperties(Map<String,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(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, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnDevice(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnDevice(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnDevice(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
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.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
Each tag consists of a key and a value, both of which you define.
@Stability(value=Stable) @NotNull public String getDeviceFleetName()
@Stability(value=Stable)
public void setDeviceFleetName(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getDevice()
@Stability(value=Stable)
public void setDevice(@Nullable
CfnDevice.DeviceProperty value)
@Stability(value=Stable)
public void setDevice(@Nullable
IResolvable value)
Copyright © 2022. All rights reserved.