Class: Aws::CodeArtifact::Types::PutRepositoryPermissionsPolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeArtifact::Types::PutRepositoryPermissionsPolicyRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-codeartifact/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#domain ⇒ String
The name of the domain containing the repository to set the resource policy on.
-
#domain_owner ⇒ String
The 12-digit account number of the Amazon Web Services account that owns the domain.
-
#policy_document ⇒ String
A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided repository.
-
#policy_revision ⇒ String
Sets the revision of the resource policy that specifies permissions to access the repository.
-
#repository ⇒ String
The name of the repository to set the resource policy on.
Instance Attribute Details
#domain ⇒ String
The name of the domain containing the repository to set the resource policy on.
2917 2918 2919 2920 2921 2922 2923 2924 2925 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2917 class PutRepositoryPermissionsPolicyRequest < Struct.new( :domain, :domain_owner, :repository, :policy_revision, :policy_document) SENSITIVE = [] include Aws::Structure end |
#domain_owner ⇒ String
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
2917 2918 2919 2920 2921 2922 2923 2924 2925 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2917 class PutRepositoryPermissionsPolicyRequest < Struct.new( :domain, :domain_owner, :repository, :policy_revision, :policy_document) SENSITIVE = [] include Aws::Structure end |
#policy_document ⇒ String
A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided repository.
2917 2918 2919 2920 2921 2922 2923 2924 2925 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2917 class PutRepositoryPermissionsPolicyRequest < Struct.new( :domain, :domain_owner, :repository, :policy_revision, :policy_document) SENSITIVE = [] include Aws::Structure end |
#policy_revision ⇒ String
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.
2917 2918 2919 2920 2921 2922 2923 2924 2925 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2917 class PutRepositoryPermissionsPolicyRequest < Struct.new( :domain, :domain_owner, :repository, :policy_revision, :policy_document) SENSITIVE = [] include Aws::Structure end |
#repository ⇒ String
The name of the repository to set the resource policy on.
2917 2918 2919 2920 2921 2922 2923 2924 2925 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2917 class PutRepositoryPermissionsPolicyRequest < Struct.new( :domain, :domain_owner, :repository, :policy_revision, :policy_document) SENSITIVE = [] include Aws::Structure end |