You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::GameLift::Types::CreateAliasInput

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

Overview

Note:

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

{
  name: "NonBlankAndLengthConstraintString", # required
  description: "NonZeroAndMaxString",
  routing_strategy: { # required
    type: "SIMPLE", # accepts SIMPLE, TERMINAL
    fleet_id: "FleetId",
    message: "FreeText",
  },
}

Represents the input for a request action.

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

Human-readable description of an alias.

Returns:

  • (String)


297
298
299
300
301
302
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 297

class CreateAliasInput < Struct.new(
  :name,
  :description,
  :routing_strategy)
  include Aws::Structure
end

#nameString

Descriptive label that is associated with an alias. Alias names do not need to be unique.

Returns:

  • (String)


297
298
299
300
301
302
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 297

class CreateAliasInput < Struct.new(
  :name,
  :description,
  :routing_strategy)
  include Aws::Structure
end

#routing_strategyTypes::RoutingStrategy

Object that specifies the fleet and routing type to use for the alias.



297
298
299
300
301
302
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 297

class CreateAliasInput < Struct.new(
  :name,
  :description,
  :routing_strategy)
  include Aws::Structure
end