import * as core from "@terrascript/core"; export interface AllSettingsArgs extends core.SchemaArgs { name: string | core.StringOut; namespace: string | core.StringOut; resource?: string | core.StringOut; value: string | core.StringOut; } export class AllSettings extends core.Schema { @core.attr(String) public name!: string | core.StringOut; @core.attr(String) public namespace!: string | core.StringOut; @core.attr(String) public resource?: string | core.StringOut; @core.attr(String) public value!: string | core.StringOut; } export interface SettingArgs extends core.SchemaArgs { name: string | core.StringOut; namespace: string | core.StringOut; resource?: string | core.StringOut; value: string | core.StringOut; } export class Setting extends core.Schema { @core.attr(String) public name!: string | core.StringOut; @core.attr(String) public namespace!: string | core.StringOut; @core.attr(String) public resource?: string | core.StringOut; @core.attr(String) public value!: string | core.StringOut; } export interface EnvironmentArgs extends core.ResourceArgs { application: string | core.StringOut; /** * (Optional) Prefix to use for the fully qualified DNS name of */ cnamePrefix?: string | core.StringOut; /** * (Optional) Short description of the Environment */ description?: string | core.StringOut; /** * (Required) A unique name for this Environment. This name is used */ name: string | core.StringOut; platformArn?: string | core.StringOut; pollInterval?: string | core.StringOut; setting?: core.Array | core.ArrayOut; solutionStackName?: string | core.StringOut; /** * (Optional) A set of tags to apply to the Environment. 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-l * evel. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; templateName?: string | core.StringOut; /** * (Optional) Elastic Beanstalk Environment tier. Valid values are `Worker` */ tier?: string | core.StringOut; /** * (Optional) The name of the Elastic Beanstalk Application Version */ versionLabel?: string | core.StringOut; /** * (Default `20m`) The maximum */ waitForReadyTimeout?: string | core.StringOut; } export class Environment extends core.Resource { @core.attr(AllSettings, { computed: true, kind: "array" }) public allSettings!: core.Array | core.ArrayOut; @core.attr(String) public application!: string | core.StringOut; @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The autoscaling groups used by this Environment. */ @core.attr(String, { computed: true, kind: "array" }) public autoscalingGroups!: core.Array | core.ArrayOut; /** * Fully qualified DNS name for this Environment. */ @core.attr(String, { computed: true }) public cname!: string | core.StringOut; /** * (Optional) Prefix to use for the fully qualified DNS name of */ @core.attr(String, { computed: true }) public cnamePrefix?: string | core.StringOut; /** * (Optional) Short description of the Environment */ @core.attr(String) public description?: string | core.StringOut; /** * The URL to the Load Balancer for this Environment */ @core.attr(String, { computed: true }) public endpointUrl!: string | core.StringOut; /** * ID of the Elastic Beanstalk Environment. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * Instances used by this Environment. */ @core.attr(String, { computed: true, kind: "array" }) public instances!: core.Array | core.ArrayOut; /** * Launch configurations in use by this Environment. */ @core.attr(String, { computed: true, kind: "array" }) public launchConfigurations!: | core.Array | core.ArrayOut; /** * Elastic load balancers in use by this Environment. */ @core.attr(String, { computed: true, kind: "array" }) public loadBalancers!: core.Array | core.ArrayOut; /** * (Required) A unique name for this Environment. This name is used */ @core.attr(String) public name!: string | core.StringOut; @core.attr(String, { computed: true }) public platformArn?: string | core.StringOut; @core.attr(String) public pollInterval?: string | core.StringOut; /** * SQS queues in use by this Environment. */ @core.attr(String, { computed: true, kind: "array" }) public queues!: core.Array | core.ArrayOut; @core.attr(Setting, { kind: "array" }) public setting?: core.Array | core.ArrayOut; @core.attr(String, { computed: true }) public solutionStackName?: string | core.StringOut; /** * (Optional) A set of tags to apply to the Environment. 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-l * evel. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; @core.attr(String) public templateName?: string | core.StringOut; /** * (Optional) Elastic Beanstalk Environment tier. Valid values are `Worker` */ @core.attr(String) public tier?: string | core.StringOut; /** * Autoscaling triggers in use by this Environment. */ @core.attr(String, { computed: true, kind: "array" }) public triggers!: core.Array | core.ArrayOut; /** * (Optional) The name of the Elastic Beanstalk Application Version */ @core.attr(String, { computed: true }) public versionLabel?: string | core.StringOut; /** * (Default `20m`) The maximum */ @core.attr(String) public waitForReadyTimeout?: string | core.StringOut; constructor(name: string, args?: EnvironmentArgs) { super(name, "aws_elastic_beanstalk_environment", args); } public override getNamespace(): string { return "aws_elastic_beanstalk"; } }