Class: Aws::RAM::Types::ResourceShare
- Inherits:
-
Struct
- Object
- Struct
- Aws::RAM::Types::ResourceShare
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ram/types.rb
Overview
Describes a resource share in RAM.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#allow_external_principals ⇒ Boolean
Indicates whether principals outside your organization in Organizations can be associated with a resource share.
-
#creation_time ⇒ Time
The date and time when the resource share was created.
-
#feature_set ⇒ String
Indicates what features are available for this resource share.
-
#last_updated_time ⇒ Time
The date and time when the resource share was last updated.
-
#name ⇒ String
The name of the resource share.
-
#owning_account_id ⇒ String
The ID of the Amazon Web Services account that owns the resource share.
-
#resource_share_arn ⇒ String
The [Amazon Resource Name (ARN)] of the resource share.
-
#status ⇒ String
The current status of the resource share.
-
#status_message ⇒ String
A message about the status of the resource share.
-
#tags ⇒ Array<Types::Tag>
The tag key and value pairs attached to the resource share.
Instance Attribute Details
#allow_external_principals ⇒ Boolean
Indicates whether principals outside your organization in Organizations can be associated with a resource share.
-
‘True` – the resource share can be shared with any Amazon Web Services account.
-
‘False` – the resource share can be shared with only accounts in the same organization as the account that owns the resource share.
3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 |
# File 'lib/aws-sdk-ram/types.rb', line 3059 class ResourceShare < Struct.new( :resource_share_arn, :name, :owning_account_id, :allow_external_principals, :status, :status_message, :tags, :creation_time, :last_updated_time, :feature_set) SENSITIVE = [] include Aws::Structure end |
#creation_time ⇒ Time
The date and time when the resource share was created.
3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 |
# File 'lib/aws-sdk-ram/types.rb', line 3059 class ResourceShare < Struct.new( :resource_share_arn, :name, :owning_account_id, :allow_external_principals, :status, :status_message, :tags, :creation_time, :last_updated_time, :feature_set) SENSITIVE = [] include Aws::Structure end |
#feature_set ⇒ String
Indicates what features are available for this resource share. This parameter can have one of the following values:
-
STANDARD – A resource share that supports all functionality. These resource shares are visible to all principals you share the resource share with. You can modify these resource shares in RAM using the console or APIs. This resource share might have been created by RAM, or it might have been CREATED_FROM_POLICY and then promoted.
-
CREATED_FROM_POLICY – The customer manually shared a resource by attaching a resource-based policy. That policy did not match any existing managed permissions, so RAM created this customer managed permission automatically on the customer’s behalf based on the attached policy document. This type of resource share is visible only to the Amazon Web Services account that created it. You can’t modify it in RAM unless you promote it. For more information, see PromoteResourceShareCreatedFromPolicy.
-
PROMOTING_TO_STANDARD – This resource share was originally ‘CREATED_FROM_POLICY`, but the customer ran the PromoteResourceShareCreatedFromPolicy and that operation is still in progress. This value changes to `STANDARD` when complete.
3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 |
# File 'lib/aws-sdk-ram/types.rb', line 3059 class ResourceShare < Struct.new( :resource_share_arn, :name, :owning_account_id, :allow_external_principals, :status, :status_message, :tags, :creation_time, :last_updated_time, :feature_set) SENSITIVE = [] include Aws::Structure end |
#last_updated_time ⇒ Time
The date and time when the resource share was last updated.
3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 |
# File 'lib/aws-sdk-ram/types.rb', line 3059 class ResourceShare < Struct.new( :resource_share_arn, :name, :owning_account_id, :allow_external_principals, :status, :status_message, :tags, :creation_time, :last_updated_time, :feature_set) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the resource share.
3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 |
# File 'lib/aws-sdk-ram/types.rb', line 3059 class ResourceShare < Struct.new( :resource_share_arn, :name, :owning_account_id, :allow_external_principals, :status, :status_message, :tags, :creation_time, :last_updated_time, :feature_set) SENSITIVE = [] include Aws::Structure end |
#owning_account_id ⇒ String
The ID of the Amazon Web Services account that owns the resource share.
3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 |
# File 'lib/aws-sdk-ram/types.rb', line 3059 class ResourceShare < Struct.new( :resource_share_arn, :name, :owning_account_id, :allow_external_principals, :status, :status_message, :tags, :creation_time, :last_updated_time, :feature_set) SENSITIVE = [] include Aws::Structure end |
#resource_share_arn ⇒ String
The [Amazon Resource Name (ARN)] of the resource share
[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 |
# File 'lib/aws-sdk-ram/types.rb', line 3059 class ResourceShare < Struct.new( :resource_share_arn, :name, :owning_account_id, :allow_external_principals, :status, :status_message, :tags, :creation_time, :last_updated_time, :feature_set) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
The current status of the resource share.
3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 |
# File 'lib/aws-sdk-ram/types.rb', line 3059 class ResourceShare < Struct.new( :resource_share_arn, :name, :owning_account_id, :allow_external_principals, :status, :status_message, :tags, :creation_time, :last_updated_time, :feature_set) SENSITIVE = [] include Aws::Structure end |
#status_message ⇒ String
A message about the status of the resource share.
3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 |
# File 'lib/aws-sdk-ram/types.rb', line 3059 class ResourceShare < Struct.new( :resource_share_arn, :name, :owning_account_id, :allow_external_principals, :status, :status_message, :tags, :creation_time, :last_updated_time, :feature_set) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
The tag key and value pairs attached to the resource share.
3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 |
# File 'lib/aws-sdk-ram/types.rb', line 3059 class ResourceShare < Struct.new( :resource_share_arn, :name, :owning_account_id, :allow_external_principals, :status, :status_message, :tags, :creation_time, :last_updated_time, :feature_set) SENSITIVE = [] include Aws::Structure end |