Class: Aws::RAM::Types::Resource
- Inherits:
-
Struct
- Object
- Struct
- Aws::RAM::Types::Resource
- 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
-
#arn ⇒ String
The [Amazon Resource Name (ARN)] of the resource.
-
#creation_time ⇒ Time
The date and time when the resource was associated with the resource share.
-
#last_updated_time ⇒ Time
The date an time when the association between the resource and the resource share was last updated.
-
#resource_group_arn ⇒ String
The [Amazon Resource Name (ARN)] of the resource group.
-
#resource_region_scope ⇒ String
Specifies the scope of visibility of this resource:.
-
#resource_share_arn ⇒ String
The [Amazon Resource Name (ARN)] of the resource share this resource is associated with.
-
#status ⇒ String
The current status of the resource.
-
#status_message ⇒ String
A message about the status of the resource.
-
#type ⇒ String
The resource type.
Instance Attribute Details
#arn ⇒ String
The [Amazon Resource Name (ARN)] of the resource.
[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
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_time ⇒ Time
The date and time when the resource was associated with the resource share.
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_time ⇒ Time
The date an time when the association between the resource and the resource share was last updated.
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_arn ⇒ String
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
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_scope ⇒ String
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.
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_arn ⇒ String
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
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 ⇒ String
The current status of the resource.
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_message ⇒ String
A message about the status of the resource.
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 |
#type ⇒ String
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`.
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 |