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.

Review your Terraform file for AWS best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

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 provider default_tags configuration 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 provider default_tags configuration 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

Explanation in CloudFormation Registry

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.

Frequently asked questions

What is AWS Amazon SageMaker Device Fleet?

AWS Amazon SageMaker Device Fleet is a resource for Amazon SageMaker of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.