Creates a packaging configuration in a packaging group.
The packaging configuration represents a single delivery point for an asset. It determines the format and setting for the egressing content. Specify only one package format per configuration, such as HlsPackage
.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{
"Type" : "AWS::MediaPackage::PackagingConfiguration",
"Properties" : {
"CmafPackage" : CmafPackage
,
"DashPackage" : DashPackage
,
"HlsPackage" : HlsPackage
,
"Id" : String
,
"MssPackage" : MssPackage
,
"PackagingGroupId" : String
,
"Tags" : [ Tag, ... ]
}
}
YAML
Type: AWS::MediaPackage::PackagingConfiguration
Properties:
CmafPackage:
CmafPackage
DashPackage:
DashPackage
HlsPackage:
HlsPackage
Id: String
MssPackage:
MssPackage
PackagingGroupId: String
Tags:
- Tag
Properties
CmafPackage
-
Parameters for CMAF packaging.
Required: No
Type: CmafPackage
Update requires: No interruption
DashPackage
-
Parameters for DASH-ISO packaging.
Required: No
Type: DashPackage
Update requires: No interruption
HlsPackage
-
Parameters for Apple HLS packaging.
Required: No
Type: HlsPackage
Update requires: No interruption
Id
-
Unique identifier that you assign to the packaging configuration.
Required: Yes
Type: String
Update requires: Replacement
MssPackage
-
Parameters for Microsoft Smooth Streaming packaging.
Required: No
Type: MssPackage
Update requires: No interruption
PackagingGroupId
-
The ID of the packaging group associated with this packaging configuration.
Required: Yes
Type: String
Update requires: No interruption
-
The tags to assign to the packaging configuration.
Required: No
Type: Array of Tag
Update requires: No interruption
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Ref
function, Ref
returns the name of the packaging configuration.
For example: { "Ref": "myPackagingConfiguration" }
For more information about using the Ref
function, see Ref
.
Fn::GetAtt
The Fn::GetAtt
intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAtt
intrinsic function, see Fn::GetAtt
.
Arn
-
The Amazon Resource Name (ARN) for the packaging configuration. You can get this from the response to any request to the packaging configuration.