aws.ssm.ContactsRotation
Explore with Pulumi AI
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.ssm.ContactsRotation("example", {
contactIds: [exampleAwsSsmcontactsContact.arn],
name: "rotation",
recurrence: {
numberOfOnCalls: 1,
recurrenceMultiplier: 1,
dailySettings: [{
hourOfDay: 9,
minuteOfHour: 0,
}],
},
timeZoneId: "Australia/Sydney",
}, {
dependsOn: [exampleAwsSsmincidentsReplicationSet],
});
import pulumi
import pulumi_aws as aws
example = aws.ssm.ContactsRotation("example",
contact_ids=[example_aws_ssmcontacts_contact["arn"]],
name="rotation",
recurrence={
"number_of_on_calls": 1,
"recurrence_multiplier": 1,
"daily_settings": [{
"hour_of_day": 9,
"minute_of_hour": 0,
}],
},
time_zone_id="Australia/Sydney",
opts = pulumi.ResourceOptions(depends_on=[example_aws_ssmincidents_replication_set]))
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ssm.NewContactsRotation(ctx, "example", &ssm.ContactsRotationArgs{
ContactIds: pulumi.StringArray{
exampleAwsSsmcontactsContact.Arn,
},
Name: pulumi.String("rotation"),
Recurrence: &ssm.ContactsRotationRecurrenceArgs{
NumberOfOnCalls: pulumi.Int(1),
RecurrenceMultiplier: pulumi.Int(1),
DailySettings: ssm.ContactsRotationRecurrenceDailySettingArray{
&ssm.ContactsRotationRecurrenceDailySettingArgs{
HourOfDay: pulumi.Int(9),
MinuteOfHour: pulumi.Int(0),
},
},
},
TimeZoneId: pulumi.String("Australia/Sydney"),
}, pulumi.DependsOn([]pulumi.Resource{
exampleAwsSsmincidentsReplicationSet,
}))
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Ssm.ContactsRotation("example", new()
{
ContactIds = new[]
{
exampleAwsSsmcontactsContact.Arn,
},
Name = "rotation",
Recurrence = new Aws.Ssm.Inputs.ContactsRotationRecurrenceArgs
{
NumberOfOnCalls = 1,
RecurrenceMultiplier = 1,
DailySettings = new[]
{
new Aws.Ssm.Inputs.ContactsRotationRecurrenceDailySettingArgs
{
HourOfDay = 9,
MinuteOfHour = 0,
},
},
},
TimeZoneId = "Australia/Sydney",
}, new CustomResourceOptions
{
DependsOn =
{
exampleAwsSsmincidentsReplicationSet,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ssm.ContactsRotation;
import com.pulumi.aws.ssm.ContactsRotationArgs;
import com.pulumi.aws.ssm.inputs.ContactsRotationRecurrenceArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ContactsRotation("example", ContactsRotationArgs.builder()
.contactIds(exampleAwsSsmcontactsContact.arn())
.name("rotation")
.recurrence(ContactsRotationRecurrenceArgs.builder()
.numberOfOnCalls(1)
.recurrenceMultiplier(1)
.dailySettings(ContactsRotationRecurrenceDailySettingArgs.builder()
.hourOfDay(9)
.minuteOfHour(0)
.build())
.build())
.timeZoneId("Australia/Sydney")
.build(), CustomResourceOptions.builder()
.dependsOn(exampleAwsSsmincidentsReplicationSet)
.build());
}
}
resources:
example:
type: aws:ssm:ContactsRotation
properties:
contactIds:
- ${exampleAwsSsmcontactsContact.arn}
name: rotation
recurrence:
numberOfOnCalls: 1
recurrenceMultiplier: 1
dailySettings:
- hourOfDay: 9
minuteOfHour: 0
timeZoneId: Australia/Sydney
options:
dependson:
- ${exampleAwsSsmincidentsReplicationSet}
Usage with Weekly Settings and Shift Coverages Fields
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.ssm.ContactsRotation("example", {
contactIds: [exampleAwsSsmcontactsContact.arn],
name: "rotation",
recurrence: {
numberOfOnCalls: 1,
recurrenceMultiplier: 1,
weeklySettings: [
{
dayOfWeek: "WED",
handOffTime: {
hourOfDay: 4,
minuteOfHour: 25,
},
},
{
dayOfWeek: "FRI",
handOffTime: {
hourOfDay: 15,
minuteOfHour: 57,
},
},
],
shiftCoverages: [{
mapBlockKey: "MON",
coverageTimes: [{
start: {
hourOfDay: 1,
minuteOfHour: 0,
},
end: {
hourOfDay: 23,
minuteOfHour: 0,
},
}],
}],
},
startTime: "2023-07-20T02:21:49+00:00",
timeZoneId: "Australia/Sydney",
tags: {
key1: "tag1",
key2: "tag2",
},
}, {
dependsOn: [exampleAwsSsmincidentsReplicationSet],
});
import pulumi
import pulumi_aws as aws
example = aws.ssm.ContactsRotation("example",
contact_ids=[example_aws_ssmcontacts_contact["arn"]],
name="rotation",
recurrence={
"number_of_on_calls": 1,
"recurrence_multiplier": 1,
"weekly_settings": [
{
"day_of_week": "WED",
"hand_off_time": {
"hour_of_day": 4,
"minute_of_hour": 25,
},
},
{
"day_of_week": "FRI",
"hand_off_time": {
"hour_of_day": 15,
"minute_of_hour": 57,
},
},
],
"shift_coverages": [{
"map_block_key": "MON",
"coverage_times": [{
"start": {
"hour_of_day": 1,
"minute_of_hour": 0,
},
"end": {
"hour_of_day": 23,
"minute_of_hour": 0,
},
}],
}],
},
start_time="2023-07-20T02:21:49+00:00",
time_zone_id="Australia/Sydney",
tags={
"key1": "tag1",
"key2": "tag2",
},
opts = pulumi.ResourceOptions(depends_on=[example_aws_ssmincidents_replication_set]))
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ssm.NewContactsRotation(ctx, "example", &ssm.ContactsRotationArgs{
ContactIds: pulumi.StringArray{
exampleAwsSsmcontactsContact.Arn,
},
Name: pulumi.String("rotation"),
Recurrence: &ssm.ContactsRotationRecurrenceArgs{
NumberOfOnCalls: pulumi.Int(1),
RecurrenceMultiplier: pulumi.Int(1),
WeeklySettings: ssm.ContactsRotationRecurrenceWeeklySettingArray{
&ssm.ContactsRotationRecurrenceWeeklySettingArgs{
DayOfWeek: pulumi.String("WED"),
HandOffTime: &ssm.ContactsRotationRecurrenceWeeklySettingHandOffTimeArgs{
HourOfDay: pulumi.Int(4),
MinuteOfHour: pulumi.Int(25),
},
},
&ssm.ContactsRotationRecurrenceWeeklySettingArgs{
DayOfWeek: pulumi.String("FRI"),
HandOffTime: &ssm.ContactsRotationRecurrenceWeeklySettingHandOffTimeArgs{
HourOfDay: pulumi.Int(15),
MinuteOfHour: pulumi.Int(57),
},
},
},
ShiftCoverages: ssm.ContactsRotationRecurrenceShiftCoverageArray{
&ssm.ContactsRotationRecurrenceShiftCoverageArgs{
MapBlockKey: pulumi.String("MON"),
CoverageTimes: ssm.ContactsRotationRecurrenceShiftCoverageCoverageTimeArray{
&ssm.ContactsRotationRecurrenceShiftCoverageCoverageTimeArgs{
Start: &ssm.ContactsRotationRecurrenceShiftCoverageCoverageTimeStartArgs{
HourOfDay: pulumi.Int(1),
MinuteOfHour: pulumi.Int(0),
},
End: &ssm.ContactsRotationRecurrenceShiftCoverageCoverageTimeEndArgs{
HourOfDay: pulumi.Int(23),
MinuteOfHour: pulumi.Int(0),
},
},
},
},
},
},
StartTime: pulumi.String("2023-07-20T02:21:49+00:00"),
TimeZoneId: pulumi.String("Australia/Sydney"),
Tags: pulumi.StringMap{
"key1": pulumi.String("tag1"),
"key2": pulumi.String("tag2"),
},
}, pulumi.DependsOn([]pulumi.Resource{
exampleAwsSsmincidentsReplicationSet,
}))
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Ssm.ContactsRotation("example", new()
{
ContactIds = new[]
{
exampleAwsSsmcontactsContact.Arn,
},
Name = "rotation",
Recurrence = new Aws.Ssm.Inputs.ContactsRotationRecurrenceArgs
{
NumberOfOnCalls = 1,
RecurrenceMultiplier = 1,
WeeklySettings = new[]
{
new Aws.Ssm.Inputs.ContactsRotationRecurrenceWeeklySettingArgs
{
DayOfWeek = "WED",
HandOffTime = new Aws.Ssm.Inputs.ContactsRotationRecurrenceWeeklySettingHandOffTimeArgs
{
HourOfDay = 4,
MinuteOfHour = 25,
},
},
new Aws.Ssm.Inputs.ContactsRotationRecurrenceWeeklySettingArgs
{
DayOfWeek = "FRI",
HandOffTime = new Aws.Ssm.Inputs.ContactsRotationRecurrenceWeeklySettingHandOffTimeArgs
{
HourOfDay = 15,
MinuteOfHour = 57,
},
},
},
ShiftCoverages = new[]
{
new Aws.Ssm.Inputs.ContactsRotationRecurrenceShiftCoverageArgs
{
MapBlockKey = "MON",
CoverageTimes = new[]
{
new Aws.Ssm.Inputs.ContactsRotationRecurrenceShiftCoverageCoverageTimeArgs
{
Start = new Aws.Ssm.Inputs.ContactsRotationRecurrenceShiftCoverageCoverageTimeStartArgs
{
HourOfDay = 1,
MinuteOfHour = 0,
},
End = new Aws.Ssm.Inputs.ContactsRotationRecurrenceShiftCoverageCoverageTimeEndArgs
{
HourOfDay = 23,
MinuteOfHour = 0,
},
},
},
},
},
},
StartTime = "2023-07-20T02:21:49+00:00",
TimeZoneId = "Australia/Sydney",
Tags =
{
{ "key1", "tag1" },
{ "key2", "tag2" },
},
}, new CustomResourceOptions
{
DependsOn =
{
exampleAwsSsmincidentsReplicationSet,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ssm.ContactsRotation;
import com.pulumi.aws.ssm.ContactsRotationArgs;
import com.pulumi.aws.ssm.inputs.ContactsRotationRecurrenceArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ContactsRotation("example", ContactsRotationArgs.builder()
.contactIds(exampleAwsSsmcontactsContact.arn())
.name("rotation")
.recurrence(ContactsRotationRecurrenceArgs.builder()
.numberOfOnCalls(1)
.recurrenceMultiplier(1)
.weeklySettings(
ContactsRotationRecurrenceWeeklySettingArgs.builder()
.dayOfWeek("WED")
.handOffTime(ContactsRotationRecurrenceWeeklySettingHandOffTimeArgs.builder()
.hourOfDay(4)
.minuteOfHour(25)
.build())
.build(),
ContactsRotationRecurrenceWeeklySettingArgs.builder()
.dayOfWeek("FRI")
.handOffTime(ContactsRotationRecurrenceWeeklySettingHandOffTimeArgs.builder()
.hourOfDay(15)
.minuteOfHour(57)
.build())
.build())
.shiftCoverages(ContactsRotationRecurrenceShiftCoverageArgs.builder()
.mapBlockKey("MON")
.coverageTimes(ContactsRotationRecurrenceShiftCoverageCoverageTimeArgs.builder()
.start(ContactsRotationRecurrenceShiftCoverageCoverageTimeStartArgs.builder()
.hourOfDay(1)
.minuteOfHour(0)
.build())
.end(ContactsRotationRecurrenceShiftCoverageCoverageTimeEndArgs.builder()
.hourOfDay(23)
.minuteOfHour(0)
.build())
.build())
.build())
.build())
.startTime("2023-07-20T02:21:49+00:00")
.timeZoneId("Australia/Sydney")
.tags(Map.ofEntries(
Map.entry("key1", "tag1"),
Map.entry("key2", "tag2")
))
.build(), CustomResourceOptions.builder()
.dependsOn(exampleAwsSsmincidentsReplicationSet)
.build());
}
}
resources:
example:
type: aws:ssm:ContactsRotation
properties:
contactIds:
- ${exampleAwsSsmcontactsContact.arn}
name: rotation
recurrence:
numberOfOnCalls: 1
recurrenceMultiplier: 1
weeklySettings:
- dayOfWeek: WED
handOffTime:
hourOfDay: 4
minuteOfHour: 25
- dayOfWeek: FRI
handOffTime:
hourOfDay: 15
minuteOfHour: 57
shiftCoverages:
- mapBlockKey: MON
coverageTimes:
- start:
hourOfDay: 1
minuteOfHour: 0
end:
hourOfDay: 23
minuteOfHour: 0
startTime: 2023-07-20T02:21:49+00:00
timeZoneId: Australia/Sydney
tags:
key1: tag1
key2: tag2
options:
dependson:
- ${exampleAwsSsmincidentsReplicationSet}
Usage with Monthly Settings Fields
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.ssm.ContactsRotation("example", {
contactIds: [exampleAwsSsmcontactsContact.arn],
name: "rotation",
recurrence: {
numberOfOnCalls: 1,
recurrenceMultiplier: 1,
monthlySettings: [
{
dayOfMonth: 20,
handOffTime: {
hourOfDay: 8,
minuteOfHour: 0,
},
},
{
dayOfMonth: 13,
handOffTime: {
hourOfDay: 12,
minuteOfHour: 34,
},
},
],
},
timeZoneId: "Australia/Sydney",
}, {
dependsOn: [exampleAwsSsmincidentsReplicationSet],
});
import pulumi
import pulumi_aws as aws
example = aws.ssm.ContactsRotation("example",
contact_ids=[example_aws_ssmcontacts_contact["arn"]],
name="rotation",
recurrence={
"number_of_on_calls": 1,
"recurrence_multiplier": 1,
"monthly_settings": [
{
"day_of_month": 20,
"hand_off_time": {
"hour_of_day": 8,
"minute_of_hour": 0,
},
},
{
"day_of_month": 13,
"hand_off_time": {
"hour_of_day": 12,
"minute_of_hour": 34,
},
},
],
},
time_zone_id="Australia/Sydney",
opts = pulumi.ResourceOptions(depends_on=[example_aws_ssmincidents_replication_set]))
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ssm.NewContactsRotation(ctx, "example", &ssm.ContactsRotationArgs{
ContactIds: pulumi.StringArray{
exampleAwsSsmcontactsContact.Arn,
},
Name: pulumi.String("rotation"),
Recurrence: &ssm.ContactsRotationRecurrenceArgs{
NumberOfOnCalls: pulumi.Int(1),
RecurrenceMultiplier: pulumi.Int(1),
MonthlySettings: ssm.ContactsRotationRecurrenceMonthlySettingArray{
&ssm.ContactsRotationRecurrenceMonthlySettingArgs{
DayOfMonth: pulumi.Int(20),
HandOffTime: &ssm.ContactsRotationRecurrenceMonthlySettingHandOffTimeArgs{
HourOfDay: pulumi.Int(8),
MinuteOfHour: pulumi.Int(0),
},
},
&ssm.ContactsRotationRecurrenceMonthlySettingArgs{
DayOfMonth: pulumi.Int(13),
HandOffTime: &ssm.ContactsRotationRecurrenceMonthlySettingHandOffTimeArgs{
HourOfDay: pulumi.Int(12),
MinuteOfHour: pulumi.Int(34),
},
},
},
},
TimeZoneId: pulumi.String("Australia/Sydney"),
}, pulumi.DependsOn([]pulumi.Resource{
exampleAwsSsmincidentsReplicationSet,
}))
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Ssm.ContactsRotation("example", new()
{
ContactIds = new[]
{
exampleAwsSsmcontactsContact.Arn,
},
Name = "rotation",
Recurrence = new Aws.Ssm.Inputs.ContactsRotationRecurrenceArgs
{
NumberOfOnCalls = 1,
RecurrenceMultiplier = 1,
MonthlySettings = new[]
{
new Aws.Ssm.Inputs.ContactsRotationRecurrenceMonthlySettingArgs
{
DayOfMonth = 20,
HandOffTime = new Aws.Ssm.Inputs.ContactsRotationRecurrenceMonthlySettingHandOffTimeArgs
{
HourOfDay = 8,
MinuteOfHour = 0,
},
},
new Aws.Ssm.Inputs.ContactsRotationRecurrenceMonthlySettingArgs
{
DayOfMonth = 13,
HandOffTime = new Aws.Ssm.Inputs.ContactsRotationRecurrenceMonthlySettingHandOffTimeArgs
{
HourOfDay = 12,
MinuteOfHour = 34,
},
},
},
},
TimeZoneId = "Australia/Sydney",
}, new CustomResourceOptions
{
DependsOn =
{
exampleAwsSsmincidentsReplicationSet,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ssm.ContactsRotation;
import com.pulumi.aws.ssm.ContactsRotationArgs;
import com.pulumi.aws.ssm.inputs.ContactsRotationRecurrenceArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ContactsRotation("example", ContactsRotationArgs.builder()
.contactIds(exampleAwsSsmcontactsContact.arn())
.name("rotation")
.recurrence(ContactsRotationRecurrenceArgs.builder()
.numberOfOnCalls(1)
.recurrenceMultiplier(1)
.monthlySettings(
ContactsRotationRecurrenceMonthlySettingArgs.builder()
.dayOfMonth(20)
.handOffTime(ContactsRotationRecurrenceMonthlySettingHandOffTimeArgs.builder()
.hourOfDay(8)
.minuteOfHour(0)
.build())
.build(),
ContactsRotationRecurrenceMonthlySettingArgs.builder()
.dayOfMonth(13)
.handOffTime(ContactsRotationRecurrenceMonthlySettingHandOffTimeArgs.builder()
.hourOfDay(12)
.minuteOfHour(34)
.build())
.build())
.build())
.timeZoneId("Australia/Sydney")
.build(), CustomResourceOptions.builder()
.dependsOn(exampleAwsSsmincidentsReplicationSet)
.build());
}
}
resources:
example:
type: aws:ssm:ContactsRotation
properties:
contactIds:
- ${exampleAwsSsmcontactsContact.arn}
name: rotation
recurrence:
numberOfOnCalls: 1
recurrenceMultiplier: 1
monthlySettings:
- dayOfMonth: 20
handOffTime:
hourOfDay: 8
minuteOfHour: 0
- dayOfMonth: 13
handOffTime:
hourOfDay: 12
minuteOfHour: 34
timeZoneId: Australia/Sydney
options:
dependson:
- ${exampleAwsSsmincidentsReplicationSet}
Create ContactsRotation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ContactsRotation(name: string, args: ContactsRotationArgs, opts?: CustomResourceOptions);
@overload
def ContactsRotation(resource_name: str,
args: ContactsRotationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ContactsRotation(resource_name: str,
opts: Optional[ResourceOptions] = None,
contact_ids: Optional[Sequence[str]] = None,
time_zone_id: Optional[str] = None,
name: Optional[str] = None,
recurrence: Optional[ContactsRotationRecurrenceArgs] = None,
start_time: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewContactsRotation(ctx *Context, name string, args ContactsRotationArgs, opts ...ResourceOption) (*ContactsRotation, error)
public ContactsRotation(string name, ContactsRotationArgs args, CustomResourceOptions? opts = null)
public ContactsRotation(String name, ContactsRotationArgs args)
public ContactsRotation(String name, ContactsRotationArgs args, CustomResourceOptions options)
type: aws:ssm:ContactsRotation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ContactsRotationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ContactsRotationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ContactsRotationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ContactsRotationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ContactsRotationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var contactsRotationResource = new Aws.Ssm.ContactsRotation("contactsRotationResource", new()
{
ContactIds = new[]
{
"string",
},
TimeZoneId = "string",
Name = "string",
Recurrence = new Aws.Ssm.Inputs.ContactsRotationRecurrenceArgs
{
NumberOfOnCalls = 0,
RecurrenceMultiplier = 0,
DailySettings = new[]
{
new Aws.Ssm.Inputs.ContactsRotationRecurrenceDailySettingArgs
{
HourOfDay = 0,
MinuteOfHour = 0,
},
},
MonthlySettings = new[]
{
new Aws.Ssm.Inputs.ContactsRotationRecurrenceMonthlySettingArgs
{
DayOfMonth = 0,
HandOffTime = new Aws.Ssm.Inputs.ContactsRotationRecurrenceMonthlySettingHandOffTimeArgs
{
HourOfDay = 0,
MinuteOfHour = 0,
},
},
},
ShiftCoverages = new[]
{
new Aws.Ssm.Inputs.ContactsRotationRecurrenceShiftCoverageArgs
{
MapBlockKey = "string",
CoverageTimes = new[]
{
new Aws.Ssm.Inputs.ContactsRotationRecurrenceShiftCoverageCoverageTimeArgs
{
End = new Aws.Ssm.Inputs.ContactsRotationRecurrenceShiftCoverageCoverageTimeEndArgs
{
HourOfDay = 0,
MinuteOfHour = 0,
},
Start = new Aws.Ssm.Inputs.ContactsRotationRecurrenceShiftCoverageCoverageTimeStartArgs
{
HourOfDay = 0,
MinuteOfHour = 0,
},
},
},
},
},
WeeklySettings = new[]
{
new Aws.Ssm.Inputs.ContactsRotationRecurrenceWeeklySettingArgs
{
DayOfWeek = "string",
HandOffTime = new Aws.Ssm.Inputs.ContactsRotationRecurrenceWeeklySettingHandOffTimeArgs
{
HourOfDay = 0,
MinuteOfHour = 0,
},
},
},
},
StartTime = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := ssm.NewContactsRotation(ctx, "contactsRotationResource", &ssm.ContactsRotationArgs{
ContactIds: pulumi.StringArray{
pulumi.String("string"),
},
TimeZoneId: pulumi.String("string"),
Name: pulumi.String("string"),
Recurrence: &ssm.ContactsRotationRecurrenceArgs{
NumberOfOnCalls: pulumi.Int(0),
RecurrenceMultiplier: pulumi.Int(0),
DailySettings: ssm.ContactsRotationRecurrenceDailySettingArray{
&ssm.ContactsRotationRecurrenceDailySettingArgs{
HourOfDay: pulumi.Int(0),
MinuteOfHour: pulumi.Int(0),
},
},
MonthlySettings: ssm.ContactsRotationRecurrenceMonthlySettingArray{
&ssm.ContactsRotationRecurrenceMonthlySettingArgs{
DayOfMonth: pulumi.Int(0),
HandOffTime: &ssm.ContactsRotationRecurrenceMonthlySettingHandOffTimeArgs{
HourOfDay: pulumi.Int(0),
MinuteOfHour: pulumi.Int(0),
},
},
},
ShiftCoverages: ssm.ContactsRotationRecurrenceShiftCoverageArray{
&ssm.ContactsRotationRecurrenceShiftCoverageArgs{
MapBlockKey: pulumi.String("string"),
CoverageTimes: ssm.ContactsRotationRecurrenceShiftCoverageCoverageTimeArray{
&ssm.ContactsRotationRecurrenceShiftCoverageCoverageTimeArgs{
End: &ssm.ContactsRotationRecurrenceShiftCoverageCoverageTimeEndArgs{
HourOfDay: pulumi.Int(0),
MinuteOfHour: pulumi.Int(0),
},
Start: &ssm.ContactsRotationRecurrenceShiftCoverageCoverageTimeStartArgs{
HourOfDay: pulumi.Int(0),
MinuteOfHour: pulumi.Int(0),
},
},
},
},
},
WeeklySettings: ssm.ContactsRotationRecurrenceWeeklySettingArray{
&ssm.ContactsRotationRecurrenceWeeklySettingArgs{
DayOfWeek: pulumi.String("string"),
HandOffTime: &ssm.ContactsRotationRecurrenceWeeklySettingHandOffTimeArgs{
HourOfDay: pulumi.Int(0),
MinuteOfHour: pulumi.Int(0),
},
},
},
},
StartTime: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var contactsRotationResource = new ContactsRotation("contactsRotationResource", ContactsRotationArgs.builder()
.contactIds("string")
.timeZoneId("string")
.name("string")
.recurrence(ContactsRotationRecurrenceArgs.builder()
.numberOfOnCalls(0)
.recurrenceMultiplier(0)
.dailySettings(ContactsRotationRecurrenceDailySettingArgs.builder()
.hourOfDay(0)
.minuteOfHour(0)
.build())
.monthlySettings(ContactsRotationRecurrenceMonthlySettingArgs.builder()
.dayOfMonth(0)
.handOffTime(ContactsRotationRecurrenceMonthlySettingHandOffTimeArgs.builder()
.hourOfDay(0)
.minuteOfHour(0)
.build())
.build())
.shiftCoverages(ContactsRotationRecurrenceShiftCoverageArgs.builder()
.mapBlockKey("string")
.coverageTimes(ContactsRotationRecurrenceShiftCoverageCoverageTimeArgs.builder()
.end(ContactsRotationRecurrenceShiftCoverageCoverageTimeEndArgs.builder()
.hourOfDay(0)
.minuteOfHour(0)
.build())
.start(ContactsRotationRecurrenceShiftCoverageCoverageTimeStartArgs.builder()
.hourOfDay(0)
.minuteOfHour(0)
.build())
.build())
.build())
.weeklySettings(ContactsRotationRecurrenceWeeklySettingArgs.builder()
.dayOfWeek("string")
.handOffTime(ContactsRotationRecurrenceWeeklySettingHandOffTimeArgs.builder()
.hourOfDay(0)
.minuteOfHour(0)
.build())
.build())
.build())
.startTime("string")
.tags(Map.of("string", "string"))
.build());
contacts_rotation_resource = aws.ssm.ContactsRotation("contactsRotationResource",
contact_ids=["string"],
time_zone_id="string",
name="string",
recurrence={
"number_of_on_calls": 0,
"recurrence_multiplier": 0,
"daily_settings": [{
"hour_of_day": 0,
"minute_of_hour": 0,
}],
"monthly_settings": [{
"day_of_month": 0,
"hand_off_time": {
"hour_of_day": 0,
"minute_of_hour": 0,
},
}],
"shift_coverages": [{
"map_block_key": "string",
"coverage_times": [{
"end": {
"hour_of_day": 0,
"minute_of_hour": 0,
},
"start": {
"hour_of_day": 0,
"minute_of_hour": 0,
},
}],
}],
"weekly_settings": [{
"day_of_week": "string",
"hand_off_time": {
"hour_of_day": 0,
"minute_of_hour": 0,
},
}],
},
start_time="string",
tags={
"string": "string",
})
const contactsRotationResource = new aws.ssm.ContactsRotation("contactsRotationResource", {
contactIds: ["string"],
timeZoneId: "string",
name: "string",
recurrence: {
numberOfOnCalls: 0,
recurrenceMultiplier: 0,
dailySettings: [{
hourOfDay: 0,
minuteOfHour: 0,
}],
monthlySettings: [{
dayOfMonth: 0,
handOffTime: {
hourOfDay: 0,
minuteOfHour: 0,
},
}],
shiftCoverages: [{
mapBlockKey: "string",
coverageTimes: [{
end: {
hourOfDay: 0,
minuteOfHour: 0,
},
start: {
hourOfDay: 0,
minuteOfHour: 0,
},
}],
}],
weeklySettings: [{
dayOfWeek: "string",
handOffTime: {
hourOfDay: 0,
minuteOfHour: 0,
},
}],
},
startTime: "string",
tags: {
string: "string",
},
});
type: aws:ssm:ContactsRotation
properties:
contactIds:
- string
name: string
recurrence:
dailySettings:
- hourOfDay: 0
minuteOfHour: 0
monthlySettings:
- dayOfMonth: 0
handOffTime:
hourOfDay: 0
minuteOfHour: 0
numberOfOnCalls: 0
recurrenceMultiplier: 0
shiftCoverages:
- coverageTimes:
- end:
hourOfDay: 0
minuteOfHour: 0
start:
hourOfDay: 0
minuteOfHour: 0
mapBlockKey: string
weeklySettings:
- dayOfWeek: string
handOffTime:
hourOfDay: 0
minuteOfHour: 0
startTime: string
tags:
string: string
timeZoneId: string
ContactsRotation Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ContactsRotation resource accepts the following input properties:
- Contact
Ids List<string> - Amazon Resource Names (ARNs) of the contacts to add to the rotation. The order in which you list the contacts is their shift order in the rotation schedule.
- Time
Zone stringId - The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format.
- Name string
- The name for the rotation.
- Recurrence
Contacts
Rotation Recurrence Information about when an on-call rotation is in effect and how long the rotation period lasts. Exactly one of either
daily_settings
,monthly_settings
, orweekly_settings
must be populated. See Recurrence for more details.The following arguments are optional:
- Start
Time string - The date and time, in RFC 3339 format, that the rotation goes into effect.
- Dictionary<string, string>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- Contact
Ids []string - Amazon Resource Names (ARNs) of the contacts to add to the rotation. The order in which you list the contacts is their shift order in the rotation schedule.
- Time
Zone stringId - The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format.
- Name string
- The name for the rotation.
- Recurrence
Contacts
Rotation Recurrence Args Information about when an on-call rotation is in effect and how long the rotation period lasts. Exactly one of either
daily_settings
,monthly_settings
, orweekly_settings
must be populated. See Recurrence for more details.The following arguments are optional:
- Start
Time string - The date and time, in RFC 3339 format, that the rotation goes into effect.
- map[string]string
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- contact
Ids List<String> - Amazon Resource Names (ARNs) of the contacts to add to the rotation. The order in which you list the contacts is their shift order in the rotation schedule.
- time
Zone StringId - The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format.
- name String
- The name for the rotation.
- recurrence
Contacts
Rotation Recurrence Information about when an on-call rotation is in effect and how long the rotation period lasts. Exactly one of either
daily_settings
,monthly_settings
, orweekly_settings
must be populated. See Recurrence for more details.The following arguments are optional:
- start
Time String - The date and time, in RFC 3339 format, that the rotation goes into effect.
- Map<String,String>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- contact
Ids string[] - Amazon Resource Names (ARNs) of the contacts to add to the rotation. The order in which you list the contacts is their shift order in the rotation schedule.
- time
Zone stringId - The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format.
- name string
- The name for the rotation.
- recurrence
Contacts
Rotation Recurrence Information about when an on-call rotation is in effect and how long the rotation period lasts. Exactly one of either
daily_settings
,monthly_settings
, orweekly_settings
must be populated. See Recurrence for more details.The following arguments are optional:
- start
Time string - The date and time, in RFC 3339 format, that the rotation goes into effect.
- {[key: string]: string}
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- contact_
ids Sequence[str] - Amazon Resource Names (ARNs) of the contacts to add to the rotation. The order in which you list the contacts is their shift order in the rotation schedule.
- time_
zone_ strid - The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format.
- name str
- The name for the rotation.
- recurrence
Contacts
Rotation Recurrence Args Information about when an on-call rotation is in effect and how long the rotation period lasts. Exactly one of either
daily_settings
,monthly_settings
, orweekly_settings
must be populated. See Recurrence for more details.The following arguments are optional:
- start_
time str - The date and time, in RFC 3339 format, that the rotation goes into effect.
- Mapping[str, str]
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- contact
Ids List<String> - Amazon Resource Names (ARNs) of the contacts to add to the rotation. The order in which you list the contacts is their shift order in the rotation schedule.
- time
Zone StringId - The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format.
- name String
- The name for the rotation.
- recurrence Property Map
Information about when an on-call rotation is in effect and how long the rotation period lasts. Exactly one of either
daily_settings
,monthly_settings
, orweekly_settings
must be populated. See Recurrence for more details.The following arguments are optional:
- start
Time String - The date and time, in RFC 3339 format, that the rotation goes into effect.
- Map<String>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Outputs
All input properties are implicitly available as output properties. Additionally, the ContactsRotation resource produces the following output properties:
Look up Existing ContactsRotation Resource
Get an existing ContactsRotation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ContactsRotationState, opts?: CustomResourceOptions): ContactsRotation
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
contact_ids: Optional[Sequence[str]] = None,
name: Optional[str] = None,
recurrence: Optional[ContactsRotationRecurrenceArgs] = None,
start_time: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
time_zone_id: Optional[str] = None) -> ContactsRotation
func GetContactsRotation(ctx *Context, name string, id IDInput, state *ContactsRotationState, opts ...ResourceOption) (*ContactsRotation, error)
public static ContactsRotation Get(string name, Input<string> id, ContactsRotationState? state, CustomResourceOptions? opts = null)
public static ContactsRotation get(String name, Output<String> id, ContactsRotationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- The Amazon Resource Name (ARN) of the rotation.
- Contact
Ids List<string> - Amazon Resource Names (ARNs) of the contacts to add to the rotation. The order in which you list the contacts is their shift order in the rotation schedule.
- Name string
- The name for the rotation.
- Recurrence
Contacts
Rotation Recurrence Information about when an on-call rotation is in effect and how long the rotation period lasts. Exactly one of either
daily_settings
,monthly_settings
, orweekly_settings
must be populated. See Recurrence for more details.The following arguments are optional:
- Start
Time string - The date and time, in RFC 3339 format, that the rotation goes into effect.
- Dictionary<string, string>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Time
Zone stringId - The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format.
- Arn string
- The Amazon Resource Name (ARN) of the rotation.
- Contact
Ids []string - Amazon Resource Names (ARNs) of the contacts to add to the rotation. The order in which you list the contacts is their shift order in the rotation schedule.
- Name string
- The name for the rotation.
- Recurrence
Contacts
Rotation Recurrence Args Information about when an on-call rotation is in effect and how long the rotation period lasts. Exactly one of either
daily_settings
,monthly_settings
, orweekly_settings
must be populated. See Recurrence for more details.The following arguments are optional:
- Start
Time string - The date and time, in RFC 3339 format, that the rotation goes into effect.
- map[string]string
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Time
Zone stringId - The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format.
- arn String
- The Amazon Resource Name (ARN) of the rotation.
- contact
Ids List<String> - Amazon Resource Names (ARNs) of the contacts to add to the rotation. The order in which you list the contacts is their shift order in the rotation schedule.
- name String
- The name for the rotation.
- recurrence
Contacts
Rotation Recurrence Information about when an on-call rotation is in effect and how long the rotation period lasts. Exactly one of either
daily_settings
,monthly_settings
, orweekly_settings
must be populated. See Recurrence for more details.The following arguments are optional:
- start
Time String - The date and time, in RFC 3339 format, that the rotation goes into effect.
- Map<String,String>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - time
Zone StringId - The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format.
- arn string
- The Amazon Resource Name (ARN) of the rotation.
- contact
Ids string[] - Amazon Resource Names (ARNs) of the contacts to add to the rotation. The order in which you list the contacts is their shift order in the rotation schedule.
- name string
- The name for the rotation.
- recurrence
Contacts
Rotation Recurrence Information about when an on-call rotation is in effect and how long the rotation period lasts. Exactly one of either
daily_settings
,monthly_settings
, orweekly_settings
must be populated. See Recurrence for more details.The following arguments are optional:
- start
Time string - The date and time, in RFC 3339 format, that the rotation goes into effect.
- {[key: string]: string}
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - time
Zone stringId - The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format.
- arn str
- The Amazon Resource Name (ARN) of the rotation.
- contact_
ids Sequence[str] - Amazon Resource Names (ARNs) of the contacts to add to the rotation. The order in which you list the contacts is their shift order in the rotation schedule.
- name str
- The name for the rotation.
- recurrence
Contacts
Rotation Recurrence Args Information about when an on-call rotation is in effect and how long the rotation period lasts. Exactly one of either
daily_settings
,monthly_settings
, orweekly_settings
must be populated. See Recurrence for more details.The following arguments are optional:
- start_
time str - The date and time, in RFC 3339 format, that the rotation goes into effect.
- Mapping[str, str]
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - time_
zone_ strid - The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format.
- arn String
- The Amazon Resource Name (ARN) of the rotation.
- contact
Ids List<String> - Amazon Resource Names (ARNs) of the contacts to add to the rotation. The order in which you list the contacts is their shift order in the rotation schedule.
- name String
- The name for the rotation.
- recurrence Property Map
Information about when an on-call rotation is in effect and how long the rotation period lasts. Exactly one of either
daily_settings
,monthly_settings
, orweekly_settings
must be populated. See Recurrence for more details.The following arguments are optional:
- start
Time String - The date and time, in RFC 3339 format, that the rotation goes into effect.
- Map<String>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - time
Zone StringId - The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format.
Supporting Types
ContactsRotationRecurrence, ContactsRotationRecurrenceArgs
- Number
Of intOn Calls - (Required) The number of contacts, or shift team members designated to be on call concurrently during a shift.
- Recurrence
Multiplier int - (Required) The number of days, weeks, or months a single rotation lasts.
- Daily
Settings List<ContactsRotation Recurrence Daily Setting> - Monthly
Settings List<ContactsRotation Recurrence Monthly Setting> - (Optional) Information about on-call rotations that recur monthly. See Monthly Settings for more details.
- Shift
Coverages List<ContactsRotation Recurrence Shift Coverage> - (Optional) Information about the days of the week that the on-call rotation coverage includes. See Shift Coverages for more details.
- Weekly
Settings List<ContactsRotation Recurrence Weekly Setting> - (Optional) Information about on-call rotations that recur weekly. See Weekly Settings for more details.
- Number
Of intOn Calls - (Required) The number of contacts, or shift team members designated to be on call concurrently during a shift.
- Recurrence
Multiplier int - (Required) The number of days, weeks, or months a single rotation lasts.
- Daily
Settings []ContactsRotation Recurrence Daily Setting - Monthly
Settings []ContactsRotation Recurrence Monthly Setting - (Optional) Information about on-call rotations that recur monthly. See Monthly Settings for more details.
- Shift
Coverages []ContactsRotation Recurrence Shift Coverage - (Optional) Information about the days of the week that the on-call rotation coverage includes. See Shift Coverages for more details.
- Weekly
Settings []ContactsRotation Recurrence Weekly Setting - (Optional) Information about on-call rotations that recur weekly. See Weekly Settings for more details.
- number
Of IntegerOn Calls - (Required) The number of contacts, or shift team members designated to be on call concurrently during a shift.
- recurrence
Multiplier Integer - (Required) The number of days, weeks, or months a single rotation lasts.
- daily
Settings List<ContactsRotation Recurrence Daily Setting> - monthly
Settings List<ContactsRotation Recurrence Monthly Setting> - (Optional) Information about on-call rotations that recur monthly. See Monthly Settings for more details.
- shift
Coverages List<ContactsRotation Recurrence Shift Coverage> - (Optional) Information about the days of the week that the on-call rotation coverage includes. See Shift Coverages for more details.
- weekly
Settings List<ContactsRotation Recurrence Weekly Setting> - (Optional) Information about on-call rotations that recur weekly. See Weekly Settings for more details.
- number
Of numberOn Calls - (Required) The number of contacts, or shift team members designated to be on call concurrently during a shift.
- recurrence
Multiplier number - (Required) The number of days, weeks, or months a single rotation lasts.
- daily
Settings ContactsRotation Recurrence Daily Setting[] - monthly
Settings ContactsRotation Recurrence Monthly Setting[] - (Optional) Information about on-call rotations that recur monthly. See Monthly Settings for more details.
- shift
Coverages ContactsRotation Recurrence Shift Coverage[] - (Optional) Information about the days of the week that the on-call rotation coverage includes. See Shift Coverages for more details.
- weekly
Settings ContactsRotation Recurrence Weekly Setting[] - (Optional) Information about on-call rotations that recur weekly. See Weekly Settings for more details.
- number_
of_ inton_ calls - (Required) The number of contacts, or shift team members designated to be on call concurrently during a shift.
- recurrence_
multiplier int - (Required) The number of days, weeks, or months a single rotation lasts.
- daily_
settings Sequence[ContactsRotation Recurrence Daily Setting] - monthly_
settings Sequence[ContactsRotation Recurrence Monthly Setting] - (Optional) Information about on-call rotations that recur monthly. See Monthly Settings for more details.
- shift_
coverages Sequence[ContactsRotation Recurrence Shift Coverage] - (Optional) Information about the days of the week that the on-call rotation coverage includes. See Shift Coverages for more details.
- weekly_
settings Sequence[ContactsRotation Recurrence Weekly Setting] - (Optional) Information about on-call rotations that recur weekly. See Weekly Settings for more details.
- number
Of NumberOn Calls - (Required) The number of contacts, or shift team members designated to be on call concurrently during a shift.
- recurrence
Multiplier Number - (Required) The number of days, weeks, or months a single rotation lasts.
- daily
Settings List<Property Map> - monthly
Settings List<Property Map> - (Optional) Information about on-call rotations that recur monthly. See Monthly Settings for more details.
- shift
Coverages List<Property Map> - (Optional) Information about the days of the week that the on-call rotation coverage includes. See Shift Coverages for more details.
- weekly
Settings List<Property Map> - (Optional) Information about on-call rotations that recur weekly. See Weekly Settings for more details.
ContactsRotationRecurrenceDailySetting, ContactsRotationRecurrenceDailySettingArgs
- Hour
Of intDay - (Required) The hour of the day.
- Minute
Of intHour - (Required) The minutes of the hour.
- Hour
Of intDay - (Required) The hour of the day.
- Minute
Of intHour - (Required) The minutes of the hour.
- hour
Of IntegerDay - (Required) The hour of the day.
- minute
Of IntegerHour - (Required) The minutes of the hour.
- hour
Of numberDay - (Required) The hour of the day.
- minute
Of numberHour - (Required) The minutes of the hour.
- hour_
of_ intday - (Required) The hour of the day.
- minute_
of_ inthour - (Required) The minutes of the hour.
- hour
Of NumberDay - (Required) The hour of the day.
- minute
Of NumberHour - (Required) The minutes of the hour.
ContactsRotationRecurrenceMonthlySetting, ContactsRotationRecurrenceMonthlySettingArgs
- Day
Of intMonth - (Required) The day of the month when monthly recurring on-call rotations begin.
- Hand
Off ContactsTime Rotation Recurrence Monthly Setting Hand Off Time - (Required) The hand off time. See Hand Off Time for more details.
- Day
Of intMonth - (Required) The day of the month when monthly recurring on-call rotations begin.
- Hand
Off ContactsTime Rotation Recurrence Monthly Setting Hand Off Time - (Required) The hand off time. See Hand Off Time for more details.
- day
Of IntegerMonth - (Required) The day of the month when monthly recurring on-call rotations begin.
- hand
Off ContactsTime Rotation Recurrence Monthly Setting Hand Off Time - (Required) The hand off time. See Hand Off Time for more details.
- day
Of numberMonth - (Required) The day of the month when monthly recurring on-call rotations begin.
- hand
Off ContactsTime Rotation Recurrence Monthly Setting Hand Off Time - (Required) The hand off time. See Hand Off Time for more details.
- day_
of_ intmonth - (Required) The day of the month when monthly recurring on-call rotations begin.
- hand_
off_ Contactstime Rotation Recurrence Monthly Setting Hand Off Time - (Required) The hand off time. See Hand Off Time for more details.
- day
Of NumberMonth - (Required) The day of the month when monthly recurring on-call rotations begin.
- hand
Off Property MapTime - (Required) The hand off time. See Hand Off Time for more details.
ContactsRotationRecurrenceMonthlySettingHandOffTime, ContactsRotationRecurrenceMonthlySettingHandOffTimeArgs
- Hour
Of intDay - (Required) The hour of the day.
- Minute
Of intHour - (Required) The minutes of the hour.
- Hour
Of intDay - (Required) The hour of the day.
- Minute
Of intHour - (Required) The minutes of the hour.
- hour
Of IntegerDay - (Required) The hour of the day.
- minute
Of IntegerHour - (Required) The minutes of the hour.
- hour
Of numberDay - (Required) The hour of the day.
- minute
Of numberHour - (Required) The minutes of the hour.
- hour_
of_ intday - (Required) The hour of the day.
- minute_
of_ inthour - (Required) The minutes of the hour.
- hour
Of NumberDay - (Required) The hour of the day.
- minute
Of NumberHour - (Required) The minutes of the hour.
ContactsRotationRecurrenceShiftCoverage, ContactsRotationRecurrenceShiftCoverageArgs
- Map
Block stringKey - Coverage
Times List<ContactsRotation Recurrence Shift Coverage Coverage Time> - (Required) Information about when an on-call shift begins and ends. See Coverage Times for more details.
- Map
Block stringKey - Coverage
Times []ContactsRotation Recurrence Shift Coverage Coverage Time - (Required) Information about when an on-call shift begins and ends. See Coverage Times for more details.
- map
Block StringKey - coverage
Times List<ContactsRotation Recurrence Shift Coverage Coverage Time> - (Required) Information about when an on-call shift begins and ends. See Coverage Times for more details.
- map
Block stringKey - coverage
Times ContactsRotation Recurrence Shift Coverage Coverage Time[] - (Required) Information about when an on-call shift begins and ends. See Coverage Times for more details.
- map_
block_ strkey - coverage_
times Sequence[ContactsRotation Recurrence Shift Coverage Coverage Time] - (Required) Information about when an on-call shift begins and ends. See Coverage Times for more details.
- map
Block StringKey - coverage
Times List<Property Map> - (Required) Information about when an on-call shift begins and ends. See Coverage Times for more details.
ContactsRotationRecurrenceShiftCoverageCoverageTime, ContactsRotationRecurrenceShiftCoverageCoverageTimeArgs
- End
Contacts
Rotation Recurrence Shift Coverage Coverage Time End - (Required) The end time of the on-call shift. See Hand Off Time for more details.
- Start
Contacts
Rotation Recurrence Shift Coverage Coverage Time Start - (Required) The start time of the on-call shift. See Hand Off Time for more details.
- End
Contacts
Rotation Recurrence Shift Coverage Coverage Time End - (Required) The end time of the on-call shift. See Hand Off Time for more details.
- Start
Contacts
Rotation Recurrence Shift Coverage Coverage Time Start - (Required) The start time of the on-call shift. See Hand Off Time for more details.
- end
Contacts
Rotation Recurrence Shift Coverage Coverage Time End - (Required) The end time of the on-call shift. See Hand Off Time for more details.
- start
Contacts
Rotation Recurrence Shift Coverage Coverage Time Start - (Required) The start time of the on-call shift. See Hand Off Time for more details.
- end
Contacts
Rotation Recurrence Shift Coverage Coverage Time End - (Required) The end time of the on-call shift. See Hand Off Time for more details.
- start
Contacts
Rotation Recurrence Shift Coverage Coverage Time Start - (Required) The start time of the on-call shift. See Hand Off Time for more details.
- end
Contacts
Rotation Recurrence Shift Coverage Coverage Time End - (Required) The end time of the on-call shift. See Hand Off Time for more details.
- start
Contacts
Rotation Recurrence Shift Coverage Coverage Time Start - (Required) The start time of the on-call shift. See Hand Off Time for more details.
- end Property Map
- (Required) The end time of the on-call shift. See Hand Off Time for more details.
- start Property Map
- (Required) The start time of the on-call shift. See Hand Off Time for more details.
ContactsRotationRecurrenceShiftCoverageCoverageTimeEnd, ContactsRotationRecurrenceShiftCoverageCoverageTimeEndArgs
- Hour
Of intDay - (Required) The hour of the day.
- Minute
Of intHour - (Required) The minutes of the hour.
- Hour
Of intDay - (Required) The hour of the day.
- Minute
Of intHour - (Required) The minutes of the hour.
- hour
Of IntegerDay - (Required) The hour of the day.
- minute
Of IntegerHour - (Required) The minutes of the hour.
- hour
Of numberDay - (Required) The hour of the day.
- minute
Of numberHour - (Required) The minutes of the hour.
- hour_
of_ intday - (Required) The hour of the day.
- minute_
of_ inthour - (Required) The minutes of the hour.
- hour
Of NumberDay - (Required) The hour of the day.
- minute
Of NumberHour - (Required) The minutes of the hour.
ContactsRotationRecurrenceShiftCoverageCoverageTimeStart, ContactsRotationRecurrenceShiftCoverageCoverageTimeStartArgs
- Hour
Of intDay - (Required) The hour of the day.
- Minute
Of intHour - (Required) The minutes of the hour.
- Hour
Of intDay - (Required) The hour of the day.
- Minute
Of intHour - (Required) The minutes of the hour.
- hour
Of IntegerDay - (Required) The hour of the day.
- minute
Of IntegerHour - (Required) The minutes of the hour.
- hour
Of numberDay - (Required) The hour of the day.
- minute
Of numberHour - (Required) The minutes of the hour.
- hour_
of_ intday - (Required) The hour of the day.
- minute_
of_ inthour - (Required) The minutes of the hour.
- hour
Of NumberDay - (Required) The hour of the day.
- minute
Of NumberHour - (Required) The minutes of the hour.
ContactsRotationRecurrenceWeeklySetting, ContactsRotationRecurrenceWeeklySettingArgs
- Day
Of stringWeek - (Required) The day of the week when the shift coverage occurs.
- Hand
Off ContactsTime Rotation Recurrence Weekly Setting Hand Off Time - (Required) The hand off time. See Hand Off Time for more details.
- Day
Of stringWeek - (Required) The day of the week when the shift coverage occurs.
- Hand
Off ContactsTime Rotation Recurrence Weekly Setting Hand Off Time - (Required) The hand off time. See Hand Off Time for more details.
- day
Of StringWeek - (Required) The day of the week when the shift coverage occurs.
- hand
Off ContactsTime Rotation Recurrence Weekly Setting Hand Off Time - (Required) The hand off time. See Hand Off Time for more details.
- day
Of stringWeek - (Required) The day of the week when the shift coverage occurs.
- hand
Off ContactsTime Rotation Recurrence Weekly Setting Hand Off Time - (Required) The hand off time. See Hand Off Time for more details.
- day_
of_ strweek - (Required) The day of the week when the shift coverage occurs.
- hand_
off_ Contactstime Rotation Recurrence Weekly Setting Hand Off Time - (Required) The hand off time. See Hand Off Time for more details.
- day
Of StringWeek - (Required) The day of the week when the shift coverage occurs.
- hand
Off Property MapTime - (Required) The hand off time. See Hand Off Time for more details.
ContactsRotationRecurrenceWeeklySettingHandOffTime, ContactsRotationRecurrenceWeeklySettingHandOffTimeArgs
- Hour
Of intDay - (Required) The hour of the day.
- Minute
Of intHour - (Required) The minutes of the hour.
- Hour
Of intDay - (Required) The hour of the day.
- Minute
Of intHour - (Required) The minutes of the hour.
- hour
Of IntegerDay - (Required) The hour of the day.
- minute
Of IntegerHour - (Required) The minutes of the hour.
- hour
Of numberDay - (Required) The hour of the day.
- minute
Of numberHour - (Required) The minutes of the hour.
- hour_
of_ intday - (Required) The hour of the day.
- minute_
of_ inthour - (Required) The minutes of the hour.
- hour
Of NumberDay - (Required) The hour of the day.
- minute
Of NumberHour - (Required) The minutes of the hour.
Import
Using pulumi import
, import CodeGuru Profiler Profiling Group using the arn
. For example:
$ pulumi import aws:ssm/contactsRotation:ContactsRotation example arn:aws:ssm-contacts:us-east-1:012345678910:rotation/example
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.