CfnTaskDefinition

class aws_cdk.aws_ecs.CfnTaskDefinition(scope, id, *, container_definitions=None, cpu=None, execution_role_arn=None, family=None, inference_accelerators=None, ipc_mode=None, memory=None, network_mode=None, pid_mode=None, placement_constraints=None, proxy_configuration=None, requires_compatibilities=None, tags=None, task_role_arn=None, volumes=None)

Bases: aws_cdk.core.CfnResource

A CloudFormation AWS::ECS::TaskDefinition.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html

CloudformationResource

AWS::ECS::TaskDefinition

Create a new AWS::ECS::TaskDefinition.

Parameters
  • scope (Construct) –

    • scope in which this resource is defined.

  • id (str) –

    • scoped id of the resource.

  • container_definitions (Union[IResolvable, List[Union[IResolvable, ContainerDefinitionProperty]], None]) – AWS::ECS::TaskDefinition.ContainerDefinitions.

  • cpu (Optional[str]) – AWS::ECS::TaskDefinition.Cpu.

  • execution_role_arn (Optional[str]) – AWS::ECS::TaskDefinition.ExecutionRoleArn.

  • family (Optional[str]) – AWS::ECS::TaskDefinition.Family.

  • inference_accelerators (Union[IResolvable, List[Union[IResolvable, InferenceAcceleratorProperty]], None]) – AWS::ECS::TaskDefinition.InferenceAccelerators.

  • ipc_mode (Optional[str]) – AWS::ECS::TaskDefinition.IpcMode.

  • memory (Optional[str]) – AWS::ECS::TaskDefinition.Memory.

  • network_mode (Optional[str]) – AWS::ECS::TaskDefinition.NetworkMode.

  • pid_mode (Optional[str]) – AWS::ECS::TaskDefinition.PidMode.

  • placement_constraints (Union[IResolvable, List[Union[IResolvable, TaskDefinitionPlacementConstraintProperty]], None]) – AWS::ECS::TaskDefinition.PlacementConstraints.

  • proxy_configuration (Union[IResolvable, ProxyConfigurationProperty, None]) – AWS::ECS::TaskDefinition.ProxyConfiguration.

  • requires_compatibilities (Optional[List[str]]) – AWS::ECS::TaskDefinition.RequiresCompatibilities.

  • tags (Optional[List[CfnTag]]) – AWS::ECS::TaskDefinition.Tags.

  • task_role_arn (Optional[str]) – AWS::ECS::TaskDefinition.TaskRoleArn.

  • volumes (Union[IResolvable, List[Union[IResolvable, VolumeProperty]], None]) – AWS::ECS::TaskDefinition.Volumes.

Methods

add_deletion_override(path)

Syntactic sugar for addOverride(path, undefined).

Parameters

path (str) – The path of the value to delete.

Return type

None

add_depends_on(target)

Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.

This can be used for resources across stacks (or nested stack) boundaries and the dependency will automatically be transferred to the relevant scope.

Parameters

target (CfnResource) –

Return type

None

add_metadata(key, value)

Add a value to the CloudFormation Resource Metadata.

Parameters
  • key (str) –

  • value (Any) –

See

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html

Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.

Return type

None

add_override(path, value)

Adds an override to the synthesized CloudFormation resource.

To add a property override, either use addPropertyOverride or prefix path with “Properties.” (i.e. Properties.TopicName).

If the override is nested, separate each nested level using a dot (.) in the path parameter. If there is an array as part of the nesting, specify the index in the path.

To include a literal . in the property name, prefix with a \. In most programming languages you will need to write this as "\\." because the \ itself will need to be escaped.

For example:

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
add_override("Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes", ["myattribute"])
add_override("Properties.GlobalSecondaryIndexes.1.ProjectionType", "INCLUDE")

would add the overrides Example:

"Properties": {
   "GlobalSecondaryIndexes": [
     {
       "Projection": {
         "NonKeyAttributes": [ "myattribute" ]
         ...
       }
       ...
     },
     {
       "ProjectionType": "INCLUDE"
       ...
     },
   ]
   ...
}
Parameters
  • path (str) –

    • The path of the property, you can use dot notation to override values in complex types. Any intermdediate keys will be created as needed.

  • value (Any) –

    • The value. Could be primitive or complex.

Return type

None

add_property_deletion_override(property_path)

Adds an override that deletes the value of a property from the resource definition.

Parameters

property_path (str) – The path to the property.

Return type

None

add_property_override(property_path, value)

Adds an override to a resource property.

Syntactic sugar for addOverride("Properties.<...>", value).

Parameters
  • property_path (str) – The path of the property.

  • value (Any) – The value.

Return type

None

apply_removal_policy(policy=None, *, apply_to_update_replace_policy=None, default=None)

Sets the deletion policy of the resource based on the removal policy specified.

Parameters
  • policy (Optional[RemovalPolicy]) –

  • apply_to_update_replace_policy (Optional[bool]) – Apply the same deletion policy to the resource’s “UpdateReplacePolicy”. Default: true

  • default (Optional[RemovalPolicy]) – The default policy to apply in case the removal policy is not defined. Default: - Default value is resource specific. To determine the default value for a resoure, please consult that specific resource’s documentation.

Return type

None

get_att(attribute_name)

Returns a token for an runtime attribute of this resource.

Ideally, use generated attribute accessors (e.g. resource.arn), but this can be used for future compatibility in case there is no generated attribute.

Parameters

attribute_name (str) – The name of the attribute.

Return type

Reference

get_metadata(key)

Retrieve a value value from the CloudFormation Resource Metadata.

Parameters

key (str) –

See

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html

Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.

Return type

Any

inspect(inspector)

(experimental) Examines the CloudFormation resource and discloses attributes.

Parameters

inspector (TreeInspector) –

  • tree inspector to collect and process attributes.

Stability

experimental

Return type

None

override_logical_id(new_logical_id)

Overrides the auto-generated logical ID with a specific ID.

Parameters

new_logical_id (str) – The new logical ID to use for this stack element.

Return type

None

to_string()

Returns a string representation of this construct.

Return type

str

Returns

a string representation of this resource

Attributes

CFN_RESOURCE_TYPE_NAME = 'AWS::ECS::TaskDefinition'
attr_task_definition_arn

TaskDefinitionArn

Type

cloudformationAttribute

Return type

str

cfn_options

Options for this resource, such as condition, update policy etc.

Return type

ICfnResourceOptions

cfn_resource_type

AWS resource type.

Return type

str

container_definitions

AWS::ECS::TaskDefinition.ContainerDefinitions.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-containerdefinitions

Return type

Union[IResolvable, List[Union[IResolvable, ContainerDefinitionProperty]], None]

cpu

AWS::ECS::TaskDefinition.Cpu.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-cpu

Return type

Optional[str]

creation_stack

return:

the stack trace of the point where this Resource was created from, sourced from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most node +internal+ entries filtered.

Return type

List[str]

execution_role_arn

AWS::ECS::TaskDefinition.ExecutionRoleArn.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-executionrolearn

Return type

Optional[str]

family

AWS::ECS::TaskDefinition.Family.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-family

Return type

Optional[str]

inference_accelerators

AWS::ECS::TaskDefinition.InferenceAccelerators.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-inferenceaccelerators

Return type

Union[IResolvable, List[Union[IResolvable, InferenceAcceleratorProperty]], None]

ipc_mode

AWS::ECS::TaskDefinition.IpcMode.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-ipcmode

Return type

Optional[str]

logical_id

The logical ID for this CloudFormation stack element.

The logical ID of the element is calculated from the path of the resource node in the construct tree.

To override this value, use overrideLogicalId(newLogicalId).

Return type

str

Returns

the logical ID as a stringified token. This value will only get resolved during synthesis.

memory

AWS::ECS::TaskDefinition.Memory.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-memory

Return type

Optional[str]

network_mode

AWS::ECS::TaskDefinition.NetworkMode.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-networkmode

Return type

Optional[str]

node

The construct tree node associated with this construct.

Return type

ConstructNode

pid_mode

AWS::ECS::TaskDefinition.PidMode.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-pidmode

Return type

Optional[str]

placement_constraints

AWS::ECS::TaskDefinition.PlacementConstraints.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-placementconstraints

Return type

Union[IResolvable, List[Union[IResolvable, TaskDefinitionPlacementConstraintProperty]], None]

proxy_configuration

AWS::ECS::TaskDefinition.ProxyConfiguration.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-proxyconfiguration

Return type

Union[IResolvable, ProxyConfigurationProperty, None]

ref

Return a string that will be resolved to a CloudFormation { Ref } for this element.

If, by any chance, the intrinsic reference of a resource is not a string, you could coerce it to an IResolvable through Lazy.any({ produce: resource.ref }).

Return type

str

requires_compatibilities

AWS::ECS::TaskDefinition.RequiresCompatibilities.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-requirescompatibilities

Return type

Optional[List[str]]

stack

The stack in which this element is defined.

CfnElements must be defined within a stack scope (directly or indirectly).

Return type

Stack

tags

AWS::ECS::TaskDefinition.Tags.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-tags

Return type

TagManager

task_role_arn

AWS::ECS::TaskDefinition.TaskRoleArn.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-taskrolearn

Return type

Optional[str]

volumes

AWS::ECS::TaskDefinition.Volumes.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-volumes

Return type

Union[IResolvable, List[Union[IResolvable, VolumeProperty]], None]

Static Methods

classmethod is_cfn_element(x)

Returns true if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of instanceof to allow stack elements from different versions of this library to be included in the same stack.

Parameters

x (Any) –

Return type

bool

Returns

The construct as a stack element or undefined if it is not a stack element.

classmethod is_cfn_resource(construct)

Check whether the given construct is a CfnResource.

Parameters

construct (IConstruct) –

Return type

bool

classmethod is_construct(x)

Return whether the given object is a Construct.

Parameters

x (Any) –

Return type

bool

AuthorizationConfigProperty

class CfnTaskDefinition.AuthorizationConfigProperty(*, access_point_id=None, iam=None)

Bases: object

Parameters
  • access_point_id (Optional[str]) – CfnTaskDefinition.AuthorizationConfigProperty.AccessPointId.

  • iam (Optional[str]) – CfnTaskDefinition.AuthorizationConfigProperty.IAM.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-authorizationconfig.html

Attributes

access_point_id

CfnTaskDefinition.AuthorizationConfigProperty.AccessPointId.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-authorizationconfig.html#cfn-ecs-taskdefinition-authorizationconfig-accesspointid

Return type

Optional[str]

iam

CfnTaskDefinition.AuthorizationConfigProperty.IAM.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-authorizationconfig.html#cfn-ecs-taskdefinition-authorizationconfig-iam

Return type

Optional[str]

ContainerDefinitionProperty

class CfnTaskDefinition.ContainerDefinitionProperty(*, command=None, cpu=None, depends_on=None, disable_networking=None, dns_search_domains=None, dns_servers=None, docker_labels=None, docker_security_options=None, entry_point=None, environment=None, environment_files=None, essential=None, extra_hosts=None, firelens_configuration=None, health_check=None, hostname=None, image=None, interactive=None, links=None, linux_parameters=None, log_configuration=None, memory=None, memory_reservation=None, mount_points=None, name=None, port_mappings=None, privileged=None, pseudo_terminal=None, readonly_root_filesystem=None, repository_credentials=None, resource_requirements=None, secrets=None, start_timeout=None, stop_timeout=None, system_controls=None, ulimits=None, user=None, volumes_from=None, working_directory=None)

Bases: object

Parameters
  • command (Optional[List[str]]) – CfnTaskDefinition.ContainerDefinitionProperty.Command.

  • cpu (Union[int, float, None]) – CfnTaskDefinition.ContainerDefinitionProperty.Cpu.

  • depends_on (Union[IResolvable, List[Union[IResolvable, ContainerDependencyProperty]], None]) – CfnTaskDefinition.ContainerDefinitionProperty.DependsOn.

  • disable_networking (Union[bool, IResolvable, None]) – CfnTaskDefinition.ContainerDefinitionProperty.DisableNetworking.

  • dns_search_domains (Optional[List[str]]) – CfnTaskDefinition.ContainerDefinitionProperty.DnsSearchDomains.

  • dns_servers (Optional[List[str]]) – CfnTaskDefinition.ContainerDefinitionProperty.DnsServers.

  • docker_labels (Union[IResolvable, Mapping[str, str], None]) – CfnTaskDefinition.ContainerDefinitionProperty.DockerLabels.

  • docker_security_options (Optional[List[str]]) – CfnTaskDefinition.ContainerDefinitionProperty.DockerSecurityOptions.

  • entry_point (Optional[List[str]]) – CfnTaskDefinition.ContainerDefinitionProperty.EntryPoint.

  • environment (Union[IResolvable, List[Union[IResolvable, KeyValuePairProperty]], None]) – CfnTaskDefinition.ContainerDefinitionProperty.Environment.

  • environment_files (Union[IResolvable, List[Union[IResolvable, EnvironmentFileProperty]], None]) – CfnTaskDefinition.ContainerDefinitionProperty.EnvironmentFiles.

  • essential (Union[bool, IResolvable, None]) – CfnTaskDefinition.ContainerDefinitionProperty.Essential.

  • extra_hosts (Union[IResolvable, List[Union[IResolvable, HostEntryProperty]], None]) – CfnTaskDefinition.ContainerDefinitionProperty.ExtraHosts.

  • firelens_configuration (Union[IResolvable, FirelensConfigurationProperty, None]) – CfnTaskDefinition.ContainerDefinitionProperty.FirelensConfiguration.

  • health_check (Union[IResolvable, HealthCheckProperty, None]) – CfnTaskDefinition.ContainerDefinitionProperty.HealthCheck.

  • hostname (Optional[str]) – CfnTaskDefinition.ContainerDefinitionProperty.Hostname.

  • image (Optional[str]) – CfnTaskDefinition.ContainerDefinitionProperty.Image.

  • interactive (Union[bool, IResolvable, None]) – CfnTaskDefinition.ContainerDefinitionProperty.Interactive.

  • links (Optional[List[str]]) – CfnTaskDefinition.ContainerDefinitionProperty.Links.

  • linux_parameters (Union[IResolvable, LinuxParametersProperty, None]) – CfnTaskDefinition.ContainerDefinitionProperty.LinuxParameters.

  • log_configuration (Union[IResolvable, LogConfigurationProperty, None]) – CfnTaskDefinition.ContainerDefinitionProperty.LogConfiguration.

  • memory (Union[int, float, None]) – CfnTaskDefinition.ContainerDefinitionProperty.Memory.

  • memory_reservation (Union[int, float, None]) – CfnTaskDefinition.ContainerDefinitionProperty.MemoryReservation.

  • mount_points (Union[IResolvable, List[Union[IResolvable, MountPointProperty]], None]) – CfnTaskDefinition.ContainerDefinitionProperty.MountPoints.

  • name (Optional[str]) – CfnTaskDefinition.ContainerDefinitionProperty.Name.

  • port_mappings (Union[IResolvable, List[Union[IResolvable, PortMappingProperty]], None]) – CfnTaskDefinition.ContainerDefinitionProperty.PortMappings.

  • privileged (Union[bool, IResolvable, None]) – CfnTaskDefinition.ContainerDefinitionProperty.Privileged.

  • pseudo_terminal (Union[bool, IResolvable, None]) – CfnTaskDefinition.ContainerDefinitionProperty.PseudoTerminal.

  • readonly_root_filesystem (Union[bool, IResolvable, None]) – CfnTaskDefinition.ContainerDefinitionProperty.ReadonlyRootFilesystem.

  • repository_credentials (Union[IResolvable, RepositoryCredentialsProperty, None]) – CfnTaskDefinition.ContainerDefinitionProperty.RepositoryCredentials.

  • resource_requirements (Union[IResolvable, List[Union[IResolvable, ResourceRequirementProperty]], None]) – CfnTaskDefinition.ContainerDefinitionProperty.ResourceRequirements.

  • secrets (Union[IResolvable, List[Union[IResolvable, SecretProperty]], None]) – CfnTaskDefinition.ContainerDefinitionProperty.Secrets.

  • start_timeout (Union[int, float, None]) – CfnTaskDefinition.ContainerDefinitionProperty.StartTimeout.

  • stop_timeout (Union[int, float, None]) – CfnTaskDefinition.ContainerDefinitionProperty.StopTimeout.

  • system_controls (Union[IResolvable, List[Union[IResolvable, SystemControlProperty]], None]) – CfnTaskDefinition.ContainerDefinitionProperty.SystemControls.

  • ulimits (Union[IResolvable, List[Union[IResolvable, UlimitProperty]], None]) – CfnTaskDefinition.ContainerDefinitionProperty.Ulimits.

  • user (Optional[str]) – CfnTaskDefinition.ContainerDefinitionProperty.User.

  • volumes_from (Union[IResolvable, List[Union[IResolvable, VolumeFromProperty]], None]) – CfnTaskDefinition.ContainerDefinitionProperty.VolumesFrom.

  • working_directory (Optional[str]) – CfnTaskDefinition.ContainerDefinitionProperty.WorkingDirectory.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html

Attributes

command

CfnTaskDefinition.ContainerDefinitionProperty.Command.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-command

Return type

Optional[List[str]]

cpu

CfnTaskDefinition.ContainerDefinitionProperty.Cpu.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-cpu

Return type

Union[int, float, None]

depends_on

CfnTaskDefinition.ContainerDefinitionProperty.DependsOn.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-dependson

Return type

Union[IResolvable, List[Union[IResolvable, ContainerDependencyProperty]], None]

disable_networking

CfnTaskDefinition.ContainerDefinitionProperty.DisableNetworking.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-disablenetworking

Return type

Union[bool, IResolvable, None]

dns_search_domains

CfnTaskDefinition.ContainerDefinitionProperty.DnsSearchDomains.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-dnssearchdomains

Return type

Optional[List[str]]

dns_servers

CfnTaskDefinition.ContainerDefinitionProperty.DnsServers.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-dnsservers

Return type

Optional[List[str]]

docker_labels

CfnTaskDefinition.ContainerDefinitionProperty.DockerLabels.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-dockerlabels

Return type

Union[IResolvable, Mapping[str, str], None]

docker_security_options

CfnTaskDefinition.ContainerDefinitionProperty.DockerSecurityOptions.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-dockersecurityoptions

Return type

Optional[List[str]]

entry_point

CfnTaskDefinition.ContainerDefinitionProperty.EntryPoint.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-entrypoint

Return type

Optional[List[str]]

environment

CfnTaskDefinition.ContainerDefinitionProperty.Environment.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-environment

Return type

Union[IResolvable, List[Union[IResolvable, KeyValuePairProperty]], None]

environment_files

CfnTaskDefinition.ContainerDefinitionProperty.EnvironmentFiles.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-environmentfiles

Return type

Union[IResolvable, List[Union[IResolvable, EnvironmentFileProperty]], None]

essential

CfnTaskDefinition.ContainerDefinitionProperty.Essential.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-essential

Return type

Union[bool, IResolvable, None]

extra_hosts

CfnTaskDefinition.ContainerDefinitionProperty.ExtraHosts.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-extrahosts

Return type

Union[IResolvable, List[Union[IResolvable, HostEntryProperty]], None]

firelens_configuration

CfnTaskDefinition.ContainerDefinitionProperty.FirelensConfiguration.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-firelensconfiguration

Return type

Union[IResolvable, FirelensConfigurationProperty, None]

health_check

CfnTaskDefinition.ContainerDefinitionProperty.HealthCheck.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-healthcheck

