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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb

Overview

Describes a resource share.

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.

Returns:

  • (Boolean)


1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 1546

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 time when the resource share was created.

Returns:

  • (Time)


1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 1546

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 how the resource share was created. Possible values include:

  • CREATED_FROM_POLICY - Indicates that the resource share was created from an Amazon Web Services Identity and Access Management (Amazon Web Services IAM) policy attached to a resource. These resource shares are visible only to the Amazon Web Services account that created it. They cannot be modified in RAM.

  • PROMOTING_TO_STANDARD - The resource share is in the process of being promoted. For more information, see PromoteResourceShareCreatedFromPolicy.

  • STANDARD - Indicates that the resource share was created in RAM using the console or APIs. These resource shares are visible to all principals. They can be modified in RAM.

Returns:

  • (String)


1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 1546

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 time when the resource share was last updated.

Returns:

  • (Time)


1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 1546

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)


1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 1546

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)


1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 1546

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.

Returns:

  • (String)


1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 1546

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 status of the resource share.

Returns:

  • (String)


1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 1546

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)


1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 1546

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 tags for the resource share.

Returns:



1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 1546

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