AWS v6.77.1 published on Friday, Apr 18, 2025 by Pulumi
aws.ssm.getContactsRotation
Explore with Pulumi AI
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.ssm.getContactsRotation({
    arn: "arn:aws:ssm-contacts:us-east-1:012345678910:rotation/example",
});
import pulumi
import pulumi_aws as aws
example = aws.ssm.get_contacts_rotation(arn="arn:aws:ssm-contacts:us-east-1:012345678910:rotation/example")
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.LookupContactsRotation(ctx, &ssm.LookupContactsRotationArgs{
			Arn: "arn:aws:ssm-contacts:us-east-1:012345678910:rotation/example",
		}, nil)
		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 = Aws.Ssm.GetContactsRotation.Invoke(new()
    {
        Arn = "arn:aws:ssm-contacts:us-east-1:012345678910:rotation/example",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ssm.SsmFunctions;
import com.pulumi.aws.ssm.inputs.GetContactsRotationArgs;
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) {
        final var example = SsmFunctions.getContactsRotation(GetContactsRotationArgs.builder()
            .arn("arn:aws:ssm-contacts:us-east-1:012345678910:rotation/example")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: aws:ssm:getContactsRotation
      arguments:
        arn: arn:aws:ssm-contacts:us-east-1:012345678910:rotation/example
Using getContactsRotation
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getContactsRotation(args: GetContactsRotationArgs, opts?: InvokeOptions): Promise<GetContactsRotationResult>
function getContactsRotationOutput(args: GetContactsRotationOutputArgs, opts?: InvokeOptions): Output<GetContactsRotationResult>def get_contacts_rotation(arn: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetContactsRotationResult
def get_contacts_rotation_output(arn: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetContactsRotationResult]func LookupContactsRotation(ctx *Context, args *LookupContactsRotationArgs, opts ...InvokeOption) (*LookupContactsRotationResult, error)
func LookupContactsRotationOutput(ctx *Context, args *LookupContactsRotationOutputArgs, opts ...InvokeOption) LookupContactsRotationResultOutput> Note: This function is named LookupContactsRotation in the Go SDK.
public static class GetContactsRotation 
{
    public static Task<GetContactsRotationResult> InvokeAsync(GetContactsRotationArgs args, InvokeOptions? opts = null)
    public static Output<GetContactsRotationResult> Invoke(GetContactsRotationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetContactsRotationResult> getContactsRotation(GetContactsRotationArgs args, InvokeOptions options)
public static Output<GetContactsRotationResult> getContactsRotation(GetContactsRotationArgs args, InvokeOptions options)
fn::invoke:
  function: aws:ssm/getContactsRotation:getContactsRotation
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Arn string
 - The Amazon Resource Name (ARN) of the rotation.
 
- Arn string
 - The Amazon Resource Name (ARN) of the rotation.
 
- arn String
 - The Amazon Resource Name (ARN) of the rotation.
 
- arn string
 - The Amazon Resource Name (ARN) of the rotation.
 
- arn str
 - The Amazon Resource Name (ARN) of the rotation.
 
- arn String
 - The Amazon Resource Name (ARN) of the rotation.
 
getContactsRotation Result
The following output properties are available:
- Arn string
 - Contact
Ids List<string> - The 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.
 - Id string
 - Name string
 - The name for the rotation.
 - Recurrences
List<Get
Contacts Rotation Recurrence>  - Information about when an on-call rotation is in effect and how long the rotation period lasts.
 - 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.
 - Time
Zone stringId  - The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format.
 
- Arn string
 - Contact
Ids []string - The 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.
 - Id string
 - Name string
 - The name for the rotation.
 - Recurrences
[]Get
Contacts Rotation Recurrence  - Information about when an on-call rotation is in effect and how long the rotation period lasts.
 - 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.
 - Time
Zone stringId  - The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format.
 
- arn String
 - contact
Ids List<String> - The 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.
 - id String
 - name String
 - The name for the rotation.
 - recurrences
List<Get
Contacts Rotation Recurrence>  - Information about when an on-call rotation is in effect and how long the rotation period lasts.
 - 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.
 - time
Zone StringId  - The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format.
 
- arn string
 - contact
Ids string[] - The 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.
 - id string
 - name string
 - The name for the rotation.
 - recurrences
Get
Contacts Rotation Recurrence[]  - Information about when an on-call rotation is in effect and how long the rotation period lasts.
 - 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.
 - time
Zone stringId  - The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format.
 
- arn str
 - contact_
ids Sequence[str] - The 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.
 - id str
 - name str
 - The name for the rotation.
 - recurrences
Sequence[Get
Contacts Rotation Recurrence]  - Information about when an on-call rotation is in effect and how long the rotation period lasts.
 - 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.
 - time_
zone_ strid  - The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format.
 
- arn String
 - contact
Ids List<String> - The 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.
 - id String
 - name String
 - The name for the rotation.
 - recurrences List<Property Map>
 - Information about when an on-call rotation is in effect and how long the rotation period lasts.
 - 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.
 - time
Zone StringId  - The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format.
 
Supporting Types
GetContactsRotationRecurrence   
- daily
Settings List<GetContacts Rotation Recurrence Daily Setting>  - monthly
Settings List<GetContacts Rotation Recurrence Monthly Setting>  - number
Of IntegerOn Calls  - recurrence
Multiplier Integer - shift
Coverages List<GetContacts Rotation Recurrence Shift Coverage>  - weekly
Settings List<GetContacts Rotation Recurrence Weekly Setting>  
- daily_
settings Sequence[GetContacts Rotation Recurrence Daily Setting]  - monthly_
settings Sequence[GetContacts Rotation Recurrence Monthly Setting]  - number_
of_ inton_ calls  - recurrence_
multiplier int - shift_
coverages Sequence[GetContacts Rotation Recurrence Shift Coverage]  - weekly_
settings Sequence[GetContacts Rotation Recurrence Weekly Setting]  
GetContactsRotationRecurrenceDailySetting     
- Hour
Of intDay  - Minute
Of intHour  
- Hour
Of intDay  - Minute
Of intHour  
- hour
Of IntegerDay  - minute
Of IntegerHour  
- hour
Of numberDay  - minute
Of numberHour  
- hour_
of_ intday  - minute_
of_ inthour  
- hour
Of NumberDay  - minute
Of NumberHour  
GetContactsRotationRecurrenceMonthlySetting     
GetContactsRotationRecurrenceMonthlySettingHandOffTime        
- Hour
Of intDay  - Minute
Of intHour  
- Hour
Of intDay  - Minute
Of intHour  
- hour
Of IntegerDay  - minute
Of IntegerHour  
- hour
Of numberDay  - minute
Of numberHour  
- hour_
of_ intday  - minute_
of_ inthour  
- hour
Of NumberDay  - minute
Of NumberHour  
GetContactsRotationRecurrenceShiftCoverage     
GetContactsRotationRecurrenceShiftCoverageCoverageTime       
GetContactsRotationRecurrenceShiftCoverageCoverageTimeEnd        
- Hour
Of intDay  - Minute
Of intHour  
- Hour
Of intDay  - Minute
Of intHour  
- hour
Of IntegerDay  - minute
Of IntegerHour  
- hour
Of numberDay  - minute
Of numberHour  
- hour_
of_ intday  - minute_
of_ inthour  
- hour
Of NumberDay  - minute
Of NumberHour  
GetContactsRotationRecurrenceShiftCoverageCoverageTimeStart        
- Hour
Of intDay  - Minute
Of intHour  
- Hour
Of intDay  - Minute
Of intHour  
- hour
Of IntegerDay  - minute
Of IntegerHour  
- hour
Of numberDay  - minute
Of numberHour  
- hour_
of_ intday  - minute_
of_ inthour  
- hour
Of NumberDay  - minute
Of NumberHour  
GetContactsRotationRecurrenceWeeklySetting     
GetContactsRotationRecurrenceWeeklySettingHandOffTime        
- Hour
Of intDay  - Minute
Of intHour  
- Hour
Of intDay  - Minute
Of intHour  
- hour
Of IntegerDay  - minute
Of IntegerHour  
- hour
Of numberDay  - minute
Of numberHour  
- hour_
of_ intday  - minute_
of_ inthour  
- hour
Of NumberDay  - minute
Of NumberHour  
Package Details
- Repository
 - AWS Classic pulumi/pulumi-aws
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
awsTerraform Provider.