---
title: "POST /packaging_groups"
method: POST
path: "/packaging_groups"
---

# POST /packaging_groups

`POST /packaging_groups`

Creates a new MediaPackage VOD PackagingGroup resource.

## Request body

- object
  - `authorization` object — CDN Authorization credentials
    - `CdnIdentifierSecret` string — The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that is used for CDN authorization.
    - `SecretsRoleArn` string — The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.
  - `egressAccessLogs` object — Configure egress access logging.
    - `LogGroupName` string — Customize the log group name.
  - `id` string, required — The ID of the PackagingGroup.
  - `tags` object — A collection of tags associated with a resource

## Response `200`

Success

- CreatePackagingGroupResponse
  - `Arn` string — The ARN of the PackagingGroup.
  - `Authorization` object — CDN Authorization credentials
    - `CdnIdentifierSecret` string, required — The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that is used for CDN authorization.
    - `SecretsRoleArn` string, required — The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.
  - `CreatedAt` string — The time the PackagingGroup was created.
  - `DomainName` string — The fully qualified domain name for Assets in the PackagingGroup.
  - `EgressAccessLogs` object — Configure egress access logging.
    - `LogGroupName` string — Customize the log group name.
  - `Id` string — The ID of the PackagingGroup.
  - `Tags` object — A collection of tags associated with a resource

## Other responses

- `480` — UnprocessableEntityException
- `481` — InternalServerErrorException
- `482` — ForbiddenException
- `483` — NotFoundException
- `484` — ServiceUnavailableException
- `485` — TooManyRequestsException

---

[API](https://skmtc.net/aws/apis/mediapackage-vod.md) · [All operations](https://skmtc.net/aws/apis/mediapackage-vod/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/mediapackage-vod/versions/2c9e82c3b418/schema)
