You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CodeArtifact::Types::PutRepositoryPermissionsPolicyRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing PutRepositoryPermissionsPolicyRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  domain: "DomainName", # required
  domain_owner: "AccountId",
  repository: "RepositoryName", # required
  policy_revision: "PolicyRevision",
  policy_document: "PolicyDocument", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#domainString

The name of the domain containing the repository to set the resource policy on.

Returns:

  • (String)

    The name of the domain containing the repository to set the resource policy on.

#domain_ownerString

The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

Returns:

  • (String)

    The 12-digit account number of the AWS account that owns the domain.

#policy_documentString

A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided repository.

Returns:

  • (String)

    A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided repository.

#policy_revisionString

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.

Returns:

  • (String)

    Sets the revision of the resource policy that specifies permissions to access the repository.

#repositoryString

The name of the repository to set the resource policy on.

Returns:

  • (String)

    The name of the repository to set the resource policy on.