@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.865Z") @Stability(value=Stable) 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.
|
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 |
|---|---|
|
CfnDeviceFleet(software.constructs.Construct scope,
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 Map<String,Object> |
getCfnProperties() |
String |
getDescription()
A description of the fleet.
|
String |
getDeviceFleetName()
Name of the device fleet.
|
Object |
getOutputConfig()
The output configuration for storing sample data collected by the fleet.
|
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 Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDescription(String value)
A description of the fleet.
|
void |
setDeviceFleetName(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(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, 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 CfnDeviceFleet(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnDeviceFleet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnDeviceFleet(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
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.@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) @NotNull public Object getOutputConfig()
@Stability(value=Stable)
public void setOutputConfig(@NotNull
CfnDeviceFleet.EdgeOutputConfigProperty value)
@Stability(value=Stable)
public void setOutputConfig(@NotNull
IResolvable value)
@Stability(value=Stable) @NotNull public String getRoleArn()
@Stability(value=Stable)
public void setRoleArn(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
Copyright © 2022. All rights reserved.