Show / Hide Table of Contents

Interface CfnDetectorModelPropsMixin.IAssetPropertyTimestampProperty

A structure that contains timestamp information. For more information, see TimeInNanos in the AWS IoT SiteWise API Reference .

Namespace: Amazon.CDK.CfnPropertyMixins.AWS.IoTEvents
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface CfnDetectorModelPropsMixin.IAssetPropertyTimestampProperty
Syntax (vb)
Public Interface CfnDetectorModelPropsMixin.IAssetPropertyTimestampProperty
Remarks

You must use expressions for all parameters in AssetPropertyTimestamp . The expressions accept literals, operators, functions, references, and substitution templates.

Examples - For literal values, the expressions must contain single quotes. For example, the value for the timeInSeconds parameter can be '1586400675' .

    In the following example, the value for the timeInSeconds parameter uses a substitution template.

    '${$input.TemperatureInput.sensorData.timestamp / 1000}'

    For more information, see Expressions in the AWS IoT Events Developer Guide .

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-assetpropertytimestamp.html

    ExampleMetadata: fixture=_generated

    Examples
    // The code below shows an example of how to instantiate this type.
                 // The values are placeholders you should change.
                 using Amazon.CDK.CfnPropertyMixins.AWS.IoTEvents;
    
                 var assetPropertyTimestampProperty = new AssetPropertyTimestampProperty {
                     OffsetInNanos = "offsetInNanos",
                     TimeInSeconds = "timeInSeconds"
                 };

    Synopsis

    Properties

    OffsetInNanos

    The nanosecond offset converted from timeInSeconds .

    TimeInSeconds

    The timestamp, in seconds, in the Unix epoch format.

    Properties

    OffsetInNanos

    The nanosecond offset converted from timeInSeconds .

    string? OffsetInNanos { get; }
    Property Value

    string

    Remarks

    The valid range is between 0-999999999.

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-assetpropertytimestamp.html#cfn-iotevents-detectormodel-assetpropertytimestamp-offsetinnanos

    TimeInSeconds

    The timestamp, in seconds, in the Unix epoch format.

    string? TimeInSeconds { get; }
    Property Value

    string

    Remarks

    The valid range is between 1-31556889864403199.

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-assetpropertytimestamp.html#cfn-iotevents-detectormodel-assetpropertytimestamp-timeinseconds

    Back to top Generated by DocFX