Class: AWSCDK::LakeFormation::CfnPrincipalPermissions::LFTagKeyResourceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::LakeFormation::CfnPrincipalPermissions::LFTagKeyResourceProperty
- Defined in:
- lake_formation/cfn_principal_permissions.rb
Overview
A structure containing an LF-tag key and values for a resource.
Instance Attribute Summary collapse
-
#catalog_id ⇒ String
readonly
The identifier for the Data Catalog where the location is registered with Data Catalog .
-
#tag_key ⇒ String
readonly
The key-name for the LF-tag.
-
#tag_values ⇒ Array<String>
readonly
A list of possible values for the corresponding
TagKeyof an LF-tag key-value pair.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(catalog_id:, tag_key:, tag_values:) ⇒ LFTagKeyResourceProperty
constructor
A new instance of LFTagKeyResourceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(catalog_id:, tag_key:, tag_values:) ⇒ LFTagKeyResourceProperty
Returns a new instance of LFTagKeyResourceProperty.
791 792 793 794 795 796 797 798 |
# File 'lake_formation/cfn_principal_permissions.rb', line 791 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 where the location is registered with Data Catalog .
804 805 806 |
# File 'lake_formation/cfn_principal_permissions.rb', line 804 def catalog_id @catalog_id end |
#tag_key ⇒ String (readonly)
The key-name for the LF-tag.
809 810 811 |
# File 'lake_formation/cfn_principal_permissions.rb', line 809 def tag_key @tag_key end |
#tag_values ⇒ Array<String> (readonly)
A list of possible values for the corresponding TagKey of an LF-tag key-value pair.
814 815 816 |
# File 'lake_formation/cfn_principal_permissions.rb', line 814 def tag_values @tag_values end |
Class Method Details
.jsii_properties ⇒ Object
816 817 818 819 820 821 822 |
# File 'lake_formation/cfn_principal_permissions.rb', line 816 def self.jsii_properties { :catalog_id => "catalogId", :tag_key => "tagKey", :tag_values => "tagValues", } end |
Instance Method Details
#to_jsii ⇒ Object
824 825 826 827 828 829 830 831 832 |
# File 'lake_formation/cfn_principal_permissions.rb', line 824 def to_jsii result = {} result.merge!({ "catalogId" => @catalog_id, "tagKey" => @tag_key, "tagValues" => @tag_values, }) result.compact end |