powered by
Retrieves the repository policy for a specified repository.
ecr_get_repository_policy(registryId, repositoryName)
The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
[required] The name of the repository with the policy to retrieve.
svc$get_repository_policy( registryId = "string", repositoryName = "string" )
# NOT RUN { # This example obtains the repository policy for the repository named # ubuntu. # } # NOT RUN { svc$get_repository_policy( repositoryName = "ubuntu" ) # } # NOT RUN { # }
Run the code above in your browser using DataLab