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();
 
  • Method Details

    • getInsightType

      @Stability(Stable) @Nullable default String getInsightType()
      The type of Insights events to log on a trail. 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.

    • builder

      @Stability(Stable) static CfnTrail.InsightSelectorProperty.Builder builder()
      Returns:
      a CfnTrail.InsightSelectorProperty.Builder of CfnTrail.InsightSelectorProperty