#[non_exhaustive]pub struct S3ExpressDirectoryBucketConfiguration {
pub bucket_policy: Option<String>,
}Expand description
Proposed access control configuration for an Amazon S3 directory bucket. You can propose a configuration for a new Amazon S3 directory bucket or an existing Amazon S3 directory bucket that you own by specifying the Amazon S3 bucket policy. If the configuration is for an existing Amazon S3 directory bucket and you do not specify the Amazon S3 bucket policy, the access preview uses the existing policy attached to the directory bucket. If the access preview is for a new resource and you do not specify the Amazon S3 bucket policy, the access preview assumes an directory bucket without a policy. To propose deletion of an existing bucket policy, you can specify an empty string. For more information about bucket policy limits, see Example bucket policies.
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.bucket_policy: Option<String>The proposed bucket policy for the Amazon S3 directory bucket.
Implementations§
source§impl S3ExpressDirectoryBucketConfiguration
impl S3ExpressDirectoryBucketConfiguration
sourcepub fn bucket_policy(&self) -> Option<&str>
pub fn bucket_policy(&self) -> Option<&str>
The proposed bucket policy for the Amazon S3 directory bucket.
source§impl S3ExpressDirectoryBucketConfiguration
impl S3ExpressDirectoryBucketConfiguration
sourcepub fn builder() -> S3ExpressDirectoryBucketConfigurationBuilder
pub fn builder() -> S3ExpressDirectoryBucketConfigurationBuilder
Creates a new builder-style object to manufacture S3ExpressDirectoryBucketConfiguration.
Trait Implementations§
source§impl Clone for S3ExpressDirectoryBucketConfiguration
impl Clone for S3ExpressDirectoryBucketConfiguration
source§fn clone(&self) -> S3ExpressDirectoryBucketConfiguration
fn clone(&self) -> S3ExpressDirectoryBucketConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for S3ExpressDirectoryBucketConfiguration
impl PartialEq for S3ExpressDirectoryBucketConfiguration
source§fn eq(&self, other: &S3ExpressDirectoryBucketConfiguration) -> bool
fn eq(&self, other: &S3ExpressDirectoryBucketConfiguration) -> bool
self and other values to be equal, and is used
by ==.