ObjectRestoreExpired
- class aws_cdk.mixins_preview.aws_s3.events.ObjectRestoreExpired
Bases:
object(experimental) EventBridge event pattern for aws.s3@ObjectRestoreExpired.
- 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_expired = s3_events.ObjectRestoreExpired()
- Stability:
experimental
Static Methods
- classmethod object_restore_expired_pattern(*, bucket=None, event_metadata=None, object=None, requester=None, request_id=None, version=None)
(experimental) EventBridge event pattern for Object Restore Expired.
- 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 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 ObjectRestoreExpired.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.ObjectRestoreExpired.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
ObjectRestoreExpiredProps
- class ObjectRestoreExpired.ObjectRestoreExpiredProps(*, bucket=None, event_metadata=None, object=None, requester=None, request_id=None, version=None)
Bases:
object(experimental) Props type for aws.s3@ObjectRestoreExpired 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 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_expired_props = s3_events.ObjectRestoreExpired.ObjectRestoreExpiredProps( bucket=s3_events.ObjectRestoreExpired.Bucket( name=["name"] ), event_metadata=AWSEventMetadataProps( region=["region"], resources=["resources"], version=["version"] ), object=s3_events.ObjectRestoreExpired.ObjectType( etag=["etag"], key=["key"], version_id=["versionId"] ), requester=["requester"], request_id=["requestId"], 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
- 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 ObjectRestoreExpired.ObjectType(*, etag=None, key=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 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.ObjectRestoreExpired.ObjectType( etag=["etag"], key=["key"], 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
- 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