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
sourceimpl 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.
Trait Implementations
impl StructuralPartialEq for S3Storage
Auto Trait Implementations
impl RefUnwindSafe for S3Storage
impl Send for S3Storage
impl Sync for S3Storage
impl Unpin for S3Storage
impl UnwindSafe for S3Storage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more