Device Fleet
Provides a SageMaker Device Fleet resource.
Example Usage
Basic usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.sagemaker.DeviceFleet;
import com.pulumi.aws.sagemaker.DeviceFleetArgs;
import com.pulumi.aws.sagemaker.inputs.DeviceFleetOutputConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new DeviceFleet("example", DeviceFleetArgs.builder()
.deviceFleetName("example")
.roleArn(aws_iam_role.test().arn())
.outputConfig(DeviceFleetOutputConfigArgs.builder()
.s3OutputLocation(String.format("s3://%s/prefix/", aws_s3_bucket.example().bucket()))
.build())
.build());
}
}
Content copied to clipboard
Import
SageMaker Device Fleets can be imported using the name
, e.g.,
$ pulumi import aws:sagemaker/deviceFleet:DeviceFleet example my-fleet
Content copied to clipboard
Properties
Link copied to clipboard
A description of the fleet.
Link copied to clipboard
The name of the Device Fleet (must be unique).
Link copied to clipboard
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}".
Link copied to clipboard
Link copied to clipboard
Specifies details about the repository. see Output Config details below.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard