Skip to content

EC2  >  Structures  >  S3Storage

S3Storage

Structure Class

S3Storage dataclass

Bases: _SerdeShape

Describes the storage parameters for Amazon S3 and Amazon S3 buckets for an instance store-backed AMI.

Attributes

aws_access_key_id class-attribute instance-attribute
aws_access_key_id: str | None = ...

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 class-attribute instance-attribute
bucket: str | None = ...

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 class-attribute instance-attribute
prefix: str | None = ...

The beginning of the file name of the AMI.

upload_policy class-attribute instance-attribute
upload_policy: bytes | None = ...

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

upload_policy_signature class-attribute instance-attribute
upload_policy_signature: str | None = ...

The signature of the JSON document.