interface RetentionPeriod
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoTAnalytics.Events.AWSAPICallViaCloudTrail.RetentionPeriod |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiotanalytics/events#AWSAPICallViaCloudTrail_RetentionPeriod |
Java | software.amazon.awscdk.mixins.preview.services.iotanalytics.events.AWSAPICallViaCloudTrail.RetentionPeriod |
Python | aws_cdk.mixins_preview.aws_iotanalytics.events.AWSAPICallViaCloudTrail.RetentionPeriod |
TypeScript | @aws-cdk/mixins-preview ยป aws_iotanalytics ยป events ยป AWSAPICallViaCloudTrail ยป RetentionPeriod |
Type definition for RetentionPeriod.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as iotanalytics_events } from '@aws-cdk/mixins-preview/aws-iotanalytics';
const retentionPeriod: iotanalytics_events.AWSAPICallViaCloudTrail.RetentionPeriod = {
numberOfDays: ['numberOfDays'],
unlimited: ['unlimited'],
};
Properties
| Name | Type | Description |
|---|---|---|
| number | string[] | numberOfDays property. |
| unlimited? | string[] | unlimited property. |
numberOfDays?
Type:
string[]
(optional, default: Do not filter on this field)
numberOfDays property.
Specify an array of string values to match this event if the actual value of numberOfDays is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
unlimited?
Type:
string[]
(optional, default: Do not filter on this field)
unlimited property.
Specify an array of string values to match this event if the actual value of unlimited 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