Class CfnTemplatePropsMixin.KPIConditionalFormattingOptionProperty
The conditional formatting options of a KPI visual.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.QuickSight
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnTemplatePropsMixin.KPIConditionalFormattingOptionProperty : CfnTemplatePropsMixin.IKPIConditionalFormattingOptionProperty
Syntax (vb)
Public Class CfnTemplatePropsMixin.KPIConditionalFormattingOptionProperty Implements CfnTemplatePropsMixin.IKPIConditionalFormattingOptionProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.QuickSight;
var kPIConditionalFormattingOptionProperty = new KPIConditionalFormattingOptionProperty {
ActualValue = new KPIActualValueConditionalFormattingProperty {
Icon = new ConditionalFormattingIconProperty {
CustomCondition = new ConditionalFormattingCustomIconConditionProperty {
Color = "color",
DisplayConfiguration = new ConditionalFormattingIconDisplayConfigurationProperty {
IconDisplayOption = "iconDisplayOption"
},
Expression = "expression",
IconOptions = new ConditionalFormattingCustomIconOptionsProperty {
Icon = "icon",
UnicodeIcon = "unicodeIcon"
}
},
IconSet = new ConditionalFormattingIconSetProperty {
Expression = "expression",
IconSetType = "iconSetType"
}
},
TextColor = new ConditionalFormattingColorProperty {
Gradient = new ConditionalFormattingGradientColorProperty {
Color = new GradientColorProperty {
Stops = new [] { new GradientStopProperty {
Color = "color",
DataValue = 123,
GradientOffset = 123
} }
},
Expression = "expression"
},
Solid = new ConditionalFormattingSolidColorProperty {
Color = "color",
Expression = "expression"
}
}
},
ComparisonValue = new KPIComparisonValueConditionalFormattingProperty {
Icon = new ConditionalFormattingIconProperty {
CustomCondition = new ConditionalFormattingCustomIconConditionProperty {
Color = "color",
DisplayConfiguration = new ConditionalFormattingIconDisplayConfigurationProperty {
IconDisplayOption = "iconDisplayOption"
},
Expression = "expression",
IconOptions = new ConditionalFormattingCustomIconOptionsProperty {
Icon = "icon",
UnicodeIcon = "unicodeIcon"
}
},
IconSet = new ConditionalFormattingIconSetProperty {
Expression = "expression",
IconSetType = "iconSetType"
}
},
TextColor = new ConditionalFormattingColorProperty {
Gradient = new ConditionalFormattingGradientColorProperty {
Color = new GradientColorProperty {
Stops = new [] { new GradientStopProperty {
Color = "color",
DataValue = 123,
GradientOffset = 123
} }
},
Expression = "expression"
},
Solid = new ConditionalFormattingSolidColorProperty {
Color = "color",
Expression = "expression"
}
}
},
PrimaryValue = new KPIPrimaryValueConditionalFormattingProperty {
Icon = new ConditionalFormattingIconProperty {
CustomCondition = new ConditionalFormattingCustomIconConditionProperty {
Color = "color",
DisplayConfiguration = new ConditionalFormattingIconDisplayConfigurationProperty {
IconDisplayOption = "iconDisplayOption"
},
Expression = "expression",
IconOptions = new ConditionalFormattingCustomIconOptionsProperty {
Icon = "icon",
UnicodeIcon = "unicodeIcon"
}
},
IconSet = new ConditionalFormattingIconSetProperty {
Expression = "expression",
IconSetType = "iconSetType"
}
},
TextColor = new ConditionalFormattingColorProperty {
Gradient = new ConditionalFormattingGradientColorProperty {
Color = new GradientColorProperty {
Stops = new [] { new GradientStopProperty {
Color = "color",
DataValue = 123,
GradientOffset = 123
} }
},
Expression = "expression"
},
Solid = new ConditionalFormattingSolidColorProperty {
Color = "color",
Expression = "expression"
}
}
},
ProgressBar = new KPIProgressBarConditionalFormattingProperty {
ForegroundColor = new ConditionalFormattingColorProperty {
Gradient = new ConditionalFormattingGradientColorProperty {
Color = new GradientColorProperty {
Stops = new [] { new GradientStopProperty {
Color = "color",
DataValue = 123,
GradientOffset = 123
} }
},
Expression = "expression"
},
Solid = new ConditionalFormattingSolidColorProperty {
Color = "color",
Expression = "expression"
}
}
}
};
Synopsis
Constructors
| KPIConditionalFormattingOptionProperty() | The conditional formatting options of a KPI visual. |
Properties
| ActualValue | The conditional formatting for the actual value of a KPI visual. |
| ComparisonValue | The conditional formatting for the comparison value of a KPI visual. |
| PrimaryValue | The conditional formatting for the primary value of a KPI visual. |
| ProgressBar | The conditional formatting for the progress bar of a KPI visual. |
Constructors
KPIConditionalFormattingOptionProperty()
The conditional formatting options of a KPI visual.
public KPIConditionalFormattingOptionProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.QuickSight;
var kPIConditionalFormattingOptionProperty = new KPIConditionalFormattingOptionProperty {
ActualValue = new KPIActualValueConditionalFormattingProperty {
Icon = new ConditionalFormattingIconProperty {
CustomCondition = new ConditionalFormattingCustomIconConditionProperty {
Color = "color",
DisplayConfiguration = new ConditionalFormattingIconDisplayConfigurationProperty {
IconDisplayOption = "iconDisplayOption"
},
Expression = "expression",
IconOptions = new ConditionalFormattingCustomIconOptionsProperty {
Icon = "icon",
UnicodeIcon = "unicodeIcon"
}
},
IconSet = new ConditionalFormattingIconSetProperty {
Expression = "expression",
IconSetType = "iconSetType"
}
},
TextColor = new ConditionalFormattingColorProperty {
Gradient = new ConditionalFormattingGradientColorProperty {
Color = new GradientColorProperty {
Stops = new [] { new GradientStopProperty {
Color = "color",
DataValue = 123,
GradientOffset = 123
} }
},
Expression = "expression"
},
Solid = new ConditionalFormattingSolidColorProperty {
Color = "color",
Expression = "expression"
}
}
},
ComparisonValue = new KPIComparisonValueConditionalFormattingProperty {
Icon = new ConditionalFormattingIconProperty {
CustomCondition = new ConditionalFormattingCustomIconConditionProperty {
Color = "color",
DisplayConfiguration = new ConditionalFormattingIconDisplayConfigurationProperty {
IconDisplayOption = "iconDisplayOption"
},
Expression = "expression",
IconOptions = new ConditionalFormattingCustomIconOptionsProperty {
Icon = "icon",
UnicodeIcon = "unicodeIcon"
}
},
IconSet = new ConditionalFormattingIconSetProperty {
Expression = "expression",
IconSetType = "iconSetType"
}
},
TextColor = new ConditionalFormattingColorProperty {
Gradient = new ConditionalFormattingGradientColorProperty {
Color = new GradientColorProperty {
Stops = new [] { new GradientStopProperty {
Color = "color",
DataValue = 123,
GradientOffset = 123
} }
},
Expression = "expression"
},
Solid = new ConditionalFormattingSolidColorProperty {
Color = "color",
Expression = "expression"
}
}
},
PrimaryValue = new KPIPrimaryValueConditionalFormattingProperty {
Icon = new ConditionalFormattingIconProperty {
CustomCondition = new ConditionalFormattingCustomIconConditionProperty {
Color = "color",
DisplayConfiguration = new ConditionalFormattingIconDisplayConfigurationProperty {
IconDisplayOption = "iconDisplayOption"
},
Expression = "expression",
IconOptions = new ConditionalFormattingCustomIconOptionsProperty {
Icon = "icon",
UnicodeIcon = "unicodeIcon"
}
},
IconSet = new ConditionalFormattingIconSetProperty {
Expression = "expression",
IconSetType = "iconSetType"
}
},
TextColor = new ConditionalFormattingColorProperty {
Gradient = new ConditionalFormattingGradientColorProperty {
Color = new GradientColorProperty {
Stops = new [] { new GradientStopProperty {
Color = "color",
DataValue = 123,
GradientOffset = 123
} }
},
Expression = "expression"
},
Solid = new ConditionalFormattingSolidColorProperty {
Color = "color",
Expression = "expression"
}
}
},
ProgressBar = new KPIProgressBarConditionalFormattingProperty {
ForegroundColor = new ConditionalFormattingColorProperty {
Gradient = new ConditionalFormattingGradientColorProperty {
Color = new GradientColorProperty {
Stops = new [] { new GradientStopProperty {
Color = "color",
DataValue = 123,
GradientOffset = 123
} }
},
Expression = "expression"
},
Solid = new ConditionalFormattingSolidColorProperty {
Color = "color",
Expression = "expression"
}
}
}
};
Properties
ActualValue
The conditional formatting for the actual value of a KPI visual.
public object? ActualValue { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnTemplatePropsMixin.IKPIActualValueConditionalFormattingProperty
ComparisonValue
The conditional formatting for the comparison value of a KPI visual.
public object? ComparisonValue { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnTemplatePropsMixin.IKPIComparisonValueConditionalFormattingProperty
PrimaryValue
The conditional formatting for the primary value of a KPI visual.
public object? PrimaryValue { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnTemplatePropsMixin.IKPIPrimaryValueConditionalFormattingProperty
ProgressBar
The conditional formatting for the progress bar of a KPI visual.
public object? ProgressBar { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnTemplatePropsMixin.IKPIProgressBarConditionalFormattingProperty