Skip to content

/AWS1/CL_ECR=>PUTREGISTRYPOLICY()

About PutRegistryPolicy

Creates or updates the permissions policy for your registry.

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

Method Signature

IMPORTING

Required arguments:

IV_POLICYTEXT TYPE /AWS1/ECRREGISTRYPOLICYTEXT /AWS1/ECRREGISTRYPOLICYTEXT

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ECRPUTREGPOLICYRSP /AWS1/CL_ECRPUTREGPOLICYRSP