Class: Aws::RAM::Types::ServiceNameAndResourceType

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

Overview

Information about a shareable resource type and the Amazon Web Services service to which resources of that type belong.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_region_scopeString

Specifies the scope of visibility of resources of this type:

  • REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.

  • GLOBAL – The resource can be accessed from any Amazon Web Services Region.

Returns:

  • (String)


3589
3590
3591
3592
3593
3594
3595
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 3589

class ServiceNameAndResourceType < Struct.new(
  :resource_type,
  :service_name,
  :resource_region_scope)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

The type of the resource. This takes the form of: service-code:resource-code, and is case-insensitive. For example, an Amazon EC2 Subnet would be represented by the string ec2:subnet.

Returns:

  • (String)


3589
3590
3591
3592
3593
3594
3595
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 3589

class ServiceNameAndResourceType < Struct.new(
  :resource_type,
  :service_name,
  :resource_region_scope)
  SENSITIVE = []
  include Aws::Structure
end

#service_nameString

The name of the Amazon Web Services service to which resources of this type belong.

Returns:

  • (String)


3589
3590
3591
3592
3593
3594
3595
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 3589

class ServiceNameAndResourceType < Struct.new(
  :resource_type,
  :service_name,
  :resource_region_scope)
  SENSITIVE = []
  include Aws::Structure
end