GlueDataCatalogTableStateChange

class aws_cdk.mixins_preview.aws_glue.events.GlueDataCatalogTableStateChange

Bases: object

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

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_table_state_change = glue_events.GlueDataCatalogTableStateChange()
Stability:

experimental

Static Methods

classmethod glue_data_catalog_table_state_change_pattern(*, changed_partitions=None, database_name=None, event_metadata=None, table_name=None, type_of_change=None)

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

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

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

  • 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

GlueDataCatalogTableStateChangeProps

class GlueDataCatalogTableStateChange.GlueDataCatalogTableStateChangeProps(*, changed_partitions=None, database_name=None, event_metadata=None, table_name=None, type_of_change=None)

Bases: object

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

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

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

  • 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_table_state_change_props = glue_events.GlueDataCatalogTableStateChange.GlueDataCatalogTableStateChangeProps(
    changed_partitions=["changedPartitions"],
    database_name=["databaseName"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    table_name=["tableName"],
    type_of_change=["typeOfChange"]
)

Attributes

changed_partitions

(experimental) changedPartitions property.

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

table_name

(experimental) tableName property.

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

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