Class: AWSCDK::GuardDuty::CfnMalwareProtectionPlan::CFNTaggingProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status: nil) ⇒ CFNTaggingProperty

Returns a new instance of CFNTaggingProperty.

Parameters:

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

    Indicates whether or not you chose GuardDuty to add a predefined tag to the scanned S3 object.



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

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



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_jsiiObject



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