StorageGatewayObjectUploadEvent

class aws_cdk.mixins_preview.aws_storagegateway.events.StorageGatewayObjectUploadEvent

Bases: object

(experimental) EventBridge event pattern for aws.storagegateway@StorageGatewayObjectUploadEvent.

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_storagegateway import events as storagegateway_events

storage_gateway_object_upload_event = storagegateway_events.StorageGatewayObjectUploadEvent()
Stability:

experimental

Static Methods

classmethod event_pattern(*, bucket_name=None, event_metadata=None, event_type=None, modification_time=None, object_key=None, object_size=None, prefix=None)

(experimental) EventBridge event pattern for Storage Gateway Object Upload Event.

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

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

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

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

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

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

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

StorageGatewayObjectUploadEventProps

class StorageGatewayObjectUploadEvent.StorageGatewayObjectUploadEventProps(*, bucket_name=None, event_metadata=None, event_type=None, modification_time=None, object_key=None, object_size=None, prefix=None)

Bases: object

(experimental) Props type for aws.storagegateway@StorageGatewayObjectUploadEvent event.

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

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

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

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

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

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

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

storage_gateway_object_upload_event_props = storagegateway_events.StorageGatewayObjectUploadEvent.StorageGatewayObjectUploadEventProps(
    bucket_name=["bucketName"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    event_type=["eventType"],
    modification_time=["modificationTime"],
    object_key=["objectKey"],
    object_size=["objectSize"],
    prefix=["prefix"]
)

Attributes

bucket_name

(experimental) bucket-name property.

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

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

event_type

(experimental) event-type property.

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

modification_time

(experimental) modification-time property.

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

object_key

(experimental) object-key property.

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

object_size

(experimental) object-size property.

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

prefix

(experimental) prefix property.

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