View application revision details with CodeDeploy - Amazon CodeDeploy
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

View application revision details with CodeDeploy

You can use the CodeDeploy console, the Amazon CLI, or the CodeDeploy APIs to view details about all application revisions that are registered to your Amazon account for a specified application.

For information about registering a revision, see Register an application revision in Amazon S3 with CodeDeploy.

View application revision details (console)

To view application revision details:

  1. Sign in to the Amazon Web Services Management Console and open the CodeDeploy console at https://console.amazonaws.cn/codedeploy.

    Note

    Sign in with the same user that you set up in Getting started with CodeDeploy.

  2. In the navigation pane, expand Deploy and choose Applications.

    Note

    If no entries are displayed, make sure the correct region is selected. On the navigation bar, in the region selector, choose one of the regions listed in Region and Endpoints in the Amazon Web Services General Reference. CodeDeploy is supported in these regions only.

  3. Choose the name of the application that has the revision you want to view.

  4. On the Application details page, choose the Revisions tab, and review the list of revisions that are registered for the application. Choose a revision, then choose View details.

View application revision details (CLI)

To use the Amazon CLI to view an application revision, call either the get-application-revision command or the list-application-revisions command.

Note

References to GitHub apply to deployments to EC2/On-Premises deployments only. Revisions for Amazon Lambda deployments do not work with GitHub.

To view details about a single application revision, call the get-application-revision command, specifying:

  • The application name. To get the application name, call the list-applications command.

  • For a revision stored in GitHub, the GitHub repository name and the ID of the commit that references the application revision that was pushed to the repository.

  • For a revision stored in Amazon S3, the Amazon S3 bucket name containing the revision; the name and file type of the uploaded archive file; and, optionally, the archive file's Amazon S3 version identifier and ETag. If the version identifier, ETag, or both were specified during a call to register-application-revision, they must be specified here.

To view details about multiple application revisions, call the list-application-revisions command, specifying:

  • The application name. To get the application name, call the list-applications command.

  • Optionally, to view details for Amazon S3 application revisions only, the Amazon S3 bucket name containing the revisions.

  • Optionally, to view details for Amazon S3 application revisions only, a prefix string to limit the search to Amazon S3 application revisions. (If not specified, CodeDeploy will list all matching Amazon S3 application revisions.)

  • Optionally, whether to list revision details based on whether each revision is the target revision of a deployment group. (If not specified, CodeDeploy will list all matching revisions.)

  • Optionally, the column name and order by which to sort the list of revision details. (If not specified, CodeDeploy will list results in an arbitrary order.)

You can list all revisions or only those revisions stored in Amazon S3. You cannot list only those revisions stored in GitHub.