# AssetPropertyTimestampProperty

An asset property timestamp entry containing the following information.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const assetPropertyTimestampProperty: iot.CfnTopicRule.AssetPropertyTimestampProperty = {
  timeInSeconds: 'timeInSeconds',

  // the properties below are optional
  offsetInNanos: 'offsetInNanos',
};
```

Python:

```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_iot as iot

asset_property_timestamp_property = iot.CfnTopicRule.AssetPropertyTimestampProperty(
    time_in_seconds="timeInSeconds",

    # the properties below are optional
    offset_in_nanos="offsetInNanos"
)
```

Java:

```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.iot.*;

AssetPropertyTimestampProperty assetPropertyTimestampProperty = AssetPropertyTimestampProperty.builder()
        .timeInSeconds("timeInSeconds")

        // the properties below are optional
        .offsetInNanos("offsetInNanos")
        .build();
```

C# / .NET:

```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.IoT;

var assetPropertyTimestampProperty = new AssetPropertyTimestampProperty {
    TimeInSeconds = "timeInSeconds",

    // the properties below are optional
    OffsetInNanos = "offsetInNanos"
};
```

Golang:

```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"

assetPropertyTimestampProperty := &AssetPropertyTimestampProperty{
	TimeInSeconds: jsii.String("timeInSeconds"),

	// the properties below are optional
	OffsetInNanos: jsii.String("offsetInNanos"),
}
```

## Properties

- `offsetInNanos`: string — Optional.

  A string that contains the nanosecond time offset. Accepts substitution templates.

- `timeInSeconds`: string (required) — A string that contains the time in seconds since epoch.

  Accepts substitution templates.
