GlueDataCatalogDatabaseStateChange

class aws_cdk.mixins_preview.aws_glue.events.GlueDataCatalogDatabaseStateChange

Bases: object

(experimental) EventBridge event pattern for aws.glue@GlueDataCatalogDatabaseStateChange.

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_glue import events as glue_events

glue_data_catalog_database_state_change = glue_events.GlueDataCatalogDatabaseStateChange()
Stability:

experimental

Static Methods

classmethod glue_data_catalog_database_state_change_pattern(*, changed_tables=None, database_name=None, event_metadata=None, type_of_change=None)

(experimental) EventBridge event pattern for Glue Data Catalog Database State Change.

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

  • database_name (Optional[Sequence[str]]) – (experimental) databaseName property. Specify an array of string values to match this event if the actual value of databaseName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Filter with the Database reference

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

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

GlueDataCatalogDatabaseStateChangeProps

class GlueDataCatalogDatabaseStateChange.GlueDataCatalogDatabaseStateChangeProps(*, changed_tables=None, database_name=None, event_metadata=None, type_of_change=None)

Bases: object

(experimental) Props type for aws.glue@GlueDataCatalogDatabaseStateChange event.

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

  • database_name (Optional[Sequence[str]]) – (experimental) databaseName property. Specify an array of string values to match this event if the actual value of databaseName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Filter with the Database reference

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

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

glue_data_catalog_database_state_change_props = glue_events.GlueDataCatalogDatabaseStateChange.GlueDataCatalogDatabaseStateChangeProps(
    changed_tables=["changedTables"],
    database_name=["databaseName"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    type_of_change=["typeOfChange"]
)

Attributes

changed_tables

(experimental) changedTables property.

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

database_name

(experimental) databaseName property.

Specify an array of string values to match this event if the actual value of databaseName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Filter with the Database reference

Stability:

experimental

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

type_of_change

(experimental) typeOfChange property.

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