Skip to content
v2.278.0

StorageMinimumTimeToLiveProperty Struct ​

Information about the minimum amount of time that data will be kept.

Access to certain AWS IoT FleetWise features is currently gated. For more information, see AWS Region and feature availability in the AWS IoT FleetWise Developer Guide .

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotfleetwise as iotfleetwise } from 'aws-cdk-lib';
const storageMinimumTimeToLiveProperty: iotfleetwise.CfnCampaign.StorageMinimumTimeToLiveProperty = {
  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_iotfleetwise as iotfleetwise

storage_minimum_time_to_live_property = iotfleetwise.CfnCampaign.StorageMinimumTimeToLiveProperty(
    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.iotfleetwise.*;

StorageMinimumTimeToLiveProperty storageMinimumTimeToLiveProperty = StorageMinimumTimeToLiveProperty.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.IoTFleetWise;

var storageMinimumTimeToLiveProperty = new StorageMinimumTimeToLiveProperty {
    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"

storageMinimumTimeToLiveProperty := &StorageMinimumTimeToLiveProperty{
	Unit: jsii.String("unit"),
	Value: jsii.Number(123),
}

Properties ​

unitstringunitstrunitStringUnitstringUnit*string required #
The time increment type.
valuenumbervalueint | floatvalueNumberValuedoubleValue*float64 required #
The minimum amount of time to store the data.