ConditionalFormattingCustomIconConditionProperty Struct
Determines the custom condition for an icon set.
| 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 conditionalFormattingCustomIconConditionProperty: quicksight.CfnAnalysis.ConditionalFormattingCustomIconConditionProperty = {
expression: 'expression',
iconOptions: {
icon: 'icon',
unicodeIcon: 'unicodeIcon',
},
// the properties below are optional
color: 'color',
displayConfiguration: {
iconDisplayOption: 'iconDisplayOption',
},
};
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
conditional_formatting_custom_icon_condition_property = quicksight.CfnAnalysis.ConditionalFormattingCustomIconConditionProperty(
expression="expression",
icon_options=quicksight.CfnAnalysis.ConditionalFormattingCustomIconOptionsProperty(
icon="icon",
unicode_icon="unicodeIcon"
),
# the properties below are optional
color="color",
display_configuration=quicksight.CfnAnalysis.ConditionalFormattingIconDisplayConfigurationProperty(
icon_display_option="iconDisplayOption"
)
)
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.*;
ConditionalFormattingCustomIconConditionProperty conditionalFormattingCustomIconConditionProperty = ConditionalFormattingCustomIconConditionProperty.builder()
.expression("expression")
.iconOptions(ConditionalFormattingCustomIconOptionsProperty.builder()
.icon("icon")
.unicodeIcon("unicodeIcon")
.build())
// the properties below are optional
.color("color")
.displayConfiguration(ConditionalFormattingIconDisplayConfigurationProperty.builder()
.iconDisplayOption("iconDisplayOption")
.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 conditionalFormattingCustomIconConditionProperty = new ConditionalFormattingCustomIconConditionProperty {
Expression = "expression",
IconOptions = new ConditionalFormattingCustomIconOptionsProperty {
Icon = "icon",
UnicodeIcon = "unicodeIcon"
},
// the properties below are optional
Color = "color",
DisplayConfiguration = new ConditionalFormattingIconDisplayConfigurationProperty {
IconDisplayOption = "iconDisplayOption"
}
};
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"
conditionalFormattingCustomIconConditionProperty := &ConditionalFormattingCustomIconConditionProperty{
Expression: jsii.String("expression"),
IconOptions: &ConditionalFormattingCustomIconOptionsProperty{
Icon: jsii.String("icon"),
UnicodeIcon: jsii.String("unicodeIcon"),
},
// the properties below are optional
Color: jsii.String("color"),
DisplayConfiguration: &ConditionalFormattingIconDisplayConfigurationProperty{
IconDisplayOption: jsii.String("iconDisplayOption"),
},
}
Properties
Determines the color of the icon.
displayConfigurationoptionalIResolvable | CfnAnalysis.display_configurationoptionaltyping.Union[IResolvable, ConditionalFormattingIconDisplayConfigurationProperty]displayConfigurationoptionalIResolvableDisplayConfigurationoptionalIResolvableDisplayConfigurationoptionalinterface{} #Determines the icon display configuration.
The expression that determines the condition of the icon set.
iconOptionsIResolvable | CfnAnalysis.icon_optionstyping.Union[IResolvable, ConditionalFormattingCustomIconOptionsProperty]iconOptionsIResolvableIconOptionsIResolvableIconOptionsinterface{} required #Custom icon options for an icon set.