Class: AWSCDK::GuardDuty::CfnDetector::CFNKubernetesAuditLogsConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::GuardDuty::CfnDetector::CFNKubernetesAuditLogsConfigurationProperty
- Defined in:
- guard_duty/cfn_detector.rb
Overview
Describes which optional data sources are enabled for a detector.
Instance Attribute Summary collapse
-
#enable ⇒ Boolean, AWSCDK::IResolvable
readonly
Describes whether Kubernetes audit logs are enabled as a data source for the detector.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(enable:) ⇒ CFNKubernetesAuditLogsConfigurationProperty
constructor
A new instance of CFNKubernetesAuditLogsConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(enable:) ⇒ CFNKubernetesAuditLogsConfigurationProperty
Returns a new instance of CFNKubernetesAuditLogsConfigurationProperty.
738 739 740 741 |
# File 'guard_duty/cfn_detector.rb', line 738 def initialize(enable:) @enable = enable Jsii::Type.check_type(@enable, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enable") end |
Instance Attribute Details
#enable ⇒ Boolean, AWSCDK::IResolvable (readonly)
Describes whether Kubernetes audit logs are enabled as a data source for the detector.
747 748 749 |
# File 'guard_duty/cfn_detector.rb', line 747 def enable @enable end |
Class Method Details
.jsii_properties ⇒ Object
749 750 751 752 753 |
# File 'guard_duty/cfn_detector.rb', line 749 def self.jsii_properties { :enable => "enable", } end |
Instance Method Details
#to_jsii ⇒ Object
755 756 757 758 759 760 761 |
# File 'guard_duty/cfn_detector.rb', line 755 def to_jsii result = {} result.merge!({ "enable" => @enable, }) result.compact end |