pub struct S3Storage {
pub aws_access_key_id: Option<String>,
pub bucket: Option<String>,
pub prefix: Option<String>,
pub upload_policy: Option<Bytes>,
pub upload_policy_signature: Option<String>,
}Expand description
Describes the storage parameters for S3 and S3 buckets for an instance store-backed AMI.
Fields§
§aws_access_key_id: Option<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 Managing AWS Access Keys.
bucket: Option<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: Option<String>The beginning of the file name of the AMI.
upload_policy: Option<Bytes>An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your behalf.
upload_policy_signature: Option<String>The signature of the JSON document.
Trait Implementations§
impl StructuralPartialEq for S3Storage
Auto Trait Implementations§
impl !Freeze for S3Storage
impl RefUnwindSafe for S3Storage
impl Send for S3Storage
impl Sync for S3Storage
impl Unpin for S3Storage
impl UnwindSafe for S3Storage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more