class Aws::CodeArtifact::Types::PutRepositoryPermissionsPolicyRequest
@note When making an API call, you may pass PutRepositoryPermissionsPolicyRequest
data as a hash: { domain: "DomainName", # required domain_owner: "AccountId", repository: "RepositoryName", # required policy_revision: "PolicyRevision", policy_document: "PolicyDocument", # required }
@!attribute [rw] domain
The name of the domain containing the repository to set the resource policy on. @return [String]
@!attribute [rw] domain_owner
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces. @return [String]
@!attribute [rw] repository
The name of the repository to set the resource policy on. @return [String]
@!attribute [rw] policy_revision
Sets the revision of the resource policy that specifies permissions to access the repository. This revision is used for optimistic locking, which prevents others from overwriting your changes to the repository's resource policy. @return [String]
@!attribute [rw] policy_document
A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided repository. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PutRepositoryPermissionsPolicyRequest AWS API Documentation
Constants
- SENSITIVE