Class: AWSCDK::FraudDetector::CfnDetector::ModelProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
fraud_detector/cfn_detector.rb

Overview

The model.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(arn: nil) ⇒ ModelProperty

Returns a new instance of ModelProperty.

Parameters:

  • arn (String, nil) (defaults to: nil)

    The ARN of the model.



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

#arnString? (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_propertiesObject



1144
1145
1146
1147
1148
# File 'fraud_detector/cfn_detector.rb', line 1144

def self.jsii_properties
  {
    :arn => "arn",
  }
end

Instance Method Details

#to_jsiiObject



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