Class: Aws::CodeGuruSecurity::Types::ResourceId

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/types.rb

Overview

Note:

ResourceId is a union - when making an API calls you must set exactly one of the members.

Note:

ResourceId is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ResourceId corresponding to the set member.

The identifier for a resource object that contains resources where a finding was detected.

Direct Known Subclasses

CodeArtifactId, Unknown

Defined Under Namespace

Classes: CodeArtifactId, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#code_artifact_idString

The identifier for the code file uploaded to the resource where a finding was detected.

Returns:

  • (String)


997
998
999
1000
1001
1002
1003
1004
1005
1006
# File 'gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/types.rb', line 997

class ResourceId < Struct.new(
  :code_artifact_id,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class CodeArtifactId < ResourceId; end
  class Unknown < ResourceId; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



997
998
999
# File 'gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/types.rb', line 997

def unknown
  @unknown
end