Class: AWSCDK::LakeFormation::CfnPrincipalPermissions::LFTagProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::LakeFormation::CfnPrincipalPermissions::LFTagProperty
- Defined in:
- lake_formation/cfn_principal_permissions.rb
Overview
The LF-tag key and values attached to a resource.
Instance Attribute Summary collapse
-
#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(tag_key: nil, tag_values: nil) ⇒ LFTagProperty
constructor
A new instance of LFTagProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(tag_key: nil, tag_values: nil) ⇒ LFTagProperty
Returns a new instance of LFTagProperty.
900 901 902 903 904 905 |
# File 'lake_formation/cfn_principal_permissions.rb', line 900 def initialize(tag_key: nil, tag_values: nil) @tag_key = tag_key Jsii::Type.check_type(@tag_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tagKey") unless @tag_key.nil? @tag_values = tag_values Jsii::Type.check_type(@tag_values, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tagValues") unless @tag_values.nil? end |
Instance Attribute Details
#tag_key ⇒ String? (readonly)
The key-name for the LF-tag.
911 912 913 |
# File 'lake_formation/cfn_principal_permissions.rb', line 911 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.
916 917 918 |
# File 'lake_formation/cfn_principal_permissions.rb', line 916 def tag_values @tag_values end |
Class Method Details
.jsii_properties ⇒ Object
918 919 920 921 922 923 |
# File 'lake_formation/cfn_principal_permissions.rb', line 918 def self.jsii_properties { :tag_key => "tagKey", :tag_values => "tagValues", } end |
Instance Method Details
#to_jsii ⇒ Object
925 926 927 928 929 930 931 932 |
# File 'lake_formation/cfn_principal_permissions.rb', line 925 def to_jsii result = {} result.merge!({ "tagKey" => @tag_key, "tagValues" => @tag_values, }) result.compact end |