Skip to content

Put Resource Policy

ssmincidents_put_resource_policy R Documentation

Adds a resource policy to the specified response plan

Description

Adds a resource policy to the specified response plan. The resource policy is used to share the response plan using Resource Access Manager (RAM). For more information about cross-account sharing, see Cross-Region and cross-account incident management.

Usage

ssmincidents_put_resource_policy(policy, resourceArn)

Arguments

policy

[required] Details of the resource policy.

resourceArn

[required] The Amazon Resource Name (ARN) of the response plan to add the resource policy to.

Value

A list with the following syntax:

list(
  policyId = "string"
)

Request syntax

svc$put_resource_policy(
  policy = "string",
  resourceArn = "string"
)