404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.140.188.79: ~ $
**Exampe 1: To describe a single task tasks**

The following ``describe-tasks`` example retrieves the details of a task in a cluster. You can specify the task by using either the ID or full ARN of the task. This example uses the full ARN of the task. ::

    aws ecs describe-tasks \
        --cluster MyCluster \
        --tasks arn:aws:ecs:us-east-1:123456789012:task/MyCluster/4d590253bb114126b7afa7b58EXAMPLE

Output::

    {
        "tasks": [
            {
                "attachments": [],
                "attributes": [
                    {
                        "name": "ecs.cpu-architecture",
                        "value": "x86_64"
                    }
                ],
                "availabilityZone": "us-east-1b",
                "clusterArn": "arn:aws:ecs:us-east-1:123456789012:cluster/MyCluster",
                "connectivity": "CONNECTED",
                "connectivityAt": "2021-08-11T12:21:26.681000-04:00",
                "containerInstanceArn": "arn:aws:ecs:us-east-1:123456789012:container-instance/test/025c7e2c5e054a6790a29fc1fEXAMPLE",
                "containers": [
                    {
                        "containerArn": "arn:aws:ecs:us-east-1:123456789012:container/MyCluster/4d590253bb114126b7afa7b58eea9221/a992d1cc-ea46-474a-b6e8-24688EXAMPLE",
                        "taskArn": "arn:aws:ecs:us-east-1:123456789012:task/MyCluster/4d590253bb114126b7afa7b58EXAMPLE",
                        "name": "simple-app",
                        "image": "httpd:2.4",
                        "runtimeId": "91251eed27db90006ad67b1a08187290869f216557717dd5c39b37c94EXAMPLE",
                        "lastStatus": "RUNNING",
                        "networkBindings": [
                            {
                                "bindIP": "0.0.0.0",
                                "containerPort": 80,
                                "hostPort": 80,
                                "protocol": "tcp"
                            }
                        ],
                        "networkInterfaces": [],
                        "healthStatus": "UNKNOWN",
                        "cpu": "10",
                        "memory": "300"
                    }
                ],
                "cpu": "10",
                "createdAt": "2021-08-11T12:21:26.681000-04:00",
                "desiredStatus": "RUNNING",
                "enableExecuteCommand": false,
                "group": "service:testupdate",
                "healthStatus": "UNKNOWN",
                "lastStatus": "RUNNING",
                "launchType": "EC2",
                "memory": "300",
                "overrides": {
                    "containerOverrides": [
                        {
                            "name": "simple-app"
                        }
                    ],
                    "inferenceAcceleratorOverrides": []
                },
                "pullStartedAt": "2021-08-11T12:21:28.234000-04:00",
                "pullStoppedAt": "2021-08-11T12:21:33.793000-04:00",
                "startedAt": "2021-08-11T12:21:34.945000-04:00",
                "startedBy": "ecs-svc/968695068243EXAMPLE",
                "tags": [],
                "taskArn": "arn:aws:ecs:us-east-1:123456789012:task/MyCluster/4d590253bb114126b7afa7b58eea9221",
                "taskDefinitionArn": "arn:aws:ecs:us-east-1:123456789012:task-definition/console-sample-app-static2:1",
                "version": 2
            }
        ],
        "failures": []
    }

For more information, see `Amazon ECS Task Definitions <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html>`__ in the *Amazon ECS Developer Guide*.

**Exampe 2: To describe multiple tasks**

The following ``describe-tasks`` example retrieves the details of multiple tasks in a cluster. You can specify the task by using either the ID or full ARN of the task. This example uses the full IDs of the tasks. ::

    aws ecs describe-tasks \
        --cluster MyCluster \
        --tasks "74de0355a10a4f979ac495c14EXAMPLE" "d789e94343414c25b9f6bd59eEXAMPLE"

