interface ExclusionWindowProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.aws_applicationsignals.CfnServiceLevelObjective.ExclusionWindowProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsapplicationsignals#CfnServiceLevelObjective_ExclusionWindowProperty |
Java | software.amazon.awscdk.services.applicationsignals.CfnServiceLevelObjective.ExclusionWindowProperty |
Python | aws_cdk.aws_applicationsignals.CfnServiceLevelObjective.ExclusionWindowProperty |
TypeScript | aws-cdk-lib » aws_applicationsignals » CfnServiceLevelObjective » ExclusionWindowProperty |
The time window to be excluded from the SLO performance metrics.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_applicationsignals as applicationsignals } from 'aws-cdk-lib';
const exclusionWindowProperty: applicationsignals.CfnServiceLevelObjective.ExclusionWindowProperty = {
window: {
duration: 123,
durationUnit: 'durationUnit',
},
// the properties below are optional
reason: 'reason',
recurrenceRule: {
expression: 'expression',
},
startTime: 'startTime',
};
Properties
| Name | Type | Description |
|---|---|---|
| window | IResolvable | Window | The time exclusion window. |
| reason? | string | The reason for the time exclusion windows. |
| recurrence | IResolvable | Recurrence | The recurrence rule for the time exclusion window. |
| start | string | The start time of the time exclusion window. |
window
Type:
IResolvable | Window
The time exclusion window.
reason?
Type:
string
(optional, default: "No reason")
The reason for the time exclusion windows.
For example, maintenance.
recurrenceRule?
Type:
IResolvable | Recurrence
(optional)
The recurrence rule for the time exclusion window.
startTime?
Type:
string
(optional)
The start time of the time exclusion window.

.NET
Go
Java
Python
TypeScript