aws-cdk-lib.aws_cloudtrail.InsightType

class InsightType

LanguageType name
.NETAmazon.CDK.AWS.CloudTrail.InsightType
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscloudtrail#InsightType
Javasoftware.amazon.awscdk.services.cloudtrail.InsightType
Pythonaws_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

NameTypeDescription
valuestring
static API_CALL_RATEInsightTypeThe type of insights to log on a trail.
static API_ERROR_RATEInsightTypeThe type of insights to log on a trail.

value

Type: string


static API_CALL_RATE

Type: InsightType

The type of insights to log on a trail.

(API Call Rate)


static API_ERROR_RATE

Type: InsightType

The type of insights to log on a trail.

(API Error Rate)