Struct aws_sdk_macie2::types::BucketLevelPermissions
source · #[non_exhaustive]pub struct BucketLevelPermissions {
pub access_control_list: Option<AccessControlList>,
pub block_public_access: Option<BlockPublicAccess>,
pub bucket_policy: Option<BucketPolicy>,
}
Expand description
Provides information about the bucket-level permissions settings 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.access_control_list: Option<AccessControlList>
The permissions settings of the access control list (ACL) for the bucket. This value is null if an ACL hasn't been defined for the bucket.
block_public_access: Option<BlockPublicAccess>
The block public access settings for the bucket.
bucket_policy: Option<BucketPolicy>
The permissions settings of the bucket policy for the bucket. This value is null if a bucket policy hasn't been defined for the bucket.
Implementations§
source§impl BucketLevelPermissions
impl BucketLevelPermissions
sourcepub fn access_control_list(&self) -> Option<&AccessControlList>
pub fn access_control_list(&self) -> Option<&AccessControlList>
The permissions settings of the access control list (ACL) for the bucket. This value is null if an ACL hasn't been defined for the bucket.
sourcepub fn block_public_access(&self) -> Option<&BlockPublicAccess>
pub fn block_public_access(&self) -> Option<&BlockPublicAccess>
The block public access settings for the bucket.
sourcepub fn bucket_policy(&self) -> Option<&BucketPolicy>
pub fn bucket_policy(&self) -> Option<&BucketPolicy>
The permissions settings of the bucket policy for the bucket. This value is null if a bucket policy hasn't been defined for the bucket.
source§impl BucketLevelPermissions
impl BucketLevelPermissions
sourcepub fn builder() -> BucketLevelPermissionsBuilder
pub fn builder() -> BucketLevelPermissionsBuilder
Creates a new builder-style object to manufacture BucketLevelPermissions
.
Trait Implementations§
source§impl Clone for BucketLevelPermissions
impl Clone for BucketLevelPermissions
source§fn clone(&self) -> BucketLevelPermissions
fn clone(&self) -> BucketLevelPermissions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BucketLevelPermissions
impl Debug for BucketLevelPermissions
source§impl PartialEq<BucketLevelPermissions> for BucketLevelPermissions
impl PartialEq<BucketLevelPermissions> for BucketLevelPermissions
source§fn eq(&self, other: &BucketLevelPermissions) -> bool
fn eq(&self, other: &BucketLevelPermissions) -> bool
self
and other
values to be equal, and is used
by ==
.