Get Repository Policy
ecr_get_repository_policy | R Documentation |
Retrieves the repository policy for the specified repository¶
Description¶
Retrieves the repository policy for the specified repository.
Usage¶
ecr_get_repository_policy(registryId, repositoryName)
Arguments¶
registryId |
The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed. |
repositoryName |
[required] The name of the repository with the policy to retrieve. |
Value¶
A list with the following syntax:
list(
registryId = "string",
repositoryName = "string",
policyText = "string"
)
Request syntax¶
svc$get_repository_policy(
registryId = "string",
repositoryName = "string"
)
Examples¶
## Not run:
# This example obtains the repository policy for the repository named
# ubuntu.
svc$get_repository_policy(
repositoryName = "ubuntu"
)
## End(Not run)