interface CalendarIntervalProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ApplicationSignals.Mixins.CfnServiceLevelObjectivePropsMixin.CalendarIntervalProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsapplicationsignals/mixins#CfnServiceLevelObjectivePropsMixin_CalendarIntervalProperty |
Java | software.amazon.awscdk.mixins.preview.services.applicationsignals.mixins.CfnServiceLevelObjectivePropsMixin.CalendarIntervalProperty |
Python | aws_cdk.mixins_preview.aws_applicationsignals.mixins.CfnServiceLevelObjectivePropsMixin.CalendarIntervalProperty |
TypeScript | @aws-cdk/mixins-preview » aws_applicationsignals » mixins » CfnServiceLevelObjectivePropsMixin » CalendarIntervalProperty |
If the interval for this service level objective is a calendar interval, this structure contains the interval specifications.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as applicationsignals_mixins } from '@aws-cdk/mixins-preview/aws-applicationsignals';
const calendarIntervalProperty: applicationsignals_mixins.CfnServiceLevelObjectivePropsMixin.CalendarIntervalProperty = {
duration: 123,
durationUnit: 'durationUnit',
startTime: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| duration? | number | Specifies the duration of each calendar interval. |
| duration | string | Specifies the calendar interval unit. |
| start | number | The date and time when you want the first interval to start. |
duration?
Type:
number
(optional)
Specifies the duration of each calendar interval.
For example, if Duration is 1 and DurationUnit is MONTH , each interval is one month, aligned with the calendar.
durationUnit?
Type:
string
(optional)
Specifies the calendar interval unit.
startTime?
Type:
number
(optional)
The date and time when you want the first interval to start.
Be sure to choose a time that configures the intervals the way that you want. For example, if you want weekly intervals starting on Mondays at 6 a.m., be sure to specify a start time that is a Monday at 6 a.m.
When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057
As soon as one calendar interval ends, another automatically begins.

.NET
Go
Java
Python
TypeScript