AwsServerlessObservabilityAlarmArgs
interface AwsServerlessObservabilityAlarmArgs {
alarmActions?: Input<Input<string>[]>;
errorThreshold?: number;
evaluationPeriods?: number;
periodSeconds?: number;
throttleThreshold?: number;
treatMissingData?: Input<string>;
}Optional baseline alarm settings for the observability capability.
Example
CODE
const alarms: AwsServerlessObservabilityAlarmArgs = {
errorThreshold: 1,
throttleThreshold: 1,
};Properties
alarmActions: Input<Input<string>[]>
Optional alarm actions.
errorThreshold: number
Error count threshold. Defaults to 1.
evaluationPeriods: number
Alarm evaluation periods. Defaults to 1.
periodSeconds: number
Alarm period in seconds. Defaults to 300.
throttleThreshold: number
Throttle count threshold. Defaults to 1.
treatMissingData: Input<string>
Missing data treatment. Defaults to notBreaching.