Skip to content
v2.277.0

TopicCategoryFilterConstantProperty Struct ​

A constant used in a category filter.

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 topicCategoryFilterConstantProperty: quicksight.CfnTopic.TopicCategoryFilterConstantProperty = {
  collectiveConstant: {
    valueList: ['valueList'],
  },
  constantType: 'constantType',
  singularConstant: 'singularConstant',
};
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

topic_category_filter_constant_property = quicksight.CfnTopic.TopicCategoryFilterConstantProperty(
    collective_constant=quicksight.CfnTopic.CollectiveConstantProperty(
        value_list=["valueList"]
    ),
    constant_type="constantType",
    singular_constant="singularConstant"
)
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.*;

TopicCategoryFilterConstantProperty topicCategoryFilterConstantProperty = TopicCategoryFilterConstantProperty.builder()
        .collectiveConstant(CollectiveConstantProperty.builder()
                .valueList(List.of("valueList"))
                .build())
        .constantType("constantType")
        .singularConstant("singularConstant")
        .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 topicCategoryFilterConstantProperty = new TopicCategoryFilterConstantProperty {
    CollectiveConstant = new CollectiveConstantProperty {
        ValueList = new [] { "valueList" }
    },
    ConstantType = "constantType",
    SingularConstant = "singularConstant"
};
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"

topicCategoryFilterConstantProperty := &TopicCategoryFilterConstantProperty{
	CollectiveConstant: &CollectiveConstantProperty{
		ValueList: []*string{
			jsii.String("valueList"),
		},
	},
	ConstantType: jsii.String("constantType"),
	SingularConstant: jsii.String("singularConstant"),
}

Properties ​

collectiveConstantoptionalIResolvable | CfnTopic.CollectiveConstantPropertycollective_constantoptionaltyping.Union[IResolvable, CollectiveConstantProperty]collectiveConstantoptionalIResolvableCollectiveConstantoptionalIResolvableCollectiveConstantoptionalinterface{}#
A collective constant used in a category filter.

This element is used to specify a list of values for the constant.

constantTypeoptionalstringconstant_typeoptionalstrconstantTypeoptionalStringConstantTypeoptionalstringConstantTypeoptional*string#
The type of category filter constant.

This element is used to specify whether a constant is a singular or collective. Valid values are SINGULAR and COLLECTIVE .

singularConstantoptionalstringsingular_constantoptionalstrsingularConstantoptionalStringSingularConstantoptionalstringSingularConstantoptional*string#
A singular constant used in a category filter.

This element is used to specify a single value for the constant.