#[non_exhaustive]pub struct S3AccessPointConfiguration { /* private fields */ }
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.
Implementations§
source§impl 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.
source§impl S3AccessPointConfiguration
impl S3AccessPointConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture S3AccessPointConfiguration
.
Trait Implementations§
source§impl Clone for S3AccessPointConfiguration
impl Clone for S3AccessPointConfiguration
source§fn clone(&self) -> S3AccessPointConfiguration
fn clone(&self) -> S3AccessPointConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for S3AccessPointConfiguration
impl Debug for S3AccessPointConfiguration
source§impl PartialEq<S3AccessPointConfiguration> for S3AccessPointConfiguration
impl PartialEq<S3AccessPointConfiguration> for S3AccessPointConfiguration
source§fn eq(&self, other: &S3AccessPointConfiguration) -> bool
fn eq(&self, other: &S3AccessPointConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.