You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ResourceGroups::Types::ResourceIdentifier

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

Overview

The ARN of a resource, and its resource type.

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The ARN of a resource.

Returns:

  • (String)


359
360
361
362
363
# File 'gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups/types.rb', line 359

class ResourceIdentifier < Struct.new(
  :resource_arn,
  :resource_type)
  include Aws::Structure
end

#resource_typeString

The resource type of a resource, such as AWS::EC2::Instance.

Returns:

  • (String)


359
360
361
362
363
# File 'gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups/types.rb', line 359

class ResourceIdentifier < Struct.new(
  :resource_arn,
  :resource_type)
  include Aws::Structure
end