Class ExecuteCommandResponse

    • Method Detail

      • clusterArn

        public final String clusterArn()

        The Amazon Resource Name (ARN) of the cluster.

        Returns:
        The Amazon Resource Name (ARN) of the cluster.
      • containerArn

        public final String containerArn()

        The Amazon Resource Name (ARN) of the container.

        Returns:
        The Amazon Resource Name (ARN) of the container.
      • containerName

        public final String containerName()

        The name of the container.

        Returns:
        The name of the container.
      • interactive

        public final Boolean interactive()

        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.

        Returns:
        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

        public final Session session()

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

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

        public final String taskArn()

        The Amazon Resource Name (ARN) of the task.

        Returns:
        The Amazon Resource Name (ARN) of the task.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object