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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codeartifact/types.rb

Overview

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
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#domainString

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

Returns:

  • (String)


3065
3066
3067
3068
3069
3070
3071
3072
3073
# File 'lib/aws-sdk-codeartifact/types.rb', line 3065

class PutRepositoryPermissionsPolicyRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :policy_revision,
  :policy_document)
  SENSITIVE = []
  include Aws::Structure
end

#domain_ownerString

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

Returns:

  • (String)


3065
3066
3067
3068
3069
3070
3071
3072
3073
# File 'lib/aws-sdk-codeartifact/types.rb', line 3065

class PutRepositoryPermissionsPolicyRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :policy_revision,
  :policy_document)
  SENSITIVE = []
  include Aws::Structure
end

#policy_documentString

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

Returns:

  • (String)


3065
3066
3067
3068
3069
3070
3071
3072
3073
# File 'lib/aws-sdk-codeartifact/types.rb', line 3065

class PutRepositoryPermissionsPolicyRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :policy_revision,
  :policy_document)
  SENSITIVE = []
  include Aws::Structure
end

#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)


3065
3066
3067
3068
3069
3070
3071
3072
3073
# File 'lib/aws-sdk-codeartifact/types.rb', line 3065

class PutRepositoryPermissionsPolicyRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :policy_revision,
  :policy_document)
  SENSITIVE = []
  include Aws::Structure
end

#repositoryString

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

Returns:

  • (String)


3065
3066
3067
3068
3069
3070
3071
3072
3073
# File 'lib/aws-sdk-codeartifact/types.rb', line 3065

class PutRepositoryPermissionsPolicyRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :policy_revision,
  :policy_document)
  SENSITIVE = []
  include Aws::Structure
end