AWS::MediaPackageV2::OriginEndpointPolicy - 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).

AWS::MediaPackageV2::OriginEndpointPolicy

Specifies the configuration parameters of a policy associated with a MediaPackage V2 origin endpoint.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::MediaPackageV2::OriginEndpointPolicy", "Properties" : { "ChannelGroupName" : String, "ChannelName" : String, "OriginEndpointName" : String, "Policy" : Json } }

YAML

Type: AWS::MediaPackageV2::OriginEndpointPolicy Properties: ChannelGroupName: String ChannelName: String OriginEndpointName: String Policy: Json

Properties

ChannelGroupName

The name of the channel group associated with the origin endpoint policy.

Required: Yes

Type: String

Pattern: ^[a-zA-Z0-9_-]+$

Minimum: 1

Maximum: 256

Update requires: Replacement

ChannelName

The channel name associated with the origin endpoint policy.

Required: Yes

Type: String

Pattern: ^[a-zA-Z0-9_-]+$

Minimum: 1

Maximum: 256

Update requires: Replacement

OriginEndpointName

The name of the origin endpoint associated with the origin endpoint policy.

Required: Yes

Type: String

Pattern: ^[a-zA-Z0-9_-]+$

Minimum: 1

Maximum: 256

Update requires: Replacement

Policy

The policy associated with the origin endpoint.

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|OriginEndpointName .

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