Skip to content

Get Resource Policy

elbv2_get_resource_policy R Documentation

Retrieves the resource policy for a specified resource

Description

Retrieves the resource policy for a specified resource.

Usage

elbv2_get_resource_policy(ResourceArn)

Arguments

ResourceArn

[required] The Amazon Resource Name (ARN) of the resource.

Value

A list with the following syntax:

list(
  Policy = "string"
)

Request syntax

svc$get_resource_policy(
  ResourceArn = "string"
)

Examples

## Not run: 
# This example retrieves the resource policy for the specified trust
# store.
svc$get_resource_policy(
  ResourceArn = "arn:aws:elasticloadbalancing:us-east-1:123456789012:trusts..."
)

## End(Not run)