TranslateTextTranslationJobStateChange

class aws_cdk.mixins_preview.aws_translate.events.TranslateTextTranslationJobStateChange

Bases: object

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

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_text_translation_job_state_change = translate_events.TranslateTextTranslationJobStateChange()
Stability:

experimental

Static Methods

classmethod event_pattern(*, event_metadata=None, latest_update_attempt_at=None, latest_update_attempt_status=None, name=None, operation=None, status=None)

(experimental) EventBridge event pattern for Translate Parallel Data State Change.

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

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

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

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

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

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

Return type:

EventPattern

TranslateTextTranslationJobStateChangeProps

class TranslateTextTranslationJobStateChange.TranslateTextTranslationJobStateChangeProps(*, event_metadata=None, latest_update_attempt_at=None, latest_update_attempt_status=None, name=None, operation=None, status=None)

Bases: object

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

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

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

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

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

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

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

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_text_translation_job_state_change_props = translate_events.TranslateTextTranslationJobStateChange.TranslateTextTranslationJobStateChangeProps(
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    latest_update_attempt_at=["latestUpdateAttemptAt"],
    latest_update_attempt_status=["latestUpdateAttemptStatus"],
    name=["name"],
    operation=["operation"],
    status=["status"]
)

Attributes

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

latest_update_attempt_at

(experimental) latestUpdateAttemptAt property.

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

latest_update_attempt_status

(experimental) latestUpdateAttemptStatus property.

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

name

(experimental) name property.

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

operation

(experimental) operation property.

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

status

(experimental) status property.

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