#[non_exhaustive]pub struct OriginAccessControlSummary { /* private fields */ }
Expand description
A CloudFront origin access control.
Implementations§
source§impl OriginAccessControlSummary
impl OriginAccessControlSummary
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the origin access control.
sourcepub fn signing_protocol(&self) -> Option<&OriginAccessControlSigningProtocols>
pub fn signing_protocol(&self) -> Option<&OriginAccessControlSigningProtocols>
The signing protocol of the origin access control. The signing protocol determines how CloudFront signs (authenticates) requests. The only valid value is sigv4
.
sourcepub fn signing_behavior(&self) -> Option<&OriginAccessControlSigningBehaviors>
pub fn signing_behavior(&self) -> Option<&OriginAccessControlSigningBehaviors>
A value that specifies which requests CloudFront signs (adds authentication information to). This field can have one of the following values:
-
never
– CloudFront doesn't sign any origin requests. -
always
– CloudFront signs all origin requests, overwriting theAuthorization
header from the viewer request if necessary. -
no-override
– If the viewer request doesn't contain theAuthorization
header, CloudFront signs the origin request. If the viewer request contains theAuthorization
header, CloudFront doesn't sign the origin request, but instead passes along theAuthorization
header that it received in the viewer request.
sourcepub fn origin_access_control_origin_type(
&self
) -> Option<&OriginAccessControlOriginTypes>
pub fn origin_access_control_origin_type(
&self
) -> Option<&OriginAccessControlOriginTypes>
The type of origin that this origin access control is for. The only valid value is s3
.
source§impl OriginAccessControlSummary
impl OriginAccessControlSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture OriginAccessControlSummary
.
Trait Implementations§
source§impl Clone for OriginAccessControlSummary
impl Clone for OriginAccessControlSummary
source§fn clone(&self) -> OriginAccessControlSummary
fn clone(&self) -> OriginAccessControlSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OriginAccessControlSummary
impl Debug for OriginAccessControlSummary
source§impl PartialEq<OriginAccessControlSummary> for OriginAccessControlSummary
impl PartialEq<OriginAccessControlSummary> for OriginAccessControlSummary
source§fn eq(&self, other: &OriginAccessControlSummary) -> bool
fn eq(&self, other: &OriginAccessControlSummary) -> bool
self
and other
values to be equal, and is used
by ==
.