AWS::MediaPackageV2::ChannelPolicy - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::MediaPackageV2::ChannelPolicy

Specifies the configuration parameters of a MediaPackage V2 channel policy.

Syntax

To declare this entity in your Amazon 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 returnsChannelGroupName|ChannelName.

For more information about using the Ref function, see Ref.