Return type

Union[IResolvable, HealthCheckProperty, None]

hostname

CfnTaskDefinition.ContainerDefinitionProperty.Hostname.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-hostname

Return type

Optional[str]

image

CfnTaskDefinition.ContainerDefinitionProperty.Image.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-image

Return type

Optional[str]

interactive

CfnTaskDefinition.ContainerDefinitionProperty.Interactive.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-interactive

Return type

Union[bool, IResolvable, None]

CfnTaskDefinition.ContainerDefinitionProperty.Links.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-links

Return type

Optional[List[str]]

linux_parameters

CfnTaskDefinition.ContainerDefinitionProperty.LinuxParameters.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-linuxparameters

Return type

Union[IResolvable, LinuxParametersProperty, None]

log_configuration

CfnTaskDefinition.ContainerDefinitionProperty.LogConfiguration.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-logconfiguration

Return type

Union[IResolvable, LogConfigurationProperty, None]

memory

CfnTaskDefinition.ContainerDefinitionProperty.Memory.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-memory

Return type

Union[int, float, None]

memory_reservation

CfnTaskDefinition.ContainerDefinitionProperty.MemoryReservation.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-memoryreservation

Return type

Union[int, float, None]

mount_points

CfnTaskDefinition.ContainerDefinitionProperty.MountPoints.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-mountpoints

Return type

Union[IResolvable, List[Union[IResolvable, MountPointProperty]], None]

name

CfnTaskDefinition.ContainerDefinitionProperty.Name.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-name

Return type

Optional[str]

port_mappings

CfnTaskDefinition.ContainerDefinitionProperty.PortMappings.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-portmappings

Return type

Union[IResolvable, List[Union[IResolvable, PortMappingProperty]], None]

privileged

CfnTaskDefinition.ContainerDefinitionProperty.Privileged.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-privileged

Return type

Union[bool, IResolvable, None]

pseudo_terminal

CfnTaskDefinition.ContainerDefinitionProperty.PseudoTerminal.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-pseudoterminal

Return type

Union[bool, IResolvable, None]

readonly_root_filesystem

CfnTaskDefinition.ContainerDefinitionProperty.ReadonlyRootFilesystem.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-readonlyrootfilesystem

Return type

Union[bool, IResolvable, None]

repository_credentials

CfnTaskDefinition.ContainerDefinitionProperty.RepositoryCredentials.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-repositorycredentials

Return type

Union[IResolvable, RepositoryCredentialsProperty, None]

resource_requirements

CfnTaskDefinition.ContainerDefinitionProperty.ResourceRequirements.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-resourcerequirements

Return type

Union[IResolvable, List[Union[IResolvable, ResourceRequirementProperty]], None]

secrets

CfnTaskDefinition.ContainerDefinitionProperty.Secrets.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-secrets

Return type

Union[IResolvable, List[Union[IResolvable, SecretProperty]], None]

start_timeout

CfnTaskDefinition.ContainerDefinitionProperty.StartTimeout.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-starttimeout

Return type

Union[int, float, None]

stop_timeout

CfnTaskDefinition.ContainerDefinitionProperty.StopTimeout.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-stoptimeout

Return type

Union[int, float, None]

system_controls

CfnTaskDefinition.ContainerDefinitionProperty.SystemControls.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-systemcontrols

Return type

Union[IResolvable, List[Union[IResolvable, SystemControlProperty]], None]

ulimits

CfnTaskDefinition.ContainerDefinitionProperty.Ulimits.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-ulimits

Return type

Union[IResolvable, List[Union[IResolvable, UlimitProperty]], None]

user

CfnTaskDefinition.ContainerDefinitionProperty.User.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-user

Return type

Optional[str]

volumes_from

CfnTaskDefinition.ContainerDefinitionProperty.VolumesFrom.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-volumesfrom

Return type

Union[IResolvable, List[Union[IResolvable, VolumeFromProperty]], None]

working_directory

CfnTaskDefinition.ContainerDefinitionProperty.WorkingDirectory.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-workingdirectory

Return type

Optional[str]

ContainerDependencyProperty

class CfnTaskDefinition.ContainerDependencyProperty(*, condition=None, container_name=None)

Bases: object

Parameters
  • condition (Optional[str]) – CfnTaskDefinition.ContainerDependencyProperty.Condition.

  • container_name (Optional[str]) – CfnTaskDefinition.ContainerDependencyProperty.ContainerName.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdependency.html

Attributes

condition

CfnTaskDefinition.ContainerDependencyProperty.Condition.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdependency.html#cfn-ecs-taskdefinition-containerdependency-condition

Return type

Optional[str]

container_name

CfnTaskDefinition.ContainerDependencyProperty.ContainerName.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdependency.html#cfn-ecs-taskdefinition-containerdependency-containername

Return type

Optional[str]

DeviceProperty

class CfnTaskDefinition.DeviceProperty(*, container_path=None, host_path=None, permissions=None)

Bases: object

Parameters
  • container_path (Optional[str]) – CfnTaskDefinition.DeviceProperty.ContainerPath.

  • host_path (Optional[str]) – CfnTaskDefinition.DeviceProperty.HostPath.

  • permissions (Optional[List[str]]) – CfnTaskDefinition.DeviceProperty.Permissions.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-device.html

Attributes

container_path

CfnTaskDefinition.DeviceProperty.ContainerPath.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-device.html#cfn-ecs-taskdefinition-device-containerpath

Return type

Optional[str]

host_path

CfnTaskDefinition.DeviceProperty.HostPath.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-device.html#cfn-ecs-taskdefinition-device-hostpath

Return type

Optional[str]

permissions

CfnTaskDefinition.DeviceProperty.Permissions.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-device.html#cfn-ecs-taskdefinition-device-permissions

Return type

Optional[List[str]]

DockerVolumeConfigurationProperty

class CfnTaskDefinition.DockerVolumeConfigurationProperty(*, autoprovision=None, driver=None, driver_opts=None, labels=None, scope=None)

Bases: object

Parameters
  • autoprovision (Union[bool, IResolvable, None]) – CfnTaskDefinition.DockerVolumeConfigurationProperty.Autoprovision.

  • driver (Optional[str]) – CfnTaskDefinition.DockerVolumeConfigurationProperty.Driver.

  • driver_opts (Union[IResolvable, Mapping[str, str], None]) – CfnTaskDefinition.DockerVolumeConfigurationProperty.DriverOpts.

  • labels (Union[IResolvable, Mapping[str, str], None]) – CfnTaskDefinition.DockerVolumeConfigurationProperty.Labels.

  • scope (Optional[str]) – CfnTaskDefinition.DockerVolumeConfigurationProperty.Scope.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-dockervolumeconfiguration.html

