TranslateParallelDataStateChange

class aws_cdk.mixins_preview.aws_translate.events.TranslateParallelDataStateChange

Bases: object

(experimental) EventBridge event pattern for aws.translate@TranslateParallelDataStateChange.

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_translate import events as translate_events

translate_parallel_data_state_change = translate_events.TranslateParallelDataStateChange()
Stability:

experimental

Static Methods

classmethod event_pattern(*, event_metadata=None, job_id=None, job_status=None)

(experimental) EventBridge event pattern for Translate TextTranslationJob State Change.

Parameters:
  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

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

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

TranslateParallelDataStateChangeProps

class TranslateParallelDataStateChange.TranslateParallelDataStateChangeProps(*, event_metadata=None, job_id=None, job_status=None)

Bases: object

(experimental) Props type for aws.translate@TranslateParallelDataStateChange event.

Parameters:
  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

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

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

translate_parallel_data_state_change_props = translate_events.TranslateParallelDataStateChange.TranslateParallelDataStateChangeProps(
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    job_id=["jobId"],
    job_status=["jobStatus"]
)

Attributes

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

job_id

(experimental) jobId property.

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

job_status

(experimental) jobStatus property.

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