Skip to content
v2.278.0

DimensionMappingProperty Struct ​

This type is used to map column(s) from the query result to a dimension in the destination table.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_timestream as timestream } from 'aws-cdk-lib';
const dimensionMappingProperty: timestream.CfnScheduledQuery.DimensionMappingProperty = {
  dimensionValueType: 'dimensionValueType',
  name: 'name',
};
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_timestream as timestream

dimension_mapping_property = timestream.CfnScheduledQuery.DimensionMappingProperty(
    dimension_value_type="dimensionValueType",
    name="name"
)
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.timestream.*;

DimensionMappingProperty dimensionMappingProperty = DimensionMappingProperty.builder()
        .dimensionValueType("dimensionValueType")
        .name("name")
        .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.Timestream;

var dimensionMappingProperty = new DimensionMappingProperty {
    DimensionValueType = "dimensionValueType",
    Name = "name"
};
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"

dimensionMappingProperty := &DimensionMappingProperty{
	DimensionValueType: jsii.String("dimensionValueType"),
	Name: jsii.String("name"),
}

Properties ​

dimensionValueTypestringdimension_value_typestrdimensionValueTypeStringDimensionValueTypestringDimensionValueType*string required #
Type for the dimension: VARCHAR.
namestringnamestrnameStringNamestringName*string required #
Column name from query result.