CfnOriginEndpointPolicyProps
- class aws_cdk.aws_mediapackagev2.CfnOriginEndpointPolicyProps(*, channel_group_name, channel_name, origin_endpoint_name, policy, cdn_auth_configuration=None)
Bases:
object
Properties for defining a
CfnOriginEndpointPolicy
.- Parameters:
channel_group_name (
str
) – The name of the channel group associated with the origin endpoint policy.channel_name (
str
) – The channel name associated with the origin endpoint policy.origin_endpoint_name (
str
) – The name of the origin endpoint associated with the origin endpoint policy.policy (
Any
) – The policy associated with the origin endpoint.cdn_auth_configuration (
Union
[IResolvable
,CdnAuthConfigurationProperty
,Dict
[str
,Any
],None
]) – The settings to enable CDN authorization headers in MediaPackage.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_mediapackagev2 as mediapackagev2 # policy: Any cfn_origin_endpoint_policy_props = mediapackagev2.CfnOriginEndpointPolicyProps( channel_group_name="channelGroupName", channel_name="channelName", origin_endpoint_name="originEndpointName", policy=policy, # the properties below are optional cdn_auth_configuration=mediapackagev2.CfnOriginEndpointPolicy.CdnAuthConfigurationProperty( cdn_identifier_secret_arns=["cdnIdentifierSecretArns"], secrets_role_arn="secretsRoleArn" ) )
Attributes
- cdn_auth_configuration
The settings to enable CDN authorization headers in MediaPackage.
- channel_group_name
The name of the channel group associated with the origin endpoint policy.
- channel_name
The channel name associated with the origin endpoint policy.
- origin_endpoint_name
The name of the origin endpoint associated with the origin endpoint policy.
- policy
The policy associated with the origin endpoint.