# CfnOriginAccessControlProps

Properties for defining a `CfnOriginAccessControl`.

Extends: CfnOriginAccessControlProps
Used as props by: CfnOriginAccessControl

- Source: Generated code
- Type last changed: v2.42.0 · 16 Sep 2022

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudfront as cloudfront } from 'aws-cdk-lib';
const cfnOriginAccessControlProps: cloudfront.CfnOriginAccessControlProps = {
  originAccessControlConfig: {
    name: 'name',
    originAccessControlOriginType: 'originAccessControlOriginType',
    signingBehavior: 'signingBehavior',
    signingProtocol: 'signingProtocol',

    // the properties below are optional
    description: 'description',
  },
};
```

## Properties

- `originAccessControlConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnOriginAccessControl.OriginAccessControlConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_cloudfront.CfnOriginAccessControl.OriginAccessControlConfigProperty.html) (required) — The origin access control.
