import * as core from "@terrascript/core"; export interface OutputConfigArgs extends core.SchemaArgs { kmsKeyId?: string | core.StringOut; s3OutputLocation: string | core.StringOut; } export class OutputConfig extends core.Schema { @core.attr(String) public kmsKeyId?: string | core.StringOut; @core.attr(String) public s3OutputLocation!: string | core.StringOut; } export interface DeviceFleetArgs extends core.ResourceArgs { /** * (Optional) A description of the fleet. */ description?: string | core.StringOut; /** * (Required) The name of the Device Fleet (must be unique). */ deviceFleetName: string | core.StringOut; /** * (Optional) Whether to create an AWS IoT Role Alias during device fleet creation. The name of the rol * e alias generated will match this pattern: "SageMakerEdge-{DeviceFleetName}". */ enableIotRoleAlias?: boolean | core.BooleanOut; /** * (Required) Specifies details about the repository. see [Output Config](#output-config) details below * . */ outputConfig: OutputConfig; /** * (Required) The Amazon Resource Name (ARN) that has access to AWS Internet of Things (IoT). */ roleArn: string | core.StringOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export class DeviceFleet extends core.Resource { /** * The Amazon Resource Name (ARN) assigned by AWS to this Device Fleet. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) A description of the fleet. */ @core.attr(String) public description?: string | core.StringOut; /** * (Required) The name of the Device Fleet (must be unique). */ @core.attr(String) public deviceFleetName!: string | core.StringOut; /** * (Optional) Whether to create an AWS IoT Role Alias during device fleet creation. The name of the rol * e alias generated will match this pattern: "SageMakerEdge-{DeviceFleetName}". */ @core.attr(Boolean) public enableIotRoleAlias?: boolean | core.BooleanOut; /** * The name of the Device Fleet. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; @core.attr(String, { computed: true }) public iotRoleAlias!: string | core.StringOut; /** * (Required) Specifies details about the repository. see [Output Config](#output-config) details below * . */ @core.attr(OutputConfig) public outputConfig!: OutputConfig; /** * (Required) The Amazon Resource Name (ARN) that has access to AWS Internet of Things (IoT). */ @core.attr(String) public roleArn!: string | core.StringOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: DeviceFleetArgs) { super(name, "aws_sagemaker_device_fleet", args); } public override getNamespace(): string { return "aws_sagemaker"; } }