Struct aws_sdk_ec2::model::S3Storage
source · #[non_exhaustive]pub struct S3Storage { /* private fields */ }
Expand description
Describes the storage parameters for Amazon S3 and Amazon S3 buckets for an instance store-backed AMI.
Implementations§
source§impl S3Storage
impl S3Storage
sourcepub fn aws_access_key_id(&self) -> Option<&str>
pub fn aws_access_key_id(&self) -> Option<&str>
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 managing Amazon Web Services access keys.
sourcepub fn bucket(&self) -> Option<&str>
pub fn bucket(&self) -> Option<&str>
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.
sourcepub fn upload_policy(&self) -> Option<&Blob>
pub fn upload_policy(&self) -> Option<&Blob>
An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your behalf.
sourcepub fn upload_policy_signature(&self) -> Option<&str>
pub fn upload_policy_signature(&self) -> Option<&str>
The signature of the JSON document.