Skip to content
v2.277.0

StringValueWhenUnsetConfigurationProperty Struct ​

The configuration that defines the default value of a String parameter when a value has not been set.

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 stringValueWhenUnsetConfigurationProperty: quicksight.CfnTemplate.StringValueWhenUnsetConfigurationProperty = {
  customValue: 'customValue',
  valueWhenUnsetOption: 'valueWhenUnsetOption',
};
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_value_when_unset_configuration_property = quicksight.CfnTemplate.StringValueWhenUnsetConfigurationProperty(
    custom_value="customValue",
    value_when_unset_option="valueWhenUnsetOption"
)
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.*;

StringValueWhenUnsetConfigurationProperty stringValueWhenUnsetConfigurationProperty = StringValueWhenUnsetConfigurationProperty.builder()
        .customValue("customValue")
        .valueWhenUnsetOption("valueWhenUnsetOption")
        .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 stringValueWhenUnsetConfigurationProperty = new StringValueWhenUnsetConfigurationProperty {
    CustomValue = "customValue",
    ValueWhenUnsetOption = "valueWhenUnsetOption"
};
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"

stringValueWhenUnsetConfigurationProperty := &StringValueWhenUnsetConfigurationProperty{
	CustomValue: jsii.String("customValue"),
	ValueWhenUnsetOption: jsii.String("valueWhenUnsetOption"),
}

Properties ​

customValueoptionalstringcustom_valueoptionalstrcustomValueoptionalStringCustomValueoptionalstringCustomValueoptional*string#
A custom value that's used when the value of a parameter isn't set.
valueWhenUnsetOptionoptionalstringvalue_when_unset_optionoptionalstrvalueWhenUnsetOptionoptionalStringValueWhenUnsetOptionoptionalstringValueWhenUnsetOptionoptional*string#
The built-in options for default values. The value can be one of the following:.
  • RECOMMENDED : The recommended value.
  • NULL : The NULL value.