Attributes

autoprovision

CfnTaskDefinition.DockerVolumeConfigurationProperty.Autoprovision.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-dockervolumeconfiguration.html#cfn-ecs-taskdefinition-dockervolumeconfiguration-autoprovision

Return type

Union[bool, IResolvable, None]

driver

CfnTaskDefinition.DockerVolumeConfigurationProperty.Driver.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-dockervolumeconfiguration.html#cfn-ecs-taskdefinition-dockervolumeconfiguration-driver

Return type

Optional[str]

driver_opts

CfnTaskDefinition.DockerVolumeConfigurationProperty.DriverOpts.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-dockervolumeconfiguration.html#cfn-ecs-taskdefinition-dockervolumeconfiguration-driveropts

Return type

Union[IResolvable, Mapping[str, str], None]

labels

CfnTaskDefinition.DockerVolumeConfigurationProperty.Labels.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-dockervolumeconfiguration.html#cfn-ecs-taskdefinition-dockervolumeconfiguration-labels

Return type

Union[IResolvable, Mapping[str, str], None]

scope

CfnTaskDefinition.DockerVolumeConfigurationProperty.Scope.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-dockervolumeconfiguration.html#cfn-ecs-taskdefinition-dockervolumeconfiguration-scope

Return type

Optional[str]

EfsVolumeConfigurationProperty

class CfnTaskDefinition.EfsVolumeConfigurationProperty(*, file_system_id, authorization_config=None, root_directory=None, transit_encryption=None, transit_encryption_port=None)

Bases: object

Parameters
  • file_system_id (str) – CfnTaskDefinition.EfsVolumeConfigurationProperty.FileSystemId.

  • authorization_config (Union[IResolvable, AuthorizationConfigProperty, None]) – CfnTaskDefinition.EfsVolumeConfigurationProperty.AuthorizationConfig.

  • root_directory (Optional[str]) – CfnTaskDefinition.EfsVolumeConfigurationProperty.RootDirectory.

  • transit_encryption (Optional[str]) – CfnTaskDefinition.EfsVolumeConfigurationProperty.TransitEncryption.

  • transit_encryption_port (Union[int, float, None]) – CfnTaskDefinition.EfsVolumeConfigurationProperty.TransitEncryptionPort.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-efsvolumeconfiguration.html

Attributes

authorization_config

CfnTaskDefinition.EfsVolumeConfigurationProperty.AuthorizationConfig.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-efsvolumeconfiguration.html#cfn-ecs-taskdefinition-efsvolumeconfiguration-authorizationconfig

Return type

Union[IResolvable, AuthorizationConfigProperty, None]

file_system_id

CfnTaskDefinition.EfsVolumeConfigurationProperty.FileSystemId.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-efsvolumeconfiguration.html#cfn-ecs-taskdefinition-efsvolumeconfiguration-filesystemid

Return type

str

root_directory

CfnTaskDefinition.EfsVolumeConfigurationProperty.RootDirectory.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-efsvolumeconfiguration.html#cfn-ecs-taskdefinition-efsvolumeconfiguration-rootdirectory

Return type

Optional[str]

transit_encryption

CfnTaskDefinition.EfsVolumeConfigurationProperty.TransitEncryption.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-efsvolumeconfiguration.html#cfn-ecs-taskdefinition-efsvolumeconfiguration-transitencryption

Return type

Optional[str]

transit_encryption_port

CfnTaskDefinition.EfsVolumeConfigurationProperty.TransitEncryptionPort.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-efsvolumeconfiguration.html#cfn-ecs-taskdefinition-efsvolumeconfiguration-transitencryptionport

Return type

Union[int, float, None]

EnvironmentFileProperty

class CfnTaskDefinition.EnvironmentFileProperty(*, type=None, value=None)

Bases: object

Parameters
  • type (Optional[str]) – CfnTaskDefinition.EnvironmentFileProperty.Type.

  • value (Optional[str]) – CfnTaskDefinition.EnvironmentFileProperty.Value.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-environmentfile.html

Attributes

type

CfnTaskDefinition.EnvironmentFileProperty.Type.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-environmentfile.html#cfn-ecs-taskdefinition-environmentfile-type

Return type

Optional[str]

value

CfnTaskDefinition.EnvironmentFileProperty.Value.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-environmentfile.html#cfn-ecs-taskdefinition-environmentfile-value

Return type

Optional[str]

FirelensConfigurationProperty

class CfnTaskDefinition.FirelensConfigurationProperty(*, options=None, type=None)

Bases: object

Parameters
  • options (Union[IResolvable, Mapping[str, str], None]) – CfnTaskDefinition.FirelensConfigurationProperty.Options.

  • type (Optional[str]) – CfnTaskDefinition.FirelensConfigurationProperty.Type.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-firelensconfiguration.html

Attributes

options

CfnTaskDefinition.FirelensConfigurationProperty.Options.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-firelensconfiguration.html#cfn-ecs-taskdefinition-firelensconfiguration-options

Return type

Union[IResolvable, Mapping[str, str], None]

type

CfnTaskDefinition.FirelensConfigurationProperty.Type.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-firelensconfiguration.html#cfn-ecs-taskdefinition-firelensconfiguration-type

Return type

Optional[str]

HealthCheckProperty

class CfnTaskDefinition.HealthCheckProperty(*, command=None, interval=None, retries=None, start_period=None, timeout=None)

Bases: object

Parameters
  • command (Optional[List[str]]) – CfnTaskDefinition.HealthCheckProperty.Command.

  • interval (Union[int, float, None]) – CfnTaskDefinition.HealthCheckProperty.Interval.

  • retries (Union[int, float, None]) – CfnTaskDefinition.HealthCheckProperty.Retries.

  • start_period (Union[int, float, None]) – CfnTaskDefinition.HealthCheckProperty.StartPeriod.

  • timeout (Union[int, float, None]) – CfnTaskDefinition.HealthCheckProperty.Timeout.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-healthcheck.html

Attributes

command

CfnTaskDefinition.HealthCheckProperty.Command.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-healthcheck.html#cfn-ecs-taskdefinition-healthcheck-command

Return type

Optional[List[str]]

interval

CfnTaskDefinition.HealthCheckProperty.Interval.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-healthcheck.html#cfn-ecs-taskdefinition-healthcheck-interval

Return type

Union[int, float, None]

retries

CfnTaskDefinition.HealthCheckProperty.Retries.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-healthcheck.html#cfn-ecs-taskdefinition-healthcheck-retries

Return type

