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:
String
ChannelName:String
Policy:Json
Properties
ChannelGroupName
-
The name of the channel group associated with the channel policy.
Required: Yes
Type: String
Pattern:
^[a-zA-Z0-9_-]+$
Minimum:
1
Maximum:
256
Update requires: Replacement
ChannelName
-
The name of the channel associated with the channel policy.
Required: Yes
Type: String
Pattern:
^[a-zA-Z0-9_-]+$
Minimum:
1
Maximum:
256
Update 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
returns
ChannelGroupName|ChannelName
.
For more information about using the Ref
function, see Ref
.