CfnChannelPolicyProps

class aws_cdk.aws_mediatailor.CfnChannelPolicyProps(*, channel_name, policy)

Bases: object

Properties for defining a CfnChannelPolicy.

Parameters:
  • channel_name (str) – The name of the channel associated with this Channel Policy.

  • policy (Any) – The IAM policy for the channel. IAM policies are used to control access to your channel.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-channelpolicy.html

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_mediatailor as mediatailor

# policy: Any

cfn_channel_policy_props = mediatailor.CfnChannelPolicyProps(
    channel_name="channelName",
    policy=policy
)

Attributes

channel_name

The name of the channel associated with this Channel Policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-channelpolicy.html#cfn-mediatailor-channelpolicy-channelname

policy

The IAM policy for the channel.

IAM policies are used to control access to your channel.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-channelpolicy.html#cfn-mediatailor-channelpolicy-policy