Class TargetNotConnectedException

All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<TargetNotConnectedException.Builder,TargetNotConnectedException>

@Generated("software.amazon.awssdk:codegen") public final class TargetNotConnectedException extends EcsException implements ToCopyableBuilder<TargetNotConnectedException.Builder,TargetNotConnectedException>

The execute command cannot run. This error can be caused by any of the following configuration issues:

  • Incorrect IAM permissions

  • The SSM agent is not installed or is not running

  • There is an interface Amazon VPC endpoint for Amazon ECS, but there is not one for Systems Manager Session Manager

For information about how to troubleshoot the issues, see Troubleshooting issues with ECS Exec in the Amazon Elastic Container Service Developer Guide.

See Also: