Skip to content
v2.275.0

TtlDurationProperty Struct ​

Time to live duration, where the record is hard deleted after the expiration time is reached;

ExpiresAt = EventTime + TtlDuration . For information on HardDelete, see the DeleteRecord API in the Amazon SageMaker API Reference guide.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const ttlDurationProperty: sagemaker.CfnFeatureGroup.TtlDurationProperty = {
  unit: 'unit',
  value: 123,
};

Properties ​

unitoptionalstringunitoptionalstrunitoptionalStringUnitoptionalstringUnitoptional*string#
`TtlDuration` time unit.
valueoptionalnumbervalueoptionalint | floatvalueoptionalNumberValueoptionaldoubleValueoptional*float64#
`TtlDuration` time value.