Class: Aws::CodeArtifact::Types::ResourcePolicy

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#documentString

The resource policy formatted in JSON.

Returns:

  • (String)


4010
4011
4012
4013
4014
4015
4016
# File 'lib/aws-sdk-codeartifact/types.rb', line 4010

class ResourcePolicy < Struct.new(
  :resource_arn,
  :revision,
  :document)
  SENSITIVE = []
  include Aws::Structure
end

#resource_arnString

The ARN of the resource associated with the resource policy

Returns:

  • (String)


4010
4011
4012
4013
4014
4015
4016
# File 'lib/aws-sdk-codeartifact/types.rb', line 4010

class ResourcePolicy < Struct.new(
  :resource_arn,
  :revision,
  :document)
  SENSITIVE = []
  include Aws::Structure
end

#revisionString

The current revision of the resource policy.

Returns:

  • (String)


4010
4011
4012
4013
4014
4015
4016
# File 'lib/aws-sdk-codeartifact/types.rb', line 4010

class ResourcePolicy < Struct.new(
  :resource_arn,
  :revision,
  :document)
  SENSITIVE = []
  include Aws::Structure
end