Class: AWSCDK::QuickSight::CfnDataSet::RowLevelPermissionTagRuleProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDataSet::RowLevelPermissionTagRuleProperty
- Defined in:
- quick_sight/cfn_data_set.rb
Overview
A set of rules associated with a tag.
Instance Attribute Summary collapse
-
#column_name ⇒ String
readonly
The column name that a tag key is assigned to.
-
#match_all_value ⇒ String?
readonly
A string that you want to use to filter by all the values in a column in the dataset and don’t want to list the values one by one.
-
#tag_key ⇒ String
readonly
The unique key for a tag.
-
#tag_multi_value_delimiter ⇒ String?
readonly
A string that you want to use to delimit the values when you pass the values at run time.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(column_name:, tag_key:, match_all_value: nil, tag_multi_value_delimiter: nil) ⇒ RowLevelPermissionTagRuleProperty
constructor
A new instance of RowLevelPermissionTagRuleProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(column_name:, tag_key:, match_all_value: nil, tag_multi_value_delimiter: nil) ⇒ RowLevelPermissionTagRuleProperty
Returns a new instance of RowLevelPermissionTagRuleProperty.
5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 |
# File 'quick_sight/cfn_data_set.rb', line 5170 def initialize(column_name:, tag_key:, match_all_value: nil, tag_multi_value_delimiter: nil) @column_name = column_name Jsii::Type.check_type(@column_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "columnName") @tag_key = tag_key Jsii::Type.check_type(@tag_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tagKey") @match_all_value = match_all_value Jsii::Type.check_type(@match_all_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "matchAllValue") unless @match_all_value.nil? @tag_multi_value_delimiter = tag_multi_value_delimiter Jsii::Type.check_type(@tag_multi_value_delimiter, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tagMultiValueDelimiter") unless @tag_multi_value_delimiter.nil? end |
Instance Attribute Details
#column_name ⇒ String (readonly)
The column name that a tag key is assigned to.
5185 5186 5187 |
# File 'quick_sight/cfn_data_set.rb', line 5185 def column_name @column_name end |
#match_all_value ⇒ String? (readonly)
A string that you want to use to filter by all the values in a column in the dataset and don’t want to list the values one by one.
For example, you can use an asterisk as your match all value.
5197 5198 5199 |
# File 'quick_sight/cfn_data_set.rb', line 5197 def match_all_value @match_all_value end |
#tag_key ⇒ String (readonly)
The unique key for a tag.
5190 5191 5192 |
# File 'quick_sight/cfn_data_set.rb', line 5190 def tag_key @tag_key end |
#tag_multi_value_delimiter ⇒ String? (readonly)
A string that you want to use to delimit the values when you pass the values at run time.
For example, you can delimit the values with a comma.
5204 5205 5206 |
# File 'quick_sight/cfn_data_set.rb', line 5204 def tag_multi_value_delimiter @tag_multi_value_delimiter end |
Class Method Details
.jsii_properties ⇒ Object
5206 5207 5208 5209 5210 5211 5212 5213 |
# File 'quick_sight/cfn_data_set.rb', line 5206 def self.jsii_properties { :column_name => "columnName", :tag_key => "tagKey", :match_all_value => "matchAllValue", :tag_multi_value_delimiter => "tagMultiValueDelimiter", } end |
Instance Method Details
#to_jsii ⇒ Object
5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 |
# File 'quick_sight/cfn_data_set.rb', line 5215 def to_jsii result = {} result.merge!({ "columnName" => @column_name, "tagKey" => @tag_key, "matchAllValue" => @match_all_value, "tagMultiValueDelimiter" => @tag_multi_value_delimiter, }) result.compact end |