Class: Aws::Resiliencehubv2::Types::Resource

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

Overview

Represents an AWS resource discovered by Resilience Hub.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#aws_account_idString

The AWS account ID that owns the resource.

Returns:

  • (String)


2828
2829
2830
2831
2832
2833
2834
2835
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 2828

class Resource < Struct.new(
  :identifier,
  :aws_region,
  :aws_account_id,
  :resource_type)
  SENSITIVE = []
  include Aws::Structure
end

#aws_regionString

The AWS Region where the resource is located.

Returns:

  • (String)


2828
2829
2830
2831
2832
2833
2834
2835
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 2828

class Resource < Struct.new(
  :identifier,
  :aws_region,
  :aws_account_id,
  :resource_type)
  SENSITIVE = []
  include Aws::Structure
end

#identifierString

The identifier of the resource.

Returns:

  • (String)


2828
2829
2830
2831
2832
2833
2834
2835
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 2828

class Resource < Struct.new(
  :identifier,
  :aws_region,
  :aws_account_id,
  :resource_type)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

The type of the resource.

Returns:

  • (String)


2828
2829
2830
2831
2832
2833
2834
2835
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 2828

class Resource < Struct.new(
  :identifier,
  :aws_region,
  :aws_account_id,
  :resource_type)
  SENSITIVE = []
  include Aws::Structure
end