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

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
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 to scan. Specifying a codeArtifactId is required to create a scan.

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 object. Returned by ‘CreateUploadUrl` when you upload resources to be scanned.

Returns:

  • (String)


1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
# File 'lib/aws-sdk-codegurusecurity/types.rb', line 1004

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



1004
1005
1006
# File 'lib/aws-sdk-codegurusecurity/types.rb', line 1004

def unknown
  @unknown
end