QLDBLedgerStateChange

class aws_cdk.mixins_preview.aws_qldb.events.QLDBLedgerStateChange

Bases: object

(experimental) EventBridge event pattern for aws.qldb@QLDBLedgerStateChange.

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_qldb import events as qldb_events

q_lDBLedger_state_change = qldb_events.QLDBLedgerStateChange()
Stability:

experimental

Static Methods

classmethod qldb_ledger_state_change_pattern(*, event_metadata=None, ledger_name=None, state=None)

(experimental) EventBridge event pattern for QLDB Ledger State Change.

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

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

QLDBLedgerStateChangeProps

class QLDBLedgerStateChange.QLDBLedgerStateChangeProps(*, event_metadata=None, ledger_name=None, state=None)

Bases: object

(experimental) Props type for aws.qldb@QLDBLedgerStateChange event.

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

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

q_lDBLedger_state_change_props = qldb_events.QLDBLedgerStateChange.QLDBLedgerStateChangeProps(
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    ledger_name=["ledgerName"],
    state=["state"]
)

Attributes

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

ledger_name

(experimental) ledgerName property.

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