

# Working with packaging groups in AWS Elemental MediaPackage
<a name="pkg-group"></a>

A packaging group holds one or more packaging configurations. When a packaging group is associated with an asset, the packaging configurations define the outputs that are available from the asset. You can associate multiple assets with one packaging group. This enables you to apply the same configurations to multiple assets.

**Topics**
+ [

# Creating a packaging group
](pkg-group-create.md)
+ [

# Viewing packaging group details
](pkg-group-view.md)
+ [

# Editing a packaging group
](pkg-group-edit.md)
+ [

# Deleting a packaging group
](pkg-group-delete.md)
+ [

# Adding a packaging configuration to a packaging group
](pkg-group-add-cfig.md)

# Creating a packaging group
<a name="pkg-group-create"></a>

Create a packaging group to hold all of the packaging configurations for an asset. The packaging group, for example, tells AWS Elemental MediaPackage that an asset is available for output to devices that support Apple HLS and DASH-ISO.

 When you create a packaging group, you have the option to enable CDN authorization. For more information about CDN authorization, see [CDN authorization in AWS Elemental MediaPackage](cdn-auth.md).

To create a packaging group, you can use the MediaPackage console, the AWS CLI, or the MediaPackage API. information about creating a packaging group with the AWS CLI or MediaPackage API, see [Packaging\$1groups](https://docs.aws.amazon.com/mediapackage-vod/latest/apireference/packaging_groups.html) in the *AWS Elemental MediaPackage VOD API Reference*.

When you're creating a packaging group, don't put sensitive identifying information like customer account numbers into free-form fields, such as the **ID** field. This applies when you're using the MediaPackage console, MediaPackage API, AWS CLI, or AWS SDKs. Any data that you enter into MediaPackage might get picked up for inclusion in diagnostic logs or Amazon CloudWatch Events.

**To create a packaging group (console)**

1. Open the MediaPackage console at [https://console.aws.amazon.com/mediapackage/](https://console.aws.amazon.com/mediapackage/).

1. In the navigation pane, under **Video on demand**, choose **Packaging groups**.

1. On the **Packaging groups** page, choose **Create group**.

1. In the **Creating packaging group** dialog box, do the following:

   1. For **ID**, enter a name that describes the packaging group. The ID is the primary identifier for the group, and must be unique for your account in this AWS Region.

   1. Choose **Create**.

MediaPackage displays the new packaging group's details page.

If you exceed the quotas for your account when you're creating a packaging group, you get an error. If you get an error similar to Too many requests, please try again. Resource limit exceeded, either you have exceeded the API request quotas, or you have already reached the maximum number of packaging groups allowed on your account. If this is your first group, or if you think you mistakenly received this error, use the Service Quotas console to [request quota increases](https://console.aws.amazon.com/servicequotas/home?region=us-east-1#!/services/mediapackage/quotas). For more information about quotas in MediaPackage, see [Quotas in AWS Elemental MediaPackage](quotas.md).

# Viewing packaging group details
<a name="pkg-group-view"></a>

You can view all packaging groups that are configured in AWS Elemental MediaPackage or the details of a specific packaging group, including the packaging configurations that are associated with it.

To view packaging group details, you can use the AWS Elemental MediaPackage console, the AWS CLI, or the MediaPackage API. information about viewing a packaging group with the AWS CLI or MediaPackage API, see [Packaging\$1groups id](https://docs.aws.amazon.com/mediapackage-vod/latest/apireference/packaging_groups-id.html) in the *AWS Elemental MediaPackage VOD API Reference*.

**To view packaging groups (console)**

1. Open the MediaPackage console at [https://console.aws.amazon.com/mediapackage/](https://console.aws.amazon.com/mediapackage/).

1. In the navigation pane, under **Video on demand**, choose **Packaging groups**.

   All groups are displayed on the console.

1. To view more information about a specific packaging group, choose the name of the group.

   MediaPackage displays summary information, such as the assets associated with this packaging group.

# Editing a packaging group
<a name="pkg-group-edit"></a>

Edit the packaging group to configure access control settings.

**Note**  
You can't edit the packager group ID after the packaging group is created. If you want to change the packaging group ID, you must create a new packaging group.

You can use the AWS Elemental MediaPackage console, the AWS CLI, or the MediaPackage API to edit a packaging group's access control settings. For information about editing a packaging group using the AWS CLI or MediaPackage API, see the [MediaPackage VOD API reference](https://docs.aws.amazon.com/mediapackage-vod/latest/apireference/packaging_groups).

# Deleting a packaging group
<a name="pkg-group-delete"></a>

To stop AWS Elemental MediaPackage from delivering more content from an asset, delete the packaging group. Before you can delete the packaging group, you must delete the group's packaging configurations and any assets that use the group.
+ To delete a packaging configuration, see [Deleting a packaging configuration](pkg-cfig-delete.md).
+ To delete an asset, see [Deleting an asset](asset-delete.md).

To delete a packaging group, you can use the MediaPackage console, the AWS CLI, or the MediaPackage API. For information about deleting a packaging group with the AWS CLI or MediaPackage API, see [Packaging\$1groups id](https://docs.aws.amazon.com/mediapackage-vod/latest/apireference/packaging_groups-id.html) in the *AWS Elemental MediaPackage VOD API Reference*.

**To delete a packaging group (console)**

1. Open the MediaPackage console at [https://console.aws.amazon.com/mediapackage/](https://console.aws.amazon.com/mediapackage/).

1. In the navigation pane, under **Video on demand**, choose **Packaging groups**.

1. On the **Packaging groups** page, choose the packaging group that you want to delete.

1. Choose **Delete**.

1. In the **Packaging group delete** dialog box, choose **Delete** to finish deleting the packaging group.

# Adding a packaging configuration to a packaging group
<a name="pkg-group-add-cfig"></a>

 To define how AWS Elemental MediaPackage formats outputs from an asset, add a packaging configuration to a packaging group.

To add a packaging configuration to a packaging group, you can use the MediaPackage console, the AWS CLI, or the MediaPackage API. For more information about adding a packaging configuration with the AWS CLI or MediaPackage API, see [Packaging\$1configurations](https://docs.aws.amazon.com/mediapackage-vod/latest/apireference/packaging_configurations.html) in the *AWS Elemental MediaPackage VOD API Reference*.

For instructions on adding packaging configurations to a packaging group from the MediaPackage console, see [Creating a packaging configuration](pkg-cfig-create.md).