Show / Hide Table of Contents

Class CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty

Configuration to write data into Timestream database and table.

Inheritance
object
CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty
Implements
CfnScheduledQueryPropsMixin.ITimestreamConfigurationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.Timestream.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty : CfnScheduledQueryPropsMixin.ITimestreamConfigurationProperty
Syntax (vb)
Public Class CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty Implements CfnScheduledQueryPropsMixin.ITimestreamConfigurationProperty
Remarks

This configuration allows the user to map the query result select columns into the destination table columns.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-timestreamconfiguration.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.Mixins.Preview.AWS.Timestream.Mixins;

             var timestreamConfigurationProperty = new TimestreamConfigurationProperty {
                 DatabaseName = "databaseName",
                 DimensionMappings = new [] { new DimensionMappingProperty {
                     DimensionValueType = "dimensionValueType",
                     Name = "name"
                 } },
                 MeasureNameColumn = "measureNameColumn",
                 MixedMeasureMappings = new [] { new MixedMeasureMappingProperty {
                     MeasureName = "measureName",
                     MeasureValueType = "measureValueType",
                     MultiMeasureAttributeMappings = new [] { new MultiMeasureAttributeMappingProperty {
                         MeasureValueType = "measureValueType",
                         SourceColumn = "sourceColumn",
                         TargetMultiMeasureAttributeName = "targetMultiMeasureAttributeName"
                     } },
                     SourceColumn = "sourceColumn",
                     TargetMeasureName = "targetMeasureName"
                 } },
                 MultiMeasureMappings = new MultiMeasureMappingsProperty {
                     MultiMeasureAttributeMappings = new [] { new MultiMeasureAttributeMappingProperty {
                         MeasureValueType = "measureValueType",
                         SourceColumn = "sourceColumn",
                         TargetMultiMeasureAttributeName = "targetMultiMeasureAttributeName"
                     } },
                     TargetMultiMeasureName = "targetMultiMeasureName"
                 },
                 TableName = "tableName",
                 TimeColumn = "timeColumn"
             };

Synopsis

Constructors

TimestreamConfigurationProperty()

Configuration to write data into Timestream database and table.

Properties

DatabaseName

Name of Timestream database to which the query result will be written.

DimensionMappings

This is to allow mapping column(s) from the query result to the dimension in the destination table.

MeasureNameColumn

Name of the measure column.

MixedMeasureMappings

Specifies how to map measures to multi-measure records.

MultiMeasureMappings

Multi-measure mappings.

TableName

Name of Timestream table that the query result will be written to.

TimeColumn

Column from query result that should be used as the time column in destination table.

Constructors

TimestreamConfigurationProperty()

Configuration to write data into Timestream database and table.

public TimestreamConfigurationProperty()
Remarks

This configuration allows the user to map the query result select columns into the destination table columns.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-timestreamconfiguration.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.Mixins.Preview.AWS.Timestream.Mixins;

             var timestreamConfigurationProperty = new TimestreamConfigurationProperty {
                 DatabaseName = "databaseName",
                 DimensionMappings = new [] { new DimensionMappingProperty {
                     DimensionValueType = "dimensionValueType",
                     Name = "name"
                 } },
                 MeasureNameColumn = "measureNameColumn",
                 MixedMeasureMappings = new [] { new MixedMeasureMappingProperty {
                     MeasureName = "measureName",
                     MeasureValueType = "measureValueType",
                     MultiMeasureAttributeMappings = new [] { new MultiMeasureAttributeMappingProperty {
                         MeasureValueType = "measureValueType",
                         SourceColumn = "sourceColumn",
                         TargetMultiMeasureAttributeName = "targetMultiMeasureAttributeName"
                     } },
                     SourceColumn = "sourceColumn",
                     TargetMeasureName = "targetMeasureName"
                 } },
                 MultiMeasureMappings = new MultiMeasureMappingsProperty {
                     MultiMeasureAttributeMappings = new [] { new MultiMeasureAttributeMappingProperty {
                         MeasureValueType = "measureValueType",
                         SourceColumn = "sourceColumn",
                         TargetMultiMeasureAttributeName = "targetMultiMeasureAttributeName"
                     } },
                     TargetMultiMeasureName = "targetMultiMeasureName"
                 },
                 TableName = "tableName",
                 TimeColumn = "timeColumn"
             };

Properties

DatabaseName

Name of Timestream database to which the query result will be written.

public string? DatabaseName { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-timestreamconfiguration.html#cfn-timestream-scheduledquery-timestreamconfiguration-databasename

DimensionMappings

This is to allow mapping column(s) from the query result to the dimension in the destination table.

public object? DimensionMappings { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-timestreamconfiguration.html#cfn-timestream-scheduledquery-timestreamconfiguration-dimensionmappings

Type union: either IResolvable or (either IResolvable or CfnScheduledQueryPropsMixin.IDimensionMappingProperty)[]

MeasureNameColumn

Name of the measure column.

public string? MeasureNameColumn { get; set; }
Property Value

string

Remarks

Also see MultiMeasureMappings and MixedMeasureMappings for how measure name properties on those relate to MeasureNameColumn .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-timestreamconfiguration.html#cfn-timestream-scheduledquery-timestreamconfiguration-measurenamecolumn

MixedMeasureMappings

Specifies how to map measures to multi-measure records.

public object? MixedMeasureMappings { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-timestreamconfiguration.html#cfn-timestream-scheduledquery-timestreamconfiguration-mixedmeasuremappings

Type union: either IResolvable or (either IResolvable or CfnScheduledQueryPropsMixin.IMixedMeasureMappingProperty)[]

MultiMeasureMappings

Multi-measure mappings.

public object? MultiMeasureMappings { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-timestreamconfiguration.html#cfn-timestream-scheduledquery-timestreamconfiguration-multimeasuremappings

Type union: either IResolvable or CfnScheduledQueryPropsMixin.IMultiMeasureMappingsProperty

TableName

Name of Timestream table that the query result will be written to.

public string? TableName { get; set; }
Property Value

string

Remarks

The table should be within the same database that is provided in Timestream configuration.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-timestreamconfiguration.html#cfn-timestream-scheduledquery-timestreamconfiguration-tablename

TimeColumn

Column from query result that should be used as the time column in destination table.

public string? TimeColumn { get; set; }
Property Value

string

Remarks

Column type for this should be TIMESTAMP.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-timestreamconfiguration.html#cfn-timestream-scheduledquery-timestreamconfiguration-timecolumn

Implements

CfnScheduledQueryPropsMixin.ITimestreamConfigurationProperty
Back to top Generated by DocFX