interface IntervalProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.aws_applicationsignals.CfnServiceLevelObjective.IntervalProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsapplicationsignals#CfnServiceLevelObjective_IntervalProperty |
Java | software.amazon.awscdk.services.applicationsignals.CfnServiceLevelObjective.IntervalProperty |
Python | aws_cdk.aws_applicationsignals.CfnServiceLevelObjective.IntervalProperty |
TypeScript | aws-cdk-lib » aws_applicationsignals » CfnServiceLevelObjective » IntervalProperty |
The time period used to evaluate the SLO.
It can be either a calendar interval or rolling interval.
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 intervalProperty: applicationsignals.CfnServiceLevelObjective.IntervalProperty = {
calendarInterval: {
duration: 123,
durationUnit: 'durationUnit',
startTime: 123,
},
rollingInterval: {
duration: 123,
durationUnit: 'durationUnit',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| calendar | IResolvable | Calendar | If the interval is a calendar interval, this structure contains the interval specifications. |
| rolling | IResolvable | Rolling | If the interval is a rolling interval, this structure contains the interval specifications. |
calendarInterval?
Type:
IResolvable | Calendar
(optional)
If the interval is a calendar interval, this structure contains the interval specifications.
rollingInterval?
Type:
IResolvable | Rolling
(optional)
If the interval is a rolling interval, this structure contains the interval specifications.

.NET
Go
Java
Python
TypeScript