Class: Aws::RAM::Types::ResourceShare
- Inherits:
-
Struct
- Object
- Struct
- Aws::RAM::Types::ResourceShare
- Defined in:
- gems/aws-sdk-ram/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)][1] 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.
3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 |
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 3191 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.
3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 |
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 3191 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 toSTANDARDwhen complete.
3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 |
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 3191 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.
3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 |
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 3191 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.
3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 |
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 3191 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.
3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 |
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 3191 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
3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 |
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 3191 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.
3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 |
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 3191 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.
3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 |
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 3191 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.
3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 |
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 3191 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 |