StreamStateChange
- class aws_cdk.mixins_preview.aws_ivs.events.StreamStateChange
Bases:
object(experimental) EventBridge event pattern for aws.ivs@StreamStateChange.
- 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_ivs import events as ivs_events stream_state_change = ivs_events.StreamStateChange()
- Stability:
experimental
Static Methods
- classmethod event_pattern(*, channel_name=None, event_metadata=None, event_name=None, stream_id=None)
(experimental) EventBridge event pattern for IVS Stream State Change.
- Parameters:
channel_name (
Optional[Sequence[str]]) – (experimental) channel_name property. Specify an array of string values to match this event if the actual value of channel_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 fieldevent_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -event_name (
Optional[Sequence[str]]) – (experimental) event_name property. Specify an array of string values to match this event if the actual value of event_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 fieldstream_id (
Optional[Sequence[str]]) – (experimental) stream_id property. Specify an array of string values to match this event if the actual value of stream_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 field
- Stability:
experimental
- Return type:
StreamStateChangeProps
- class StreamStateChange.StreamStateChangeProps(*, channel_name=None, event_metadata=None, event_name=None, stream_id=None)
Bases:
object(experimental) Props type for aws.ivs@StreamStateChange event.
- Parameters:
channel_name (
Optional[Sequence[str]]) – (experimental) channel_name property. Specify an array of string values to match this event if the actual value of channel_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 fieldevent_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -event_name (
Optional[Sequence[str]]) – (experimental) event_name property. Specify an array of string values to match this event if the actual value of event_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 fieldstream_id (
Optional[Sequence[str]]) – (experimental) stream_id property. Specify an array of string values to match this event if the actual value of stream_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 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_ivs import events as ivs_events stream_state_change_props = ivs_events.StreamStateChange.StreamStateChangeProps( channel_name=["channelName"], event_metadata=AWSEventMetadataProps( region=["region"], resources=["resources"], version=["version"] ), event_name=["eventName"], stream_id=["streamId"] )
Attributes
- channel_name
(experimental) channel_name property.
Specify an array of string values to match this event if the actual value of channel_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
- event_metadata
(experimental) EventBridge event metadata.
- Default:
- Stability:
experimental
- event_name
(experimental) event_name property.
Specify an array of string values to match this event if the actual value of event_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
- stream_id
(experimental) stream_id property.
Specify an array of string values to match this event if the actual value of stream_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