MediaLiveChannelStateChange

class aws_cdk.mixins_preview.aws_medialive.events.MediaLiveChannelStateChange

Bases: object

(experimental) EventBridge event pattern for aws.medialive@MediaLiveChannelStateChange.

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_state_change = medialive_events.MediaLiveChannelStateChange()
Stability:

experimental

Static Methods

classmethod media_live_channel_state_change_pattern(*, channel_arn=None, event_metadata=None, message=None, pipeline=None, pipelines_running_count=None, state=None)

(experimental) EventBridge event pattern for MediaLive Channel State Change.

Parameters:
  • channel_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • pipeline (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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • pipelines_running_count (Optional[Sequence[str]]) – (experimental) pipelines_running_count property. Specify an array of string values to match this event if the actual value of pipelines_running_count is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • state (Optional[Sequence[str]]) – (experimental) state property. Specify an array of string values to match this event if the actual value of state is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

Return type:

EventPattern

MediaLiveChannelStateChangeProps

class MediaLiveChannelStateChange.MediaLiveChannelStateChangeProps(*, channel_arn=None, event_metadata=None, message=None, pipeline=None, pipelines_running_count=None, state=None)

Bases: object

(experimental) Props type for aws.medialive@MediaLiveChannelStateChange event.

Parameters:
  • channel_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • pipeline (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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • pipelines_running_count (Optional[Sequence[str]]) – (experimental) pipelines_running_count property. Specify an array of string values to match this event if the actual value of pipelines_running_count is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • state (Optional[Sequence[str]]) – (experimental) state property. Specify an array of string values to match this event if the actual value of state is one of the values in the array. Use one of the constructors on the aws_events.Match for 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_state_change_props = medialive_events.MediaLiveChannelStateChange.MediaLiveChannelStateChangeProps(
    channel_arn=["channelArn"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    message=["message"],
    pipeline=["pipeline"],
    pipelines_running_count=["pipelinesRunningCount"],
    state=["state"]
)

Attributes

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.Match for 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.Match for 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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

pipelines_running_count

(experimental) pipelines_running_count property.

Specify an array of string values to match this event if the actual value of pipelines_running_count is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

state

(experimental) state property.

Specify an array of string values to match this event if the actual value of state is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental