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 ScheduleArgs extends core.SchemaArgs { pipelineExecutionStartCondition: string | core.StringOut; scheduleExpression: string | core.StringOut; } export class Schedule extends core.Schema { @core.attr(String, { computed: true }) public pipelineExecutionStartCondition!: string | core.StringOut; @core.attr(String, { computed: true }) public scheduleExpression!: string | core.StringOut; } export interface DsImagePipelineArgs { /** * (Required) Amazon Resource Name (ARN) of the image pipeline. */ arn: string | core.StringOut; /** * Key-value map of resource tags for the image pipeline. */ tags?: core.Map | core.MapOut; } export class DsImagePipeline extends core.Data { /** * (Required) Amazon Resource Name (ARN) of the image pipeline. */ @core.attr(String) public arn!: string | core.StringOut; /** * Amazon Resource Name (ARN) of the container recipe. */ @core.attr(String, { computed: true }) public containerRecipeArn!: string | core.StringOut; /** * Date the image pipeline was created. */ @core.attr(String, { computed: true }) public dateCreated!: string | core.StringOut; /** * Date the image pipeline was last run. */ @core.attr(String, { computed: true }) public dateLastRun!: string | core.StringOut; /** * Date the image pipeline will run next. */ @core.attr(String, { computed: true }) public dateNextRun!: string | core.StringOut; /** * Date the image pipeline was updated. */ @core.attr(String, { computed: true }) public dateUpdated!: string | core.StringOut; /** * Description of the image pipeline. */ @core.attr(String, { computed: true }) public description!: 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 pipeline. */ @core.attr(String, { computed: true }) public name!: string | core.StringOut; /** * Platform of the image pipeline. */ @core.attr(String, { computed: true }) public platform!: string | core.StringOut; /** * List of an object with schedule settings. */ @core.attr(Schedule, { computed: true, kind: "array" }) public schedule!: core.Array | core.ArrayOut; /** * Status of the image pipeline. */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; /** * Key-value map of resource tags for the image pipeline. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; constructor(name: string, args?: DsImagePipelineArgs) { super(name, "aws_imagebuilder_image_pipeline", args); } public override getNamespace(): string { return "aws_imagebuilder"; } }