Class: AWSCDK::GuardDuty::CfnMalwareProtectionPlan::CFNStatusReasonsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::GuardDuty::CfnMalwareProtectionPlan::CFNStatusReasonsProperty
- Defined in:
- guard_duty/cfn_malware_protection_plan.rb
Overview
Information about the status code and status details associated with the status of the Malware Protection plan.
Instance Attribute Summary collapse
-
#code ⇒ String?
readonly
The status code of the Malware Protection plan.
-
#message ⇒ String?
readonly
Issue message that specifies the reason.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(code: nil, message: nil) ⇒ CFNStatusReasonsProperty
constructor
A new instance of CFNStatusReasonsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(code: nil, message: nil) ⇒ CFNStatusReasonsProperty
Returns a new instance of CFNStatusReasonsProperty.
687 688 689 690 691 692 |
# File 'guard_duty/cfn_malware_protection_plan.rb', line 687 def initialize(code: nil, message: nil) @code = code Jsii::Type.check_type(@code, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "code") unless @code.nil? @message = Jsii::Type.check_type(@message, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "message") unless @message.nil? end |
Instance Attribute Details
#code ⇒ String? (readonly)
The status code of the Malware Protection plan.
For more information, see Malware Protection plan resource status in the GuardDuty User Guide .
700 701 702 |
# File 'guard_duty/cfn_malware_protection_plan.rb', line 700 def code @code end |
#message ⇒ String? (readonly)
Issue message that specifies the reason.
For information about potential troubleshooting steps, see Troubleshooting Malware Protection for S3 status issues in the Amazon GuardDuty User Guide .
707 708 709 |
# File 'guard_duty/cfn_malware_protection_plan.rb', line 707 def @message end |
Class Method Details
.jsii_properties ⇒ Object
709 710 711 712 713 714 |
# File 'guard_duty/cfn_malware_protection_plan.rb', line 709 def self.jsii_properties { :code => "code", :message => "message", } end |
Instance Method Details
#to_jsii ⇒ Object
716 717 718 719 720 721 722 723 |
# File 'guard_duty/cfn_malware_protection_plan.rb', line 716 def to_jsii result = {} result.merge!({ "code" => @code, "message" => @message, }) result.compact end |