Class: AWSCDK::Interfaces::AWSMacie::AllowListReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSMacie::AllowListReference
- Defined in:
- interfaces/aws_macie/allow_list_reference.rb
Overview
A reference to a AllowList resource.
Instance Attribute Summary collapse
-
#allow_list_arn ⇒ String
readonly
The ARN of the AllowList resource.
-
#allow_list_id ⇒ String
readonly
The Id of the AllowList resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(allow_list_arn:, allow_list_id:) ⇒ AllowListReference
constructor
A new instance of AllowListReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(allow_list_arn:, allow_list_id:) ⇒ AllowListReference
Returns a new instance of AllowListReference.
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_arn ⇒ String (readonly)
The ARN of the AllowList resource.
19 20 21 |
# File 'interfaces/aws_macie/allow_list_reference.rb', line 19 def allow_list_arn @allow_list_arn end |
#allow_list_id ⇒ String (readonly)
The Id of the AllowList resource.
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_properties ⇒ Object
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_jsii ⇒ Object
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 |