Class: Aws::WorkSpaces::Types::ConnectionAliasPermission

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

Overview

Note:

When making an API call, you may pass ConnectionAliasPermission data as a hash:

{
  shared_account_id: "AwsAccount", # required
  allow_association: false, # required
}

Describes the permissions for a connection alias. Connection aliases are used for cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#allow_associationBoolean

Indicates whether the specified Amazon Web Services account is allowed to associate the connection alias with a directory.

Returns:

  • (Boolean)


374
375
376
377
378
379
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 374

class ConnectionAliasPermission < Struct.new(
  :shared_account_id,
  :allow_association)
  SENSITIVE = []
  include Aws::Structure
end

#shared_account_idString

The identifier of the Amazon Web Services account that the connection alias is shared with.

Returns:

  • (String)


374
375
376
377
378
379
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 374

class ConnectionAliasPermission < Struct.new(
  :shared_account_id,
  :allow_association)
  SENSITIVE = []
  include Aws::Structure
end