Skip to content
v2.278.0

WindowProperty Struct ​

The start and end time of the time exclusion window.

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 windowProperty: applicationsignals.CfnServiceLevelObjective.WindowProperty = {
  duration: 123,
  durationUnit: 'durationUnit',
};
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

window_property = applicationsignals.CfnServiceLevelObjective.WindowProperty(
    duration=123,
    duration_unit="durationUnit"
)
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.*;

WindowProperty windowProperty = WindowProperty.builder()
        .duration(123)
        .durationUnit("durationUnit")
        .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 windowProperty = new WindowProperty {
    Duration = 123,
    DurationUnit = "durationUnit"
};
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"

windowProperty := &WindowProperty{
	Duration: jsii.Number(123),
	DurationUnit: jsii.String("durationUnit"),
}

Properties ​

durationnumberdurationint | floatdurationNumberDurationdoubleDuration*float64 required #
The start and end time of the time exclusion window.
durationUnitstringduration_unitstrdurationUnitStringDurationUnitstringDurationUnit*string required #
The unit of measurement to use during the time window exclusion.