Skip to content
v2.278.0

StringParameterProperty Struct ​

A string parameter.

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 stringParameterProperty: quicksight.CfnAnalysis.StringParameterProperty = {
  name: 'name',
  values: ['values'],
};
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_parameter_property = quicksight.CfnAnalysis.StringParameterProperty(
    name="name",
    values=["values"]
)
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.*;

StringParameterProperty stringParameterProperty = StringParameterProperty.builder()
        .name("name")
        .values(List.of("values"))
        .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 stringParameterProperty = new StringParameterProperty {
    Name = "name",
    Values = new [] { "values" }
};
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"

stringParameterProperty := &StringParameterProperty{
	Name: jsii.String("name"),
	Values: []*string{
		jsii.String("values"),
	},
}

Properties ​

namestringnamestrnameStringNamestringName*string required #
A display name for a string parameter.
valuesstring[]valuestyping.List[str]valuesList<String>Valuesstring[]Values*[]*string required #
The values of a string parameter.