#[non_exhaustive]pub struct AwsCloudFrontDistributionOriginS3OriginConfig {
pub origin_access_identity: Option<String>,
}
Expand description
Information about an origin that is an Amazon S3 bucket that is not configured with static website hosting.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.origin_access_identity: Option<String>
The CloudFront origin access identity to associate with the origin.
Implementations§
source§impl AwsCloudFrontDistributionOriginS3OriginConfig
impl AwsCloudFrontDistributionOriginS3OriginConfig
sourcepub fn origin_access_identity(&self) -> Option<&str>
pub fn origin_access_identity(&self) -> Option<&str>
The CloudFront origin access identity to associate with the origin.
source§impl AwsCloudFrontDistributionOriginS3OriginConfig
impl AwsCloudFrontDistributionOriginS3OriginConfig
sourcepub fn builder() -> AwsCloudFrontDistributionOriginS3OriginConfigBuilder
pub fn builder() -> AwsCloudFrontDistributionOriginS3OriginConfigBuilder
Creates a new builder-style object to manufacture AwsCloudFrontDistributionOriginS3OriginConfig
.
Trait Implementations§
source§impl Clone for AwsCloudFrontDistributionOriginS3OriginConfig
impl Clone for AwsCloudFrontDistributionOriginS3OriginConfig
source§fn clone(&self) -> AwsCloudFrontDistributionOriginS3OriginConfig
fn clone(&self) -> AwsCloudFrontDistributionOriginS3OriginConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq for AwsCloudFrontDistributionOriginS3OriginConfig
impl PartialEq for AwsCloudFrontDistributionOriginS3OriginConfig
source§fn eq(&self, other: &AwsCloudFrontDistributionOriginS3OriginConfig) -> bool
fn eq(&self, other: &AwsCloudFrontDistributionOriginS3OriginConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsCloudFrontDistributionOriginS3OriginConfig
Auto Trait Implementations§
impl RefUnwindSafe for AwsCloudFrontDistributionOriginS3OriginConfig
impl Send for AwsCloudFrontDistributionOriginS3OriginConfig
impl Sync for AwsCloudFrontDistributionOriginS3OriginConfig
impl Unpin for AwsCloudFrontDistributionOriginS3OriginConfig
impl UnwindSafe for AwsCloudFrontDistributionOriginS3OriginConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more