interface MatchObjectAgeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.S3.CfnStorageLensGroupPropsMixin.MatchObjectAgeProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awss3#CfnStorageLensGroupPropsMixin_MatchObjectAgeProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.s3.CfnStorageLensGroupPropsMixin.MatchObjectAgeProperty |
Python | aws_cdk.cfn_property_mixins.aws_s3.CfnStorageLensGroupPropsMixin.MatchObjectAgeProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_s3 » CfnStorageLensGroupPropsMixin » MatchObjectAgeProperty |
This resource contains DaysGreaterThan and DaysLessThan to define the object age range (minimum and maximum number of days).
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3 as s3 } from '@aws-cdk/cfn-property-mixins';
const matchObjectAgeProperty: s3.CfnStorageLensGroupPropsMixin.MatchObjectAgeProperty = {
daysGreaterThan: 123,
daysLessThan: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| days | number | This property indicates the minimum object age in days. |
| days | number | This property indicates the maximum object age in days. |
daysGreaterThan?
Type:
number
(optional)
This property indicates the minimum object age in days.
daysLessThan?
Type:
number
(optional)
This property indicates the maximum object age in days.

.NET
Go
Java
Python
TypeScript