Class: AWSCDK::Interfaces::AWSLakeformation::TagAssociationReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSLakeformation::TagAssociationReference
- Defined in:
- interfaces/aws_lakeformation/tag_association_reference.rb
Overview
A reference to a TagAssociation resource.
Instance Attribute Summary collapse
-
#resource_identifier ⇒ String
readonly
The ResourceIdentifier of the TagAssociation resource.
-
#tags_identifier ⇒ String
readonly
The TagsIdentifier of the TagAssociation resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(resource_identifier:, tags_identifier:) ⇒ TagAssociationReference
constructor
A new instance of TagAssociationReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(resource_identifier:, tags_identifier:) ⇒ TagAssociationReference
Returns a new instance of TagAssociationReference.
9 10 11 12 13 14 |
# File 'interfaces/aws_lakeformation/tag_association_reference.rb', line 9 def initialize(resource_identifier:, tags_identifier:) @resource_identifier = resource_identifier Jsii::Type.check_type(@resource_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "resourceIdentifier") @tags_identifier = Jsii::Type.check_type(@tags_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tagsIdentifier") end |
Instance Attribute Details
#resource_identifier ⇒ String (readonly)
The ResourceIdentifier of the TagAssociation resource.
19 20 21 |
# File 'interfaces/aws_lakeformation/tag_association_reference.rb', line 19 def resource_identifier @resource_identifier end |
#tags_identifier ⇒ String (readonly)
The TagsIdentifier of the TagAssociation resource.
23 24 25 |
# File 'interfaces/aws_lakeformation/tag_association_reference.rb', line 23 def @tags_identifier end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'interfaces/aws_lakeformation/tag_association_reference.rb', line 25 def self.jsii_properties { :resource_identifier => "resourceIdentifier", :tags_identifier => "tagsIdentifier", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/aws_lakeformation/tag_association_reference.rb', line 32 def to_jsii result = {} result.merge!({ "resourceIdentifier" => @resource_identifier, "tagsIdentifier" => @tags_identifier, }) result.compact end |