AWS::MediaPackageV2::OriginEndpointPolicy - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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

AWS::MediaPackageV2::OriginEndpointPolicy

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

Syntax

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

JSON

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

YAML

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

Properties

CdnAuthConfiguration

The settings to enable CDN authorization headers in MediaPackage.

Required: No

Type: CdnAuthConfiguration

Update requires: No interruption

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 returnsChannelGroupName/ChannelName/OriginEndpointName.

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