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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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 Resource Name (ARN)] of the resource.

[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html

Returns:

  • (String)


2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
# File 'lib/aws-sdk-ram/types.rb', line 2948

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)


2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
# File 'lib/aws-sdk-ram/types.rb', line 2948

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 between the resource and the resource share was last updated.

Returns:

  • (Time)


2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
# File 'lib/aws-sdk-ram/types.rb', line 2948

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 Resource Name (ARN)] of the resource group. This value is available only if the resource is part of a resource group.

[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html

Returns:

  • (String)


2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
# File 'lib/aws-sdk-ram/types.rb', line 2948

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)


2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
# File 'lib/aws-sdk-ram/types.rb', line 2948

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 Resource Name (ARN)] of the resource share this resource is associated with.

[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html

Returns:

  • (String)


2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
# File 'lib/aws-sdk-ram/types.rb', line 2948

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)


2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
# File 'lib/aws-sdk-ram/types.rb', line 2948

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)


2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
# File 'lib/aws-sdk-ram/types.rb', line 2948

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`, and is case-insensitive. For example, an Amazon EC2 Subnet would be represented by the string `ec2:subnet`.

Returns:

  • (String)


2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
# File 'lib/aws-sdk-ram/types.rb', line 2948

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