Struct aws_sdk_accessanalyzer::model::S3BucketConfiguration [−][src]
#[non_exhaustive]pub struct S3BucketConfiguration {
pub bucket_policy: Option<String>,
pub bucket_acl_grants: Option<Vec<S3BucketAclGrantConfiguration>>,
pub bucket_public_access_block: Option<S3PublicAccessBlockConfiguration>,
pub access_points: Option<HashMap<String, S3AccessPointConfiguration>>,
}Expand description
Proposed access control configuration for an Amazon S3 bucket. You can propose a configuration for a new Amazon S3 bucket or an existing Amazon S3 bucket that you own by specifying the Amazon S3 bucket policy, bucket ACLs, bucket BPA settings, Amazon S3 access points, and multi-region access points attached to the bucket. If the configuration is for an existing Amazon S3 bucket and you do not specify the Amazon S3 bucket policy, the access preview uses the existing policy attached to the bucket. If the access preview is for a new resource and you do not specify the Amazon S3 bucket policy, the access preview assumes a 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 Bucket Policy Examples.
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 bucket.
bucket_acl_grants: Option<Vec<S3BucketAclGrantConfiguration>>The proposed list of ACL grants for the Amazon S3 bucket. You can propose up to 100 ACL grants per bucket. If the proposed grant configuration is for an existing bucket, the access preview uses the proposed list of grant configurations in place of the existing grants. Otherwise, the access preview uses the existing grants for the bucket.
bucket_public_access_block: Option<S3PublicAccessBlockConfiguration>The proposed block public access configuration for the Amazon S3 bucket.
access_points: Option<HashMap<String, S3AccessPointConfiguration>>The configuration of Amazon S3 access points or multi-region access points for the bucket. You can propose up to 10 new access points per bucket.
Implementations
The proposed bucket policy for the Amazon S3 bucket.
The proposed list of ACL grants for the Amazon S3 bucket. You can propose up to 100 ACL grants per bucket. If the proposed grant configuration is for an existing bucket, the access preview uses the proposed list of grant configurations in place of the existing grants. Otherwise, the access preview uses the existing grants for the bucket.
The proposed block public access configuration for the Amazon S3 bucket.
The configuration of Amazon S3 access points or multi-region access points for the bucket. You can propose up to 10 new access points per bucket.
Creates a new builder-style object to manufacture S3BucketConfiguration
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 S3BucketConfiguration
impl Send for S3BucketConfiguration
impl Sync for S3BucketConfiguration
impl Unpin for S3BucketConfiguration
impl UnwindSafe for S3BucketConfiguration
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