#[non_exhaustive]pub struct S3AccessPointConfiguration {
pub access_point_policy: Option<String>,
pub public_access_block: Option<S3PublicAccessBlockConfiguration>,
pub network_origin: Option<NetworkOriginConfiguration>,
}
Expand description
The configuration for an Amazon S3 access point or multi-region access point for the bucket. You can propose up to 10 access points or multi-region access points per bucket. If the proposed Amazon S3 access point configuration is for an existing bucket, the access preview uses the proposed access point configuration in place of the existing access points. To propose an access point without a policy, you can provide an empty string as the access point policy. For more information, see Creating access points. For more information about access point policy limits, see Access points restrictions and limitations.
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_point_policy: Option<String>
The access point or multi-region access point policy.
public_access_block: Option<S3PublicAccessBlockConfiguration>
The proposed S3PublicAccessBlock
configuration to apply to this Amazon S3 access point or multi-region access point.
network_origin: Option<NetworkOriginConfiguration>
The proposed Internet
and VpcConfiguration
to apply to this Amazon S3 access point. VpcConfiguration
does not apply to multi-region access points. If the access preview is for a new resource and neither is specified, the access preview uses Internet
for the network origin. If the access preview is for an existing resource and neither is specified, the access preview uses the exiting network origin.
Implementations
sourceimpl S3AccessPointConfiguration
impl S3AccessPointConfiguration
sourcepub fn access_point_policy(&self) -> Option<&str>
pub fn access_point_policy(&self) -> Option<&str>
The access point or multi-region access point policy.
sourcepub fn public_access_block(&self) -> Option<&S3PublicAccessBlockConfiguration>
pub fn public_access_block(&self) -> Option<&S3PublicAccessBlockConfiguration>
The proposed S3PublicAccessBlock
configuration to apply to this Amazon S3 access point or multi-region access point.
sourcepub fn network_origin(&self) -> Option<&NetworkOriginConfiguration>
pub fn network_origin(&self) -> Option<&NetworkOriginConfiguration>
The proposed Internet
and VpcConfiguration
to apply to this Amazon S3 access point. VpcConfiguration
does not apply to multi-region access points. If the access preview is for a new resource and neither is specified, the access preview uses Internet
for the network origin. If the access preview is for an existing resource and neither is specified, the access preview uses the exiting network origin.
sourceimpl S3AccessPointConfiguration
impl S3AccessPointConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture S3AccessPointConfiguration
.
Trait Implementations
sourceimpl Clone for S3AccessPointConfiguration
impl Clone for S3AccessPointConfiguration
sourcefn clone(&self) -> S3AccessPointConfiguration
fn clone(&self) -> S3AccessPointConfiguration
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 S3AccessPointConfiguration
impl Debug for S3AccessPointConfiguration
sourceimpl PartialEq<S3AccessPointConfiguration> for S3AccessPointConfiguration
impl PartialEq<S3AccessPointConfiguration> for S3AccessPointConfiguration
sourcefn eq(&self, other: &S3AccessPointConfiguration) -> bool
fn eq(&self, other: &S3AccessPointConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &S3AccessPointConfiguration) -> bool
fn ne(&self, other: &S3AccessPointConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for S3AccessPointConfiguration
Auto Trait Implementations
impl RefUnwindSafe for S3AccessPointConfiguration
impl Send for S3AccessPointConfiguration
impl Sync for S3AccessPointConfiguration
impl Unpin for S3AccessPointConfiguration
impl UnwindSafe for S3AccessPointConfiguration
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> 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