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

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

Overview

Describes an association between 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 Resource Name (ARN)] of the resource.

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

    • The ID of an Amazon Web Services account

    • The [Amazon Resource 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

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

Returns:

  • (String)


3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
# File 'lib/aws-sdk-ram/types.rb', line 3141

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)


3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
# File 'lib/aws-sdk-ram/types.rb', line 3141

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)


3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
# File 'lib/aws-sdk-ram/types.rb', line 3141

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)


3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
# File 'lib/aws-sdk-ram/types.rb', line 3141

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)


3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
# File 'lib/aws-sdk-ram/types.rb', line 3141

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 Resource Name (ARN)] of the resource share.

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

Returns:

  • (String)


3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
# File 'lib/aws-sdk-ram/types.rb', line 3141

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)


3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
# File 'lib/aws-sdk-ram/types.rb', line 3141

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)


3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
# File 'lib/aws-sdk-ram/types.rb', line 3141

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)


3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
# File 'lib/aws-sdk-ram/types.rb', line 3141

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