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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codeartifact/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)


3275
3276
3277
3278
3279
3280
3281
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 3275

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)


3275
3276
3277
3278
3279
3280
3281
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 3275

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

#revisionString

The current revision of the resource policy.

Returns:

  • (String)


3275
3276
3277
3278
3279
3280
3281
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 3275

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