OverrideDatasetParameterOperationProperty Struct
A transform operation that overrides the dataset parameter values that are defined in another 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 overrideDatasetParameterOperationProperty: quicksight.CfnDataSet.OverrideDatasetParameterOperationProperty = {
parameterName: 'parameterName',
// the properties below are optional
newDefaultValues: {
dateTimeStaticValues: ['dateTimeStaticValues'],
decimalStaticValues: [123],
integerStaticValues: [123],
stringStaticValues: ['stringStaticValues'],
},
newParameterName: 'newParameterName',
};
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
override_dataset_parameter_operation_property = quicksight.CfnDataSet.OverrideDatasetParameterOperationProperty(
parameter_name="parameterName",
# the properties below are optional
new_default_values=quicksight.CfnDataSet.NewDefaultValuesProperty(
date_time_static_values=["dateTimeStaticValues"],
decimal_static_values=[123],
integer_static_values=[123],
string_static_values=["stringStaticValues"]
),
new_parameter_name="newParameterName"
)
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.*;
OverrideDatasetParameterOperationProperty overrideDatasetParameterOperationProperty = OverrideDatasetParameterOperationProperty.builder()
.parameterName("parameterName")
// the properties below are optional
.newDefaultValues(NewDefaultValuesProperty.builder()
.dateTimeStaticValues(List.of("dateTimeStaticValues"))
.decimalStaticValues(List.of(123))
.integerStaticValues(List.of(123))
.stringStaticValues(List.of("stringStaticValues"))
.build())
.newParameterName("newParameterName")
.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 overrideDatasetParameterOperationProperty = new OverrideDatasetParameterOperationProperty {
ParameterName = "parameterName",
// the properties below are optional
NewDefaultValues = new NewDefaultValuesProperty {
DateTimeStaticValues = new [] { "dateTimeStaticValues" },
DecimalStaticValues = new [] { 123 },
IntegerStaticValues = new [] { 123 },
StringStaticValues = new [] { "stringStaticValues" }
},
NewParameterName = "newParameterName"
};
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"
overrideDatasetParameterOperationProperty := &OverrideDatasetParameterOperationProperty{
ParameterName: jsii.String("parameterName"),
// the properties below are optional
NewDefaultValues: &NewDefaultValuesProperty{
DateTimeStaticValues: []*string{
jsii.String("dateTimeStaticValues"),
},
DecimalStaticValues: []interface{}{
jsii.Number(123),
},
IntegerStaticValues: []interface{}{
jsii.Number(123),
},
StringStaticValues: []*string{
jsii.String("stringStaticValues"),
},
},
NewParameterName: jsii.String("newParameterName"),
}
Properties
newDefaultValuesoptionalIResolvable | CfnDataSet.new_default_valuesoptionaltyping.Union[IResolvable, NewDefaultValuesProperty]newDefaultValuesoptionalIResolvableNewDefaultValuesoptionalIResolvableNewDefaultValuesoptionalinterface{} #The new default values for the parameter.
newParameterNameoptionalstringnew_parameter_nameoptionalstrnewParameterNameoptionalStringNewParameterNameoptionalstringNewParameterNameoptional*string #The new name for the parameter.
parameterNamestringparameter_namestrparameterNameStringParameterNamestringParameterName*string required #The name of the parameter to be overridden with different values.