import * as core from "@terrascript/core"; 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 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 InstanceConfigurationArgs extends core.SchemaArgs { blockDeviceMapping: | core.Array | core.ArrayOut; image: string | core.StringOut; } export class InstanceConfiguration extends core.Schema { @core.attr(BlockDeviceMapping, { computed: true, kind: "array" }) public blockDeviceMapping!: | core.Array | core.ArrayOut; @core.attr(String, { computed: true }) public image!: string | core.StringOut; } export interface TargetRepositoryArgs extends core.SchemaArgs { repositoryName: string | core.StringOut; service: string | core.StringOut; } export class TargetRepository extends core.Schema { @core.attr(String, { computed: true }) public repositoryName!: string | core.StringOut; @core.attr(String, { computed: true }) public service!: string | core.StringOut; } export interface DsContainerRecipeArgs { /** * (Required) Amazon Resource Name (ARN) of the container recipe. */ arn: string | core.StringOut; /** * Key-value map of resource tags for the container recipe. */ tags?: core.Map | core.MapOut; } export class DsContainerRecipe extends core.Data { /** * (Required) Amazon Resource Name (ARN) of the container recipe. */ @core.attr(String) public arn!: string | core.StringOut; /** * List of objects with components for the container recipe. */ @core.attr(Component, { computed: true, kind: "array" }) public component!: core.Array | core.ArrayOut; /** * Type of the container. */ @core.attr(String, { computed: true }) public containerType!: string | core.StringOut; /** * Date the container recipe was created. */ @core.attr(String, { computed: true }) public dateCreated!: string | core.StringOut; /** * Description of the container recipe. */ @core.attr(String, { computed: true }) public description!: string | core.StringOut; /** * Dockerfile template used to build the image. */ @core.attr(String, { computed: true }) public dockerfileTemplateData!: string | core.StringOut; /** * Flag that indicates if the target container is encrypted. */ @core.attr(Boolean, { computed: true }) public encrypted!: boolean | core.BooleanOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * List of objects with instance configurations for building and testing container images. */ @core.attr(InstanceConfiguration, { computed: true, kind: "array" }) public instanceConfiguration!: | core.Array | core.ArrayOut; /** * s_key_id` - Amazon Resource Name (ARN) of the Key Management Service (KMS) Key for encryption. */ @core.attr(String, { computed: true }) public kmsKeyId!: string | core.StringOut; /** * name` - Name of the component parameter. */ @core.attr(String, { computed: true }) public name!: string | core.StringOut; /** * Owner of the container recipe. */ @core.attr(String, { computed: true }) public owner!: string | core.StringOut; /** * Base image for the container recipe. */ @core.attr(String, { computed: true }) public parentImage!: string | core.StringOut; /** * Platform of the container recipe. */ @core.attr(String, { computed: true }) public platform!: string | core.StringOut; /** * Key-value map of resource tags for the container recipe. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * Destination repository for the container image. */ @core.attr(TargetRepository, { computed: true, kind: "array" }) public targetRepository!: | core.Array | core.ArrayOut; /** * Version of the container 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?: DsContainerRecipeArgs) { super(name, "aws_imagebuilder_container_recipe", args); } public override getNamespace(): string { return "aws_imagebuilder"; } }