@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)", date="2022-08-09T19:16:34.718Z") public class CfnDeviceFleet extends CfnResource implements IInspectable
The AWS::SageMaker::DeviceFleet
resource is an Amazon SageMaker resource type that allows you to create a DeviceFleet that manages your SageMaker Edge Manager Devices. You must register your devices against the DeviceFleet
separately.
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.*; CfnDeviceFleet cfnDeviceFleet = CfnDeviceFleet.Builder.create(this, "MyCfnDeviceFleet") .deviceFleetName("deviceFleetName") .outputConfig(EdgeOutputConfigProperty.builder() .s3OutputLocation("s3OutputLocation") // the properties below are optional .kmsKeyId("kmsKeyId") .build()) .roleArn("roleArn") // the properties below are optional .description("description") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnDeviceFleet.Builder
A fluent builder for
CfnDeviceFleet . |
static interface |
CfnDeviceFleet.EdgeOutputConfigProperty
The output configuration for storing sample data collected by the fleet.
|
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 |
---|---|
|
CfnDeviceFleet(Construct scope,
java.lang.String id,
CfnDeviceFleetProps props)
Create a new `AWS::SageMaker::DeviceFleet`.
|
protected |
CfnDeviceFleet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnDeviceFleet(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getDescription()
A description of the fleet.
|
java.lang.String |
getDeviceFleetName()
Name of the device fleet.
|
java.lang.Object |
getOutputConfig()
The output configuration for storing sample data collected by the fleet.
|
java.lang.String |
getRoleArn()
The Amazon Resource Name (ARN) that has access to AWS Internet of Things (IoT).
|
TagManager |
getTags()
An array of key-value pairs that contain metadata to help you categorize and organize your device fleets.
|
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 |
setDescription(java.lang.String value)
A description of the fleet.
|
void |
setDeviceFleetName(java.lang.String value)
Name of the device fleet.
|
void |
setOutputConfig(CfnDeviceFleet.EdgeOutputConfigProperty value)
The output configuration for storing sample data collected by the fleet.
|
void |
setOutputConfig(IResolvable value)
The output configuration for storing sample data collected by the fleet.
|
void |
setRoleArn(java.lang.String value)
The Amazon Resource Name (ARN) that has access to AWS Internet of Things (IoT).
|
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 CfnDeviceFleet(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnDeviceFleet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnDeviceFleet(Construct scope, java.lang.String id, CfnDeviceFleetProps 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 getOutputConfig()
public void setOutputConfig(IResolvable value)
public void setOutputConfig(CfnDeviceFleet.EdgeOutputConfigProperty value)
public java.lang.String getRoleArn()
public void setRoleArn(java.lang.String value)
public java.lang.String getDescription()
public void setDescription(java.lang.String value)