Skip to content

ContainerTaskConfiguration

Source code in docs_src/capo_iotsitewise/types/container_task_configuration.py
class ContainerTaskConfiguration(TypedDict, closed=True):
    ecr_uri: "capo_iotsitewise.types.ecr_uri.EcrUri"
    """<p>The Amazon ECR image URI for the task container.</p>"""
    task_execution_role: "capo_iotsitewise.types.iam_role_arn.IamRoleArn"
    """<p>The ARN of the IAM role that grants the containerized workload permissions to access AWS resources.</p>"""
    processing_type: "capo_iotsitewise.types.processing_type.ProcessingType"
    """<p>The processing type for compute resources.</p>"""
    processing_unit: "capo_iotsitewise.types.processing_unit.ProcessingUnit"
    """<p>The processing unit allocation that determines the vCPU, memory, and GPU resources.</p>"""
    ephemeral_storage_configuration: NotRequired[
        "capo_iotsitewise.types.ephemeral_storage_configuration.EphemeralStorageConfiguration"
    ]
    """<p>Ephemeral storage configuration for the container task.</p>"""
    command: NotRequired["capo_iotsitewise.types.command_list.CommandList"]
    """<p>The command to execute in the container.</p>"""
    timeout_seconds: NotRequired[
        "capo_iotsitewise.types.timeout_seconds.TimeoutSeconds"
    ]
    """<p>The timeout in seconds for task execution. Default: 3600 (1 hour).</p>"""
    environment_variables: NotRequired[
        "capo_iotsitewise.types.environment_variables_map.EnvironmentVariablesMap"
    ]
    """<p>Environment variables passed to the container at runtime.</p>"""
    mounts: NotRequired["capo_iotsitewise.types.mount_list.MountList"]
    """<p>Mounts attached to the container filesystem. Each mount exposes an external data source as a local directory inside the container. The service assigns each mount a container path based on the mount name. The container reads files through that path as if the data were on the local filesystem.</p>"""

command instance-attribute

command: NotRequired[CommandList]

The command to execute in the container.

ecr_uri instance-attribute

ecr_uri: EcrUri

The Amazon ECR image URI for the task container.

environment_variables instance-attribute

environment_variables: NotRequired[EnvironmentVariablesMap]

Environment variables passed to the container at runtime.

ephemeral_storage_configuration instance-attribute

ephemeral_storage_configuration: NotRequired[EphemeralStorageConfiguration]

Ephemeral storage configuration for the container task.

mounts instance-attribute

mounts: NotRequired[MountList]

Mounts attached to the container filesystem. Each mount exposes an external data source as a local directory inside the container. The service assigns each mount a container path based on the mount name. The container reads files through that path as if the data were on the local filesystem.

processing_type instance-attribute

processing_type: ProcessingType

The processing type for compute resources.

processing_unit instance-attribute

processing_unit: ProcessingUnit

The processing unit allocation that determines the vCPU, memory, and GPU resources.

task_execution_role instance-attribute

task_execution_role: IamRoleArn

The ARN of the IAM role that grants the containerized workload permissions to access AWS resources.

timeout_seconds instance-attribute

timeout_seconds: NotRequired[TimeoutSeconds]

The timeout in seconds for task execution. Default: 3600 (1 hour).