Union[int, float, None]

start_period

CfnTaskDefinition.HealthCheckProperty.StartPeriod.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-healthcheck.html#cfn-ecs-taskdefinition-healthcheck-startperiod

Return type

Union[int, float, None]

timeout

CfnTaskDefinition.HealthCheckProperty.Timeout.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-healthcheck.html#cfn-ecs-taskdefinition-healthcheck-timeout

Return type

Union[int, float, None]

HostEntryProperty

class CfnTaskDefinition.HostEntryProperty(*, hostname=None, ip_address=None)

Bases: object

Parameters
  • hostname (Optional[str]) – CfnTaskDefinition.HostEntryProperty.Hostname.

  • ip_address (Optional[str]) – CfnTaskDefinition.HostEntryProperty.IpAddress.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-hostentry.html

Attributes

hostname

CfnTaskDefinition.HostEntryProperty.Hostname.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-hostentry.html#cfn-ecs-taskdefinition-containerdefinition-hostentry-hostname

Return type

Optional[str]

ip_address

CfnTaskDefinition.HostEntryProperty.IpAddress.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-hostentry.html#cfn-ecs-taskdefinition-containerdefinition-hostentry-ipaddress

Return type

Optional[str]

HostVolumePropertiesProperty

class CfnTaskDefinition.HostVolumePropertiesProperty(*, source_path=None)

Bases: object

Parameters

source_path (Optional[str]) – CfnTaskDefinition.HostVolumePropertiesProperty.SourcePath.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-volumes-host.html

Attributes

source_path

CfnTaskDefinition.HostVolumePropertiesProperty.SourcePath.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-volumes-host.html#cfn-ecs-taskdefinition-volumes-host-sourcepath

Return type

Optional[str]

InferenceAcceleratorProperty

class CfnTaskDefinition.InferenceAcceleratorProperty(*, device_name=None, device_type=None)

Bases: object

Parameters
  • device_name (Optional[str]) – CfnTaskDefinition.InferenceAcceleratorProperty.DeviceName.

  • device_type (Optional[str]) – CfnTaskDefinition.InferenceAcceleratorProperty.DeviceType.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-inferenceaccelerator.html

Attributes

device_name

CfnTaskDefinition.InferenceAcceleratorProperty.DeviceName.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-inferenceaccelerator.html#cfn-ecs-taskdefinition-inferenceaccelerator-devicename

Return type

Optional[str]

device_type

CfnTaskDefinition.InferenceAcceleratorProperty.DeviceType.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-inferenceaccelerator.html#cfn-ecs-taskdefinition-inferenceaccelerator-devicetype

Return type

Optional[str]

KernelCapabilitiesProperty

class CfnTaskDefinition.KernelCapabilitiesProperty(*, add=None, drop=None)

Bases: object

Parameters
  • add (Optional[List[str]]) – CfnTaskDefinition.KernelCapabilitiesProperty.Add.

  • drop (Optional[List[str]]) – CfnTaskDefinition.KernelCapabilitiesProperty.Drop.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-kernelcapabilities.html

Attributes

add

CfnTaskDefinition.KernelCapabilitiesProperty.Add.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-kernelcapabilities.html#cfn-ecs-taskdefinition-kernelcapabilities-add

Return type

Optional[List[str]]

drop

CfnTaskDefinition.KernelCapabilitiesProperty.Drop.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-kernelcapabilities.html#cfn-ecs-taskdefinition-kernelcapabilities-drop

Return type

Optional[List[str]]

KeyValuePairProperty

class CfnTaskDefinition.KeyValuePairProperty(*, name=None, value=None)

Bases: object

Parameters
  • name (Optional[str]) – CfnTaskDefinition.KeyValuePairProperty.Name.

  • value (Optional[str]) – CfnTaskDefinition.KeyValuePairProperty.Value.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-environment.html

Attributes

name

CfnTaskDefinition.KeyValuePairProperty.Name.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-environment.html#cfn-ecs-taskdefinition-containerdefinition-environment-name

Return type

Optional[str]

value

CfnTaskDefinition.KeyValuePairProperty.Value.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-environment.html#cfn-ecs-taskdefinition-containerdefinition-environment-value

Return type

Optional[str]

LinuxParametersProperty

class CfnTaskDefinition.LinuxParametersProperty(*, capabilities=None, devices=None, init_process_enabled=None, max_swap=None, shared_memory_size=None, swappiness=None, tmpfs=None)

Bases: object

Parameters
  • capabilities (Union[IResolvable, KernelCapabilitiesProperty, None]) – CfnTaskDefinition.LinuxParametersProperty.Capabilities.

  • devices (Union[IResolvable, List[Union[IResolvable, DeviceProperty]], None]) – CfnTaskDefinition.LinuxParametersProperty.Devices.

  • init_process_enabled (Union[bool, IResolvable, None]) – CfnTaskDefinition.LinuxParametersProperty.InitProcessEnabled.

  • max_swap (Union[int, float, None]) – CfnTaskDefinition.LinuxParametersProperty.MaxSwap.

  • shared_memory_size (Union[int, float, None]) – CfnTaskDefinition.LinuxParametersProperty.SharedMemorySize.

  • swappiness (Union[int, float, None]) – CfnTaskDefinition.LinuxParametersProperty.Swappiness.

  • tmpfs (Union[IResolvable, List[Union[IResolvable, TmpfsProperty]], None]) – CfnTaskDefinition.LinuxParametersProperty.Tmpfs.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-linuxparameters.html

Attributes

capabilities

CfnTaskDefinition.LinuxParametersProperty.Capabilities.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-linuxparameters.html#cfn-ecs-taskdefinition-linuxparameters-capabilities

Return type

Union[IResolvable, KernelCapabilitiesProperty, None]

devices

CfnTaskDefinition.LinuxParametersProperty.Devices.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-linuxparameters.html#cfn-ecs-taskdefinition-linuxparameters-devices

Return type

Union[IResolvable, List[Union[IResolvable, DeviceProperty]], None]

init_process_enabled

CfnTaskDefinition.LinuxParametersProperty.InitProcessEnabled.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-linuxparameters.html#cfn-ecs-taskdefinition-linuxparameters-initprocessenabled

Return type

Union[bool, IResolvable, None]

max_swap

CfnTaskDefinition.LinuxParametersProperty.MaxSwap.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-linuxparameters.html#cfn-ecs-taskdefinition-linuxparameters-maxswap

Return type

Union[int, float, None]

shared_memory_size

CfnTaskDefinition.LinuxParametersProperty.SharedMemorySize.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-linuxparameters.html#cfn-ecs-taskdefinition-linuxparameters-sharedmemorysize

