DeviceFleetArgs

data class DeviceFleetArgs(val description: Output<String>? = null, val deviceFleetName: Output<String>? = null, val enableIotRoleAlias: Output<Boolean>? = null, val outputConfig: Output<DeviceFleetOutputConfigArgs>? = null, val roleArn: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<DeviceFleetArgs>

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());
}
}

Import

SageMaker Device Fleets can be imported using the name, e.g.,

$ pulumi import aws:sagemaker/deviceFleet:DeviceFleet example my-fleet

Constructors

Link copied to clipboard
constructor(description: Output<String>? = null, deviceFleetName: Output<String>? = null, enableIotRoleAlias: Output<Boolean>? = null, outputConfig: Output<DeviceFleetOutputConfigArgs>? = null, roleArn: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val description: Output<String>? = null

A description of the fleet.

Link copied to clipboard
val deviceFleetName: Output<String>? = null

The name of the Device Fleet (must be unique).

Link copied to clipboard
val enableIotRoleAlias: Output<Boolean>? = null

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

Specifies details about the repository. see Output Config details below.

Link copied to clipboard
val roleArn: Output<String>? = null

The Amazon Resource Name (ARN) that has access to AWS Internet of Things (IoT).

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): DeviceFleetArgs