#[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 Amazon S3 directory bucket policies, see Example directory bucket policies for S3 Express One Zone.
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 ==
.impl StructuralPartialEq for S3ExpressDirectoryBucketConfiguration
Auto Trait Implementations§
impl Freeze for S3ExpressDirectoryBucketConfiguration
impl RefUnwindSafe for S3ExpressDirectoryBucketConfiguration
impl Send for S3ExpressDirectoryBucketConfiguration
impl Sync for S3ExpressDirectoryBucketConfiguration
impl Unpin for S3ExpressDirectoryBucketConfiguration
impl UnwindSafe for S3ExpressDirectoryBucketConfiguration
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more