Output::

    {
        "tasks": [
            {
                "attachments": [
                    {
                        "id": "d9e7735a-16aa-4128-bc7a-b2d51EXAMPLE",
                        "type": "ElasticNetworkInterface",
                        "status": "ATTACHED",
                        "details": [
                            {
                                "name": "subnetId",
                                "value": "subnet-0d0eab1bb3EXAMPLE"
                            },
                            {
                                "name": "networkInterfaceId",
                                "value": "eni-0fa40520aeEXAMPLE"
                            },
                            {
                                "name": "macAddress",
                                "value": "0e:89:76:28:07:b3"
                            },
                            {
                                "name": "privateDnsName",
                                "value": "ip-10-0-1-184.ec2.internal"
                            },
                            {
                                "name": "privateIPv4Address",
                                "value": "10.0.1.184"
                            }
                        ]
                    }
                ],
                "attributes": [
                    {
                        "name": "ecs.cpu-architecture",
                        "value": "x86_64"
                    }
                ],
                "availabilityZone": "us-east-1b",
                "clusterArn": "arn:aws:ecs:us-east-1:123456789012:cluster/MyCluster",
                "connectivity": "CONNECTED",
                "connectivityAt": "2021-12-20T12:13:37.875000-05:00",
                "containers": [
                    {
                        "containerArn": "arn:aws:ecs:us-east-1:123456789012:container/MyCluster/74de0355a10a4f979ac495c14EXAMPLE/aad3ba00-83b3-4dac-84d4-11f8cEXAMPLE",
                        "taskArn": "arn:aws:ecs:us-east-1:123456789012:task/MyCluster/74de0355a10a4f979ac495c14EXAMPLE",
                        "name": "web",
                        "image": "nginx",
                        "runtimeId": "74de0355a10a4f979ac495c14EXAMPLE-265927825",
                        "lastStatus": "RUNNING",
                        "networkBindings": [],
                        "networkInterfaces": [
                            {
                                "attachmentId": "d9e7735a-16aa-4128-bc7a-b2d51EXAMPLE",
                                "privateIpv4Address": "10.0.1.184"
                            }
                        ],
                        "healthStatus": "UNKNOWN",
                        "cpu": "99",
                        "memory": "100"
                    }
                ],
                "cpu": "256",
                "createdAt": "2021-12-20T12:13:20.226000-05:00",
                "desiredStatus": "RUNNING",
                "enableExecuteCommand": false,
                "group": "service:tdsevicetag",
                "healthStatus": "UNKNOWN",
                "lastStatus": "RUNNING",
                "launchType": "FARGATE",
                "memory": "512",
                "overrides": {
                    "containerOverrides": [
                        {
                            "name": "web"
                        }
                    ],
                    "inferenceAcceleratorOverrides": []
                },
                "platformVersion": "1.4.0",
                "platformFamily": "Linux",
                "pullStartedAt": "2021-12-20T12:13:42.665000-05:00",
                "pullStoppedAt": "2021-12-20T12:13:46.543000-05:00",
                "startedAt": "2021-12-20T12:13:48.086000-05:00",
                "startedBy": "ecs-svc/988401040018EXAMPLE",
                "tags": [],
                "taskArn": "arn:aws:ecs:us-east-1:123456789012:task/MyCluster/74de0355a10a4f979ac495c14EXAMPLE",
                "taskDefinitionArn": "arn:aws:ecs:us-east-1:123456789012:task-definition/webserver:2",
                "version": 3,
                "ephemeralStorage": {
                "sizeInGiB": 20
                }
            },
            {
                "attachments": [
                    {
                        "id": "214eb5a9-45cd-4bf8-87bc-57fefEXAMPLE",
                        "type": "ElasticNetworkInterface",
                        "status": "ATTACHED",
                        "details": [
                            {
                                "name": "subnetId",
                                "value": "subnet-0d0eab1bb3EXAMPLE"
                            },
                            {
                                "name": "networkInterfaceId",
                                "value": "eni-064c7766daEXAMPLE"
                            },
                            {
                                "name": "macAddress",
                                "value": "0e:76:83:01:17:a9"
                            },
                            {
                                "name": "privateDnsName",
                                "value": "ip-10-0-1-41.ec2.internal"
                            },
                            {
                                "name": "privateIPv4Address",
                                "value": "10.0.1.41"
                            }
                        ]
                    }
                ],
                "attributes": [
                    {
                        "name": "ecs.cpu-architecture",
                        "value": "x86_64"
                    }
                ],
                "availabilityZone": "us-east-1b",
                "clusterArn": "arn:aws:ecs:us-east-1:123456789012:cluster/MyCluster",
                "connectivity": "CONNECTED",
                "connectivityAt": "2021-12-20T12:13:35.243000-05:00",
                "containers": [
                    {
                        "containerArn": "arn:aws:ecs:us-east-1:123456789012:container/MyCluster/d789e94343414c25b9f6bd59eEXAMPLE/9afef792-609b-43a5-bb6a-3efdbEXAMPLE",
                        "taskArn": "arn:aws:ecs:us-east-1:123456789012:task/MyCluster/d789e94343414c25b9f6bd59eEXAMPLE",
                        "name": "web",
                        "image": "nginx",
                        "runtimeId": "d789e94343414c25b9f6bd59eEXAMPLE-265927825",
                        "lastStatus": "RUNNING",
                        "networkBindings": [],
                        "networkInterfaces": [
                            {
                                "attachmentId": "214eb5a9-45cd-4bf8-87bc-57fefEXAMPLE",
                                "privateIpv4Address": "10.0.1.41"
                            }
                        ],
                        "healthStatus": "UNKNOWN",
                        "cpu": "99",
                        "memory": "100"
                    }
                ],
                "cpu": "256",
                "createdAt": "2021-12-20T12:13:20.226000-05:00",
                "desiredStatus": "RUNNING",
                "enableExecuteCommand": false,
                "group": "service:tdsevicetag",
                "healthStatus": "UNKNOWN",
                "lastStatus": "RUNNING",
                "launchType": "FARGATE",
                "memory": "512",
                "overrides": {
                    "containerOverrides": [
                        {
                            "name": "web"
                        }
                    ],
                    "inferenceAcceleratorOverrides": []
                },
                "platformVersion": "1.4.0",
                "platformFamily": "Linux",
                "pullStartedAt": "2021-12-20T12:13:44.611000-05:00",
                "pullStoppedAt": "2021-12-20T12:13:48.251000-05:00",
                "startedAt": "2021-12-20T12:13:49.326000-05:00",
                "startedBy": "ecs-svc/988401040018EXAMPLE",
                "tags": [],
                "taskArn": "arn:aws:ecs:us-east-1:123456789012:task/MyCluster/d789e94343414c25b9f6bd59eEXAMPLE",
                "taskDefinitionArn": "arn:aws:ecs:us-east-1:123456789012:task-definition/webserver:2",
                "version": 3,
                "ephemeralStorage": {
                    "sizeInGiB": 20
                }
            }
        ],
        "failures": []
    }

