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

Class: Aws::ConfigService::Types::Relationship

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

Overview

The relationship of the related resource to the main resource.

Instance Attribute Summary collapse

Instance Attribute Details

#relationship_nameString

The type of relationship with the related resource.

Returns:

  • (String)


2187
2188
2189
2190
2191
2192
2193
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 2187

class Relationship < Struct.new(
  :resource_type,
  :resource_id,
  :resource_name,
  :relationship_name)
  include Aws::Structure
end

#resource_idString

The ID of the related resource (for example, sg-xxxxxx).

Returns:

  • (String)


2187
2188
2189
2190
2191
2192
2193
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 2187

class Relationship < Struct.new(
  :resource_type,
  :resource_id,
  :resource_name,
  :relationship_name)
  include Aws::Structure
end

#resource_nameString

The custom name of the related resource, if available.

Returns:

  • (String)


2187
2188
2189
2190
2191
2192
2193
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 2187

class Relationship < Struct.new(
  :resource_type,
  :resource_id,
  :resource_name,
  :relationship_name)
  include Aws::Structure
end

#resource_typeString

The resource type of the related resource.

Returns:

  • (String)


2187
2188
2189
2190
2191
2192
2193
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 2187

class Relationship < Struct.new(
  :resource_type,
  :resource_id,
  :resource_name,
  :relationship_name)
  include Aws::Structure
end