ChannelEvents
- class aws_cdk.mixins_preview.aws_medialive.events.ChannelEvents(*args: Any, **kwargs)
Bases:
object(experimental) EventBridge event patterns for Channel.
- 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. from aws_cdk.mixins_preview.aws_medialive import events as medialive_events from aws_cdk.interfaces import aws_medialive as interfaces_medialive # channel_ref: interfaces_medialive.IChannelRef channel_events = medialive_events.ChannelEvents.from_channel(channel_ref)
Methods
- media_live_channel_input_change_pattern(*, active_input_attachment_name=None, active_input_switch_action_name=None, channel_arn=None, event_metadata=None, message=None, pipeline=None)
(experimental) EventBridge event pattern for Channel MediaLive Channel Input Change.
- Parameters:
active_input_attachment_name (
Optional[Sequence[str]]) – (experimental) active_input_attachment_name property. Specify an array of string values to match this event if the actual value of active_input_attachment_name is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldactive_input_switch_action_name (
Optional[Sequence[str]]) – (experimental) active_input_switch_action_name property. Specify an array of string values to match this event if the actual value of active_input_switch_action_name is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldchannel_arn (
Optional[Sequence[str]]) – (experimental) channel_arn property. Specify an array of string values to match this event if the actual value of channel_arn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Filter with the Channel referenceevent_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -message (
Optional[Sequence[str]]) – (experimental) message property. Specify an array of string values to match this event if the actual value of message is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldpipeline (
Optional[Sequence[str]]) – (experimental) pipeline property. Specify an array of string values to match this event if the actual value of pipeline is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- Return type:
Static Methods
- classmethod from_channel(channel_ref)
(experimental) Create ChannelEvents from a Channel reference.
- Parameters:
channel_ref (
IChannelRef)- Stability:
experimental
- Return type: