class Aws::ECR::Types::SetRepositoryPolicyRequest
@see docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SetRepositoryPolicyRequest AWS API Documentation
@return [Boolean]
accidental repository lock outs.
force the SetRepositoryPolicy operation. This is intended to prevent
prevent you from setting another policy in the future, you must
If the policy you are attempting to set on a repository policy would
@!attribute [rw] force
@return [String]<br>: docs.aws.amazon.com/AmazonECR/latest/userguide/RepositoryPolicyExamples.html<br><br><br><br>*Amazon Elastic Container Registry User Guide*.
information, see [Amazon ECR Repository Policy Examples] in the
The JSON repository policy text to apply to the repository. For more
@!attribute [rw] policy_text
@return [String]
The name of the repository to receive the policy.
@!attribute [rw] repository_name
@return [String]
is assumed.
repository. If you do not specify a registry, the default registry
The AWS account ID associated with the registry that contains the
@!attribute [rw] registry_id
}
force: false,
policy_text: “RepositoryPolicyText”, # required
repository_name: “RepositoryName”, # required
registry_id: “RegistryId”,
{
data as a hash:
@note When making an API call, you may pass SetRepositoryPolicyRequest