Skip to content

Get Contact Policy

ssmcontacts_get_contact_policy R Documentation

Retrieves the resource policies attached to the specified contact or escalation plan

Description

Retrieves the resource policies attached to the specified contact or escalation plan.

Usage

ssmcontacts_get_contact_policy(ContactArn)

Arguments

ContactArn

[required] The Amazon Resource Name (ARN) of the contact or escalation plan.

Value

A list with the following syntax:

list(
  ContactArn = "string",
  Policy = "string"
)

Request syntax

svc$get_contact_policy(
  ContactArn = "string"
)

Examples

## Not run: 
# The following get-contact-policy example lists the resource policies
# associated with the specified contact.
svc$get_contact_policy(
  ContactArn = "arn:aws:ssm-contacts:us-east-1:111122223333:contact/akuam"
)

## End(Not run)