# MediaPackageV2OriginAccessControlProps

Properties for creating a MediaPackage V2 Origin Access Control resource.

Extends: MediaPackageV2OriginAccessControlProps
Extends: OriginAccessControlBaseProps
Used as props by: MediaPackageV2OriginAccessControl

- Source: [`aws-cloudfront/lib/origin-access-control.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-cloudfront/lib/origin-access-control.ts#L85)
- Type last changed: v2.254.0 · 13 May 2026

## 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';

declare const signing: cloudfront.Signing;
const mediaPackageV2OriginAccessControlProps: cloudfront.MediaPackageV2OriginAccessControlProps = {
  description: 'description',
  originAccessControlName: 'originAccessControlName',
  signing: signing,
};
```

## Properties

- `description`: string — A description of the origin access control.

  **Default:** no description

- `originAccessControlName`: string — A name to identify the origin access control, with a maximum length of 64 characters.

  **Default:** a generated name

- `signing`: [Signing](/cdk/api/v2/docs/aws-cdk-lib.aws_cloudfront.Signing.html) = SIGV4_ALWAYS — Specifies which requests CloudFront signs and the signing protocol.
