AWS Amazon SageMaker Device Fleet
This page shows how to write Terraform and CloudFormation for Amazon SageMaker Device Fleet and write them securely.
aws_sagemaker_device_fleet (Terraform)
The Device Fleet in Amazon SageMaker can be configured in Terraform with the resource name aws_sagemaker_device_fleet. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
The following arguments are supported:
device_fleet_name- (Required) The name of the Device Fleet (must be unique).role_arn- (Required) The Amazon Resource Name (ARN) that has access to AWS Internet of Things (IoT).output_config- (Required) Specifies details about the repository. see Output Config details below.description- (Optional) A description of the fleet.enable_iot_role_alias- (Optional) Whether to create an AWS IoT Role Alias during device fleet creation. The name of the role alias generated will match this pattern: "SageMakerEdge-{DeviceFleetName}".tags- (Optional) A map of tags to assign to the resource. If configured with a providerdefault_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
Output Config
s3_output_location- (Required) The Amazon Simple Storage (S3) bucker URI.kms_key_id- (Optional) The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt data on the storage volume after compilation job. If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account.
In addition to all arguments above, the following attributes are exported:
id- The name of the Device Fleet.arn- The Amazon Resource Name (ARN) assigned by AWS to this Device Fleet.tags_all- A map of tags assigned to the resource, including those inherited from the providerdefault_tagsconfiguration block.
Explanation in Terraform Registry
Provides a Sagemaker Device Fleet resource.
AWS::SageMaker::DeviceFleet (CloudFormation)
The DeviceFleet in SageMaker can be configured in CloudFormation with the resource name AWS::SageMaker::DeviceFleet. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
-
Descriptionoptional - String -
DeviceFleetNamerequired - String -
OutputConfigrequired - EdgeOutputConfig -
RoleArnrequired - String -
Tagsoptional - List of Tag
Explanation in CloudFormation Registry
The
AWS::SageMaker::DeviceFleetresource 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 theDeviceFleetseparately.