Skip to content

ExecuteCommandResponse

Source code in docs_src/capo_ecs/types/execute_command_response.py
class ExecuteCommandResponse(TypedDict, closed=True):
    cluster_arn: NotRequired["capo_ecs.types.string.String"]
    """<p>The Amazon Resource Name (ARN) of the cluster.</p>"""
    container_arn: NotRequired["capo_ecs.types.string.String"]
    """<p>The Amazon Resource Name (ARN) of the container.</p>"""
    container_name: NotRequired["capo_ecs.types.string.String"]
    """<p>The name of the container.</p>"""
    interactive: "capo_ecs.types.boolean.Boolean"
    """<p>Determines whether the execute command session is running in interactive mode. Amazon ECS only supports initiating interactive sessions, so you must specify <code>true</code> for this value.</p>"""
    session: NotRequired["capo_ecs.types.session.Session"]
    """<p>The details of the SSM session that was created for this instance of execute-command.</p>"""
    task_arn: NotRequired["capo_ecs.types.string.String"]
    """<p>The Amazon Resource Name (ARN) of the task.</p>"""

cluster_arn instance-attribute

cluster_arn: NotRequired[String]

The Amazon Resource Name (ARN) of the cluster.

container_arn instance-attribute

container_arn: NotRequired[String]

The Amazon Resource Name (ARN) of the container.

container_name instance-attribute

container_name: NotRequired[String]

The name of the container.

interactive instance-attribute

interactive: Boolean

Determines whether the execute command session is running in interactive mode. Amazon ECS only supports initiating interactive sessions, so you must specify true for this value.

session instance-attribute

session: NotRequired[Session]

The details of the SSM session that was created for this instance of execute-command.

task_arn instance-attribute

task_arn: NotRequired[String]

The Amazon Resource Name (ARN) of the task.