Skip to content

Put Contact Policy

ssmcontacts_put_contact_policy R Documentation

Adds a resource policy to the specified contact or escalation plan

Description

Adds a resource policy to the specified contact or escalation plan. The resource policy is used to share the contact or escalation plan using Resource Access Manager (RAM). For more information about cross-account sharing, see Setting up cross-account functionality.

Usage

ssmcontacts_put_contact_policy(ContactArn, Policy)

Arguments

ContactArn

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

Policy

[required] Details of the resource policy.

Value

An empty list.

Request syntax

svc$put_contact_policy(
  ContactArn = "string",
  Policy = "string"
)