Class: AWSCDK::Interfaces::AWSMacie::AllowListReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_macie/allow_list_reference.rb

Overview

A reference to a AllowList resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(allow_list_arn:, allow_list_id:) ⇒ AllowListReference

Returns a new instance of AllowListReference.

Parameters:

  • allow_list_arn (String)

    The ARN of the AllowList resource.

  • allow_list_id (String)

    The Id of the AllowList resource.



9
10
11
12
13
14
# File 'interfaces/aws_macie/allow_list_reference.rb', line 9

def initialize(allow_list_arn:, allow_list_id:)
  @allow_list_arn = allow_list_arn
  Jsii::Type.check_type(@allow_list_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "allowListArn")
  @allow_list_id = allow_list_id
  Jsii::Type.check_type(@allow_list_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "allowListId")
end

Instance Attribute Details

#allow_list_arnString (readonly)

The ARN of the AllowList resource.

Returns:

  • (String)


19
20
21
# File 'interfaces/aws_macie/allow_list_reference.rb', line 19

def allow_list_arn
  @allow_list_arn
end

#allow_list_idString (readonly)

The Id of the AllowList resource.

Returns:

  • (String)


23
24
25
# File 'interfaces/aws_macie/allow_list_reference.rb', line 23

def allow_list_id
  @allow_list_id
end

Class Method Details

.jsii_propertiesObject



25
26
27
28
29
30
# File 'interfaces/aws_macie/allow_list_reference.rb', line 25

def self.jsii_properties
  {
    :allow_list_arn => "allowListArn",
    :allow_list_id => "allowListId",
  }
end

Instance Method Details

#to_jsiiObject



32
33
34
35
36
37
38
39
# File 'interfaces/aws_macie/allow_list_reference.rb', line 32

def to_jsii
  result = {}
  result.merge!({
    "allowListArn" => @allow_list_arn,
    "allowListId" => @allow_list_id,
  })
  result.compact
end