Class: AWSCDK::Interfaces::AWSFrauddetector::LabelReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSFrauddetector::LabelReference
- Defined in:
- interfaces/aws_frauddetector/label_reference.rb
Overview
A reference to a Label resource.
Instance Attribute Summary collapse
-
#label_arn ⇒ String
readonly
The Arn of the Label resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(label_arn:) ⇒ LabelReference
constructor
A new instance of LabelReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(label_arn:) ⇒ LabelReference
Returns a new instance of LabelReference.
8 9 10 11 |
# File 'interfaces/aws_frauddetector/label_reference.rb', line 8 def initialize(label_arn:) @label_arn = label_arn Jsii::Type.check_type(@label_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "labelArn") end |
Instance Attribute Details
#label_arn ⇒ String (readonly)
The Arn of the Label resource.
16 17 18 |
# File 'interfaces/aws_frauddetector/label_reference.rb', line 16 def label_arn @label_arn end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/aws_frauddetector/label_reference.rb', line 18 def self.jsii_properties { :label_arn => "labelArn", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/aws_frauddetector/label_reference.rb', line 24 def to_jsii result = {} result.merge!({ "labelArn" => @label_arn, }) result.compact end |