Skip to content

S3Storage

Source code in docs_src/capo_ec2/types/s3_storage.py
class S3Storage(TypedDict, closed=True):
    aws_access_key_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The access key ID of the owner of the bucket. Before you specify a value for your access key ID, review and follow the guidance in <a href="https://docs.aws.amazon.com/accounts/latest/reference/best-practices.html">Best Practices for Amazon Web Services accounts</a> in the <i>Account ManagementReference Guide</i>.</p>"""
    bucket: NotRequired["capo_ec2.types.string.String"]
    """<p>The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone else, Amazon EC2 returns an error.</p>"""
    prefix: NotRequired["capo_ec2.types.string.String"]
    """<p>The beginning of the file name of the AMI.</p>"""
    upload_policy: NotRequired["capo_ec2.types.secure_blob.SecureBlob"]
    """<p>An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your behalf.</p>"""
    upload_policy_signature: NotRequired[
        "capo_ec2.types.s3_storage_upload_policy_signature.S3StorageUploadPolicySignature"
    ]
    """<p>The signature of the JSON document.</p>"""

aws_access_key_id instance-attribute

aws_access_key_id: NotRequired[String]

The access key ID of the owner of the bucket. Before you specify a value for your access key ID, review and follow the guidance in Best Practices for Amazon Web Services accounts in the Account ManagementReference Guide.

bucket instance-attribute

bucket: NotRequired[String]

The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone else, Amazon EC2 returns an error.

prefix instance-attribute

prefix: NotRequired[String]

The beginning of the file name of the AMI.

upload_policy instance-attribute

upload_policy: NotRequired[SecureBlob]

An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your behalf.

upload_policy_signature instance-attribute

upload_policy_signature: NotRequired[S3StorageUploadPolicySignature]

The signature of the JSON document.