ChannelAttributes

class aws_cdk.aws_mediapackagev2_alpha.ChannelAttributes(*, channel_group_name, channel_name, region=None)

Bases: object

(experimental) Represents a Channel defined outside of this stack.

Parameters:
  • channel_group_name (str) – (experimental) The name that describes the channel group.

  • channel_name (str) – (experimental) The name that describes the channel.

  • region (Optional[str]) – (experimental) The AWS region where the channel lives. Required for cross-region imports to construct the correct ARN. Default: - the importing stack’s region

Stability:

experimental

ExampleMetadata:

infused

Example:

# stack: Stack

channel = Channel.from_channel_attributes(stack, "ImportedChannel",
    channel_name="MyChannel",
    channel_group_name="MyChannelGroup"
)

Attributes

channel_group_name

(experimental) The name that describes the channel group.

Stability:

experimental

Attribute:

true

channel_name

(experimental) The name that describes the channel.

Stability:

experimental

Attribute:

true

region

(experimental) The AWS region where the channel lives.

Required for cross-region imports to construct the correct ARN.

Default:
  • the importing stack’s region

Stability:

experimental