import * as core from "@terrascript/core"; export interface EvaluateOnExitArgs extends core.SchemaArgs { action: string | core.StringOut; onExitCode?: string | core.StringOut; onReason?: string | core.StringOut; onStatusReason?: string | core.StringOut; } export declare class EvaluateOnExit extends core.Schema { action: string | core.StringOut; onExitCode?: string | core.StringOut; onReason?: string | core.StringOut; onStatusReason?: string | core.StringOut; } export interface RetryStrategyArgs extends core.SchemaArgs { attempts?: number | core.NumberOut; evaluateOnExit?: core.Array | core.ArrayOut; } export declare class RetryStrategy extends core.Schema { attempts?: number | core.NumberOut; evaluateOnExit?: core.Array | core.ArrayOut; } export interface TimeoutArgs extends core.SchemaArgs { attemptDurationSeconds?: number | core.NumberOut; } export declare class Timeout extends core.Schema { attemptDurationSeconds?: number | core.NumberOut; } export interface JobDefinitionArgs extends core.ResourceArgs { /** * (Optional) A valid [container properties](http://docs.aws.amazon.com/batch/latest/APIReference/API_R * egisterJobDefinition.html) */ containerProperties?: string | core.StringOut; /** * (Required) Specifies the name of the job definition. */ name: string | core.StringOut; /** * (Optional) Specifies the parameter substitution placeholders to set in the job definition. */ parameters?: core.Map | core.MapOut; /** * (Optional) The platform capabilities required by the job definition. If no value is specified, it de * faults to `EC2`. To run the job on Fargate resources, specify `FARGATE`. */ platformCapabilities?: core.Array | core.ArrayOut; /** * (Optional) Specifies whether to propagate the tags from the job definition to the corresponding Amaz * on ECS task. Default is `false`. */ propagateTags?: boolean | core.BooleanOut; /** * (Optional) Specifies the retry strategy to use for failed jobs that are submitted with this job defi * nition. */ retryStrategy?: RetryStrategy; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ 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; /** * (Optional) Specifies the timeout for jobs so that if a job runs longer, AWS Batch terminates the job * . Maximum number of `timeout` is `1`. Defined below. */ timeout?: Timeout; /** * (Required) The type of job definition. Must be `container`. */ type: string | core.StringOut; } export declare class JobDefinition extends core.Resource { /** * The Amazon Resource Name of the job definition. */ arn: string | core.StringOut; /** * (Optional) A valid [container properties](http://docs.aws.amazon.com/batch/latest/APIReference/API_R * egisterJobDefinition.html) */ containerProperties?: string | core.StringOut; id: string | core.StringOut; /** * (Required) Specifies the name of the job definition. */ name: string | core.StringOut; /** * (Optional) Specifies the parameter substitution placeholders to set in the job definition. */ parameters?: core.Map | core.MapOut; /** * (Optional) The platform capabilities required by the job definition. If no value is specified, it de * faults to `EC2`. To run the job on Fargate resources, specify `FARGATE`. */ platformCapabilities?: core.Array | core.ArrayOut; /** * (Optional) Specifies whether to propagate the tags from the job definition to the corresponding Amaz * on ECS task. Default is `false`. */ propagateTags?: boolean | core.BooleanOut; /** * (Optional) Specifies the retry strategy to use for failed jobs that are submitted with this job defi * nition. */ retryStrategy?: RetryStrategy; /** * The revision of the job definition. */ revision: number | core.NumberOut; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ 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; /** * (Optional) Specifies the timeout for jobs so that if a job runs longer, AWS Batch terminates the job * . Maximum number of `timeout` is `1`. Defined below. */ timeout?: Timeout; /** * (Required) The type of job definition. Must be `container`. */ type: string | core.StringOut; constructor(name: string, args?: JobDefinitionArgs); getNamespace(): string; } //# sourceMappingURL=job_definition.d.ts.map