https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/awscli/examples/deploy/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/awscli/examples/deploy/batch-get-on-premises-instances.rst
**To get information about one or more on-premises instances**

The follwoing ``batch-get-on-premises-instances`` example gets information about two on-premises instances. ::

    aws deploy batch-get-on-premises-instances --instance-names AssetTag12010298EX AssetTag23121309EX

Output::

    {
        "instanceInfos": [
            {
                "iamUserArn": "arn:aws:iam::123456789012:user/AWS/CodeDeploy/AssetTag12010298EX",
                "tags": [
                    {
                        "Value": "CodeDeployDemo-OnPrem",
                        "Key": "Name"
                    }
                ],
                "instanceName": "AssetTag12010298EX",
                "registerTime": 1425579465.228,
                "instanceArn": "arn:aws:codedeploy:us-west-2:123456789012:instance/AssetTag12010298EX_4IwLNI2Alh"
            },
            {
                "iamUserArn": "arn:aws:iam::123456789012:user/AWS/CodeDeploy/AssetTag23121309EX",
                "tags": [
                    {
                        "Value": "CodeDeployDemo-OnPrem",
                        "Key": "Name"
                    }
                ],
                "instanceName": "AssetTag23121309EX",
                "registerTime": 1425595585.988,
                "instanceArn": "arn:aws:codedeploy:us-west-2:80398EXAMPLE:instance/AssetTag23121309EX_PomUy64Was"
            }
        ]
    }

https://t.me/RX1948 - 2025