Interface CfnTrail.InsightSelectorProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTrail.InsightSelectorProperty.Jsii$Proxy
- Enclosing class:
- CfnTrail
@Stability(Stable)
public static interface CfnTrail.InsightSelectorProperty
extends software.amazon.jsii.JsiiSerializable
A JSON string that contains a list of Insights types that are logged on a trail.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cloudtrail.*;
InsightSelectorProperty insightSelectorProperty = InsightSelectorProperty.builder()
.insightType("insightType")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTrail.InsightSelectorPropertystatic final classAn implementation forCfnTrail.InsightSelectorProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInsightType
The type of Insights events to log on a trail.ApiCallRateInsightandApiErrorRateInsightare valid Insight types.The
ApiCallRateInsightInsights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume.The
ApiErrorRateInsightInsights type analyzes management API calls that result in error codes. The error is shown if the API call is unsuccessful. -
builder
-