CacheDeleted

class aws_cdk.mixins_preview.aws_elasticache.events.CacheDeleted

Bases: object

(experimental) EventBridge event pattern for aws.elasticache@CacheDeleted.

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_elasticache import events as elasticache_events

cache_deleted = elasticache_events.CacheDeleted()
Stability:

experimental

Static Methods

classmethod cache_deleted_pattern(*, event_categories=None, event_id=None, event_metadata=None, message=None, source_arn=None, source_identifier=None, source_type=None)

(experimental) EventBridge event pattern for Cache Deleted.

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

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

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

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

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

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

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

CacheDeletedProps

class CacheDeleted.CacheDeletedProps(*, event_categories=None, event_id=None, event_metadata=None, message=None, source_arn=None, source_identifier=None, source_type=None)

Bases: object

(experimental) Props type for aws.elasticache@CacheDeleted event.

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

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

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

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

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

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

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

cache_deleted_props = elasticache_events.CacheDeleted.CacheDeletedProps(
    event_categories=["eventCategories"],
    event_id=["eventId"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    message=["message"],
    source_arn=["sourceArn"],
    source_identifier=["sourceIdentifier"],
    source_type=["sourceType"]
)

Attributes

event_categories

(experimental) EventCategories property.

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

event_id

(experimental) EventID property.

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

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

message

(experimental) Message property.

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

source_arn

(experimental) SourceArn property.

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

source_identifier

(experimental) SourceIdentifier property.

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

source_type

(experimental) SourceType property.

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