MediaLiveChannelAlert
- class aws_cdk.mixins_preview.aws_medialive.events.MediaLiveChannelAlert
Bases:
object(experimental) EventBridge event pattern for aws.medialive@MediaLiveChannelAlert.
- 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_alert = medialive_events.MediaLiveChannelAlert()
- Stability:
experimental
Static Methods
- classmethod media_live_channel_alert_pattern(*, alarm_id=None, alarm_state=None, alert_type=None, channel_arn=None, event_metadata=None, message=None, pipeline=None)
(experimental) EventBridge event pattern for MediaLive Channel Alert.
- Parameters:
alarm_id (
Optional[Sequence[str]]) – (experimental) alarm_id property. Specify an array of string values to match this event if the actual value of alarm_id 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 fieldalarm_state (
Optional[Sequence[str]]) – (experimental) alarm_state property. Specify an array of string values to match this event if the actual value of alarm_state 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 fieldalert_type (
Optional[Sequence[str]]) – (experimental) alert_type property. Specify an array of string values to match this event if the actual value of alert_type 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: - Do not filter on this fieldevent_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:
MediaLiveChannelAlertProps
- class MediaLiveChannelAlert.MediaLiveChannelAlertProps(*, alarm_id=None, alarm_state=None, alert_type=None, channel_arn=None, event_metadata=None, message=None, pipeline=None)
Bases:
object(experimental) Props type for aws.medialive@MediaLiveChannelAlert event.
- Parameters:
alarm_id (
Optional[Sequence[str]]) – (experimental) alarm_id property. Specify an array of string values to match this event if the actual value of alarm_id 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 fieldalarm_state (
Optional[Sequence[str]]) – (experimental) alarm_state property. Specify an array of string values to match this event if the actual value of alarm_state 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 fieldalert_type (
Optional[Sequence[str]]) – (experimental) alert_type property. Specify an array of string values to match this event if the actual value of alert_type 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: - Do not filter on this fieldevent_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:
from aws_cdk import AWSEventMetadataProps # 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_alert_props = medialive_events.MediaLiveChannelAlert.MediaLiveChannelAlertProps( alarm_id=["alarmId"], alarm_state=["alarmState"], alert_type=["alertType"], channel_arn=["channelArn"], event_metadata=AWSEventMetadataProps( region=["region"], resources=["resources"], version=["version"] ), message=["message"], pipeline=["pipeline"] )
Attributes
- alarm_id
(experimental) alarm_id property.
Specify an array of string values to match this event if the actual value of alarm_id 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
- alarm_state
(experimental) alarm_state property.
Specify an array of string values to match this event if the actual value of alarm_state 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
- alert_type
(experimental) alert_type property.
Specify an array of string values to match this event if the actual value of alert_type 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:
Do not filter on this field
- 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