Delete an EC2 Instance Connect Endpoint
When you are finished with an EC2 Instance Connect Endpoint, you can delete it.
You must have the required IAM permissions to create an EC2 Instance Connect Endpoint. For more information, see Permissions to create, describe, and delete EC2 Instance Connect Endpoints.
When you delete an EC2 Instance Connect Endpoint using the console, it enters the
Deleting state. If deletion is successful, the deleted endpoint
no longer appears. If deletion fails, the state is delete-failed
and
Status message provides the failure reason.
When you delete an EC2 Instance Connect Endpoint using the AWS CLI, it enters the
delete-in-progress
state. If deletion is successful, it enters the
delete-complete
state. If deletion fails, the state is
delete-failed
and StateMessage
provides the failure
reason.