StringDatasetParameterProperty Struct
A string parameter that is created in the dataset.
| Source | |
|---|---|
| Type last changed |
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 stringDatasetParameterProperty: quicksight.CfnDataSet.StringDatasetParameterProperty = {
id: 'id',
name: 'name',
valueType: 'valueType',
// the properties below are optional
defaultValues: {
staticValues: ['staticValues'],
},
};
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
string_dataset_parameter_property = quicksight.CfnDataSet.StringDatasetParameterProperty(
id="id",
name="name",
value_type="valueType",
# the properties below are optional
default_values=quicksight.CfnDataSet.StringDatasetParameterDefaultValuesProperty(
static_values=["staticValues"]
)
)
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.*;
StringDatasetParameterProperty stringDatasetParameterProperty = StringDatasetParameterProperty.builder()
.id("id")
.name("name")
.valueType("valueType")
// the properties below are optional
.defaultValues(StringDatasetParameterDefaultValuesProperty.builder()
.staticValues(List.of("staticValues"))
.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 stringDatasetParameterProperty = new StringDatasetParameterProperty {
Id = "id",
Name = "name",
ValueType = "valueType",
// the properties below are optional
DefaultValues = new StringDatasetParameterDefaultValuesProperty {
StaticValues = new [] { "staticValues" }
}
};
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"
stringDatasetParameterProperty := &StringDatasetParameterProperty{
Id: jsii.String("id"),
Name: jsii.String("name"),
ValueType: jsii.String("valueType"),
// the properties below are optional
DefaultValues: &StringDatasetParameterDefaultValuesProperty{
StaticValues: []*string{
jsii.String("staticValues"),
},
},
}
Properties
defaultValuesoptionalIResolvable | CfnDataSet.default_valuesoptionaltyping.Union[IResolvable, StringDatasetParameterDefaultValuesProperty]defaultValuesoptionalIResolvableDefaultValuesoptionalIResolvableDefaultValuesoptionalinterface{} #A list of default values for a given string dataset parameter type.
This structure only accepts static values.
An identifier for the string parameter that is created in the dataset.
The name of the string parameter that is created in the dataset.
The value type of the dataset parameter.
Valid values are single value or multi value .