Class: AWSCDK::LakeFormation::CfnTagAssociation::LFTagPairProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(catalog_id:, tag_key:, tag_values:) ⇒ LFTagPairProperty

Returns a new instance of LFTagPairProperty.

Parameters:

  • catalog_id (String)

    The identifier for the Data Catalog .

  • tag_key (String)

    The key-name for the LF-tag.

  • tag_values (Array<String>)

    A list of possible values of the corresponding TagKey of an LF-tag key-value pair.



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_idString (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_keyString (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_valuesArray<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_propertiesObject



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_jsiiObject



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