interface ObjectRestoreExpiredProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.S3.Events.BucketEvents.ObjectRestoreExpired.ObjectRestoreExpiredProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awss3/events#BucketEvents_ObjectRestoreExpired_ObjectRestoreExpiredProps |
Java | software.amazon.awscdk.mixins.preview.services.s3.events.BucketEvents.ObjectRestoreExpired.ObjectRestoreExpiredProps |
Python | aws_cdk.mixins_preview.aws_s3.events.BucketEvents.ObjectRestoreExpired.ObjectRestoreExpiredProps |
TypeScript | @aws-cdk/mixins-preview ยป aws_s3 ยป events ยป BucketEvents ยป ObjectRestoreExpired ยป ObjectRestoreExpiredProps |
Props type for Bucket aws.s3@ObjectRestoreExpired event.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as s3_events } from '@aws-cdk/mixins-preview/aws-s3';
const objectRestoreExpiredProps: s3_events.BucketEvents.ObjectRestoreExpired.ObjectRestoreExpiredProps = {
bucket: {
name: ['name'],
},
eventMetadata: {
region: ['region'],
resources: ['resources'],
version: ['version'],
},
object: {
etag: ['etag'],
key: ['key'],
versionId: ['versionId'],
},
requester: ['requester'],
requestId: ['requestId'],
version: ['version'],
};
Properties
| Name | Type | Description |
|---|---|---|
| bucket? | Bucket | bucket property. |
| event | AWSEvent | EventBridge event metadata. |
| object? | Object | object property. |
| request | string[] | request-id property. |
| requester? | string[] | requester property. |
| version? | string[] | version property. |
bucket?
Type:
Bucket
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
eventMetadata?
Type:
AWSEvent
(optional, default: -)
EventBridge event metadata.
object?
Type:
Object
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
requestId?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
requester?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
version?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.

.NET
Go
Java
Python
TypeScript