Struct aws_sdk_cloudfront::operation::create_cloud_front_origin_access_identity::CreateCloudFrontOriginAccessIdentityInput
source · #[non_exhaustive]pub struct CreateCloudFrontOriginAccessIdentityInput {
pub cloud_front_origin_access_identity_config: Option<CloudFrontOriginAccessIdentityConfig>,
}
Expand description
The request to create a new origin access identity (OAI). An origin access identity is a special CloudFront user that you can associate with Amazon S3 origins, so that you can secure all or just some of your Amazon S3 content. For more information, see Restricting Access to Amazon S3 Content by Using an Origin Access Identity in the Amazon CloudFront Developer Guide.
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.cloud_front_origin_access_identity_config: Option<CloudFrontOriginAccessIdentityConfig>
The current configuration information for the identity.
Implementations§
source§impl CreateCloudFrontOriginAccessIdentityInput
impl CreateCloudFrontOriginAccessIdentityInput
sourcepub fn cloud_front_origin_access_identity_config(
&self
) -> Option<&CloudFrontOriginAccessIdentityConfig>
pub fn cloud_front_origin_access_identity_config( &self ) -> Option<&CloudFrontOriginAccessIdentityConfig>
The current configuration information for the identity.
source§impl CreateCloudFrontOriginAccessIdentityInput
impl CreateCloudFrontOriginAccessIdentityInput
sourcepub fn builder() -> CreateCloudFrontOriginAccessIdentityInputBuilder
pub fn builder() -> CreateCloudFrontOriginAccessIdentityInputBuilder
Creates a new builder-style object to manufacture CreateCloudFrontOriginAccessIdentityInput
.
Trait Implementations§
source§impl Clone for CreateCloudFrontOriginAccessIdentityInput
impl Clone for CreateCloudFrontOriginAccessIdentityInput
source§fn clone(&self) -> CreateCloudFrontOriginAccessIdentityInput
fn clone(&self) -> CreateCloudFrontOriginAccessIdentityInput
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 CreateCloudFrontOriginAccessIdentityInput
impl PartialEq for CreateCloudFrontOriginAccessIdentityInput
source§fn eq(&self, other: &CreateCloudFrontOriginAccessIdentityInput) -> bool
fn eq(&self, other: &CreateCloudFrontOriginAccessIdentityInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateCloudFrontOriginAccessIdentityInput
Auto Trait Implementations§
impl RefUnwindSafe for CreateCloudFrontOriginAccessIdentityInput
impl Send for CreateCloudFrontOriginAccessIdentityInput
impl Sync for CreateCloudFrontOriginAccessIdentityInput
impl Unpin for CreateCloudFrontOriginAccessIdentityInput
impl UnwindSafe for CreateCloudFrontOriginAccessIdentityInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.