AWS CodeDeploy
User Guide (API Version 2014-10-06)

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

Specify Information About a Revision Stored in an Amazon S3 Bucket

If you are following the steps in Create an EC2/On-Premises Compute Platform Deployment (Console), follow these steps to add details about an application revision stored in an Amazon S3 bucket.

  1. Copy your revision's Amazon S3 link into the Revision location box. To find the link value:

    1. In a separate browser tab:

      Sign in to the AWS Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/.

      Browse to and choose your revision.

    2. If the Properties pane is not visible, choose the Properties button.

    3. In the Properties pane, copy the value of the Link field into the Revision location box in the CodeDeploy console.

    To specify an ETag (a file checksum) as part of the revision location:

    • If the Link field value ends in ?versionId=versionId, add &etag= and the ETag to the end of the Link field value.

    • If the Link field value does not specify a version ID, add ?etag= and the ETag to the end of the Link field value.

    Note

    Although it's not as easy as copying the value of the Link field, you can also type the revision location in one of the following formats:

    s3://bucket-name/folders/objectName

    s3://bucket-name/folders/objectName?versionId=versionId

    s3://bucket-name/folders/objectName?etag=etag

    s3://bucket-name/folders/objectName?versionId=versionId&etag=etag

    bucket-name.s3.amazonaws.com/folders/objectName

  2. If a message appears in the File type list that says the file type could not be detected, choose the revision's file type. Otherwise, accept the detected file type.