Class InsightType
Util element for InsightSelector.
Namespace: Amazon.CDK.AWS.CloudTrail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class InsightType : DeputyBase
Syntax (vb)
Public Class InsightType Inherits DeputyBase
Remarks
ExampleMetadata: infused
Examples
new Trail(this, "Insights", new TrailProps {
InsightTypes = new [] { InsightType.API_CALL_RATE, InsightType.API_ERROR_RATE }
});
Synopsis
Constructors
InsightType(string) | Util element for InsightSelector. |
Properties
API_CALL_RATE | The type of insights to log on a trail. |
API_ERROR_RATE | The type of insights to log on a trail. |
Value | Util element for InsightSelector. |
Constructors
InsightType(string)
Util element for InsightSelector.
public InsightType(string value)
Parameters
- value string
Remarks
ExampleMetadata: infused
Examples
new Trail(this, "Insights", new TrailProps {
InsightTypes = new [] { InsightType.API_CALL_RATE, InsightType.API_ERROR_RATE }
});
Properties
API_CALL_RATE
The type of insights to log on a trail.
public static InsightType API_CALL_RATE { get; }
Property Value
Remarks
(API Call Rate)
API_ERROR_RATE
The type of insights to log on a trail.
public static InsightType API_ERROR_RATE { get; }
Property Value
Remarks
(API Error Rate)
Value
Util element for InsightSelector.
public virtual string Value { get; }
Property Value
Remarks
ExampleMetadata: infused
Examples
new Trail(this, "Insights", new TrailProps {
InsightTypes = new [] { InsightType.API_CALL_RATE, InsightType.API_ERROR_RATE }
});