Skip to content

Get Resource Policy

kinesis_get_resource_policy R Documentation

Returns a policy attached to the specified data stream or consumer

Description

Returns a policy attached to the specified data stream or consumer. Request patterns can be one of the following:

  • Data stream pattern: ⁠arn:aws.*:kinesis:.*:\\d{12}:.*stream/\\S+⁠

  • Consumer pattern: ⁠^(arn):aws.*:kinesis:.*:\\d{12}:.*stream\/[a-zA-Z0-9_.-]+\/consumer\/[a-zA-Z0-9_.-]+:[0-9]+⁠

Usage

kinesis_get_resource_policy(ResourceARN)

Arguments

ResourceARN

[required] The Amazon Resource Name (ARN) of the data stream or consumer.

Value

A list with the following syntax:

list(
  Policy = "string"
)

Request syntax

svc$get_resource_policy(
  ResourceARN = "string"
)