paws.compute (version 0.1.0)

ecr_get_repository_policy: Retrieves the repository policy for a specified repository

Description

Retrieves the repository policy for a specified repository.

Usage

ecr_get_repository_policy(registryId, repositoryName)

Arguments

registryId

The AWS 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.

Request syntax

svc$get_repository_policy(
  registryId = "string",
  repositoryName = "string"
)

Examples

Run this code
# 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 DataCamp Workspace