CfnChannelPolicyPropsMixin

class aws_cdk.mixins_preview.aws_mediapackagev2.mixins.CfnChannelPolicyPropsMixin(props, *, strategy=None)

Bases: Mixin

Specifies the configuration parameters of a MediaPackage V2 channel policy.

See:

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

CloudformationResource:

AWS::MediaPackageV2::ChannelPolicy

Mixin:

true

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.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_mediapackagev2 import mixins as mediapackagev2_mixins

# policy: Any

cfn_channel_policy_props_mixin = mediapackagev2_mixins.CfnChannelPolicyPropsMixin(mediapackagev2_mixins.CfnChannelPolicyMixinProps(
    channel_group_name="channelGroupName",
    channel_name="channelName",
    policy=policy
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::MediaPackageV2::ChannelPolicy.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['channelGroupName', 'channelName', 'policy']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental