interface RetentionInfo
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.S3.Events.AWSAPICallViaCloudTrail.RetentionInfo |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awss3/events#AWSAPICallViaCloudTrail_RetentionInfo |
Java | software.amazon.awscdk.mixins.preview.services.s3.events.AWSAPICallViaCloudTrail.RetentionInfo |
Python | aws_cdk.mixins_preview.aws_s3.events.AWSAPICallViaCloudTrail.RetentionInfo |
TypeScript | @aws-cdk/mixins-preview ยป aws_s3 ยป events ยป AWSAPICallViaCloudTrail ยป RetentionInfo |
Type definition for RetentionInfo.
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 retentionInfo: s3_events.AWSAPICallViaCloudTrail.RetentionInfo = {
lastModifiedTime: ['lastModifiedTime'],
retainUntilMode: ['retainUntilMode'],
retainUntilTime: ['retainUntilTime'],
};
Properties
| Name | Type | Description |
|---|---|---|
| last | string[] | lastModifiedTime property. |
| retain | string[] | retainUntilMode property. |
| retain | string[] | retainUntilTime property. |
lastModifiedTime?
Type:
string[]
(optional, default: Do not filter on this field)
lastModifiedTime property.
Specify an array of string values to match this event if the actual value of lastModifiedTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
retainUntilMode?
Type:
string[]
(optional, default: Do not filter on this field)
retainUntilMode property.
Specify an array of string values to match this event if the actual value of retainUntilMode is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
retainUntilTime?
Type:
string[]
(optional, default: Do not filter on this field)
retainUntilTime property.
Specify an array of string values to match this event if the actual value of retainUntilTime 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