Skip to content

Describe Resource Policy

prometheusservice_describe_resource_policy R Documentation

Returns information about the resource-based policy attached to an Amazon Managed Service for Prometheus workspace

Description

Returns information about the resource-based policy attached to an Amazon Managed Service for Prometheus workspace.

Usage

prometheusservice_describe_resource_policy(workspaceId)

Arguments

workspaceId

[required] The ID of the workspace to describe the resource-based policy for.

Value

A list with the following syntax:

list(
  policyDocument = "string",
  policyStatus = "CREATING"|"ACTIVE"|"UPDATING"|"DELETING",
  revisionId = "string"
)

Request syntax

svc$describe_resource_policy(
  workspaceId = "string"
)