import * as core from "@terrascript/core"; export interface EbsArgs extends core.SchemaArgs { deleteOnTermination: boolean | core.BooleanOut; encrypted: boolean | core.BooleanOut; iops: number | core.NumberOut; kmsKeyId: string | core.StringOut; snapshotId: string | core.StringOut; throughput: number | core.NumberOut; volumeSize: number | core.NumberOut; volumeType: string | core.StringOut; } export class Ebs extends core.Schema { @core.attr(Boolean, { computed: true }) public deleteOnTermination!: boolean | core.BooleanOut; @core.attr(Boolean, { computed: true }) public encrypted!: boolean | core.BooleanOut; @core.attr(Number, { computed: true }) public iops!: number | core.NumberOut; @core.attr(String, { computed: true }) public kmsKeyId!: string | core.StringOut; @core.attr(String, { computed: true }) public snapshotId!: string | core.StringOut; @core.attr(Number, { computed: true }) public throughput!: number | core.NumberOut; @core.attr(Number, { computed: true }) public volumeSize!: number | core.NumberOut; @core.attr(String, { computed: true }) public volumeType!: string | core.StringOut; } export interface BlockDeviceMappingArgs extends core.SchemaArgs { deviceName: string | core.StringOut; ebs: core.Array | core.ArrayOut; noDevice: string | core.StringOut; virtualName: string | core.StringOut; } export class BlockDeviceMapping extends core.Schema { @core.attr(String, { computed: true }) public deviceName!: string | core.StringOut; @core.attr(Ebs, { computed: true, kind: "array" }) public ebs!: core.Array | core.ArrayOut; @core.attr(String, { computed: true }) public noDevice!: string | core.StringOut; @core.attr(String, { computed: true }) public virtualName!: string | core.StringOut; } export interface ParameterArgs extends core.SchemaArgs { name: string | core.StringOut; value: string | core.StringOut; } export class Parameter extends core.Schema { @core.attr(String, { computed: true }) public name!: string | core.StringOut; @core.attr(String, { computed: true }) public value!: string | core.StringOut; } export interface ComponentArgs extends core.SchemaArgs { componentArn: string | core.StringOut; parameter: core.Array | core.ArrayOut; } export class Component extends core.Schema { @core.attr(String, { computed: true }) public componentArn!: string | core.StringOut; @core.attr(Parameter, { computed: true, kind: "array" }) public parameter!: core.Array | core.ArrayOut; } export interface DsImageRecipeArgs { /** * (Required) Amazon Resource Name (ARN) of the image recipe. */ arn: string | core.StringOut; /** * Key-value map of resource tags for the image recipe. */ tags?: core.Map | core.MapOut; } export class DsImageRecipe extends core.Data { /** * (Required) Amazon Resource Name (ARN) of the image recipe. */ @core.attr(String) public arn!: string | core.StringOut; /** * Set of objects with block device mappings for the image recipe. */ @core.attr(BlockDeviceMapping, { computed: true, kind: "array" }) public blockDeviceMapping!: | core.Array | core.ArrayOut; /** * List of objects with components for the image recipe. */ @core.attr(Component, { computed: true, kind: "array" }) public component!: core.Array | core.ArrayOut; /** * Date the image recipe was created. */ @core.attr(String, { computed: true }) public dateCreated!: string | core.StringOut; /** * Description of the image recipe. */ @core.attr(String, { computed: true }) public description!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * name` - Name of the component parameter. */ @core.attr(String, { computed: true }) public name!: string | core.StringOut; /** * Owner of the image recipe. */ @core.attr(String, { computed: true }) public owner!: string | core.StringOut; /** * Base image of the image recipe. */ @core.attr(String, { computed: true }) public parentImage!: string | core.StringOut; /** * Platform of the image recipe. */ @core.attr(String, { computed: true }) public platform!: string | core.StringOut; /** * Key-value map of resource tags for the image recipe. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * Base64 encoded contents of user data. Commands or a command script to run when build instance is lau * nched. */ @core.attr(String, { computed: true }) public userDataBase64!: string | core.StringOut; /** * Version of the image recipe. */ @core.attr(String, { computed: true }) public version!: string | core.StringOut; /** * The working directory used during build and test workflows. */ @core.attr(String, { computed: true }) public workingDirectory!: string | core.StringOut; constructor(name: string, args?: DsImageRecipeArgs) { super(name, "aws_imagebuilder_image_recipe", args); } public override getNamespace(): string { return "aws_imagebuilder"; } }