-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnTrail_InsightSelectorProperty.go
27 lines (24 loc) · 1.25 KB
/
CfnTrail_InsightSelectorProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package awscloudtrail
// 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 "github.com/aws/aws-cdk-go/awscdk"
//
// insightSelectorProperty := &InsightSelectorProperty{
// InsightType: jsii.String("insightType"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-trail-insightselector.html
//
type CfnTrail_InsightSelectorProperty struct {
// 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.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-trail-insightselector.html#cfn-cloudtrail-trail-insightselector-insighttype
//
InsightType *string `field:"optional" json:"insightType" yaml:"insightType"`
}