RecordingStateChange

class aws_cdk.mixins_preview.aws_ivs.events.RecordingStateChange

Bases: object

(experimental) EventBridge event pattern for aws.ivs@RecordingStateChange.

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

recording_state_change = ivs_events.RecordingStateChange()
Stability:

experimental

Static Methods

classmethod event_pattern(*, channel_name=None, event_metadata=None, recording_s3_bucket_name=None, recording_s3_key_prefix=None, recording_status=None, recording_status_reason=None, stream_id=None)

(experimental) EventBridge event pattern for IVS Recording 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 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: - -

  • recording_s3_bucket_name (Optional[Sequence[str]]) – (experimental) recording_s3_bucket_name property. Specify an array of string values to match this event if the actual value of recording_s3_bucket_name 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

  • recording_s3_key_prefix (Optional[Sequence[str]]) – (experimental) recording_s3_key_prefix property. Specify an array of string values to match this event if the actual value of recording_s3_key_prefix 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

  • recording_status (Optional[Sequence[str]]) – (experimental) recording_status property. Specify an array of string values to match this event if the actual value of recording_status 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

  • recording_status_reason (Optional[Sequence[str]]) – (experimental) recording_status_reason property. Specify an array of string values to match this event if the actual value of recording_status_reason 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

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

Stability:

experimental

Return type:

EventPattern

RecordingStateChangeProps

class RecordingStateChange.RecordingStateChangeProps(*, channel_name=None, event_metadata=None, recording_s3_bucket_name=None, recording_s3_key_prefix=None, recording_status=None, recording_status_reason=None, stream_id=None)

Bases: object

(experimental) Props type for aws.ivs@RecordingStateChange 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 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: - -

  • recording_s3_bucket_name (Optional[Sequence[str]]) – (experimental) recording_s3_bucket_name property. Specify an array of string values to match this event if the actual value of recording_s3_bucket_name 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

  • recording_s3_key_prefix (Optional[Sequence[str]]) – (experimental) recording_s3_key_prefix property. Specify an array of string values to match this event if the actual value of recording_s3_key_prefix 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

  • recording_status (Optional[Sequence[str]]) – (experimental) recording_status property. Specify an array of string values to match this event if the actual value of recording_status 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

  • recording_status_reason (Optional[Sequence[str]]) – (experimental) recording_status_reason property. Specify an array of string values to match this event if the actual value of recording_status_reason 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

  • stream_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 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_ivs import events as ivs_events

recording_state_change_props = ivs_events.RecordingStateChange.RecordingStateChangeProps(
    channel_name=["channelName"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    recording_s3_bucket_name=["recordingS3BucketName"],
    recording_s3_key_prefix=["recordingS3KeyPrefix"],
    recording_status=["recordingStatus"],
    recording_status_reason=["recordingStatusReason"],
    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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

recording_s3_bucket_name

(experimental) recording_s3_bucket_name property.

Specify an array of string values to match this event if the actual value of recording_s3_bucket_name 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

recording_s3_key_prefix

(experimental) recording_s3_key_prefix property.

Specify an array of string values to match this event if the actual value of recording_s3_key_prefix 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

recording_status

(experimental) recording_status property.

Specify an array of string values to match this event if the actual value of recording_status 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

recording_status_reason

(experimental) recording_status_reason property.

Specify an array of string values to match this event if the actual value of recording_status_reason 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

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

Default:
  • Do not filter on this field

Stability:

experimental