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.
| Source | |
|---|---|
| Type last changed |
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,
};
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_sagemaker as sagemaker
ttl_duration_property = sagemaker.CfnFeatureGroup.TtlDurationProperty(
unit="unit",
value=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.sagemaker.*;
TtlDurationProperty ttlDurationProperty = TtlDurationProperty.builder()
.unit("unit")
.value(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.Sagemaker;
var ttlDurationProperty = new TtlDurationProperty {
Unit = "unit",
Value = 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"
ttlDurationProperty := &TtlDurationProperty{
Unit: jsii.String("unit"),
Value: jsii.Number(123),
}