CmdID / aws / aws deploy
aws deploy get-application-revision
Gets information about an application revision. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
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=CodeDeployDemoBucket,bundleType=zip,eTag=dd56cfdEXAMPLE8e768f9d77fEXAMPLE,key=WordPressApp.zipIdentify--application-nameThe name of the application that corresponds to the revision.Its 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": "CodeDeployDemoBucket",
"key": "WordPressApp.zip"
}
}
}For more information, see View application revision details with CodeDeploy in the AWS CodeDeploy User Guide.
Options
--application-nameThe name of the application that corresponds to the revision.--revisionInformation about the application revision to get, including type and location.