Skip to content
v2.277.0

DynamicDefaultValueProperty Struct ​

Defines different defaults to the users or groups based on mapping.

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 dynamicDefaultValueProperty: quicksight.CfnAnalysis.DynamicDefaultValueProperty = {
  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',
  },
};
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

dynamic_default_value_property = quicksight.CfnAnalysis.DynamicDefaultValueProperty(
    default_value_column=quicksight.CfnAnalysis.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.CfnAnalysis.ColumnIdentifierProperty(
        column_name="columnName",

        # the properties below are optional
        data_set_identifier="dataSetIdentifier",
        topic_identifier="topicIdentifier"
    ),
    user_name_column=quicksight.CfnAnalysis.ColumnIdentifierProperty(
        column_name="columnName",

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

DynamicDefaultValueProperty dynamicDefaultValueProperty = 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();
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 dynamicDefaultValueProperty = 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"
    }
};
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"

dynamicDefaultValueProperty := &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"),
	},
}

Properties ​

defaultValueColumnIResolvable | CfnAnalysis.ColumnIdentifierPropertydefault_value_columntyping.Union[IResolvable, ColumnIdentifierProperty]defaultValueColumnIResolvableDefaultValueColumnIResolvableDefaultValueColumninterface{}required#
The column that contains the default value of each user or group.
groupNameColumnoptionalIResolvable | CfnAnalysis.ColumnIdentifierPropertygroup_name_columnoptionaltyping.Union[IResolvable, ColumnIdentifierProperty]groupNameColumnoptionalIResolvableGroupNameColumnoptionalIResolvableGroupNameColumnoptionalinterface{}#
The column that contains the group name.
userNameColumnoptionalIResolvable | CfnAnalysis.ColumnIdentifierPropertyuser_name_columnoptionaltyping.Union[IResolvable, ColumnIdentifierProperty]userNameColumnoptionalIResolvableUserNameColumnoptionalIResolvableUserNameColumnoptionalinterface{}#
The column that contains the username.