Skip to content
v2.278.0

WeeklySettingProperty Struct ​

Information about rotations that recur weekly.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ssmcontacts as ssmcontacts } from 'aws-cdk-lib';
const weeklySettingProperty: ssmcontacts.CfnRotation.WeeklySettingProperty = {
  dayOfWeek: 'dayOfWeek',
  handOffTime: 'handOffTime',
};
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_ssmcontacts as ssmcontacts

weekly_setting_property = ssmcontacts.CfnRotation.WeeklySettingProperty(
    day_of_week="dayOfWeek",
    hand_off_time="handOffTime"
)
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.ssmcontacts.*;

WeeklySettingProperty weeklySettingProperty = WeeklySettingProperty.builder()
        .dayOfWeek("dayOfWeek")
        .handOffTime("handOffTime")
        .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.SSMContacts;

var weeklySettingProperty = new WeeklySettingProperty {
    DayOfWeek = "dayOfWeek",
    HandOffTime = "handOffTime"
};
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"

weeklySettingProperty := &WeeklySettingProperty{
	DayOfWeek: jsii.String("dayOfWeek"),
	HandOffTime: jsii.String("handOffTime"),
}

Properties ​

dayOfWeekstringday_of_weekstrdayOfWeekStringDayOfWeekstringDayOfWeek*string required #
The day of the week when weekly recurring on-call shift rotations begins.
handOffTimestringhand_off_timestrhandOffTimeStringHandOffTimestringHandOffTime*string required #
The time of day when a weekly recurring on-call shift rotation begins.