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_aws_medialive # channel_ref: interfaces_aws_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:
MediaLiveChannelInputChange
- class ChannelEvents.MediaLiveChannelInputChange
Bases:
object(experimental) aws.medialive@MediaLiveChannelInputChange event types 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 media_live_channel_input_change = medialive_events.ChannelEvents.MediaLiveChannelInputChange()
- Stability:
experimental
MediaLiveChannelInputChangeProps
- class ChannelEvents.MediaLiveChannelInputChange.MediaLiveChannelInputChangeProps(*, active_input_attachment_name=None, active_input_switch_action_name=None, channel_arn=None, event_metadata=None, message=None, pipeline=None)
Bases:
object(experimental) Props type for Channel aws.medialive@MediaLiveChannelInputChange event.
- 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
- 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 media_live_channel_input_change_props = medialive_events.ChannelEvents.MediaLiveChannelInputChange.MediaLiveChannelInputChangeProps( active_input_attachment_name=["activeInputAttachmentName"], active_input_switch_action_name=["activeInputSwitchActionName"], channel_arn=["channelArn"], event_metadata=AWSEventMetadataProps( region=["region"], resources=["resources"], version=["version"] ), message=["message"], pipeline=["pipeline"] )
Attributes
- active_input_attachment_name
(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 the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- active_input_switch_action_name
(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 the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- channel_arn
(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 the
aws_events.Matchfor more advanced matching options.- Default:
Filter with the Channel reference
- Stability:
experimental
- event_metadata
(experimental) EventBridge event metadata.
- Default:
- Stability:
experimental
- message
(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 the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- pipeline
(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 the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental