Class: Aws::Inspector2::Types::GcpCapabilityScopeInput

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

Overview

The scope of Google Cloud Platform (GCP) resources to scan for a single scanning type. Provide this as part of a GcpScopeConfigurationInput when you create or update a connector.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#scope_type ⇒ String

The type of scope: ORGANIZATION, which scans all projects in the GCP organization, or PROJECT, which scans only the specified GCP projects.

Returns:

  • (String)


6325
6326
6327
6328
6329
6330
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 6325

class GcpCapabilityScopeInput < Struct.new(
  :scope_type,
  :scope_values)
  SENSITIVE = []
  include Aws::Structure
end

#scope_values ⇒ Array<String>

The GCP project IDs to scan. Required when scopeType is PROJECT. Don't specify scope values when scopeType is ORGANIZATION. Amazon Inspector scans the organization of the Amazon Web Services Config connector.

Returns:

  • (Array<String>)


6325
6326
6327
6328
6329
6330
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 6325

class GcpCapabilityScopeInput < Struct.new(
  :scope_type,
  :scope_values)
  SENSITIVE = []
  include Aws::Structure
end