Struct aws_sdk_macie2::model::BucketPolicy [−][src]
#[non_exhaustive]pub struct BucketPolicy {
pub allows_public_read_access: bool,
pub allows_public_write_access: bool,
}
Expand description
Provides information about the permissions settings of the bucket policy for an S3 bucket.
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.allows_public_read_access: bool
Specifies whether the bucket policy allows the general public to have read access to the bucket.
allows_public_write_access: bool
Specifies whether the bucket policy allows the general public to have write access to the bucket.
Implementations
Specifies whether the bucket policy allows the general public to have read access to the bucket.
Specifies whether the bucket policy allows the general public to have write access to the bucket.
Creates a new builder-style object to manufacture BucketPolicy
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BucketPolicy
impl Send for BucketPolicy
impl Sync for BucketPolicy
impl Unpin for BucketPolicy
impl UnwindSafe for BucketPolicy
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more