Class: AWSCDK::FraudDetector::CfnDetector::ModelProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::FraudDetector::CfnDetector::ModelProperty
- Defined in:
- fraud_detector/cfn_detector.rb
Overview
The model.
Instance Attribute Summary collapse
-
#arn ⇒ String?
readonly
The ARN of the model.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(arn: nil) ⇒ ModelProperty
constructor
A new instance of ModelProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(arn: nil) ⇒ ModelProperty
Returns a new instance of ModelProperty.
1133 1134 1135 1136 |
# File 'fraud_detector/cfn_detector.rb', line 1133 def initialize(arn: nil) @arn = arn Jsii::Type.check_type(@arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "arn") unless @arn.nil? end |
Instance Attribute Details
#arn ⇒ String? (readonly)
The ARN of the model.
1142 1143 1144 |
# File 'fraud_detector/cfn_detector.rb', line 1142 def arn @arn end |
Class Method Details
.jsii_properties ⇒ Object
1144 1145 1146 1147 1148 |
# File 'fraud_detector/cfn_detector.rb', line 1144 def self.jsii_properties { :arn => "arn", } end |
Instance Method Details
#to_jsii ⇒ Object
1150 1151 1152 1153 1154 1155 1156 |
# File 'fraud_detector/cfn_detector.rb', line 1150 def to_jsii result = {} result.merge!({ "arn" => @arn, }) result.compact end |