Skip to content

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, StreamId)

Arguments

  • ResourceARN

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

  • StreamId

    Not Implemented. Reserved for future use.

Value

A list with the following syntax:

list(
  Policy = "string"
)

Request syntax

svc$get_resource_policy(
  ResourceARN = "string",
  StreamId = "string"
)