Method: Aws::ECR::Client#put_registry_policy
- Defined in:
- lib/aws-sdk-ecr/client.rb
#put_registry_policy(params = {}) ⇒ Types::PutRegistryPolicyResponse
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*.
[1]: docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html
3576 3577 3578 3579 |
# File 'lib/aws-sdk-ecr/client.rb', line 3576 def put_registry_policy(params = {}, = {}) req = build_request(:put_registry_policy, params) req.send_request() end |