Class: AWSCDK::QuickSight::CfnDataSet::TagColumnOperationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_data_set.rb

Overview

A transform operation that tags a column with additional information.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(column_name:, tags:) ⇒ TagColumnOperationProperty

Returns a new instance of TagColumnOperationProperty.

Parameters:



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 = tags.is_a?(Array) ? tags.map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDataSet::ColumnTagProperty.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : tags
  Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhdGFTZXQuQ29sdW1uVGFnUHJvcGVydHkifSwia2luZCI6ImFycmF5In19")), "tags")
end

Instance Attribute Details

#column_nameString (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

#tagsArray<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
  @tags
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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