Skip to content

Retrieves the resource policies attached to the specified response plan

Description

Retrieves the resource policies attached to the specified response plan.

Usage

ssmincidents_get_resource_policies(maxResults, nextToken, resourceArn)

Arguments

  • maxResults

    The maximum number of resource policies to display for each page of results.

  • nextToken

    The pagination token for the next set of items to return. (You received this token from a previous call.)

  • resourceArn

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

Value

A list with the following syntax:

list(
  nextToken = "string",
  resourcePolicies = list(
    list(
      policyDocument = "string",
      policyId = "string",
      ramResourceShareRegion = "string"
    )
  )
)

Request syntax

svc$get_resource_policies(
  maxResults = 123,
  nextToken = "string",
  resourceArn = "string"
)