Class: Aws::Assurance::Types::DiscoveredResource

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

Overview

A resource that is in scope for an environment, project, or control, as returned by ListDiscoveredResources and ListControlResources.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_id ⇒ String

The AWS account the resource belongs to.

Returns:

  • (String)


2263
2264
2265
2266
2267
2268
2269
2270
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 2263

class DiscoveredResource < Struct.new(
  :resource_identifier,
  :resource_type,
  :account_id,
  :region)
  SENSITIVE = []
  include Aws::Structure
end

#region ⇒ String

The AWS Region that the resource is in. The value is global for global resources such as IAM.

Returns:

  • (String)


2263
2264
2265
2266
2267
2268
2269
2270
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 2263

class DiscoveredResource < Struct.new(
  :resource_identifier,
  :resource_type,
  :account_id,
  :region)
  SENSITIVE = []
  include Aws::Structure
end

#resource_identifier ⇒ String

The identifier (typically the ARN) of the resource.

Returns:

  • (String)


2263
2264
2265
2266
2267
2268
2269
2270
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 2263

class DiscoveredResource < Struct.new(
  :resource_identifier,
  :resource_type,
  :account_id,
  :region)
  SENSITIVE = []
  include Aws::Structure
end

#resource_type ⇒ String

The resource type, in lowercase service:type form (for example, s3:bucket). This is the form that resourcetype: filters use.

Returns:

  • (String)


2263
2264
2265
2266
2267
2268
2269
2270
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 2263

class DiscoveredResource < Struct.new(
  :resource_identifier,
  :resource_type,
  :account_id,
  :region)
  SENSITIVE = []
  include Aws::Structure
end