IntegerParameterDeclarationProperty Struct
A parameter declaration for the Integer data type.
| 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 integerParameterDeclarationProperty: quicksight.CfnAnalysis.IntegerParameterDeclarationProperty = {
name: 'name',
parameterValueType: 'parameterValueType',
// the properties below are optional
defaultValues: {
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: [123],
},
mappedDataSetParameters: [{
dataSetIdentifier: 'dataSetIdentifier',
dataSetParameterName: 'dataSetParameterName',
}],
valueWhenUnset: {
customValue: 123,
valueWhenUnsetOption: 'valueWhenUnsetOption',
},
};
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
integer_parameter_declaration_property = quicksight.CfnAnalysis.IntegerParameterDeclarationProperty(
name="name",
parameter_value_type="parameterValueType",
# the properties below are optional
default_values=quicksight.CfnAnalysis.IntegerDefaultValuesProperty(
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=[123]
),
mapped_data_set_parameters=[quicksight.CfnAnalysis.MappedDataSetParameterProperty(
data_set_identifier="dataSetIdentifier",
data_set_parameter_name="dataSetParameterName"
)],
value_when_unset=quicksight.CfnAnalysis.IntegerValueWhenUnsetConfigurationProperty(
custom_value=123,
value_when_unset_option="valueWhenUnsetOption"
)
)
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.*;
IntegerParameterDeclarationProperty integerParameterDeclarationProperty = IntegerParameterDeclarationProperty.builder()
.name("name")
.parameterValueType("parameterValueType")
// the properties below are optional
.defaultValues(IntegerDefaultValuesProperty.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(123))
.build())
.mappedDataSetParameters(List.of(MappedDataSetParameterProperty.builder()
.dataSetIdentifier("dataSetIdentifier")
.dataSetParameterName("dataSetParameterName")
.build()))
.valueWhenUnset(IntegerValueWhenUnsetConfigurationProperty.builder()
.customValue(123)
.valueWhenUnsetOption("valueWhenUnsetOption")
.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 integerParameterDeclarationProperty = new IntegerParameterDeclarationProperty {
Name = "name",
ParameterValueType = "parameterValueType",
// the properties below are optional
DefaultValues = new IntegerDefaultValuesProperty {
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 [] { 123 }
},
MappedDataSetParameters = new [] { new MappedDataSetParameterProperty {
DataSetIdentifier = "dataSetIdentifier",
DataSetParameterName = "dataSetParameterName"
} },
ValueWhenUnset = new IntegerValueWhenUnsetConfigurationProperty {
CustomValue = 123,
ValueWhenUnsetOption = "valueWhenUnsetOption"
}
};
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"
integerParameterDeclarationProperty := &IntegerParameterDeclarationProperty{
Name: jsii.String("name"),
ParameterValueType: jsii.String("parameterValueType"),
// the properties below are optional
DefaultValues: &IntegerDefaultValuesProperty{
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: []interface{}{
jsii.Number(123),
},
},
MappedDataSetParameters: []interface{}{
&MappedDataSetParameterProperty{
DataSetIdentifier: jsii.String("dataSetIdentifier"),
DataSetParameterName: jsii.String("dataSetParameterName"),
},
},
ValueWhenUnset: &IntegerValueWhenUnsetConfigurationProperty{
CustomValue: jsii.Number(123),
ValueWhenUnsetOption: jsii.String("valueWhenUnsetOption"),
},
}
Properties
defaultValuesoptionalIResolvable | CfnAnalysis.default_valuesoptionaltyping.Union[IResolvable, IntegerDefaultValuesProperty]defaultValuesoptionalIResolvableDefaultValuesoptionalIResolvableDefaultValuesoptionalinterface{} #The default values of a parameter.
If the parameter is a single-value parameter, a maximum of one default value can be provided.
mappedDataSetParametersoptionalIResolvable | IResolvable | CfnAnalysis.mapped_data_set_parametersoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, MappedDataSetParameterProperty]]]mappedDataSetParametersoptionalIResolvableMappedDataSetParametersoptionalIResolvableMappedDataSetParametersoptionalinterface{} #The name of the parameter that is being declared.
parameterValueTypestringparameter_value_typestrparameterValueTypeStringParameterValueTypestringParameterValueType*string required #The value type determines whether the parameter is a single-value or multi-value parameter.
valueWhenUnsetoptionalIResolvable | CfnAnalysis.value_when_unsetoptionaltyping.Union[IResolvable, IntegerValueWhenUnsetConfigurationProperty]valueWhenUnsetoptionalIResolvableValueWhenUnsetoptionalIResolvableValueWhenUnsetoptionalinterface{} #A parameter declaration for the `Integer` data type.