Skip to content

S3Location

Source code in docs_src/capo_codedeploy/types/s3_location.py
class S3Location(TypedDict, closed=True):
    bucket: NotRequired["capo_codedeploy.types.s3_bucket.S3Bucket"]
    """<p>The name of the Amazon S3 bucket where the application revision is stored.</p>"""
    key: NotRequired["capo_codedeploy.types.s3_key.S3Key"]
    """<p>The name of the Amazon S3 object that represents the bundled artifacts for the application revision.</p>"""
    bundle_type: NotRequired["capo_codedeploy.types.bundle_type.BundleType"]
    """<p>The file type of the application revision. Must be one of the following:</p> <ul> <li> <p> <code>tar</code>: A tar archive file.</p> </li> <li> <p> <code>tgz</code>: A compressed tar archive file.</p> </li> <li> <p> <code>zip</code>: A zip archive file.</p> </li> <li> <p> <code>YAML</code>: A YAML-formatted file.</p> </li> <li> <p> <code>JSON</code>: A JSON-formatted file.</p> </li> </ul>"""
    version: NotRequired["capo_codedeploy.types.version_id.VersionId"]
    """<p>A specific version of the Amazon S3 object that represents the bundled artifacts for the application revision.</p> <p>If the version is not specified, the system uses the most recent version by default.</p>"""
    e_tag: NotRequired["capo_codedeploy.types.e_tag.ETag"]
    """<p>The ETag of the Amazon S3 object that represents the bundled artifacts for the application revision.</p> <p>If the ETag is not specified as an input parameter, ETag validation of the object is skipped.</p>"""

bucket instance-attribute

bucket: NotRequired[S3Bucket]

The name of the Amazon S3 bucket where the application revision is stored.

bundle_type instance-attribute

bundle_type: NotRequired[BundleType]

The file type of the application revision. Must be one of the following:

  • tar: A tar archive file.

  • tgz: A compressed tar archive file.

  • zip: A zip archive file.

  • YAML: A YAML-formatted file.

  • JSON: A JSON-formatted file.

e_tag instance-attribute

e_tag: NotRequired[ETag]

The ETag of the Amazon S3 object that represents the bundled artifacts for the application revision.

If the ETag is not specified as an input parameter, ETag validation of the object is skipped.

key instance-attribute

key: NotRequired[S3Key]

The name of the Amazon S3 object that represents the bundled artifacts for the application revision.

version instance-attribute

version: NotRequired[VersionId]

A specific version of the Amazon S3 object that represents the bundled artifacts for the application revision.

If the version is not specified, the system uses the most recent version by default.