Class: Aws::ResourceExplorer2::Types::Resource

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-resourceexplorer2/types.rb

Overview

A resource in Amazon Web Services that Amazon Web Services Resource Explorer has discovered, and for which it has stored information in the index of the Amazon Web Services Region that contains the resource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The [Amazon resource name (ARN)] of the resource.

[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html

Returns:

  • (String)


1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
# File 'lib/aws-sdk-resourceexplorer2/types.rb', line 1243

class Resource < Struct.new(
  :arn,
  :last_reported_at,
  :owning_account_id,
  :properties,
  :region,
  :resource_type,
  :service)
  SENSITIVE = []
  include Aws::Structure
end

#last_reported_atTime

The date and time that Resource Explorer last queried this resource and updated the index with the latest information about the resource.

Returns:

  • (Time)


1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
# File 'lib/aws-sdk-resourceexplorer2/types.rb', line 1243

class Resource < Struct.new(
  :arn,
  :last_reported_at,
  :owning_account_id,
  :properties,
  :region,
  :resource_type,
  :service)
  SENSITIVE = []
  include Aws::Structure
end

#owning_account_idString

The Amazon Web Services account that owns the resource.

Returns:

  • (String)


1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
# File 'lib/aws-sdk-resourceexplorer2/types.rb', line 1243

class Resource < Struct.new(
  :arn,
  :last_reported_at,
  :owning_account_id,
  :properties,
  :region,
  :resource_type,
  :service)
  SENSITIVE = []
  include Aws::Structure
end

#propertiesArray<Types::ResourceProperty>

A structure with additional type-specific details about the resource. These properties can be added by turning on integration between Resource Explorer and other Amazon Web Services services.

Returns:



1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
# File 'lib/aws-sdk-resourceexplorer2/types.rb', line 1243

class Resource < Struct.new(
  :arn,
  :last_reported_at,
  :owning_account_id,
  :properties,
  :region,
  :resource_type,
  :service)
  SENSITIVE = []
  include Aws::Structure
end

#regionString

The Amazon Web Services Region in which the resource was created and exists.

Returns:

  • (String)


1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
# File 'lib/aws-sdk-resourceexplorer2/types.rb', line 1243

class Resource < Struct.new(
  :arn,
  :last_reported_at,
  :owning_account_id,
  :properties,
  :region,
  :resource_type,
  :service)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

The type of the resource.

Returns:

  • (String)


1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
# File 'lib/aws-sdk-resourceexplorer2/types.rb', line 1243

class Resource < Struct.new(
  :arn,
  :last_reported_at,
  :owning_account_id,
  :properties,
  :region,
  :resource_type,
  :service)
  SENSITIVE = []
  include Aws::Structure
end

#serviceString

The Amazon Web Services service that owns the resource and is responsible for creating and updating it.

Returns:

  • (String)


1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
# File 'lib/aws-sdk-resourceexplorer2/types.rb', line 1243

class Resource < Struct.new(
  :arn,
  :last_reported_at,
  :owning_account_id,
  :properties,
  :region,
  :resource_type,
  :service)
  SENSITIVE = []
  include Aws::Structure
end