Struct aws_sdk_ec2::types::S3Storage
source · #[non_exhaustive]pub struct S3Storage {
pub aws_access_key_id: Option<String>,
pub bucket: Option<String>,
pub prefix: Option<String>,
pub upload_policy: Option<Blob>,
pub upload_policy_signature: Option<String>,
}
Expand description
Describes the storage parameters for Amazon S3 and Amazon S3 buckets for an instance store-backed AMI.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.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 Amazon Web Services accounts in the Account ManagementReference Guide.
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<Blob>
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.
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 Amazon Web Services accounts in the Account ManagementReference Guide.
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.