Show / Hide Table of Contents

Class CfnTemplate.UniqueValuesComputationProperty

The unique values computation configuration.

Inheritance
System.Object
CfnTemplate.UniqueValuesComputationProperty
Implements
CfnTemplate.IUniqueValuesComputationProperty
Namespace: Amazon.CDK.AWS.QuickSight
Assembly: Amazon.CDK.AWS.QuickSight.dll
Syntax (csharp)
public class UniqueValuesComputationProperty : Object, CfnTemplate.IUniqueValuesComputationProperty
Syntax (vb)
Public Class UniqueValuesComputationProperty
    Inherits Object
    Implements CfnTemplate.IUniqueValuesComputationProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-uniquevaluescomputation.html

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.AWS.QuickSight;

var uniqueValuesComputationProperty = new UniqueValuesComputationProperty {
    Category = new DimensionFieldProperty {
        CategoricalDimensionField = new CategoricalDimensionFieldProperty {
            Column = new ColumnIdentifierProperty {
                ColumnName = "columnName",
                DataSetIdentifier = "dataSetIdentifier"
            },
            FieldId = "fieldId",

            // the properties below are optional
            FormatConfiguration = new StringFormatConfigurationProperty {
                NullValueFormatConfiguration = new NullValueFormatConfigurationProperty {
                    NullString = "nullString"
                },
                NumericFormatConfiguration = new NumericFormatConfigurationProperty {
                    CurrencyDisplayFormatConfiguration = new CurrencyDisplayFormatConfigurationProperty {
                        DecimalPlacesConfiguration = new DecimalPlacesConfigurationProperty {
                            DecimalPlaces = 123
                        },
                        NegativeValueConfiguration = new NegativeValueConfigurationProperty {
                            DisplayMode = "displayMode"
                        },
                        NullValueFormatConfiguration = new NullValueFormatConfigurationProperty {
                            NullString = "nullString"
                        },
                        NumberScale = "numberScale",
                        Prefix = "prefix",
                        SeparatorConfiguration = new NumericSeparatorConfigurationProperty {
                            DecimalSeparator = "decimalSeparator",
                            ThousandsSeparator = new ThousandSeparatorOptionsProperty {
                                Symbol = "symbol",
                                Visibility = "visibility"
                            }
                        },
                        Suffix = "suffix",
                        Symbol = "symbol"
                    },
                    NumberDisplayFormatConfiguration = new NumberDisplayFormatConfigurationProperty {
                        DecimalPlacesConfiguration = new DecimalPlacesConfigurationProperty {
                            DecimalPlaces = 123
                        },
                        NegativeValueConfiguration = new NegativeValueConfigurationProperty {
                            DisplayMode = "displayMode"
                        },
                        NullValueFormatConfiguration = new NullValueFormatConfigurationProperty {
                            NullString = "nullString"
                        },
                        NumberScale = "numberScale",
                        Prefix = "prefix",
                        SeparatorConfiguration = new NumericSeparatorConfigurationProperty {
                            DecimalSeparator = "decimalSeparator",
                            ThousandsSeparator = new ThousandSeparatorOptionsProperty {
                                Symbol = "symbol",
                                Visibility = "visibility"
                            }
                        },
                        Suffix = "suffix"
                    },
                    PercentageDisplayFormatConfiguration = new PercentageDisplayFormatConfigurationProperty {
                        DecimalPlacesConfiguration = new DecimalPlacesConfigurationProperty {
                            DecimalPlaces = 123
                        },
                        NegativeValueConfiguration = new NegativeValueConfigurationProperty {
                            DisplayMode = "displayMode"
                        },
                        NullValueFormatConfiguration = new NullValueFormatConfigurationProperty {
                            NullString = "nullString"
                        },
                        Prefix = "prefix",
                        SeparatorConfiguration = new NumericSeparatorConfigurationProperty {
                            DecimalSeparator = "decimalSeparator",
                            ThousandsSeparator = new ThousandSeparatorOptionsProperty {
                                Symbol = "symbol",
                                Visibility = "visibility"
                            }
                        },
                        Suffix = "suffix"
                    }
                }
            },
            HierarchyId = "hierarchyId"
        },
        DateDimensionField = new DateDimensionFieldProperty {
            Column = new ColumnIdentifierProperty {
                ColumnName = "columnName",
                DataSetIdentifier = "dataSetIdentifier"
            },
            FieldId = "fieldId",

            // the properties below are optional
            DateGranularity = "dateGranularity",
            FormatConfiguration = new DateTimeFormatConfigurationProperty {
                DateTimeFormat = "dateTimeFormat",
                NullValueFormatConfiguration = new NullValueFormatConfigurationProperty {
                    NullString = "nullString"
                },
                NumericFormatConfiguration = new NumericFormatConfigurationProperty {
                    CurrencyDisplayFormatConfiguration = new CurrencyDisplayFormatConfigurationProperty {
                        DecimalPlacesConfiguration = new DecimalPlacesConfigurationProperty {
                            DecimalPlaces = 123
                        },
                        NegativeValueConfiguration = new NegativeValueConfigurationProperty {
                            DisplayMode = "displayMode"
                        },
                        NullValueFormatConfiguration = new NullValueFormatConfigurationProperty {
                            NullString = "nullString"
                        },
                        NumberScale = "numberScale",
                        Prefix = "prefix",
                        SeparatorConfiguration = new NumericSeparatorConfigurationProperty {
                            DecimalSeparator = "decimalSeparator",
                            ThousandsSeparator = new ThousandSeparatorOptionsProperty {
                                Symbol = "symbol",
                                Visibility = "visibility"
                            }
                        },
                        Suffix = "suffix",
                        Symbol = "symbol"
                    },
                    NumberDisplayFormatConfiguration = new NumberDisplayFormatConfigurationProperty {
                        DecimalPlacesConfiguration = new DecimalPlacesConfigurationProperty {
                            DecimalPlaces = 123
                        },
                        NegativeValueConfiguration = new NegativeValueConfigurationProperty {
                            DisplayMode = "displayMode"
                        },
                        NullValueFormatConfiguration = new NullValueFormatConfigurationProperty {
                            NullString = "nullString"
                        },
                        NumberScale = "numberScale",
                        Prefix = "prefix",
                        SeparatorConfiguration = new NumericSeparatorConfigurationProperty {
                            DecimalSeparator = "decimalSeparator",
                            ThousandsSeparator = new ThousandSeparatorOptionsProperty {
                                Symbol = "symbol",
                                Visibility = "visibility"
                            }
                        },
                        Suffix = "suffix"
                    },
                    PercentageDisplayFormatConfiguration = new PercentageDisplayFormatConfigurationProperty {
                        DecimalPlacesConfiguration = new DecimalPlacesConfigurationProperty {
                            DecimalPlaces = 123
                        },
                        NegativeValueConfiguration = new NegativeValueConfigurationProperty {
                            DisplayMode = "displayMode"
                        },
                        NullValueFormatConfiguration = new NullValueFormatConfigurationProperty {
                            NullString = "nullString"
                        },
                        Prefix = "prefix",
                        SeparatorConfiguration = new NumericSeparatorConfigurationProperty {
                            DecimalSeparator = "decimalSeparator",
                            ThousandsSeparator = new ThousandSeparatorOptionsProperty {
                                Symbol = "symbol",
                                Visibility = "visibility"
                            }
                        },
                        Suffix = "suffix"
                    }
                }
            },
            HierarchyId = "hierarchyId"
        },
        NumericalDimensionField = new NumericalDimensionFieldProperty {
            Column = new ColumnIdentifierProperty {
                ColumnName = "columnName",
                DataSetIdentifier = "dataSetIdentifier"
            },
            FieldId = "fieldId",

            // the properties below are optional
            FormatConfiguration = new NumberFormatConfigurationProperty {
                FormatConfiguration = new NumericFormatConfigurationProperty {
                    CurrencyDisplayFormatConfiguration = new CurrencyDisplayFormatConfigurationProperty {
                        DecimalPlacesConfiguration = new DecimalPlacesConfigurationProperty {
                            DecimalPlaces = 123
                        },
                        NegativeValueConfiguration = new NegativeValueConfigurationProperty {
                            DisplayMode = "displayMode"
                        },
                        NullValueFormatConfiguration = new NullValueFormatConfigurationProperty {
                            NullString = "nullString"
                        },
                        NumberScale = "numberScale",
                        Prefix = "prefix",
                        SeparatorConfiguration = new NumericSeparatorConfigurationProperty {
                            DecimalSeparator = "decimalSeparator",
                            ThousandsSeparator = new ThousandSeparatorOptionsProperty {
                                Symbol = "symbol",
                                Visibility = "visibility"
                            }
                        },
                        Suffix = "suffix",
                        Symbol = "symbol"
                    },
                    NumberDisplayFormatConfiguration = new NumberDisplayFormatConfigurationProperty {
                        DecimalPlacesConfiguration = new DecimalPlacesConfigurationProperty {
                            DecimalPlaces = 123
                        },
                        NegativeValueConfiguration = new NegativeValueConfigurationProperty {
                            DisplayMode = "displayMode"
                        },
                        NullValueFormatConfiguration = new NullValueFormatConfigurationProperty {
                            NullString = "nullString"
                        },
                        NumberScale = "numberScale",
                        Prefix = "prefix",
                        SeparatorConfiguration = new NumericSeparatorConfigurationProperty {
                            DecimalSeparator = "decimalSeparator",
                            ThousandsSeparator = new ThousandSeparatorOptionsProperty {
                                Symbol = "symbol",
                                Visibility = "visibility"
                            }
                        },
                        Suffix = "suffix"
                    },
                    PercentageDisplayFormatConfiguration = new PercentageDisplayFormatConfigurationProperty {
                        DecimalPlacesConfiguration = new DecimalPlacesConfigurationProperty {
                            DecimalPlaces = 123
                        },
                        NegativeValueConfiguration = new NegativeValueConfigurationProperty {
                            DisplayMode = "displayMode"
                        },
                        NullValueFormatConfiguration = new NullValueFormatConfigurationProperty {
                            NullString = "nullString"
                        },
                        Prefix = "prefix",
                        SeparatorConfiguration = new NumericSeparatorConfigurationProperty {
                            DecimalSeparator = "decimalSeparator",
                            ThousandsSeparator = new ThousandSeparatorOptionsProperty {
                                Symbol = "symbol",
                                Visibility = "visibility"
                            }
                        },
                        Suffix = "suffix"
                    }
                }
            },
            HierarchyId = "hierarchyId"
        }
    },
    ComputationId = "computationId",

    // the properties below are optional
    Name = "name"
};

Synopsis

Constructors

UniqueValuesComputationProperty()

Properties

Category

The category field that is used in a computation.

ComputationId

The ID for a computation.

Name

The name of a computation.

Constructors

UniqueValuesComputationProperty()

public UniqueValuesComputationProperty()

Properties

Category

The category field that is used in a computation.

public object Category { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-uniquevaluescomputation.html#cfn-quicksight-template-uniquevaluescomputation-category

ComputationId

The ID for a computation.

public string ComputationId { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-uniquevaluescomputation.html#cfn-quicksight-template-uniquevaluescomputation-computationid

Name

The name of a computation.

public string Name { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-uniquevaluescomputation.html#cfn-quicksight-template-uniquevaluescomputation-name

Implements

CfnTemplate.IUniqueValuesComputationProperty
Back to top Generated by DocFX