Skip to content
v2.276.0

CustomActionSetParametersOperationProperty Struct ​

The set parameter operation that sets parameters in custom action.

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 customActionSetParametersOperationProperty: quicksight.CfnDashboard.CustomActionSetParametersOperationProperty = {
  parameterValueConfigurations: [{
    destinationParameterName: 'destinationParameterName',
    value: {
      customValuesConfiguration: {
        customValues: {
          dateTimeValues: ['dateTimeValues'],
          decimalValues: [123],
          integerValues: [123],
          stringValues: ['stringValues'],
        },

        // the properties below are optional
        includeNullValue: false,
      },
      selectAllValueOptions: 'selectAllValueOptions',
      sourceColumn: {
        columnName: 'columnName',

        // the properties below are optional
        dataSetIdentifier: 'dataSetIdentifier',
        topicIdentifier: 'topicIdentifier',
      },
      sourceField: 'sourceField',
      sourceParameterName: 'sourceParameterName',
    },
  }],
};
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

custom_action_set_parameters_operation_property = quicksight.CfnDashboard.CustomActionSetParametersOperationProperty(
    parameter_value_configurations=[quicksight.CfnDashboard.SetParameterValueConfigurationProperty(
        destination_parameter_name="destinationParameterName",
        value=quicksight.CfnDashboard.DestinationParameterValueConfigurationProperty(
            custom_values_configuration=quicksight.CfnDashboard.CustomValuesConfigurationProperty(
                custom_values=quicksight.CfnDashboard.CustomParameterValuesProperty(
                    date_time_values=["dateTimeValues"],
                    decimal_values=[123],
                    integer_values=[123],
                    string_values=["stringValues"]
                ),

                # the properties below are optional
                include_null_value=False
            ),
            select_all_value_options="selectAllValueOptions",
            source_column=quicksight.CfnDashboard.ColumnIdentifierProperty(
                column_name="columnName",

                # the properties below are optional
                data_set_identifier="dataSetIdentifier",
                topic_identifier="topicIdentifier"
            ),
            source_field="sourceField",
            source_parameter_name="sourceParameterName"
        )
    )]
)
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.*;

CustomActionSetParametersOperationProperty customActionSetParametersOperationProperty = CustomActionSetParametersOperationProperty.builder()
        .parameterValueConfigurations(List.of(SetParameterValueConfigurationProperty.builder()
                .destinationParameterName("destinationParameterName")
                .value(DestinationParameterValueConfigurationProperty.builder()
                        .customValuesConfiguration(CustomValuesConfigurationProperty.builder()
                                .customValues(CustomParameterValuesProperty.builder()
                                        .dateTimeValues(List.of("dateTimeValues"))
                                        .decimalValues(List.of(123))
                                        .integerValues(List.of(123))
                                        .stringValues(List.of("stringValues"))
                                        .build())

                                // the properties below are optional
                                .includeNullValue(false)
                                .build())
                        .selectAllValueOptions("selectAllValueOptions")
                        .sourceColumn(ColumnIdentifierProperty.builder()
                                .columnName("columnName")

                                // the properties below are optional
                                .dataSetIdentifier("dataSetIdentifier")
                                .topicIdentifier("topicIdentifier")
                                .build())
                        .sourceField("sourceField")
                        .sourceParameterName("sourceParameterName")
                        .build())
                .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 customActionSetParametersOperationProperty = new CustomActionSetParametersOperationProperty {
    ParameterValueConfigurations = new [] { new SetParameterValueConfigurationProperty {
        DestinationParameterName = "destinationParameterName",
        Value = new DestinationParameterValueConfigurationProperty {
            CustomValuesConfiguration = new CustomValuesConfigurationProperty {
                CustomValues = new CustomParameterValuesProperty {
                    DateTimeValues = new [] { "dateTimeValues" },
                    DecimalValues = new [] { 123 },
                    IntegerValues = new [] { 123 },
                    StringValues = new [] { "stringValues" }
                },

                // the properties below are optional
                IncludeNullValue = false
            },
            SelectAllValueOptions = "selectAllValueOptions",
            SourceColumn = new ColumnIdentifierProperty {
                ColumnName = "columnName",

                // the properties below are optional
                DataSetIdentifier = "dataSetIdentifier",
                TopicIdentifier = "topicIdentifier"
            },
            SourceField = "sourceField",
            SourceParameterName = "sourceParameterName"
        }
    } }
};
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"

customActionSetParametersOperationProperty := &CustomActionSetParametersOperationProperty{
	ParameterValueConfigurations: []interface{}{
		&SetParameterValueConfigurationProperty{
			DestinationParameterName: jsii.String("destinationParameterName"),
			Value: &DestinationParameterValueConfigurationProperty{
				CustomValuesConfiguration: &CustomValuesConfigurationProperty{
					CustomValues: &CustomParameterValuesProperty{
						DateTimeValues: []*string{
							jsii.String("dateTimeValues"),
						},
						DecimalValues: []interface{}{
							jsii.Number(123),
						},
						IntegerValues: []interface{}{
							jsii.Number(123),
						},
						StringValues: []*string{
							jsii.String("stringValues"),
						},
					},

					// the properties below are optional
					IncludeNullValue: jsii.Boolean(false),
				},
				SelectAllValueOptions: jsii.String("selectAllValueOptions"),
				SourceColumn: &ColumnIdentifierProperty{
					ColumnName: jsii.String("columnName"),

					// the properties below are optional
					DataSetIdentifier: jsii.String("dataSetIdentifier"),
					TopicIdentifier: jsii.String("topicIdentifier"),
				},
				SourceField: jsii.String("sourceField"),
				SourceParameterName: jsii.String("sourceParameterName"),
			},
		},
	},
}

Properties ​

parameterValueConfigurationsIResolvable | IResolvable | CfnDashboard.SetParameterValueConfigurationProperty[]parameter_value_configurationstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SetParameterValueConfigurationProperty]]]parameterValueConfigurationsIResolvableParameterValueConfigurationsIResolvableParameterValueConfigurationsinterface{}required#
The parameter that determines the value configuration.