For more information, see `Amazon ECS Task Definitions <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html>`__ in the *Amazon ECS Developer Guide*.

Filemanager

Name Type Size Permission Actions
wait Folder 0755
create-capacity-provider.rst File 1.58 KB 0644
create-cluster.rst File 5.57 KB 0644
create-service.rst File 9.33 KB 0644
create-task-set.rst File 1.56 KB 0644
delete-account-setting.rst File 715 B 0644
delete-attributes.rst File 627 B 0644
delete-capacity-provider.rst File 3 KB 0644
delete-cluster.rst File 752 B 0644
delete-service.rst File 471 B 0644
delete-task-definitions.rst File 2.37 KB 0644
delete-task-set.rst File 1.59 KB 0644
deregister-container-instance.rst File 9.33 KB 0644
deregister-task-definition.rst File 1.33 KB 0644
describe-capacity-providers.rst File 3.31 KB 0644
describe-clusters.rst File 2.94 KB 0644
describe-container-instances.rst File 3.2 KB 0644
describe-services.rst File 1.84 KB 0644
describe-task-definition.rst File 1.83 KB 0644
describe-task-sets.rst File 1.68 KB 0644
describe-tasks.rst File 12.6 KB 0644
execute-command.rst File 747 B 0644
list-account-settings.rst File 1.5 KB 0644
list-attributes.rst File 853 B 0644
list-clusters.rst File 516 B 0644
list-container-instances.rst File 701 B 0644
list-services-by-namespace.rst File 680 B 0644
list-services.rst File 474 B 0644
list-tags-for-resource.rst File 574 B 0644
list-task-definition-families.rst File 927 B 0644
list-task-definitions.rst File 1.48 KB 0644
list-tasks.rst File 1 KB 0644
put-account-setting-default.rst File 770 B 0644
put-account-setting.rst File 667 B 0644
put-account-settings.rst File 543 B 0644
put-attributes.rst File 665 B 0644
put-cluster-capacity-providers.rst File 9.67 KB 0644
register-task-definition.rst File 2.62 KB 0644
run-task.rst File 1.46 KB 0644
start-task.rst File 1.94 KB 0644
stop-task.rst File 1.46 KB 0644
tag-resource.rst File 627 B 0644
untag-resource.rst File 306 B 0644
update-cluster-settings.rst File 1.04 KB 0644
update-container-agent.rst File 842 B 0644
update-container-instances-state.rst File 10.19 KB 0644
update-service-primary-task-set.rst File 1.56 KB 0644
update-service.rst File 703 B 0644
update-task-set.rst File 1.52 KB 0644