EcsTaskDefinitionSchema
Hierarchy
- BaseResourceSchema
- EcsTaskDefinitionSchema
Index
Properties
inheritedlocalResourceId
The ID the resource was created with, unique within its scope.
inheritedparents
The resources this one is built on top of.
properties
Input properties.
properties.architecture- The processor the task runs on. Every image it runs must be built for it.properties.awsAccountId- The AWS account ID.properties.awsRegionId- The AWS region ID.properties.cpu- The number of CPU units to reserve for the containers.properties.deploymentTag- The deployment tag, generally mapped to the deployment model deploymentTag property. E.g. deploymentTag = v0 might mean the tag in GitHub, or a specific branch, or commit.properties.environmentVariables- The list of environment variables to pass to the container. See EcsTaskDefinitionEnvironmentVariableSchema for options.properties.family- The family of the task definition, unique within its account and AWS region, generally mapped to the execution's executionId, so that two deployments of one server in one environment and subnet each get a family of their own.properties.images- The containers to run as part of the task definition. See EcsTaskDefinitionImageSchema for options.properties.memory- The amount of memory to reserve for the containers.
Type declaration
architecture: arm64 | x86_64
awsAccountId: string
awsRegionId: string
cpu: number
deploymentTag: string
environmentVariables: EcsTaskDefinitionEnvironmentVariableSchema[]
family: string
images: EcsTaskDefinitionImageSchema[]
memory: number
inheritedresourceId
The ID of the resource, unique across the infrastructure: its localResourceId, followed by a hash
of its scope when it has one.
response
Saved response.
response.revision- The current revision of the task definition.response.taskDefinitionArn- The ARN of the task definition.
Type declaration
optionalrevision?: string
optionaltaskDefinitionArn?: string
inheritedscope
The contexts of the models the resource is placed under, derived from where the node creating it sits in the model graph. Octo sets it; a resource created outside a model action has none.
inheritedtags
The tags applied to the resource.
Type declaration
[key string]: string
EcsTaskDefinitionSchemais the schema of theEcsTaskDefinitionresource: an ECS task definition: the containers a task runs, with their image, CPU, memory and ports. Terraform provisions it asaws_ecs_task_definition.Resources/EcsTaskDefinition
parents - This resource has parents.
resourceId - The resource id is of format
ecs-task-definition-<execution-id>