Skip to content
v2.278.0

RollingIntervalProperty Struct ​

If the interval for this SLO is a rolling interval, this structure contains the interval specifications.

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 rollingIntervalProperty: applicationsignals.CfnServiceLevelObjective.RollingIntervalProperty = {
  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

rolling_interval_property = applicationsignals.CfnServiceLevelObjective.RollingIntervalProperty(
    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.*;

RollingIntervalProperty rollingIntervalProperty = RollingIntervalProperty.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 rollingIntervalProperty = new RollingIntervalProperty {
    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"

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

Properties ​

durationnumberdurationint | floatdurationNumberDurationdoubleDuration*float64 required #
Specifies the duration of each rolling interval.

For example, if Duration is 7 and DurationUnit is DAY , each rolling interval is seven days.

durationUnitstringduration_unitstrdurationUnitStringDurationUnitstringDurationUnit*string required #
Specifies the rolling interval unit.