submit_fargate_task#
- submit_fargate_task(name: str, task_definition_arn: str, user: str, cluster: str, security_groups: list[str], subnets: list[str], command: list[str], **kwargs: list | str | int | bool | dict) list[str] [source]#
Submit task to AWS Fargate.
- Parameters:
name – Task name.
task_definition_arn – Task definition ARN.
user – User name prefix for task name.
cluster – ECS cluster name.
security_groups – List of security groups.
subnets – List of subnets.
command – Command list passed to container.
**kwargs – Additional parameters for task submission. The keyword arguments are passed to boto3 ECS client method run_task.
- Returns:
Task ARN.