Learn R Programming

paws.compute (version 0.1.12)

ecr_put_registry_policy: Creates or updates the permissions policy for your registry

Description

Creates or updates the permissions policy for your registry.

A registry policy is used to specify permissions for another AWS account and is used when configuring cross-account replication. For more information, see Registry permissions in the Amazon Elastic Container Registry User Guide.

Usage

ecr_put_registry_policy(policyText)

Value

A list with the following syntax:

list(
  registryId = "string",
  policyText = "string"
)

Arguments

policyText

[required] The JSON policy text to apply to your registry. The policy text follows the same format as IAM policy text. For more information, see Registry permissions in the Amazon Elastic Container Registry User Guide.

Request syntax

svc$put_registry_policy(
  policyText = "string"
)