class InsightType
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.CloudTrail.InsightType | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awscloudtrail#InsightType | 
|  Java | software.amazon.awscdk.services.cloudtrail.InsightType | 
|  Python | aws_cdk.aws_cloudtrail.InsightType | 
|  TypeScript (source) | aws-cdk-lib»aws_cloudtrail»InsightType | 
Util element for InsightSelector.
Example
new cloudtrail.Trail(this, 'Insights', {
    insightTypes: [
      cloudtrail.InsightType.API_CALL_RATE,
      cloudtrail.InsightType.API_ERROR_RATE,
    ],
});
Initializer (protected)
super(value: string)
Parameters
- value string
Properties
| Name | Type | Description | 
|---|---|---|
| value | string | |
| static API_CALL_RATE | Insight | The type of insights to log on a trail. | 
| static API_ERROR_RATE | Insight | The type of insights to log on a trail. | 
value
Type:
string
static API_CALL_RATE
Type:
Insight
The type of insights to log on a trail.
(API Call Rate)
static API_ERROR_RATE
Type:
Insight
The type of insights to log on a trail.
(API Error Rate)
