pub struct S3BucketConfiguration {
pub access_points: Option<HashMap<String, S3AccessPointConfiguration>>,
pub bucket_acl_grants: Option<Vec<S3BucketAclGrantConfiguration>>,
pub bucket_policy: Option<String>,
pub bucket_public_access_block: Option<S3PublicAccessBlockConfiguration>,
}
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, and Amazon S3 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
access_points: Option<HashMap<String, S3AccessPointConfiguration>>
The configuration of Amazon S3 access points for the 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_policy: Option<String>
The proposed bucket policy for the Amazon S3 bucket.
bucket_public_access_block: Option<S3PublicAccessBlockConfiguration>
The proposed block public access configuration for the Amazon S3 bucket.
Trait Implementations
sourceimpl Clone for S3BucketConfiguration
impl Clone for S3BucketConfiguration
sourcefn clone(&self) -> S3BucketConfiguration
fn clone(&self) -> S3BucketConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for S3BucketConfiguration
impl Debug for S3BucketConfiguration
sourceimpl Default for S3BucketConfiguration
impl Default for S3BucketConfiguration
sourcefn default() -> S3BucketConfiguration
fn default() -> S3BucketConfiguration
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for S3BucketConfiguration
impl<'de> Deserialize<'de> for S3BucketConfiguration
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<S3BucketConfiguration> for S3BucketConfiguration
impl PartialEq<S3BucketConfiguration> for S3BucketConfiguration
sourcefn eq(&self, other: &S3BucketConfiguration) -> bool
fn eq(&self, other: &S3BucketConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &S3BucketConfiguration) -> bool
fn ne(&self, other: &S3BucketConfiguration) -> bool
This method tests for !=
.
sourceimpl Serialize for S3BucketConfiguration
impl Serialize for S3BucketConfiguration
impl StructuralPartialEq for S3BucketConfiguration
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more