Class: AWSCDK::CloudTrail::CfnEventDataStore::InsightSelectorProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CloudTrail::CfnEventDataStore::InsightSelectorProperty
- Defined in:
- cloud_trail/cfn_event_data_store.rb
Overview
A JSON string that contains a list of Insights types that are logged on an event data store.
Instance Attribute Summary collapse
-
#insight_type ⇒ String?
readonly
The type of Insights events to log on an event data store.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(insight_type: nil) ⇒ InsightSelectorProperty
constructor
A new instance of InsightSelectorProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(insight_type: nil) ⇒ InsightSelectorProperty
Returns a new instance of InsightSelectorProperty.
1011 1012 1013 1014 |
# File 'cloud_trail/cfn_event_data_store.rb', line 1011 def initialize(insight_type: nil) @insight_type = insight_type Jsii::Type.check_type(@insight_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "insightType") unless @insight_type.nil? end |
Instance Attribute Details
#insight_type ⇒ String? (readonly)
The type of Insights events to log on an event data store. ApiCallRateInsight and ApiErrorRateInsight are valid Insight types.
The ApiCallRateInsight Insights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume.
The ApiErrorRateInsight Insights type analyzes management API calls that result in error codes. The error is shown if the API call is unsuccessful.
1024 1025 1026 |
# File 'cloud_trail/cfn_event_data_store.rb', line 1024 def insight_type @insight_type end |
Class Method Details
.jsii_properties ⇒ Object
1026 1027 1028 1029 1030 |
# File 'cloud_trail/cfn_event_data_store.rb', line 1026 def self.jsii_properties { :insight_type => "insightType", } end |
Instance Method Details
#to_jsii ⇒ Object
1032 1033 1034 1035 1036 1037 1038 |
# File 'cloud_trail/cfn_event_data_store.rb', line 1032 def to_jsii result = {} result.merge!({ "insightType" => @insight_type, }) result.compact end |