Values.PutOriginEndpointPolicyRequestSourceAttaches an IAM policy to the specified origin endpoint. You can attach only one policy with each request.
type nonrec t = {channelGroupName : ResourceName.t;The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
*)channelName : ResourceName.t;The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
*)originEndpointName : ResourceName.t;The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel.
*)policy : PolicyText.t;The policy to attach to the specified origin endpoint.
*)cdnAuthConfiguration : CdnAuthConfiguration.t option;The settings for using authorization headers between the MediaPackage endpoint and your CDN. For information about CDN authorization, see CDN authorization in Elemental MediaPackage in the MediaPackage user guide.
*)}val make :
?cdnAuthConfiguration:??? ->
channelGroupName:ResourceName.t ->
channelName:ResourceName.t ->
originEndpointName:ResourceName.t ->
policy:PolicyText.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `String of ResourceName.t
| `Structure of
(string
* [> `List of [> `String of CdnIdentifierSecretArn.t ] list
| `String of CdnAuthConfigurationSecretsRoleArnString.t ])
list ])
list ]