ExclusionWindowProperty Struct
The time window to be excluded from the SLO performance metrics.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_applicationsignals as applicationsignals
exclusion_window_property = applicationsignals.CfnServiceLevelObjective.ExclusionWindowProperty(
window=applicationsignals.CfnServiceLevelObjective.WindowProperty(
duration=123,
duration_unit="durationUnit"
),
# the properties below are optional
reason="reason",
recurrence_rule=applicationsignals.CfnServiceLevelObjective.RecurrenceRuleProperty(
expression="expression"
),
start_time="startTime"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.applicationsignals.*;
ExclusionWindowProperty exclusionWindowProperty = ExclusionWindowProperty.builder()
.window(WindowProperty.builder()
.duration(123)
.durationUnit("durationUnit")
.build())
// the properties below are optional
.reason("reason")
.recurrenceRule(RecurrenceRuleProperty.builder()
.expression("expression")
.build())
.startTime("startTime")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ApplicationSignals;
var exclusionWindowProperty = new ExclusionWindowProperty {
Window = new WindowProperty {
Duration = 123,
DurationUnit = "durationUnit"
},
// the properties below are optional
Reason = "reason",
RecurrenceRule = new RecurrenceRuleProperty {
Expression = "expression"
},
StartTime = "startTime"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// 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"
exclusionWindowProperty := &ExclusionWindowProperty{
Window: &WindowProperty{
Duration: jsii.Number(123),
DurationUnit: jsii.String("durationUnit"),
},
// the properties below are optional
Reason: jsii.String("reason"),
RecurrenceRule: &RecurrenceRuleProperty{
Expression: jsii.String("expression"),
},
StartTime: jsii.String("startTime"),
}
Properties
reasonoptionalstringreasonoptionalstrreasonoptionalStringReasonoptionalstringReasonoptional*string #The reason for the time exclusion windows.
Default: "No reason"
For example, maintenance.
recurrenceRuleoptionalIResolvable | CfnServiceLevelObjective.recurrence_ruleoptionaltyping.Union[IResolvable, RecurrenceRuleProperty]recurrenceRuleoptionalIResolvableRecurrenceRuleoptionalIResolvableRecurrenceRuleoptionalinterface{} #The recurrence rule for the time exclusion window.
startTimeoptionalstringstart_timeoptionalstrstartTimeoptionalStringStartTimeoptionalstringStartTimeoptional*string #The start time of the time exclusion window.
windowIResolvable | CfnServiceLevelObjective.windowtyping.Union[IResolvable, WindowProperty]windowIResolvableWindowIResolvableWindowinterface{} required #The time exclusion window.