Skip to content

Put Resource Policy

redshift_put_resource_policy R Documentation

Updates the resource policy for a specified resource

Description

Updates the resource policy for a specified resource.

Usage

redshift_put_resource_policy(ResourceArn, Policy)

Arguments

ResourceArn

[required] The Amazon Resource Name (ARN) of the resource of which its resource policy is updated.

Policy

[required] The content of the resource policy being updated.

Value

A list with the following syntax:

list(
  ResourcePolicy = list(
    ResourceArn = "string",
    Policy = "string"
  )
)

Request syntax

svc$put_resource_policy(
  ResourceArn = "string",
  Policy = "string"
)