Class: AWSCDK::GuardDuty::CfnMalwareProtectionPlan::CFNTaggingProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::GuardDuty::CfnMalwareProtectionPlan::CFNTaggingProperty
- Defined in:
- guard_duty/cfn_malware_protection_plan.rb
Overview
Contains information about tagging status of the Malware Protection plan resource.
Instance Attribute Summary collapse
-
#status ⇒ String?
readonly
Indicates whether or not you chose GuardDuty to add a predefined tag to the scanned S3 object.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(status: nil) ⇒ CFNTaggingProperty
constructor
A new instance of CFNTaggingProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(status: nil) ⇒ CFNTaggingProperty
Returns a new instance of CFNTaggingProperty.
733 734 735 736 |
# File 'guard_duty/cfn_malware_protection_plan.rb', line 733 def initialize(status: nil) @status = status Jsii::Type.check_type(@status, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "status") unless @status.nil? end |
Instance Attribute Details
#status ⇒ String? (readonly)
Indicates whether or not you chose GuardDuty to add a predefined tag to the scanned S3 object.
Potential values include ENABLED and DISABLED . These values are case-sensitive.
744 745 746 |
# File 'guard_duty/cfn_malware_protection_plan.rb', line 744 def status @status end |
Class Method Details
.jsii_properties ⇒ Object
746 747 748 749 750 |
# File 'guard_duty/cfn_malware_protection_plan.rb', line 746 def self.jsii_properties { :status => "status", } end |
Instance Method Details
#to_jsii ⇒ Object
752 753 754 755 756 757 758 |
# File 'guard_duty/cfn_malware_protection_plan.rb', line 752 def to_jsii result = {} result.merge!({ "status" => @status, }) result.compact end |