Class: Aws::RAM::Types::ResourceShare

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#allow_external_principalsBoolean

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.

Returns:

  • (Boolean)


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_timeTime

The date and time when the resource share was created.

Returns:

  • (Time)


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_setString

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.

Returns:

  • (String)


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_timeTime

The date and time when the resource share was last updated.

Returns:

  • (Time)


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

#nameString

The name of the resource share.

Returns:

  • (String)


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_idString

The ID of the Amazon Web Services account that owns the resource share.

Returns:

  • (String)


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_arnString

The [Amazon Resource Name (ARN)] of the resource share

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

Returns:

  • (String)


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

#statusString

The current status of the resource share.

Returns:

  • (String)


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_messageString

A message about the status of the resource share.

Returns:

  • (String)


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

#tagsArray<Types::Tag>

The tag key and value pairs attached to the resource share.

Returns:



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