StringDefaultValuesProperty Struct
The default values of the StringParameterDeclaration .
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 stringDefaultValuesProperty: quicksight.CfnTemplate.StringDefaultValuesProperty = {
dynamicValue: {
defaultValueColumn: {
columnName: 'columnName',
// the properties below are optional
dataSetIdentifier: 'dataSetIdentifier',
topicIdentifier: 'topicIdentifier',
},
// the properties below are optional
groupNameColumn: {
columnName: 'columnName',
// the properties below are optional
dataSetIdentifier: 'dataSetIdentifier',
topicIdentifier: 'topicIdentifier',
},
userNameColumn: {
columnName: 'columnName',
// the properties below are optional
dataSetIdentifier: 'dataSetIdentifier',
topicIdentifier: 'topicIdentifier',
},
},
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_default_values_property = quicksight.CfnTemplate.StringDefaultValuesProperty(
dynamic_value=quicksight.CfnTemplate.DynamicDefaultValueProperty(
default_value_column=quicksight.CfnTemplate.ColumnIdentifierProperty(
column_name="columnName",
# the properties below are optional
data_set_identifier="dataSetIdentifier",
topic_identifier="topicIdentifier"
),
# the properties below are optional
group_name_column=quicksight.CfnTemplate.ColumnIdentifierProperty(
column_name="columnName",
# the properties below are optional
data_set_identifier="dataSetIdentifier",
topic_identifier="topicIdentifier"
),
user_name_column=quicksight.CfnTemplate.ColumnIdentifierProperty(
column_name="columnName",
# the properties below are optional
data_set_identifier="dataSetIdentifier",
topic_identifier="topicIdentifier"
)
),
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.*;
StringDefaultValuesProperty stringDefaultValuesProperty = StringDefaultValuesProperty.builder()
.dynamicValue(DynamicDefaultValueProperty.builder()
.defaultValueColumn(ColumnIdentifierProperty.builder()
.columnName("columnName")
// the properties below are optional
.dataSetIdentifier("dataSetIdentifier")
.topicIdentifier("topicIdentifier")
.build())
// the properties below are optional
.groupNameColumn(ColumnIdentifierProperty.builder()
.columnName("columnName")
// the properties below are optional
.dataSetIdentifier("dataSetIdentifier")
.topicIdentifier("topicIdentifier")
.build())
.userNameColumn(ColumnIdentifierProperty.builder()
.columnName("columnName")
// the properties below are optional
.dataSetIdentifier("dataSetIdentifier")
.topicIdentifier("topicIdentifier")
.build())
.build())
.staticValues(List.of("staticValues"))
.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 stringDefaultValuesProperty = new StringDefaultValuesProperty {
DynamicValue = new DynamicDefaultValueProperty {
DefaultValueColumn = new ColumnIdentifierProperty {
ColumnName = "columnName",
// the properties below are optional
DataSetIdentifier = "dataSetIdentifier",
TopicIdentifier = "topicIdentifier"
},
// the properties below are optional
GroupNameColumn = new ColumnIdentifierProperty {
ColumnName = "columnName",
// the properties below are optional
DataSetIdentifier = "dataSetIdentifier",
TopicIdentifier = "topicIdentifier"
},
UserNameColumn = new ColumnIdentifierProperty {
ColumnName = "columnName",
// the properties below are optional
DataSetIdentifier = "dataSetIdentifier",
TopicIdentifier = "topicIdentifier"
}
},
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"
stringDefaultValuesProperty := &StringDefaultValuesProperty{
DynamicValue: &DynamicDefaultValueProperty{
DefaultValueColumn: &ColumnIdentifierProperty{
ColumnName: jsii.String("columnName"),
// the properties below are optional
DataSetIdentifier: jsii.String("dataSetIdentifier"),
TopicIdentifier: jsii.String("topicIdentifier"),
},
// the properties below are optional
GroupNameColumn: &ColumnIdentifierProperty{
ColumnName: jsii.String("columnName"),
// the properties below are optional
DataSetIdentifier: jsii.String("dataSetIdentifier"),
TopicIdentifier: jsii.String("topicIdentifier"),
},
UserNameColumn: &ColumnIdentifierProperty{
ColumnName: jsii.String("columnName"),
// the properties below are optional
DataSetIdentifier: jsii.String("dataSetIdentifier"),
TopicIdentifier: jsii.String("topicIdentifier"),
},
},
StaticValues: []*string{
jsii.String("staticValues"),
},
}
Properties
dynamicValueoptionalIResolvable | CfnTemplate.DynamicDefaultValuePropertydynamic_valueoptionaltyping.Union[IResolvable, DynamicDefaultValueProperty]dynamicValueoptionalIResolvableDynamicValueoptionalIResolvableDynamicValueoptionalinterface{}#The dynamic value of the `StringDefaultValues` .
Different defaults displayed according to users, groups, and values mapping.
staticValuesoptionalstring[]static_valuesoptionaltyping.List[str]staticValuesoptionalList<String>StaticValuesoptionalstring[]StaticValuesoptional*[]*string#The static values of the `DecimalDefaultValues` .