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

Class: Aws::Mobile::Types::Resource

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

Overview

Information about an instance of an AWS resource associated with a project.

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

AWS resource name which uniquely identifies the resource in AWS systems.

Returns:

  • (String)


515
516
517
518
519
520
521
522
# File 'gems/aws-sdk-mobile/lib/aws-sdk-mobile/types.rb', line 515

class Resource < Struct.new(
  :type,
  :name,
  :arn,
  :feature,
  :attributes)
  include Aws::Structure
end

#attributesHash<String,String>

Key-value attribute pairs.

Returns:

  • (Hash<String,String>)


515
516
517
518
519
520
521
522
# File 'gems/aws-sdk-mobile/lib/aws-sdk-mobile/types.rb', line 515

class Resource < Struct.new(
  :type,
  :name,
  :arn,
  :feature,
  :attributes)
  include Aws::Structure
end

#featureString

Identifies which feature in AWS Mobile Hub is associated with this AWS resource.

Returns:

  • (String)


515
516
517
518
519
520
521
522
# File 'gems/aws-sdk-mobile/lib/aws-sdk-mobile/types.rb', line 515

class Resource < Struct.new(
  :type,
  :name,
  :arn,
  :feature,
  :attributes)
  include Aws::Structure
end

#nameString

Name of the AWS resource (e.g., for an Amazon S3 bucket this is the name of the bucket).

Returns:

  • (String)


515
516
517
518
519
520
521
522
# File 'gems/aws-sdk-mobile/lib/aws-sdk-mobile/types.rb', line 515

class Resource < Struct.new(
  :type,
  :name,
  :arn,
  :feature,
  :attributes)
  include Aws::Structure
end

#typeString

Simplified name for type of AWS resource (e.g., bucket is an Amazon S3 bucket).

Returns:

  • (String)


515
516
517
518
519
520
521
522
# File 'gems/aws-sdk-mobile/lib/aws-sdk-mobile/types.rb', line 515

class Resource < Struct.new(
  :type,
  :name,
  :arn,
  :feature,
  :attributes)
  include Aws::Structure
end