Class: Aws::RAM::Types::ResourceShareAssociation

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

Overview

Describes an association with a resource share and either a principal or a resource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#associated_entityString

The associated entity. This can be either of the following:

  • For a resource association, this is the Amazon Resoure Name (ARN) of the resource.

  • For principal associations, this is one of the following:

    • The ID of an Amazon Web Services account

    • The Amazon Resoure Name (ARN) of an organization in Organizations

    • The ARN of an organizational unit (OU) in Organizations

    • The ARN of an IAM role

    • The ARN of an IAM user

Returns:

  • (String)


2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 2112

class ResourceShareAssociation < Struct.new(
  :resource_share_arn,
  :resource_share_name,
  :associated_entity,
  :association_type,
  :status,
  :status_message,
  :creation_time,
  :last_updated_time,
  :external)
  SENSITIVE = []
  include Aws::Structure
end

#association_typeString

The type of entity included in this association.

Returns:

  • (String)


2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 2112

class ResourceShareAssociation < Struct.new(
  :resource_share_arn,
  :resource_share_name,
  :associated_entity,
  :association_type,
  :status,
  :status_message,
  :creation_time,
  :last_updated_time,
  :external)
  SENSITIVE = []
  include Aws::Structure
end

#creation_timeTime

The date and time when the association was created.

Returns:

  • (Time)


2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 2112

class ResourceShareAssociation < Struct.new(
  :resource_share_arn,
  :resource_share_name,
  :associated_entity,
  :association_type,
  :status,
  :status_message,
  :creation_time,
  :last_updated_time,
  :external)
  SENSITIVE = []
  include Aws::Structure
end

#externalBoolean

Indicates whether the principal belongs to the same organization in Organizations as the Amazon Web Services account that owns the resource share.

Returns:

  • (Boolean)


2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 2112

class ResourceShareAssociation < Struct.new(
  :resource_share_arn,
  :resource_share_name,
  :associated_entity,
  :association_type,
  :status,
  :status_message,
  :creation_time,
  :last_updated_time,
  :external)
  SENSITIVE = []
  include Aws::Structure
end

#last_updated_timeTime

The date and time when the association was last updated.

Returns:

  • (Time)


2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 2112

class ResourceShareAssociation < Struct.new(
  :resource_share_arn,
  :resource_share_name,
  :associated_entity,
  :association_type,
  :status,
  :status_message,
  :creation_time,
  :last_updated_time,
  :external)
  SENSITIVE = []
  include Aws::Structure
end

#resource_share_arnString

The Amazon Resoure Name (ARN) of the resource share.

Returns:

  • (String)


2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 2112

class ResourceShareAssociation < Struct.new(
  :resource_share_arn,
  :resource_share_name,
  :associated_entity,
  :association_type,
  :status,
  :status_message,
  :creation_time,
  :last_updated_time,
  :external)
  SENSITIVE = []
  include Aws::Structure
end

#resource_share_nameString

The name of the resource share.

Returns:

  • (String)


2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 2112

class ResourceShareAssociation < Struct.new(
  :resource_share_arn,
  :resource_share_name,
  :associated_entity,
  :association_type,
  :status,
  :status_message,
  :creation_time,
  :last_updated_time,
  :external)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The current status of the association.

Returns:

  • (String)


2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 2112

class ResourceShareAssociation < Struct.new(
  :resource_share_arn,
  :resource_share_name,
  :associated_entity,
  :association_type,
  :status,
  :status_message,
  :creation_time,
  :last_updated_time,
  :external)
  SENSITIVE = []
  include Aws::Structure
end

#status_messageString

A message about the status of the association.

Returns:

  • (String)


2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 2112

class ResourceShareAssociation < Struct.new(
  :resource_share_arn,
  :resource_share_name,
  :associated_entity,
  :association_type,
  :status,
  :status_message,
  :creation_time,
  :last_updated_time,
  :external)
  SENSITIVE = []
  include Aws::Structure
end