import * as core from "@terrascript/core"; export interface DsComputeEnvironmentArgs { /** * (Required) The name of the Batch Compute Environment */ computeEnvironmentName: string | core.StringOut; /** * Key-value map of resource tags */ tags?: core.Map | core.MapOut; } export class DsComputeEnvironment extends core.Data { /** * The ARN of the compute environment. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Required) The name of the Batch Compute Environment */ @core.attr(String) public computeEnvironmentName!: string | core.StringOut; /** * The ARN of the underlying Amazon ECS cluster used by the compute environment. */ @core.attr(String, { computed: true }) public ecsClusterArn!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The ARN of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf. */ @core.attr(String, { computed: true }) public serviceRole!: string | core.StringOut; /** * The state of the compute environment (for example, `ENABLED` or `DISABLED`). If the state is `ENABLE * D`, then the compute environment accepts jobs from a queue and can scale out automatically based on * queues. */ @core.attr(String, { computed: true }) public state!: string | core.StringOut; /** * The current status of the compute environment (for example, `CREATING` or `VALID`). */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; /** * A short, human-readable string to provide additional details about the current status of the compute * environment. */ @core.attr(String, { computed: true }) public statusReason!: string | core.StringOut; /** * Key-value map of resource tags */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * The type of the compute environment (for example, `MANAGED` or `UNMANAGED`). */ @core.attr(String, { computed: true }) public type!: string | core.StringOut; constructor(name: string, args?: DsComputeEnvironmentArgs) { super(name, "aws_batch_compute_environment", args); } public override getNamespace(): string { return "aws_batch"; } }