import * as core from "@terrascript/core"; export interface ImageArgs extends core.ResourceArgs { /** * (Optional) The description of the image. */ description?: string | core.StringOut; /** * (Optional) The display name of the image. When the image is added to a domain (must be unique to the * domain). */ displayName?: string | core.StringOut; /** * (Required) The name of the image. Must be unique to your account. */ imageName: string | core.StringOut; /** * (Required) The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform ta * sks on your behalf. */ 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 Image extends core.Resource { /** * The Amazon Resource Name (ARN) assigned by AWS to this Image. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) The description of the image. */ @core.attr(String) public description?: string | core.StringOut; /** * (Optional) The display name of the image. When the image is added to a domain (must be unique to the * domain). */ @core.attr(String) public displayName?: string | core.StringOut; /** * The name of the Image. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the image. Must be unique to your account. */ @core.attr(String) public imageName!: string | core.StringOut; /** * (Required) The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform ta * sks on your behalf. */ @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?: ImageArgs) { super(name, "aws_sagemaker_image", args); } public override getNamespace(): string { return "aws_sagemaker"; } }