Class: Aws::CodeArtifact::Types::ResourcePolicy
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::CodeArtifact::Types::ResourcePolicy
 
 
- Includes:
 - Structure
 
- Defined in:
 - lib/aws-sdk-codeartifact/types.rb
 
Overview
An CodeArtifact resource policy that contains a resource ARN, document details, and a revision.
Constant Summary collapse
- SENSITIVE =
 []
Instance Attribute Summary collapse
- 
  
    
      #document  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The resource policy formatted in JSON.
 - 
  
    
      #resource_arn  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The ARN of the resource associated with the resource policy.
 - 
  
    
      #revision  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The current revision of the resource policy.
 
Instance Attribute Details
#document ⇒ String
The resource policy formatted in JSON.
      3139 3140 3141 3142 3143 3144 3145  | 
    
      # File 'lib/aws-sdk-codeartifact/types.rb', line 3139 class ResourcePolicy < Struct.new( :resource_arn, :revision, :document) SENSITIVE = [] include Aws::Structure end  | 
  
#resource_arn ⇒ String
The ARN of the resource associated with the resource policy
      3139 3140 3141 3142 3143 3144 3145  | 
    
      # File 'lib/aws-sdk-codeartifact/types.rb', line 3139 class ResourcePolicy < Struct.new( :resource_arn, :revision, :document) SENSITIVE = [] include Aws::Structure end  | 
  
#revision ⇒ String
The current revision of the resource policy.
      3139 3140 3141 3142 3143 3144 3145  | 
    
      # File 'lib/aws-sdk-codeartifact/types.rb', line 3139 class ResourcePolicy < Struct.new( :resource_arn, :revision, :document) SENSITIVE = [] include Aws::Structure end  |