# StringDefaultValuesProperty

The default values of the `StringParameterDeclaration` .

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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.CfnAnalysis.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:

```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.CfnAnalysis.StringDefaultValuesProperty(
    dynamic_value=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"
        )
    ),
    static_values=["staticValues"]
)
```

Java:

```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();
```

C# / .NET:

```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" }
};
```

Golang:

```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

- `dynamicValue`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAnalysis.DynamicDefaultValueProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnAnalysis.DynamicDefaultValueProperty.html) — The dynamic value of the `StringDefaultValues` .

  Different defaults displayed according to users, groups, and values mapping.

- `staticValues`: string[] — The static values of the `DecimalDefaultValues` .
