Skip to content

Get Layer Version Policy

lambda_get_layer_version_policy R Documentation

Returns the permission policy for a version of an Lambda layer

Description

Returns the permission policy for a version of an Lambda layer. For more information, see add_layer_version_permission.

Usage

lambda_get_layer_version_policy(LayerName, VersionNumber)

Arguments

LayerName

[required] The name or Amazon Resource Name (ARN) of the layer.

VersionNumber

[required] The version number.

Value

A list with the following syntax:

list(
  Policy = "string",
  RevisionId = "string"
)

Request syntax

svc$get_layer_version_policy(
  LayerName = "string",
  VersionNumber = 123
)