Class: AWSCDK::Interfaces::AWSLakeformation::TagAssociationReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_lakeformation/tag_association_reference.rb

Overview

A reference to a TagAssociation resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resource_identifier:, tags_identifier:) ⇒ TagAssociationReference

Returns a new instance of TagAssociationReference.

Parameters:

  • resource_identifier (String)

    The ResourceIdentifier of the TagAssociation resource.

  • tags_identifier (String)

    The TagsIdentifier of the TagAssociation resource.



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 = tags_identifier
  Jsii::Type.check_type(@tags_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tagsIdentifier")
end

Instance Attribute Details

#resource_identifierString (readonly)

The ResourceIdentifier of the TagAssociation resource.

Returns:

  • (String)


19
20
21
# File 'interfaces/aws_lakeformation/tag_association_reference.rb', line 19

def resource_identifier
  @resource_identifier
end

#tags_identifierString (readonly)

The TagsIdentifier of the TagAssociation resource.

Returns:

  • (String)


23
24
25
# File 'interfaces/aws_lakeformation/tag_association_reference.rb', line 23

def tags_identifier
  @tags_identifier
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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