Skip to content
v2.277.0

ExpirationDataRuleProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3files as s3files } from 'aws-cdk-lib';
const expirationDataRuleProperty: s3files.CfnFileSystem.ExpirationDataRuleProperty = {
  daysAfterLastAccess: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_s3files as s3files

expiration_data_rule_property = s3files.CfnFileSystem.ExpirationDataRuleProperty(
    days_after_last_access=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.s3files.*;

ExpirationDataRuleProperty expirationDataRuleProperty = ExpirationDataRuleProperty.builder()
        .daysAfterLastAccess(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3Files;

var expirationDataRuleProperty = new ExpirationDataRuleProperty {
    DaysAfterLastAccess = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

expirationDataRuleProperty := &ExpirationDataRuleProperty{
	DaysAfterLastAccess: jsii.Number(123),
}

Properties ​

daysAfterLastAccessnumberdays_after_last_accessint | floatdaysAfterLastAccessNumberDaysAfterLastAccessdoubleDaysAfterLastAccess*float64 required #