import * as core from "@terrascript/core"; export interface ImageTestsConfigurationArgs extends core.SchemaArgs { imageTestsEnabled: boolean | core.BooleanOut; timeoutMinutes: number | core.NumberOut; } export class ImageTestsConfiguration extends core.Schema { @core.attr(Boolean, { computed: true }) public imageTestsEnabled!: boolean | core.BooleanOut; @core.attr(Number, { computed: true }) public timeoutMinutes!: number | core.NumberOut; } export interface AmisArgs extends core.SchemaArgs { accountId: string | core.StringOut; description: string | core.StringOut; image: string | core.StringOut; name: string | core.StringOut; region: string | core.StringOut; } export class Amis extends core.Schema { @core.attr(String, { computed: true }) public accountId!: string | core.StringOut; @core.attr(String, { computed: true }) public description!: string | core.StringOut; @core.attr(String, { computed: true }) public image!: string | core.StringOut; @core.attr(String, { computed: true }) public name!: string | core.StringOut; @core.attr(String, { computed: true }) public region!: string | core.StringOut; } export interface OutputResourcesArgs extends core.SchemaArgs { amis: core.Array | core.ArrayOut; } export class OutputResources extends core.Schema { @core.attr(Amis, { computed: true, kind: "array" }) public amis!: core.Array | core.ArrayOut; } export interface DsImageArgs { /** * (Required) Amazon Resource Name (ARN) of the image. The suffix can either be specified with wildcard * s (`x.x.x`) to fetch the latest build version or a full build version (e.g., `2020.11.26/1`) to fetc * h an exact version. */ arn: string | core.StringOut; /** * Key-value map of resource tags for the image. */ tags?: core.Map | core.MapOut; } export class DsImage extends core.Data { /** * (Required) Amazon Resource Name (ARN) of the image. The suffix can either be specified with wildcard * s (`x.x.x`) to fetch the latest build version or a full build version (e.g., `2020.11.26/1`) to fetc * h an exact version. */ @core.attr(String) public arn!: string | core.StringOut; /** * Build version Amazon Resource Name (ARN) of the image. This will always have the `#.#.#/#` suffix. */ @core.attr(String, { computed: true }) public buildVersionArn!: string | core.StringOut; /** * Amazon Resource Name (ARN) of the container recipe. */ @core.attr(String, { computed: true }) public containerRecipeArn!: string | core.StringOut; /** * Date the image was created. */ @core.attr(String, { computed: true }) public dateCreated!: string | core.StringOut; /** * Amazon Resource Name (ARN) of the Image Builder Distribution Configuration. */ @core.attr(String, { computed: true }) public distributionConfigurationArn!: string | core.StringOut; /** * Whether additional information about the image being created is collected. */ @core.attr(Boolean, { computed: true }) public enhancedImageMetadataEnabled!: boolean | core.BooleanOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * Amazon Resource Name (ARN) of the image recipe. */ @core.attr(String, { computed: true }) public imageRecipeArn!: string | core.StringOut; /** * List of an object with image tests configuration. */ @core.attr(ImageTestsConfiguration, { computed: true, kind: "array" }) public imageTestsConfiguration!: | core.Array | core.ArrayOut; /** * Amazon Resource Name (ARN) of the Image Builder Infrastructure Configuration. */ @core.attr(String, { computed: true }) public infrastructureConfigurationArn!: string | core.StringOut; /** * Name of the image. */ @core.attr(String, { computed: true }) public name!: string | core.StringOut; /** * Operating System version of the image. */ @core.attr(String, { computed: true }) public osVersion!: string | core.StringOut; /** * List of objects with resources created by the image. */ @core.attr(OutputResources, { computed: true, kind: "array" }) public outputResources!: | core.Array | core.ArrayOut; /** * Platform of the image. */ @core.attr(String, { computed: true }) public platform!: string | core.StringOut; /** * Key-value map of resource tags for the image. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * Version of the image. */ @core.attr(String, { computed: true }) public version!: string | core.StringOut; constructor(name: string, args?: DsImageArgs) { super(name, "aws_imagebuilder_image", args); } public override getNamespace(): string { return "aws_imagebuilder"; } }