Class: Aws::CodeGuruSecurity::Types::ResourceId
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeGuruSecurity::Types::ResourceId
- 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
Defined Under Namespace
Classes: CodeArtifactId, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#code_artifact_id ⇒ String
The identifier for the code file uploaded to the resource object.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#code_artifact_id ⇒ String
The identifier for the code file uploaded to the resource object. Returned by ‘CreateUploadUrl` when you upload resources to be scanned.
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 |
#unknown ⇒ Object
Returns the value of attribute unknown
1004 1005 1006 |
# File 'lib/aws-sdk-codegurusecurity/types.rb', line 1004 def unknown @unknown end |