Skip to content
v2.278.0

TopicSingularFilterConstantProperty Struct ​

A structure that represents a singular filter constant, used in filters to specify a single value to match against.

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 topicSingularFilterConstantProperty: quicksight.CfnTopic.TopicSingularFilterConstantProperty = {
  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_singular_filter_constant_property = quicksight.CfnTopic.TopicSingularFilterConstantProperty(
    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.*;

TopicSingularFilterConstantProperty topicSingularFilterConstantProperty = TopicSingularFilterConstantProperty.builder()
        .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 topicSingularFilterConstantProperty = new TopicSingularFilterConstantProperty {
    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"

topicSingularFilterConstantProperty := &TopicSingularFilterConstantProperty{
	ConstantType: jsii.String("constantType"),
	SingularConstant: jsii.String("singularConstant"),
}

Properties ​

constantTypeoptionalstringconstant_typeoptionalstrconstantTypeoptionalStringConstantTypeoptionalstringConstantTypeoptional*string #
The type of the singular filter constant.

Valid values for this structure are SINGULAR .

singularConstantoptionalstringsingular_constantoptionalstrsingularConstantoptionalStringSingularConstantoptionalstringSingularConstantoptional*string #
The value of the singular filter constant.