amazonka-cloudfront-2.0: Amazon CloudFront SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudFront.Types.OriginAccessControlSummary

Description

 
Synopsis

Documentation

data OriginAccessControlSummary Source #

A CloudFront origin access control.

See: newOriginAccessControlSummary smart constructor.

Constructors

OriginAccessControlSummary' 

Fields

  • id :: Text

    The unique identifier of the origin access control.

  • description :: Text

    A description of the origin access control.

  • name :: Text

    A unique name that identifies the origin access control.

  • signingProtocol :: OriginAccessControlSigningProtocols

    The signing protocol of the origin access control. The signing protocol determines how CloudFront signs (authenticates) requests. The only valid value is sigv4.

  • signingBehavior :: 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 the Authorization header from the viewer request if necessary.
    • no-override – If the viewer request doesn't contain the Authorization header, CloudFront signs the origin request. If the viewer request contains the Authorization header, CloudFront doesn't sign the origin request, but instead passes along the Authorization header that it received in the viewer request.
  • originAccessControlOriginType :: OriginAccessControlOriginTypes

    The type of origin that this origin access control is for. The only valid value is s3.

Instances

Instances details
FromXML OriginAccessControlSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSummary

Generic OriginAccessControlSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSummary

Associated Types

type Rep OriginAccessControlSummary :: Type -> Type #

Read OriginAccessControlSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSummary

Show OriginAccessControlSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSummary

NFData OriginAccessControlSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSummary

Eq OriginAccessControlSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSummary

Hashable OriginAccessControlSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSummary

type Rep OriginAccessControlSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSummary

type Rep OriginAccessControlSummary = D1 ('MetaData "OriginAccessControlSummary" "Amazonka.CloudFront.Types.OriginAccessControlSummary" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "OriginAccessControlSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "signingProtocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginAccessControlSigningProtocols) :*: (S1 ('MetaSel ('Just "signingBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginAccessControlSigningBehaviors) :*: S1 ('MetaSel ('Just "originAccessControlOriginType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginAccessControlOriginTypes)))))

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 the Authorization header from the viewer request if necessary.
  • no-override – If the viewer request doesn't contain the Authorization header, CloudFront signs the origin request. If the viewer request contains the Authorization header, CloudFront doesn't sign the origin request, but instead passes along the Authorization 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_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 the Authorization header from the viewer request if necessary.
  • no-override – If the viewer request doesn't contain the Authorization header, CloudFront signs the origin request. If the viewer request contains the Authorization header, CloudFront doesn't sign the origin request, but instead passes along the Authorization 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.