Class: AWSCDK::GuardDuty::CfnMalwareProtectionPlan::CFNActionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::GuardDuty::CfnMalwareProtectionPlan::CFNActionsProperty
- Defined in:
- guard_duty/cfn_malware_protection_plan.rb
Overview
Specifies the action that is to be applied to the Malware Protection plan resource.
Instance Attribute Summary collapse
-
#tagging ⇒ AWSCDK::IResolvable, ...
readonly
Contains information about tagging status of the Malware Protection plan resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(tagging: nil) ⇒ CFNActionsProperty
constructor
A new instance of CFNActionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(tagging: nil) ⇒ CFNActionsProperty
Returns a new instance of CFNActionsProperty.
618 619 620 621 |
# File 'guard_duty/cfn_malware_protection_plan.rb', line 618 def initialize(tagging: nil) @tagging = tagging.is_a?(Hash) ? ::AWSCDK::GuardDuty::CfnMalwareProtectionPlan::CFNTaggingProperty.new(**tagging.transform_keys(&:to_sym)) : tagging Jsii::Type.check_type(@tagging, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19ndWFyZGR1dHkuQ2ZuTWFsd2FyZVByb3RlY3Rpb25QbGFuLkNGTlRhZ2dpbmdQcm9wZXJ0eSJ9XX19")), "tagging") unless @tagging.nil? end |
Instance Attribute Details
#tagging ⇒ AWSCDK::IResolvable, ... (readonly)
Contains information about tagging status of the Malware Protection plan resource.
627 628 629 |
# File 'guard_duty/cfn_malware_protection_plan.rb', line 627 def tagging @tagging end |
Class Method Details
.jsii_properties ⇒ Object
629 630 631 632 633 |
# File 'guard_duty/cfn_malware_protection_plan.rb', line 629 def self.jsii_properties { :tagging => "tagging", } end |
Instance Method Details
#to_jsii ⇒ Object
635 636 637 638 639 640 641 |
# File 'guard_duty/cfn_malware_protection_plan.rb', line 635 def to_jsii result = {} result.merge!({ "tagging" => @tagging, }) result.compact end |