This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::MediaPackageV2::ChannelPolicy
Specifies the configuration parameters of a MediaPackage V2 channel policy.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::MediaPackageV2::ChannelPolicy", "Properties" : { "ChannelGroupName" :String, "ChannelName" :String, "Policy" :Json} }
YAML
Type: AWS::MediaPackageV2::ChannelPolicy Properties: ChannelGroupName:StringChannelName:StringPolicy:Json
Properties
ChannelGroupName-
The name of the channel group associated with the channel policy.
Required: Yes
Type: String
Pattern:
^[a-zA-Z0-9_-]+$Minimum:
1Maximum:
256Update requires: Replacement
ChannelName-
The name of the channel associated with the channel policy.
Required: Yes
Type: String
Pattern:
^[a-zA-Z0-9_-]+$Minimum:
1Maximum:
256Update requires: Replacement
Policy-
The policy associated with the channel.
Required: Yes
Type: Json
Update requires: No interruption
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Ref function, Ref returnsChannelGroupName/ChannelName.
For more information about using the Ref function, see Ref.