Class: AWSCDK::GuardDuty::CfnDetector::CFNS3LogsConfigurationProperty

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

Overview

Describes whether S3 data event logs will be enabled as a data source when the detector is created.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enable:) ⇒ CFNS3LogsConfigurationProperty

Returns a new instance of CFNS3LogsConfigurationProperty.

Parameters:



837
838
839
840
# File 'guard_duty/cfn_detector.rb', line 837

def initialize(enable:)
  @enable = enable
  Jsii::Type.check_type(@enable, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enable")
end

Instance Attribute Details

#enableBoolean, AWSCDK::IResolvable (readonly)

The status of S3 data event logs as a data source.



846
847
848
# File 'guard_duty/cfn_detector.rb', line 846

def enable
  @enable
end

Class Method Details

.jsii_propertiesObject



848
849
850
851
852
# File 'guard_duty/cfn_detector.rb', line 848

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

Instance Method Details

#to_jsiiObject



854
855
856
857
858
859
860
# File 'guard_duty/cfn_detector.rb', line 854

def to_jsii
  result = {}
  result.merge!({
    "enable" => @enable,
  })
  result.compact
end