Resource: aws_sagemaker_device_fleet

Provides a SageMaker Device Fleet resource.

Example Usage

Basic usage

resource "aws_sagemaker_device_fleet" "example" {
  device_fleet_name = "example"
  role_arn          = aws_iam_role.test.arn

  output_config {
    s3_output_location = "s3://${aws_s3_bucket.example.bucket}/prefix/"
  }
}

Argument Reference

This resource supports the following arguments:

Output Config

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import SageMaker Device Fleets using the name. For example:

import {
  to = aws_sagemaker_device_fleet.example
  id = "my-fleet"
}

Using terraform import, import SageMaker Device Fleets using the name. For example:

% terraform import aws_sagemaker_device_fleet.example my-fleet