packaging_configurations
Creates, updates, deletes, gets or lists a packaging_configurations resource.
Overview
| Name | packaging_configurations |
| Type | Resource |
| Id | aws.mediapackage_vod.packaging_configurations |
Fields
The following fields are returned by SELECT queries:
- describe_packaging_configuration
- list_packaging_configurations
| Name | Datatype | Description |
|---|---|---|
arn | string | The ARN of the PackagingConfiguration. |
cmaf_package | object | A CMAF packaging configuration. |
created_at | string | The time the PackagingConfiguration was created. |
dash_package | object | A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. |
hls_package | object | An HTTP Live Streaming (HLS) packaging configuration. |
id | string | The ID of the PackagingConfiguration. |
mss_package | object | A Microsoft Smooth Streaming (MSS) PackagingConfiguration. |
packaging_group_id | string | The ID of a PackagingGroup. |
tags | object |
| Name | Datatype | Description |
|---|---|---|
arn | string | The ARN of the PackagingConfiguration. |
cmaf_package | object | A CMAF packaging configuration. |
created_at | string | The time the PackagingConfiguration was created. |
dash_package | object | A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. |
hls_package | object | An HTTP Live Streaming (HLS) packaging configuration. |
id | string | The ID of the PackagingConfiguration. |
mss_package | object | A Microsoft Smooth Streaming (MSS) PackagingConfiguration. |
packaging_group_id | string | The ID of a PackagingGroup. |
tags | object |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_packaging_configuration | select | id, region | Returns a description of a MediaPackage VOD PackagingConfiguration resource. | |
list_packaging_configurations | select | region | maxResults, nextToken, packagingGroupId | Returns a collection of MediaPackage VOD PackagingConfiguration resources. |
create_packaging_configuration | insert | region, PackagingGroupId | Creates a new MediaPackage VOD PackagingConfiguration resource. | |
delete_packaging_configuration | delete | id, region | Deletes a MediaPackage VOD PackagingConfiguration resource. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
id | string | The ID of the MediaPackage VOD PackagingConfiguration resource to delete. |
region | string | AWS region (default: us-east-1) |
maxResults | integer | Upper bound on number of records to return. |
nextToken | string | A token used to resume pagination from the end of a previous request. |
packagingGroupId | string | Returns MediaPackage VOD PackagingConfigurations associated with the specified PackagingGroup. |
SELECT examples
- describe_packaging_configuration
- list_packaging_configurations
Returns a description of a MediaPackage VOD PackagingConfiguration resource.
SELECT
arn,
cmaf_package,
created_at,
dash_package,
hls_package,
id,
mss_package,
packaging_group_id,
tags
FROM aws.mediapackage_vod.packaging_configurations
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
;
Returns a collection of MediaPackage VOD PackagingConfiguration resources.
SELECT
arn,
cmaf_package,
created_at,
dash_package,
hls_package,
id,
mss_package,
packaging_group_id,
tags
FROM aws.mediapackage_vod.packaging_configurations
WHERE region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
AND packagingGroupId = '{{ packagingGroupId }}'
;
INSERT examples
- create_packaging_configuration
- Manifest
Creates a new MediaPackage VOD PackagingConfiguration resource.
INSERT INTO aws.mediapackage_vod.packaging_configurations (
CmafPackage,
DashPackage,
HlsPackage,
Id,
MssPackage,
PackagingGroupId,
Tags,
region
)
SELECT
'{{ CmafPackage }}',
'{{ DashPackage }}',
'{{ HlsPackage }}',
'{{ Id }}',
'{{ MssPackage }}',
'{{ PackagingGroupId }}' /* required */,
'{{ Tags }}',
'{{ region }}'
RETURNING
arn,
cmaf_package,
created_at,
dash_package,
hls_package,
id,
mss_package,
packaging_group_id,
tags
;
# Description fields are for documentation purposes
- name: packaging_configurations
props:
- name: region
value: "{{ region }}"
description: Required parameter for the packaging_configurations resource.
- name: CmafPackage
description: |
A CMAF packaging configuration.
value:
Encryption:
ConstantInitializationVector: "{{ ConstantInitializationVector }}"
SpekeKeyProvider:
EncryptionContractConfiguration:
PresetSpeke20Audio: "{{ PresetSpeke20Audio }}"
PresetSpeke20Video: "{{ PresetSpeke20Video }}"
RoleArn: "{{ RoleArn }}"
SystemIds:
- "{{ SystemIds }}"
Url: "{{ Url }}"
HlsManifests:
- AdMarkers: "{{ AdMarkers }}"
IncludeIframeOnlyStream: {{ IncludeIframeOnlyStream }}
ManifestName: "{{ ManifestName }}"
ProgramDateTimeIntervalSeconds: {{ ProgramDateTimeIntervalSeconds }}
RepeatExtXKey: {{ RepeatExtXKey }}
StreamSelection:
MaxVideoBitsPerSecond: {{ MaxVideoBitsPerSecond }}
MinVideoBitsPerSecond: {{ MinVideoBitsPerSecond }}
StreamOrder: "{{ StreamOrder }}"
IncludeEncoderConfigurationInSegments: {{ IncludeEncoderConfigurationInSegments }}
SegmentDurationSeconds: {{ SegmentDurationSeconds }}
- name: DashPackage
description: |
A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
value:
DashManifests:
- ManifestLayout: "{{ ManifestLayout }}"
ManifestName: "{{ ManifestName }}"
MinBufferTimeSeconds: {{ MinBufferTimeSeconds }}
Profile: "{{ Profile }}"
ScteMarkersSource: "{{ ScteMarkersSource }}"
StreamSelection:
MaxVideoBitsPerSecond: {{ MaxVideoBitsPerSecond }}
MinVideoBitsPerSecond: {{ MinVideoBitsPerSecond }}
StreamOrder: "{{ StreamOrder }}"
Encryption:
SpekeKeyProvider:
EncryptionContractConfiguration:
PresetSpeke20Audio: "{{ PresetSpeke20Audio }}"
PresetSpeke20Video: "{{ PresetSpeke20Video }}"
RoleArn: "{{ RoleArn }}"
SystemIds:
- "{{ SystemIds }}"
Url: "{{ Url }}"
IncludeEncoderConfigurationInSegments: {{ IncludeEncoderConfigurationInSegments }}
IncludeIframeOnlyStream: {{ IncludeIframeOnlyStream }}
PeriodTriggers:
- "{{ PeriodTriggers }}"
SegmentDurationSeconds: {{ SegmentDurationSeconds }}
SegmentTemplateFormat: "{{ SegmentTemplateFormat }}"
- name: HlsPackage
description: |
An HTTP Live Streaming (HLS) packaging configuration.
value:
Encryption:
ConstantInitializationVector: "{{ ConstantInitializationVector }}"
EncryptionMethod: "{{ EncryptionMethod }}"
SpekeKeyProvider:
EncryptionContractConfiguration:
PresetSpeke20Audio: "{{ PresetSpeke20Audio }}"
PresetSpeke20Video: "{{ PresetSpeke20Video }}"
RoleArn: "{{ RoleArn }}"
SystemIds:
- "{{ SystemIds }}"
Url: "{{ Url }}"
HlsManifests:
- AdMarkers: "{{ AdMarkers }}"
IncludeIframeOnlyStream: {{ IncludeIframeOnlyStream }}
ManifestName: "{{ ManifestName }}"
ProgramDateTimeIntervalSeconds: {{ ProgramDateTimeIntervalSeconds }}
RepeatExtXKey: {{ RepeatExtXKey }}
StreamSelection:
MaxVideoBitsPerSecond: {{ MaxVideoBitsPerSecond }}
MinVideoBitsPerSecond: {{ MinVideoBitsPerSecond }}
StreamOrder: "{{ StreamOrder }}"
IncludeDvbSubtitles: {{ IncludeDvbSubtitles }}
SegmentDurationSeconds: {{ SegmentDurationSeconds }}
UseAudioRenditionGroup: {{ UseAudioRenditionGroup }}
- name: Id
value: "{{ Id }}"
- name: MssPackage
description: |
A Microsoft Smooth Streaming (MSS) PackagingConfiguration.
value:
Encryption:
SpekeKeyProvider:
EncryptionContractConfiguration:
PresetSpeke20Audio: "{{ PresetSpeke20Audio }}"
PresetSpeke20Video: "{{ PresetSpeke20Video }}"
RoleArn: "{{ RoleArn }}"
SystemIds:
- "{{ SystemIds }}"
Url: "{{ Url }}"
MssManifests:
- ManifestName: "{{ ManifestName }}"
StreamSelection:
MaxVideoBitsPerSecond: {{ MaxVideoBitsPerSecond }}
MinVideoBitsPerSecond: {{ MinVideoBitsPerSecond }}
StreamOrder: "{{ StreamOrder }}"
SegmentDurationSeconds: {{ SegmentDurationSeconds }}
- name: PackagingGroupId
value: "{{ PackagingGroupId }}"
- name: Tags
value: "{{ Tags }}"
description: |
A collection of tags associated with a resource
DELETE examples
- delete_packaging_configuration
Deletes a MediaPackage VOD PackagingConfiguration resource.
DELETE FROM aws.mediapackage_vod.packaging_configurations
WHERE id = '{{ id }}' --required
AND region = '{{ region }}' --required
;