import * as core from "@terrascript/core"; export interface ProxyConfigurationArgs extends core.SchemaArgs { containerName: string | core.StringOut; properties?: core.Map | core.MapOut; type?: string | core.StringOut; } export declare class ProxyConfiguration extends core.Schema { containerName: string | core.StringOut; properties?: core.Map | core.MapOut; type?: string | core.StringOut; } export interface EphemeralStorageArgs extends core.SchemaArgs { sizeInGib: number | core.NumberOut; } export declare class EphemeralStorage extends core.Schema { sizeInGib: number | core.NumberOut; } export interface RuntimePlatformArgs extends core.SchemaArgs { cpuArchitecture?: string | core.StringOut; operatingSystemFamily?: string | core.StringOut; } export declare class RuntimePlatform extends core.Schema { cpuArchitecture?: string | core.StringOut; operatingSystemFamily?: string | core.StringOut; } export interface InferenceAcceleratorArgs extends core.SchemaArgs { deviceName: string | core.StringOut; deviceType: string | core.StringOut; } export declare class InferenceAccelerator extends core.Schema { deviceName: string | core.StringOut; deviceType: string | core.StringOut; } export interface DockerVolumeConfigurationArgs extends core.SchemaArgs { autoprovision?: boolean | core.BooleanOut; driver?: string | core.StringOut; driverOpts?: core.Map | core.MapOut; labels?: core.Map | core.MapOut; scope?: string | core.StringOut; } export declare class DockerVolumeConfiguration extends core.Schema { autoprovision?: boolean | core.BooleanOut; driver?: string | core.StringOut; driverOpts?: core.Map | core.MapOut; labels?: core.Map | core.MapOut; scope?: string | core.StringOut; } export interface EfsVolumeConfigurationAuthorizationConfigArgs extends core.SchemaArgs { accessPointId?: string | core.StringOut; iam?: string | core.StringOut; } export declare class EfsVolumeConfigurationAuthorizationConfig extends core.Schema { accessPointId?: string | core.StringOut; iam?: string | core.StringOut; } export interface EfsVolumeConfigurationArgs extends core.SchemaArgs { authorizationConfig?: EfsVolumeConfigurationAuthorizationConfig; fileSystemId: string | core.StringOut; rootDirectory?: string | core.StringOut; transitEncryption?: string | core.StringOut; transitEncryptionPort?: number | core.NumberOut; } export declare class EfsVolumeConfiguration extends core.Schema { authorizationConfig?: EfsVolumeConfigurationAuthorizationConfig; fileSystemId: string | core.StringOut; rootDirectory?: string | core.StringOut; transitEncryption?: string | core.StringOut; transitEncryptionPort?: number | core.NumberOut; } export interface FsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgs extends core.SchemaArgs { credentialsParameter: string | core.StringOut; domain: string | core.StringOut; } export declare class FsxWindowsFileServerVolumeConfigurationAuthorizationConfig extends core.Schema { credentialsParameter: string | core.StringOut; domain: string | core.StringOut; } export interface FsxWindowsFileServerVolumeConfigurationArgs extends core.SchemaArgs { authorizationConfig: FsxWindowsFileServerVolumeConfigurationAuthorizationConfig; fileSystemId: string | core.StringOut; rootDirectory: string | core.StringOut; } export declare class FsxWindowsFileServerVolumeConfiguration extends core.Schema { authorizationConfig: FsxWindowsFileServerVolumeConfigurationAuthorizationConfig; fileSystemId: string | core.StringOut; rootDirectory: string | core.StringOut; } export interface VolumeArgs extends core.SchemaArgs { dockerVolumeConfiguration?: DockerVolumeConfiguration; efsVolumeConfiguration?: EfsVolumeConfiguration; fsxWindowsFileServerVolumeConfiguration?: FsxWindowsFileServerVolumeConfiguration; hostPath?: string | core.StringOut; name: string | core.StringOut; } export declare class Volume extends core.Schema { dockerVolumeConfiguration?: DockerVolumeConfiguration; efsVolumeConfiguration?: EfsVolumeConfiguration; fsxWindowsFileServerVolumeConfiguration?: FsxWindowsFileServerVolumeConfiguration; hostPath?: string | core.StringOut; name: string | core.StringOut; } export interface PlacementConstraintsArgs extends core.SchemaArgs { expression?: string | core.StringOut; type: string | core.StringOut; } export declare class PlacementConstraints extends core.Schema { expression?: string | core.StringOut; type: string | core.StringOut; } export interface TaskDefinitionArgs extends core.ResourceArgs { /** * (Required) A list of valid [container definitions](http://docs.aws.amazon.com/AmazonECS/latest/APIRe * ference/API_ContainerDefinition.html) provided as a single valid JSON document. Please note that you * should only provide values that are part of the container definition document. For a detailed descr * iption of what parameters are available, see the [Task Definition Parameters](https://docs.aws.amazo * n.com/AmazonECS/latest/developerguide/task_definition_parameters.html) section from the official [De * veloper Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide). */ containerDefinitions: string | core.StringOut; /** * (Optional) Number of cpu units used by the task. If the `requires_compatibilities` is `FARGATE` this * field is required. */ cpu?: string | core.StringOut; /** * (Optional) The amount of ephemeral storage to allocate for the task. This parameter is used to expa * nd the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on A * WS Fargate. See [Ephemeral Storage](#ephemeral_storage). */ ephemeralStorage?: EphemeralStorage; /** * (Optional) ARN of the task execution role that the Amazon ECS container agent and the Docker daemon * can assume. */ executionRoleArn?: string | core.StringOut; /** * (Required) A unique name for your task definition. */ family: string | core.StringOut; /** * (Optional) Configuration block(s) with Inference Accelerators settings. [Detailed below.](#inference * _accelerator) */ inferenceAccelerator?: core.Array | core.ArrayOut; /** * (Optional) IPC resource namespace to be used for the containers in the task The valid values are `ho * st`, `task`, and `none`. */ ipcMode?: string | core.StringOut; /** * (Optional) Amount (in MiB) of memory used by the task. If the `requires_compatibilities` is `FARGATE * this field is required. */ memory?: string | core.StringOut; /** * (Optional) Docker networking mode to use for the containers in the task. Valid values are `none`, `b * ridge`, `awsvpc`, and `host`. */ networkMode?: string | core.StringOut; /** * (Optional) Process namespace to use for the containers in the task. The valid values are `host` and * task`. */ pidMode?: string | core.StringOut; /** * (Optional) Configuration block for rules that are taken into consideration during task placement. Ma * ximum number of `placement_constraints` is `10`. [Detailed below](#placement_constraints). */ placementConstraints?: core.Array | core.ArrayOut; /** * (Optional) Configuration block for the App Mesh proxy. [Detailed below.](#proxy_configuration) */ proxyConfiguration?: ProxyConfiguration; /** * (Optional) Set of launch types required by the task. The valid values are `EC2` and `FARGATE`. */ requiresCompatibilities?: core.Array | core.ArrayOut; /** * (Optional) Configuration block for [runtime_platform](#runtime_platform) that containers in your tas * k may use. */ runtimePlatform?: RuntimePlatform; skipDestroy?: boolean | core.BooleanOut; /** * (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; /** * 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; /** * (Optional) ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS ser * vices. */ taskRoleArn?: string | core.StringOut; /** * (Optional) Configuration block for [volumes](#volume) that containers in your task may use. Detailed * below. */ volume?: core.Array | core.ArrayOut; } export declare class TaskDefinition extends core.Resource { /** * Full ARN of the Task Definition (including both `family` and `revision`). */ arn: string | core.StringOut; /** * (Required) A list of valid [container definitions](http://docs.aws.amazon.com/AmazonECS/latest/APIRe * ference/API_ContainerDefinition.html) provided as a single valid JSON document. Please note that you * should only provide values that are part of the container definition document. For a detailed descr * iption of what parameters are available, see the [Task Definition Parameters](https://docs.aws.amazo * n.com/AmazonECS/latest/developerguide/task_definition_parameters.html) section from the official [De * veloper Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide). */ containerDefinitions: string | core.StringOut; /** * (Optional) Number of cpu units used by the task. If the `requires_compatibilities` is `FARGATE` this * field is required. */ cpu?: string | core.StringOut; /** * (Optional) The amount of ephemeral storage to allocate for the task. This parameter is used to expa * nd the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on A * WS Fargate. See [Ephemeral Storage](#ephemeral_storage). */ ephemeralStorage?: EphemeralStorage; /** * (Optional) ARN of the task execution role that the Amazon ECS container agent and the Docker daemon * can assume. */ executionRoleArn?: string | core.StringOut; /** * (Required) A unique name for your task definition. */ family: string | core.StringOut; id: string | core.StringOut; /** * (Optional) Configuration block(s) with Inference Accelerators settings. [Detailed below.](#inference * _accelerator) */ inferenceAccelerator?: core.Array | core.ArrayOut; /** * (Optional) IPC resource namespace to be used for the containers in the task The valid values are `ho * st`, `task`, and `none`. */ ipcMode?: string | core.StringOut; /** * (Optional) Amount (in MiB) of memory used by the task. If the `requires_compatibilities` is `FARGATE * this field is required. */ memory?: string | core.StringOut; /** * (Optional) Docker networking mode to use for the containers in the task. Valid values are `none`, `b * ridge`, `awsvpc`, and `host`. */ networkMode?: string | core.StringOut; /** * (Optional) Process namespace to use for the containers in the task. The valid values are `host` and * task`. */ pidMode?: string | core.StringOut; /** * (Optional) Configuration block for rules that are taken into consideration during task placement. Ma * ximum number of `placement_constraints` is `10`. [Detailed below](#placement_constraints). */ placementConstraints?: core.Array | core.ArrayOut; /** * (Optional) Configuration block for the App Mesh proxy. [Detailed below.](#proxy_configuration) */ proxyConfiguration?: ProxyConfiguration; /** * (Optional) Set of launch types required by the task. The valid values are `EC2` and `FARGATE`. */ requiresCompatibilities?: core.Array | core.ArrayOut; /** * Revision of the task in a particular family. */ revision: number | core.NumberOut; /** * (Optional) Configuration block for [runtime_platform](#runtime_platform) that containers in your tas * k may use. */ runtimePlatform?: RuntimePlatform; skipDestroy?: boolean | core.BooleanOut; /** * (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; /** * 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; /** * (Optional) ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS ser * vices. */ taskRoleArn?: string | core.StringOut; /** * (Optional) Configuration block for [volumes](#volume) that containers in your task may use. Detailed * below. */ volume?: core.Array | core.ArrayOut; constructor(name: string, args?: TaskDefinitionArgs); getNamespace(): string; } //# sourceMappingURL=task_definition.d.ts.map