ObjectRestoreCompleted
- class aws_cdk.mixins_preview.aws_s3.events.ObjectRestoreCompleted
Bases:
object(experimental) EventBridge event pattern for aws.s3@ObjectRestoreCompleted.
- 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_s3 import events as s3_events object_restore_completed = s3_events.ObjectRestoreCompleted()
- Stability:
experimental
Static Methods
- classmethod object_restore_completed_pattern(*, bucket=None, event_metadata=None, object=None, requester=None, request_id=None, restore_expiry_time=None, source_storage_class=None, version=None)
(experimental) EventBridge event pattern for Object Restore Completed.
- Parameters:
bucket (
Union[Bucket,Dict[str,Any],None]) – (experimental) bucket property. Specify an array of string values to match this event if the actual value of bucket is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -object (
Union[ObjectType,Dict[str,Any],None]) – (experimental) object property. Specify an array of string values to match this event if the actual value of object is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldrequester (
Optional[Sequence[str]]) – (experimental) requester property. Specify an array of string values to match this event if the actual value of requester is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldrequest_id (
Optional[Sequence[str]]) – (experimental) request-id property. Specify an array of string values to match this event if the actual value of request-id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldrestore_expiry_time (
Optional[Sequence[str]]) – (experimental) restore-expiry-time property. Specify an array of string values to match this event if the actual value of restore-expiry-time is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldsource_storage_class (
Optional[Sequence[str]]) – (experimental) source-storage-class property. Specify an array of string values to match this event if the actual value of source-storage-class is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldversion (
Optional[Sequence[str]]) – (experimental) version property. Specify an array of string values to match this event if the actual value of version is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- Return type:
Bucket
- class ObjectRestoreCompleted.Bucket(*, name=None)
Bases:
object(experimental) Type definition for Bucket.
- Parameters:
name (
Optional[Sequence[str]]) – (experimental) name property. Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Filter with the Bucket reference- 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_s3 import events as s3_events bucket = s3_events.ObjectRestoreCompleted.Bucket( name=["name"] )
Attributes
- name
(experimental) name property.
Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Filter with the Bucket reference
- Stability:
experimental
ObjectRestoreCompletedProps
- class ObjectRestoreCompleted.ObjectRestoreCompletedProps(*, bucket=None, event_metadata=None, object=None, requester=None, request_id=None, restore_expiry_time=None, source_storage_class=None, version=None)
Bases:
object(experimental) Props type for aws.s3@ObjectRestoreCompleted event.
- Parameters:
bucket (
Union[Bucket,Dict[str,Any],None]) – (experimental) bucket property. Specify an array of string values to match this event if the actual value of bucket is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -object (
Union[ObjectType,Dict[str,Any],None]) – (experimental) object property. Specify an array of string values to match this event if the actual value of object is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldrequester (
Optional[Sequence[str]]) – (experimental) requester property. Specify an array of string values to match this event if the actual value of requester is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldrequest_id (
Optional[Sequence[str]]) – (experimental) request-id property. Specify an array of string values to match this event if the actual value of request-id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldrestore_expiry_time (
Optional[Sequence[str]]) – (experimental) restore-expiry-time property. Specify an array of string values to match this event if the actual value of restore-expiry-time is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldsource_storage_class (
Optional[Sequence[str]]) – (experimental) source-storage-class property. Specify an array of string values to match this event if the actual value of source-storage-class is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldversion (
Optional[Sequence[str]]) – (experimental) version property. Specify an array of string values to match this event if the actual value of version is one of the values in the array. Use one of the constructors on theaws_events.Matchfor 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_s3 import events as s3_events object_restore_completed_props = s3_events.ObjectRestoreCompleted.ObjectRestoreCompletedProps( bucket=s3_events.ObjectRestoreCompleted.Bucket( name=["name"] ), event_metadata=AWSEventMetadataProps( region=["region"], resources=["resources"], version=["version"] ), object=s3_events.ObjectRestoreCompleted.ObjectType( etag=["etag"], key=["key"], size=["size"], version_id=["versionId"] ), requester=["requester"], request_id=["requestId"], restore_expiry_time=["restoreExpiryTime"], source_storage_class=["sourceStorageClass"], version=["version"] )
Attributes
- bucket
(experimental) bucket property.
Specify an array of string values to match this event if the actual value of bucket is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- event_metadata
(experimental) EventBridge event metadata.
- Default:
- Stability:
experimental
- object
(experimental) object property.
Specify an array of string values to match this event if the actual value of object is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- request_id
(experimental) request-id property.
Specify an array of string values to match this event if the actual value of request-id is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- requester
(experimental) requester property.
Specify an array of string values to match this event if the actual value of requester is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- restore_expiry_time
(experimental) restore-expiry-time property.
Specify an array of string values to match this event if the actual value of restore-expiry-time is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- source_storage_class
(experimental) source-storage-class property.
Specify an array of string values to match this event if the actual value of source-storage-class is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- version
(experimental) version property.
Specify an array of string values to match this event if the actual value of version is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
ObjectType
- class ObjectRestoreCompleted.ObjectType(*, etag=None, key=None, size=None, version_id=None)
Bases:
object(experimental) Type definition for Object.
- Parameters:
etag (
Optional[Sequence[str]]) – (experimental) etag property. Specify an array of string values to match this event if the actual value of etag is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldkey (
Optional[Sequence[str]]) – (experimental) key property. Specify an array of string values to match this event if the actual value of key is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldsize (
Optional[Sequence[str]]) – (experimental) size property. Specify an array of string values to match this event if the actual value of size is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldversion_id (
Optional[Sequence[str]]) – (experimental) version-id property. Specify an array of string values to match this event if the actual value of version-id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- 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_s3 import events as s3_events object_type = s3_events.ObjectRestoreCompleted.ObjectType( etag=["etag"], key=["key"], size=["size"], version_id=["versionId"] )
Attributes
- etag
(experimental) etag property.
Specify an array of string values to match this event if the actual value of etag is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- key
(experimental) key property.
Specify an array of string values to match this event if the actual value of key is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- size
(experimental) size property.
Specify an array of string values to match this event if the actual value of size is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- version_id
(experimental) version-id property.
Specify an array of string values to match this event if the actual value of version-id is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental