Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data OriginAccessControlSummary = OriginAccessControlSummary' {}
- newOriginAccessControlSummary :: Text -> Text -> Text -> OriginAccessControlSigningProtocols -> OriginAccessControlSigningBehaviors -> OriginAccessControlOriginTypes -> OriginAccessControlSummary
- originAccessControlSummary_id :: Lens' OriginAccessControlSummary Text
- originAccessControlSummary_description :: Lens' OriginAccessControlSummary Text
- originAccessControlSummary_name :: Lens' OriginAccessControlSummary Text
- originAccessControlSummary_signingProtocol :: Lens' OriginAccessControlSummary OriginAccessControlSigningProtocols
- originAccessControlSummary_signingBehavior :: Lens' OriginAccessControlSummary OriginAccessControlSigningBehaviors
- originAccessControlSummary_originAccessControlOriginType :: Lens' OriginAccessControlSummary OriginAccessControlOriginTypes
Documentation
data OriginAccessControlSummary Source #
A CloudFront origin access control.
See: newOriginAccessControlSummary
smart constructor.
OriginAccessControlSummary' | |
|
Instances
newOriginAccessControlSummary Source #
Create a value of OriginAccessControlSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:id:OriginAccessControlSummary'
, originAccessControlSummary_id
- The unique identifier of the origin access control.
$sel:description:OriginAccessControlSummary'
, originAccessControlSummary_description
- A description of the origin access control.
$sel:name:OriginAccessControlSummary'
, originAccessControlSummary_name
- A unique name that identifies the origin access control.
$sel:signingProtocol:OriginAccessControlSummary'
, originAccessControlSummary_signingProtocol
- The signing protocol of the origin access control. The signing protocol
determines how CloudFront signs (authenticates) requests. The only valid
value is sigv4
.
$sel:signingBehavior:OriginAccessControlSummary'
, originAccessControlSummary_signingBehavior
- 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.
$sel:originAccessControlOriginType:OriginAccessControlSummary'
, originAccessControlSummary_originAccessControlOriginType
- The type of origin that this origin access control is for. The only
valid value is s3
.
originAccessControlSummary_id :: Lens' OriginAccessControlSummary Text Source #
The unique identifier of the origin access control.
originAccessControlSummary_description :: Lens' OriginAccessControlSummary Text Source #
A description of the origin access control.
originAccessControlSummary_name :: Lens' OriginAccessControlSummary Text Source #
A unique name that identifies the origin access control.
originAccessControlSummary_signingProtocol :: Lens' OriginAccessControlSummary OriginAccessControlSigningProtocols Source #
The signing protocol of the origin access control. The signing protocol
determines how CloudFront signs (authenticates) requests. The only valid
value is sigv4
.
originAccessControlSummary_signingBehavior :: Lens' OriginAccessControlSummary OriginAccessControlSigningBehaviors Source #
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.
originAccessControlSummary_originAccessControlOriginType :: Lens' OriginAccessControlSummary OriginAccessControlOriginTypes Source #
The type of origin that this origin access control is for. The only
valid value is s3
.