import * as core from "@terrascript/core"; export interface ApplicationVersionArgs extends core.ResourceArgs { /** * (Required) Name of the Beanstalk Application the version is associated with. */ application: string | core.StringOut; /** * (Required) S3 bucket that contains the Application Version source bundle. */ bucket: string | core.StringOut; /** * (Optional) Short description of the Application Version. */ description?: string | core.StringOut; /** * (Optional) On delete, force an Application Version to be deleted when it may be in use by multiple E * lastic Beanstalk Environments. */ forceDelete?: boolean | core.BooleanOut; /** * (Required) S3 object that is the Application Version source bundle. */ key: string | core.StringOut; /** * (Required) Unique name for the this Application Version. */ name: string | core.StringOut; /** * (Optional) Key-value map of tags for the Elastic Beanstalk Application Version. If configured with a * provider [`default_tags` configuration block](https://registry.terraform.io/providers/hashicorp/aws * /latest/docs#default_tags-configuration-block) present, tags with matching keys will overwrite those * defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * Map of tags assigned to the resource, including those inherited from the provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block). */ tagsAll?: core.Map | core.MapOut; } export class ApplicationVersion extends core.Resource { /** * (Required) Name of the Beanstalk Application the version is associated with. */ @core.attr(String) public application!: string | core.StringOut; /** * ARN assigned by AWS for this Elastic Beanstalk Application. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Required) S3 bucket that contains the Application Version source bundle. */ @core.attr(String) public bucket!: string | core.StringOut; /** * (Optional) Short description of the Application Version. */ @core.attr(String) public description?: string | core.StringOut; /** * (Optional) On delete, force an Application Version to be deleted when it may be in use by multiple E * lastic Beanstalk Environments. */ @core.attr(Boolean) public forceDelete?: boolean | core.BooleanOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) S3 object that is the Application Version source bundle. */ @core.attr(String) public key!: string | core.StringOut; /** * (Required) Unique name for the this Application Version. */ @core.attr(String) public name!: string | core.StringOut; /** * (Optional) Key-value map of tags for the Elastic Beanstalk Application Version. If configured with a * provider [`default_tags` configuration block](https://registry.terraform.io/providers/hashicorp/aws * /latest/docs#default_tags-configuration-block) present, tags with matching keys will overwrite those * defined at the provider-level. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * Map of tags assigned to the resource, including those inherited from the provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: ApplicationVersionArgs) { super(name, "aws_elastic_beanstalk_application_version", args); } public override getNamespace(): string { return "aws_elastic_beanstalk"; } }