Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aws
GitHub Repository: aws/aws-cli
Path: blob/develop/awscli/examples/deploy/get-application-revision.rst
1567 views
**To get information about an application revision**

The following ``get-application-revision`` example displays information about an application revision that is associated with the specified application. ::

    aws deploy get-application-revision \
        --application-name WordPress_App \
        --s3-location bucket=amzn-s3-demo-bucket,bundleType=zip,eTag=dd56cfdEXAMPLE8e768f9d77fEXAMPLE,key=WordPressApp.zip

Output::

    {
        "applicationName": "WordPress_App",
        "revisionInfo": {
            "description": "Application revision registered by Deployment ID: d-A1B2C3111",
            "registerTime": 1411076520.009,
            "deploymentGroups": "WordPress_DG",
            "lastUsedTime": 1411076520.009,
            "firstUsedTime": 1411076520.009
        },
        "revision": {
            "revisionType": "S3",
            "s3Location": {
                "bundleType": "zip",
                "eTag": "dd56cfdEXAMPLE8e768f9d77fEXAMPLE",
                "bucket": "amzn-s3-demo-bucket",
                "key": "WordPressApp.zip"
            }
        }
    }