Class: AWSCDK::QuickSight::CfnDataSet::TagColumnOperationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDataSet::TagColumnOperationProperty
- Defined in:
- quick_sight/cfn_data_set.rb
Overview
A transform operation that tags a column with additional information.
Instance Attribute Summary collapse
-
#column_name ⇒ String
readonly
The column that this operation acts on.
-
#tags ⇒ Array<AWSCDK::QuickSight::CfnDataSet::ColumnTagProperty>
readonly
The dataset column tag, currently only used for geospatial type tagging.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(column_name:, tags:) ⇒ TagColumnOperationProperty
constructor
A new instance of TagColumnOperationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(column_name:, tags:) ⇒ TagColumnOperationProperty
Returns a new instance of TagColumnOperationProperty.
5699 5700 5701 5702 5703 5704 |
# File 'quick_sight/cfn_data_set.rb', line 5699 def initialize(column_name:, tags:) @column_name = column_name Jsii::Type.check_type(@column_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "columnName") @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDataSet::ColumnTagProperty.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhdGFTZXQuQ29sdW1uVGFnUHJvcGVydHkifSwia2luZCI6ImFycmF5In19")), "tags") end |
Instance Attribute Details
#column_name ⇒ String (readonly)
The column that this operation acts on.
5710 5711 5712 |
# File 'quick_sight/cfn_data_set.rb', line 5710 def column_name @column_name end |
#tags ⇒ Array<AWSCDK::QuickSight::CfnDataSet::ColumnTagProperty> (readonly)
The dataset column tag, currently only used for geospatial type tagging.
This is not tags for the AWS tagging feature.
5717 5718 5719 |
# File 'quick_sight/cfn_data_set.rb', line 5717 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
5719 5720 5721 5722 5723 5724 |
# File 'quick_sight/cfn_data_set.rb', line 5719 def self.jsii_properties { :column_name => "columnName", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
5726 5727 5728 5729 5730 5731 5732 5733 |
# File 'quick_sight/cfn_data_set.rb', line 5726 def to_jsii result = {} result.merge!({ "columnName" => @column_name, "tags" => @tags, }) result.compact end |