Class: AWSCDK::QuickSight::CfnDataSet::ColumnTagProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDataSet::ColumnTagProperty
- Defined in:
- quick_sight/cfn_data_set.rb
Overview
A tag for a column in a [TagColumnOperation](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_TagColumnOperation.html) structure. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.
Instance Attribute Summary collapse
-
#column_description ⇒ AWSCDK::IResolvable, ...
readonly
A description for a column.
-
#column_geographic_role ⇒ String?
readonly
A geospatial role for a column.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(column_description: nil, column_geographic_role: nil) ⇒ ColumnTagProperty
constructor
A new instance of ColumnTagProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(column_description: nil, column_geographic_role: nil) ⇒ ColumnTagProperty
Returns a new instance of ColumnTagProperty.
1455 1456 1457 1458 1459 1460 |
# File 'quick_sight/cfn_data_set.rb', line 1455 def initialize(column_description: nil, column_geographic_role: nil) @column_description = column_description.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDataSet::ColumnDescriptionProperty.new(**column_description.transform_keys(&:to_sym)) : column_description Jsii::Type.check_type(@column_description, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhdGFTZXQuQ29sdW1uRGVzY3JpcHRpb25Qcm9wZXJ0eSJ9XX19")), "columnDescription") unless @column_description.nil? @column_geographic_role = column_geographic_role Jsii::Type.check_type(@column_geographic_role, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "columnGeographicRole") unless @column_geographic_role.nil? end |
Instance Attribute Details
#column_description ⇒ AWSCDK::IResolvable, ... (readonly)
A description for a column.
1466 1467 1468 |
# File 'quick_sight/cfn_data_set.rb', line 1466 def column_description @column_description end |
#column_geographic_role ⇒ String? (readonly)
A geospatial role for a column.
1471 1472 1473 |
# File 'quick_sight/cfn_data_set.rb', line 1471 def column_geographic_role @column_geographic_role end |
Class Method Details
.jsii_properties ⇒ Object
1473 1474 1475 1476 1477 1478 |
# File 'quick_sight/cfn_data_set.rb', line 1473 def self.jsii_properties { :column_description => "columnDescription", :column_geographic_role => "columnGeographicRole", } end |
Instance Method Details
#to_jsii ⇒ Object
1480 1481 1482 1483 1484 1485 1486 1487 |
# File 'quick_sight/cfn_data_set.rb', line 1480 def to_jsii result = {} result.merge!({ "columnDescription" => @column_description, "columnGeographicRole" => @column_geographic_role, }) result.compact end |