ChannelPolicyProps

class aws_cdk.aws_mediapackagev2_alpha.ChannelPolicyProps(*, channel, policy_document=None)

Bases: object

(experimental) Properties for the Channel Policy.

Parameters:
  • channel (IChannel) – (experimental) Channel to apply the Channel Policy to.

  • policy_document (Optional[PolicyDocument]) – (experimental) Initial policy document to apply. Default: - empty policy document

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_mediapackagev2_alpha as mediapackagev2_alpha
from aws_cdk import aws_iam as iam

# channel: mediapackagev2_alpha.Channel
# policy_document: iam.PolicyDocument

channel_policy_props = mediapackagev2_alpha.ChannelPolicyProps(
    channel=channel,

    # the properties below are optional
    policy_document=policy_document
)

Attributes

channel

(experimental) Channel to apply the Channel Policy to.

Stability:

experimental

policy_document

(experimental) Initial policy document to apply.

Default:
  • empty policy document

Stability:

experimental