This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.
Returns an endpoint for the Amazon ECS agent to poll for updates.
ecs_discover_poll_endpoint(containerInstance, cluster)
A list with the following syntax:
list(
endpoint = "string",
telemetryEndpoint = "string"
)
The container instance ID or full ARN of the container instance. The ARN
contains the arn:aws:ecs
namespace, followed by the Region of the
container instance, the AWS account ID of the container instance owner,
the container-instance
namespace, and then the container instance ID.
For example,
arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID
.
The short name or full Amazon Resource Name (ARN) of the cluster to which the container instance belongs.
svc$discover_poll_endpoint(
containerInstance = "string",
cluster = "string"
)