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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codeartifact/types.rb

Overview

An AWS 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)


3024
3025
3026
3027
3028
3029
3030
# File 'lib/aws-sdk-codeartifact/types.rb', line 3024

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)


3024
3025
3026
3027
3028
3029
3030
# File 'lib/aws-sdk-codeartifact/types.rb', line 3024

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

#revisionString

The current revision of the resource policy.

Returns:

  • (String)


3024
3025
3026
3027
3028
3029
3030
# File 'lib/aws-sdk-codeartifact/types.rb', line 3024

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