Class: AWSCDK::LakeFormation::CfnTagAssociation::LFTagPairProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::LakeFormation::CfnTagAssociation::LFTagPairProperty
- Defined in:
- lake_formation/cfn_tag_association.rb
Overview
A structure containing the catalog ID, tag key, and tag values of an LF-tag key-value pair.
Instance Attribute Summary collapse
-
#catalog_id ⇒ String
readonly
The identifier for the Data Catalog .
-
#tag_key ⇒ String
readonly
The key-name for the LF-tag.
-
#tag_values ⇒ Array<String>
readonly
A list of possible values of the corresponding
TagKeyof an LF-tag key-value pair.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(catalog_id:, tag_key:, tag_values:) ⇒ LFTagPairProperty
constructor
A new instance of LFTagPairProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(catalog_id:, tag_key:, tag_values:) ⇒ LFTagPairProperty
Returns a new instance of LFTagPairProperty.
580 581 582 583 584 585 586 587 |
# File 'lake_formation/cfn_tag_association.rb', line 580 def initialize(catalog_id:, tag_key:, tag_values:) @catalog_id = catalog_id Jsii::Type.check_type(@catalog_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "catalogId") @tag_key = tag_key Jsii::Type.check_type(@tag_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tagKey") @tag_values = tag_values Jsii::Type.check_type(@tag_values, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tagValues") end |
Instance Attribute Details
#catalog_id ⇒ String (readonly)
The identifier for the Data Catalog .
By default, it is the account ID of the caller.
595 596 597 |
# File 'lake_formation/cfn_tag_association.rb', line 595 def catalog_id @catalog_id end |
#tag_key ⇒ String (readonly)
The key-name for the LF-tag.
600 601 602 |
# File 'lake_formation/cfn_tag_association.rb', line 600 def tag_key @tag_key end |
#tag_values ⇒ Array<String> (readonly)
A list of possible values of the corresponding TagKey of an LF-tag key-value pair.
605 606 607 |
# File 'lake_formation/cfn_tag_association.rb', line 605 def tag_values @tag_values end |
Class Method Details
.jsii_properties ⇒ Object
607 608 609 610 611 612 613 |
# File 'lake_formation/cfn_tag_association.rb', line 607 def self.jsii_properties { :catalog_id => "catalogId", :tag_key => "tagKey", :tag_values => "tagValues", } end |
Instance Method Details
#to_jsii ⇒ Object
615 616 617 618 619 620 621 622 623 |
# File 'lake_formation/cfn_tag_association.rb', line 615 def to_jsii result = {} result.merge!({ "catalogId" => @catalog_id, "tagKey" => @tag_key, "tagValues" => @tag_values, }) result.compact end |