Class: Aws::RAM::Types::Resource

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

Overview

Describes a resource associated with a resource share in RAM.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resoure Name (ARN) of the resource.

Returns:

  • (String)


2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 2157

class Resource < Struct.new(
  :arn,
  :type,
  :resource_share_arn,
  :resource_group_arn,
  :status,
  :status_message,
  :creation_time,
  :last_updated_time,
  :resource_region_scope)
  SENSITIVE = []
  include Aws::Structure
end

#creation_timeTime

The date and time when the resource was associated with the resource share.

Returns:

  • (Time)


2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 2157

class Resource < Struct.new(
  :arn,
  :type,
  :resource_share_arn,
  :resource_group_arn,
  :status,
  :status_message,
  :creation_time,
  :last_updated_time,
  :resource_region_scope)
  SENSITIVE = []
  include Aws::Structure
end

#last_updated_timeTime

The date an time when the association was last updated.

Returns:

  • (Time)


2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 2157

class Resource < Struct.new(
  :arn,
  :type,
  :resource_share_arn,
  :resource_group_arn,
  :status,
  :status_message,
  :creation_time,
  :last_updated_time,
  :resource_region_scope)
  SENSITIVE = []
  include Aws::Structure
end

#resource_group_arnString

The Amazon Resoure Name (ARN) of the resource group. This value is available only if the resource is part of a resource group.

Returns:

  • (String)


2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 2157

class Resource < Struct.new(
  :arn,
  :type,
  :resource_share_arn,
  :resource_group_arn,
  :status,
  :status_message,
  :creation_time,
  :last_updated_time,
  :resource_region_scope)
  SENSITIVE = []
  include Aws::Structure
end

#resource_region_scopeString

Specifies the scope of visibility of this resource:

  • 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)


2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 2157

class Resource < Struct.new(
  :arn,
  :type,
  :resource_share_arn,
  :resource_group_arn,
  :status,
  :status_message,
  :creation_time,
  :last_updated_time,
  :resource_region_scope)
  SENSITIVE = []
  include Aws::Structure
end

#resource_share_arnString

The Amazon Resoure Name (ARN) of the resource share this resource is associated with.

Returns:

  • (String)


2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 2157

class Resource < Struct.new(
  :arn,
  :type,
  :resource_share_arn,
  :resource_group_arn,
  :status,
  :status_message,
  :creation_time,
  :last_updated_time,
  :resource_region_scope)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The current status of the resource.

Returns:

  • (String)


2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 2157

class Resource < Struct.new(
  :arn,
  :type,
  :resource_share_arn,
  :resource_group_arn,
  :status,
  :status_message,
  :creation_time,
  :last_updated_time,
  :resource_region_scope)
  SENSITIVE = []
  include Aws::Structure
end

#status_messageString

A message about the status of the resource.

Returns:

  • (String)


2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 2157

class Resource < Struct.new(
  :arn,
  :type,
  :resource_share_arn,
  :resource_group_arn,
  :status,
  :status_message,
  :creation_time,
  :last_updated_time,
  :resource_region_scope)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The resource type. This takes the form of: service-code:resource-code

Returns:

  • (String)


2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 2157

class Resource < Struct.new(
  :arn,
  :type,
  :resource_share_arn,
  :resource_group_arn,
  :status,
  :status_message,
  :creation_time,
  :last_updated_time,
  :resource_region_scope)
  SENSITIVE = []
  include Aws::Structure
end