| 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 |
Amazonka.CloudFront.Types.OriginAccessControl
Description
Documentation
data OriginAccessControl Source #
A CloudFront origin access control, including its unique identifier.
See: newOriginAccessControl smart constructor.
Constructors
| OriginAccessControl' | |
Fields
| |
Instances
newOriginAccessControl Source #
Arguments
| :: Text | |
| -> OriginAccessControl |
Create a value of OriginAccessControl 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:originAccessControlConfig:OriginAccessControl', originAccessControl_originAccessControlConfig - The origin access control.
$sel:id:OriginAccessControl', originAccessControl_id - The unique identifier of the origin access control.
originAccessControl_originAccessControlConfig :: Lens' OriginAccessControl (Maybe OriginAccessControlConfig) Source #
The origin access control.
originAccessControl_id :: Lens' OriginAccessControl Text Source #
The unique identifier of the origin access control.