interface ObjectRestoreCompletedProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.S3.Events.BucketEvents.ObjectRestoreCompleted.ObjectRestoreCompletedProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awss3/events#BucketEvents_ObjectRestoreCompleted_ObjectRestoreCompletedProps |
Java | software.amazon.awscdk.mixins.preview.services.s3.events.BucketEvents.ObjectRestoreCompleted.ObjectRestoreCompletedProps |
Python | aws_cdk.mixins_preview.aws_s3.events.BucketEvents.ObjectRestoreCompleted.ObjectRestoreCompletedProps |
TypeScript | @aws-cdk/mixins-preview ยป aws_s3 ยป events ยป BucketEvents ยป ObjectRestoreCompleted ยป ObjectRestoreCompletedProps |
Props type for Bucket aws.s3@ObjectRestoreCompleted 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 objectRestoreCompletedProps: s3_events.BucketEvents.ObjectRestoreCompleted.ObjectRestoreCompletedProps = {
bucket: {
name: ['name'],
},
eventMetadata: {
region: ['region'],
resources: ['resources'],
version: ['version'],
},
object: {
etag: ['etag'],
key: ['key'],
size: ['size'],
versionId: ['versionId'],
},
requester: ['requester'],
requestId: ['requestId'],
restoreExpiryTime: ['restoreExpiryTime'],
sourceStorageClass: ['sourceStorageClass'],
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. |
| restore | string[] | restore-expiry-time property. |
| source | string[] | source-storage-class 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.
restoreExpiryTime?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
sourceStorageClass?
Type:
string[]
(optional, default: Do not filter on this field)
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.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