register_fargate_task#

register_fargate_task(task_definition: dict) str[source]#

Register task definition to ECS Fargate.

If a definition for the given task definition name already exists, and the contents of the definition are not changed, then the method will return the existing task definition ARN rather than creating a new revision.

Parameters:

task_definition – Fargate task definition.

Returns:

Task definition ARN.