Skip to content
v2.277.0

DecimalDatasetParameterProperty Struct ​

A decimal parameter that is created in the dataset.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const decimalDatasetParameterProperty: quicksight.CfnDataSet.DecimalDatasetParameterProperty = {
  id: 'id',
  name: 'name',
  valueType: 'valueType',

  // the properties below are optional
  defaultValues: {
    staticValues: [123],
  },
};
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_quicksight as quicksight

decimal_dataset_parameter_property = quicksight.CfnDataSet.DecimalDatasetParameterProperty(
    id="id",
    name="name",
    value_type="valueType",

    # the properties below are optional
    default_values=quicksight.CfnDataSet.DecimalDatasetParameterDefaultValuesProperty(
        static_values=[123]
    )
)
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.quicksight.*;

DecimalDatasetParameterProperty decimalDatasetParameterProperty = DecimalDatasetParameterProperty.builder()
        .id("id")
        .name("name")
        .valueType("valueType")

        // the properties below are optional
        .defaultValues(DecimalDatasetParameterDefaultValuesProperty.builder()
                .staticValues(List.of(123))
                .build())
        .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.QuickSight;

var decimalDatasetParameterProperty = new DecimalDatasetParameterProperty {
    Id = "id",
    Name = "name",
    ValueType = "valueType",

    // the properties below are optional
    DefaultValues = new DecimalDatasetParameterDefaultValuesProperty {
        StaticValues = new [] { 123 }
    }
};
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"

decimalDatasetParameterProperty := &DecimalDatasetParameterProperty{
	Id: jsii.String("id"),
	Name: jsii.String("name"),
	ValueType: jsii.String("valueType"),

	// the properties below are optional
	DefaultValues: &DecimalDatasetParameterDefaultValuesProperty{
		StaticValues: []interface{}{
			jsii.Number(123),
		},
	},
}

Properties ​

defaultValuesoptionalIResolvable | CfnDataSet.DecimalDatasetParameterDefaultValuesPropertydefault_valuesoptionaltyping.Union[IResolvable, DecimalDatasetParameterDefaultValuesProperty]defaultValuesoptionalIResolvableDefaultValuesoptionalIResolvableDefaultValuesoptionalinterface{}#
A list of default values for a given decimal parameter.

This structure only accepts static values.

idstringidstridStringIdstringId*stringrequired#
An identifier for the decimal parameter created in the dataset.
namestringnamestrnameStringNamestringName*stringrequired#
The name of the decimal parameter that is created in the dataset.
valueTypestringvalue_typestrvalueTypeStringValueTypestringValueType*stringrequired#
The value type of the dataset parameter.

Valid values are single value or multi value .