TimestampPartitionProperty Struct
A partition dimension defined by a timestamp attribute.
| 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_iotanalytics as iotanalytics } from 'aws-cdk-lib';
const timestampPartitionProperty: iotanalytics.CfnDatastore.TimestampPartitionProperty = {
attributeName: 'attributeName',
// the properties below are optional
timestampFormat: 'timestampFormat',
};
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_iotanalytics as iotanalytics
timestamp_partition_property = iotanalytics.CfnDatastore.TimestampPartitionProperty(
attribute_name="attributeName",
# the properties below are optional
timestamp_format="timestampFormat"
)
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.iotanalytics.*;
TimestampPartitionProperty timestampPartitionProperty = TimestampPartitionProperty.builder()
.attributeName("attributeName")
// the properties below are optional
.timestampFormat("timestampFormat")
.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.IoTAnalytics;
var timestampPartitionProperty = new TimestampPartitionProperty {
AttributeName = "attributeName",
// the properties below are optional
TimestampFormat = "timestampFormat"
};
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"
timestampPartitionProperty := &TimestampPartitionProperty{
AttributeName: jsii.String("attributeName"),
// the properties below are optional
TimestampFormat: jsii.String("timestampFormat"),
}
Properties
attributeNamestringattribute_namestrattributeNameStringAttributeNamestringAttributeName*string required #The attribute name of the partition defined by a timestamp.
timestampFormatoptionalstringtimestamp_formatoptionalstrtimestampFormatoptionalStringTimestampFormatoptionalstringTimestampFormatoptional*string #The timestamp format of a partition defined by a timestamp.
The default format is seconds since epoch (January 1, 1970 at midnight UTC time).