Return type

Union[int, float, None]

swappiness

CfnTaskDefinition.LinuxParametersProperty.Swappiness.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-linuxparameters.html#cfn-ecs-taskdefinition-linuxparameters-swappiness

Return type

Union[int, float, None]

tmpfs

CfnTaskDefinition.LinuxParametersProperty.Tmpfs.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-linuxparameters.html#cfn-ecs-taskdefinition-linuxparameters-tmpfs

Return type

Union[IResolvable, List[Union[IResolvable, TmpfsProperty]], None]

LogConfigurationProperty

class CfnTaskDefinition.LogConfigurationProperty(*, log_driver, options=None, secret_options=None)

Bases: object

Parameters
  • log_driver (str) – CfnTaskDefinition.LogConfigurationProperty.LogDriver.

  • options (Union[IResolvable, Mapping[str, str], None]) – CfnTaskDefinition.LogConfigurationProperty.Options.

  • secret_options (Union[IResolvable, List[Union[IResolvable, SecretProperty]], None]) – CfnTaskDefinition.LogConfigurationProperty.SecretOptions.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-logconfiguration.html

Attributes

log_driver

CfnTaskDefinition.LogConfigurationProperty.LogDriver.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-logconfiguration.html#cfn-ecs-taskdefinition-containerdefinition-logconfiguration-logdriver

Return type

str

options

CfnTaskDefinition.LogConfigurationProperty.Options.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-logconfiguration.html#cfn-ecs-taskdefinition-containerdefinition-logconfiguration-options

Return type

Union[IResolvable, Mapping[str, str], None]

secret_options

CfnTaskDefinition.LogConfigurationProperty.SecretOptions.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-logconfiguration.html#cfn-ecs-taskdefinition-logconfiguration-secretoptions

Return type

Union[IResolvable, List[Union[IResolvable, SecretProperty]], None]

MountPointProperty

class CfnTaskDefinition.MountPointProperty(*, container_path=None, read_only=None, source_volume=None)

Bases: object

Parameters
  • container_path (Optional[str]) – CfnTaskDefinition.MountPointProperty.ContainerPath.

  • read_only (Union[bool, IResolvable, None]) – CfnTaskDefinition.MountPointProperty.ReadOnly.

  • source_volume (Optional[str]) – CfnTaskDefinition.MountPointProperty.SourceVolume.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-mountpoints.html

Attributes

container_path

CfnTaskDefinition.MountPointProperty.ContainerPath.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-mountpoints.html#cfn-ecs-taskdefinition-containerdefinition-mountpoints-containerpath

Return type

Optional[str]

read_only

CfnTaskDefinition.MountPointProperty.ReadOnly.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-mountpoints.html#cfn-ecs-taskdefinition-containerdefinition-mountpoints-readonly

Return type

Union[bool, IResolvable, None]

source_volume

CfnTaskDefinition.MountPointProperty.SourceVolume.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-mountpoints.html#cfn-ecs-taskdefinition-containerdefinition-mountpoints-sourcevolume

Return type

Optional[str]

PortMappingProperty

class CfnTaskDefinition.PortMappingProperty(*, container_port=None, host_port=None, protocol=None)

Bases: object

Parameters
  • container_port (Union[int, float, None]) – CfnTaskDefinition.PortMappingProperty.ContainerPort.

  • host_port (Union[int, float, None]) – CfnTaskDefinition.PortMappingProperty.HostPort.

  • protocol (Optional[str]) – CfnTaskDefinition.PortMappingProperty.Protocol.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-portmappings.html

Attributes

container_port

CfnTaskDefinition.PortMappingProperty.ContainerPort.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-portmappings.html#cfn-ecs-taskdefinition-containerdefinition-portmappings-containerport

Return type

Union[int, float, None]

host_port

CfnTaskDefinition.PortMappingProperty.HostPort.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-portmappings.html#cfn-ecs-taskdefinition-containerdefinition-portmappings-readonly

Return type

Union[int, float, None]

protocol

CfnTaskDefinition.PortMappingProperty.Protocol.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-portmappings.html#cfn-ecs-taskdefinition-containerdefinition-portmappings-sourcevolume

Return type

Optional[str]

ProxyConfigurationProperty

class CfnTaskDefinition.ProxyConfigurationProperty(*, container_name, proxy_configuration_properties=None, type=None)

Bases: object

Parameters
  • container_name (str) – CfnTaskDefinition.ProxyConfigurationProperty.ContainerName.

  • proxy_configuration_properties (Union[IResolvable, List[Union[IResolvable, KeyValuePairProperty]], None]) – CfnTaskDefinition.ProxyConfigurationProperty.ProxyConfigurationProperties.

  • type (Optional[str]) – CfnTaskDefinition.ProxyConfigurationProperty.Type.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-proxyconfiguration.html

Attributes

container_name

CfnTaskDefinition.ProxyConfigurationProperty.ContainerName.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-proxyconfiguration.html#cfn-ecs-taskdefinition-proxyconfiguration-containername

Return type

str

proxy_configuration_properties

CfnTaskDefinition.ProxyConfigurationProperty.ProxyConfigurationProperties.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-proxyconfiguration.html#cfn-ecs-taskdefinition-proxyconfiguration-proxyconfigurationproperties

Return type

Union[IResolvable, List[Union[IResolvable, KeyValuePairProperty]], None]

type

CfnTaskDefinition.ProxyConfigurationProperty.Type.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-proxyconfiguration.html#cfn-ecs-taskdefinition-proxyconfiguration-type

Return type

Optional[str]

RepositoryCredentialsProperty

class CfnTaskDefinition.RepositoryCredentialsProperty(*, credentials_parameter=None)

Bases: object

Parameters

credentials_parameter (Optional[str]) – CfnTaskDefinition.RepositoryCredentialsProperty.CredentialsParameter.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-repositorycredentials.html

Attributes

credentials_parameter

CfnTaskDefinition.RepositoryCredentialsProperty.CredentialsParameter.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-repositorycredentials.html#cfn-ecs-taskdefinition-repositorycredentials-credentialsparameter

Return type

Optional[str]

ResourceRequirementProperty

class CfnTaskDefinition.ResourceRequirementProperty(*, type, value)

Bases: object

Parameters
  • type (str) – CfnTaskDefinition.ResourceRequirementProperty.Type.

  • value (str) – CfnTaskDefinition.ResourceRequirementProperty.Value.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-resourcerequirement.html

Attributes

type

CfnTaskDefinition.ResourceRequirementProperty.Type.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-resourcerequirement.html#cfn-ecs-taskdefinition-resourcerequirement-type

Return type

