Class: Aws::CodeArtifact::Types::PutDomainPermissionsPolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeArtifact::Types::PutDomainPermissionsPolicyRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-codeartifact/types.rb
Overview
When making an API call, you may pass PutDomainPermissionsPolicyRequest data as a hash:
{
domain: "DomainName", # required
domain_owner: "AccountId",
policy_revision: "PolicyRevision",
policy_document: "PolicyDocument", # required
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#domain ⇒ String
The name of the domain on which to set the resource policy.
-
#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 domain.
-
#policy_revision ⇒ String
The current revision of the resource policy to be set.
Instance Attribute Details
#domain ⇒ String
The name of the domain on which to set the resource policy.
2905 2906 2907 2908 2909 2910 2911 2912 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2905 class PutDomainPermissionsPolicyRequest < Struct.new( :domain, :domain_owner, :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.
2905 2906 2907 2908 2909 2910 2911 2912 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2905 class PutDomainPermissionsPolicyRequest < Struct.new( :domain, :domain_owner, :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 domain.
2905 2906 2907 2908 2909 2910 2911 2912 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2905 class PutDomainPermissionsPolicyRequest < Struct.new( :domain, :domain_owner, :policy_revision, :policy_document) SENSITIVE = [] include Aws::Structure end |
#policy_revision ⇒ String
The current revision of the resource policy to be set. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain's resource policy.
2905 2906 2907 2908 2909 2910 2911 2912 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2905 class PutDomainPermissionsPolicyRequest < Struct.new( :domain, :domain_owner, :policy_revision, :policy_document) SENSITIVE = [] include Aws::Structure end |