Skip to content

/AWS1/CL_AANECRREPOSITORYCONF

The proposed access control configuration for an Amazon ECR repository. You can propose a configuration for a new Amazon ECR repository or an existing Amazon ECR repository that you own by specifying the Amazon ECR policy. For more information, see Repository.

  • If the configuration is for an existing Amazon ECR repository and you do not specify the Amazon ECR policy, then the access preview uses the existing Amazon ECR policy for the repository.

  • If the access preview is for a new resource and you do not specify the policy, then the access preview assumes an Amazon ECR repository without a policy.

  • To propose deletion of an existing Amazon ECR repository policy, you can specify an empty string for the Amazon ECR policy.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_repositorypolicy TYPE /AWS1/AANECRREPOSITORYPOLICY /AWS1/AANECRREPOSITORYPOLICY

The JSON repository policy text to apply to the Amazon ECR repository. For more information, see Private repository policy examples in the Amazon ECR User Guide.


Queryable Attributes

repositoryPolicy

The JSON repository policy text to apply to the Amazon ECR repository. For more information, see Private repository policy examples in the Amazon ECR User Guide.

Accessible with the following methods

Method Description
GET_REPOSITORYPOLICY() Getter for REPOSITORYPOLICY, with configurable default
ASK_REPOSITORYPOLICY() Getter for REPOSITORYPOLICY w/ exceptions if field has no va
HAS_REPOSITORYPOLICY() Determine if REPOSITORYPOLICY has a value