str

value

CfnTaskDefinition.ResourceRequirementProperty.Value.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-resourcerequirement.html#cfn-ecs-taskdefinition-resourcerequirement-value

Return type

str

SecretProperty

class CfnTaskDefinition.SecretProperty(*, name, value_from)

Bases: object

Parameters
  • name (str) – CfnTaskDefinition.SecretProperty.Name.

  • value_from (str) – CfnTaskDefinition.SecretProperty.ValueFrom.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-secret.html

Attributes

name

CfnTaskDefinition.SecretProperty.Name.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-secret.html#cfn-ecs-taskdefinition-secret-name

Return type

str

value_from

CfnTaskDefinition.SecretProperty.ValueFrom.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-secret.html#cfn-ecs-taskdefinition-secret-valuefrom

Return type

str

SystemControlProperty

class CfnTaskDefinition.SystemControlProperty(*, namespace=None, value=None)

Bases: object

Parameters
  • namespace (Optional[str]) – CfnTaskDefinition.SystemControlProperty.Namespace.

  • value (Optional[str]) – CfnTaskDefinition.SystemControlProperty.Value.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-systemcontrol.html

Attributes

namespace

CfnTaskDefinition.SystemControlProperty.Namespace.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-systemcontrol.html#cfn-ecs-taskdefinition-systemcontrol-namespace

Return type

Optional[str]

value

CfnTaskDefinition.SystemControlProperty.Value.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-systemcontrol.html#cfn-ecs-taskdefinition-systemcontrol-value

Return type

Optional[str]

TaskDefinitionPlacementConstraintProperty

class CfnTaskDefinition.TaskDefinitionPlacementConstraintProperty(*, type, expression=None)

Bases: object

Parameters
  • type (str) – CfnTaskDefinition.TaskDefinitionPlacementConstraintProperty.Type.

  • expression (Optional[str]) – CfnTaskDefinition.TaskDefinitionPlacementConstraintProperty.Expression.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-taskdefinitionplacementconstraint.html

Attributes

expression

CfnTaskDefinition.TaskDefinitionPlacementConstraintProperty.Expression.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-taskdefinitionplacementconstraint.html#cfn-ecs-taskdefinition-taskdefinitionplacementconstraint-expression

Return type

Optional[str]

type

CfnTaskDefinition.TaskDefinitionPlacementConstraintProperty.Type.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-taskdefinitionplacementconstraint.html#cfn-ecs-taskdefinition-taskdefinitionplacementconstraint-type

Return type

str

TmpfsProperty

class CfnTaskDefinition.TmpfsProperty(*, size, container_path=None, mount_options=None)

Bases: object

Parameters
  • size (Union[int, float]) – CfnTaskDefinition.TmpfsProperty.Size.

  • container_path (Optional[str]) – CfnTaskDefinition.TmpfsProperty.ContainerPath.

  • mount_options (Optional[List[str]]) – CfnTaskDefinition.TmpfsProperty.MountOptions.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-tmpfs.html

Attributes

container_path

CfnTaskDefinition.TmpfsProperty.ContainerPath.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-tmpfs.html#cfn-ecs-taskdefinition-tmpfs-containerpath

Return type

Optional[str]

mount_options

CfnTaskDefinition.TmpfsProperty.MountOptions.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-tmpfs.html#cfn-ecs-taskdefinition-tmpfs-mountoptions

Return type

Optional[List[str]]

size

CfnTaskDefinition.TmpfsProperty.Size.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-tmpfs.html#cfn-ecs-taskdefinition-tmpfs-size

Return type

Union[int, float]

UlimitProperty

class CfnTaskDefinition.UlimitProperty(*, hard_limit, name, soft_limit)

Bases: object

Parameters
  • hard_limit (Union[int, float]) – CfnTaskDefinition.UlimitProperty.HardLimit.

  • name (str) – CfnTaskDefinition.UlimitProperty.Name.

  • soft_limit (Union[int, float]) – CfnTaskDefinition.UlimitProperty.SoftLimit.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-ulimit.html

Attributes

hard_limit

CfnTaskDefinition.UlimitProperty.HardLimit.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-ulimit.html#cfn-ecs-taskdefinition-containerdefinition-ulimit-hardlimit

Return type

Union[int, float]

name

CfnTaskDefinition.UlimitProperty.Name.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-ulimit.html#cfn-ecs-taskdefinition-containerdefinition-ulimit-name

Return type

str

soft_limit

CfnTaskDefinition.UlimitProperty.SoftLimit.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-ulimit.html#cfn-ecs-taskdefinition-containerdefinition-ulimit-softlimit

Return type

Union[int, float]

VolumeFromProperty

class CfnTaskDefinition.VolumeFromProperty(*, read_only=None, source_container=None)

Bases: object

Parameters
  • read_only (Union[bool, IResolvable, None]) – CfnTaskDefinition.VolumeFromProperty.ReadOnly.

  • source_container (Optional[str]) – CfnTaskDefinition.VolumeFromProperty.SourceContainer.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-volumesfrom.html

Attributes

read_only

CfnTaskDefinition.VolumeFromProperty.ReadOnly.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-volumesfrom.html#cfn-ecs-taskdefinition-containerdefinition-volumesfrom-readonly

Return type

Union[bool, IResolvable, None]

source_container

CfnTaskDefinition.VolumeFromProperty.SourceContainer.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-volumesfrom.html#cfn-ecs-taskdefinition-containerdefinition-volumesfrom-sourcecontainer

Return type

Optional[str]

VolumeProperty

class CfnTaskDefinition.VolumeProperty(*, docker_volume_configuration=None, efs_volume_configuration=None, host=None, name=None)

Bases: object

Parameters
See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-volumes.html

Attributes

docker_volume_configuration

CfnTaskDefinition.VolumeProperty.DockerVolumeConfiguration.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-volumes.html#cfn-ecs-taskdefinition-volume-dockervolumeconfiguration

Return type

Union[IResolvable, DockerVolumeConfigurationProperty, None]

efs_volume_configuration

CfnTaskDefinition.VolumeProperty.EfsVolumeConfiguration.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-volumes.html#cfn-ecs-taskdefinition-volume-efsvolumeconfiguration

Return type

Union[IResolvable, EfsVolumeConfigurationProperty, None]

host

CfnTaskDefinition.VolumeProperty.Host.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-volumes.html#cfn-ecs-taskdefinition-volumes-host

Return type

Union[IResolvable, HostVolumePropertiesProperty, None]

name

CfnTaskDefinition.VolumeProperty.Name.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-volumes.html#cfn-ecs-taskdefinition-volumes-name

Return type

Optional[str]