Skip to content
v2.278.0

IntegerDatasetParameterProperty Struct ​

An integer 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 integerDatasetParameterProperty: quicksight.CfnDataSet.IntegerDatasetParameterProperty = {
  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

integer_dataset_parameter_property = quicksight.CfnDataSet.IntegerDatasetParameterProperty(
    id="id",
    name="name",
    value_type="valueType",

    # the properties below are optional
    default_values=quicksight.CfnDataSet.IntegerDatasetParameterDefaultValuesProperty(
        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.*;

IntegerDatasetParameterProperty integerDatasetParameterProperty = IntegerDatasetParameterProperty.builder()
        .id("id")
        .name("name")
        .valueType("valueType")

        // the properties below are optional
        .defaultValues(IntegerDatasetParameterDefaultValuesProperty.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 integerDatasetParameterProperty = new IntegerDatasetParameterProperty {
    Id = "id",
    Name = "name",
    ValueType = "valueType",

    // the properties below are optional
    DefaultValues = new IntegerDatasetParameterDefaultValuesProperty {
        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"

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

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

Properties ​

defaultValuesoptionalIResolvable | CfnDataSet.IntegerDatasetParameterDefaultValuesPropertydefault_valuesoptionaltyping.Union[IResolvable, IntegerDatasetParameterDefaultValuesProperty]defaultValuesoptionalIResolvableDefaultValuesoptionalIResolvableDefaultValuesoptionalinterface{} #
A list of default values for a given integer parameter.

This structure only accepts static values.

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

Valid values are single value or multi value .