Class: Aws::Lambda::Types::AliasRoutingConfiguration

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

Overview

Note:

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

{
  additional_version_weights: {
    "AdditionalVersion" => 1.0,
  },
}

The [traffic-shifting] configuration of a Lambda function alias.

[1]: docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html

Instance Attribute Summary collapse

Instance Attribute Details

#additional_version_weightsHash<String,Float>

The name of the second alias, and the percentage of traffic that’s routed to it.

Returns:

  • (Hash<String,Float>)


318
319
320
321
# File 'lib/aws-sdk-lambda/types.rb', line 318

class AliasRoutingConfiguration < Struct.new(
  :additional_version_weights)
  include Aws::Structure
end