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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lambda/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 parent object that implements what percentage of traffic will invoke each function version. For more information, see lambda-traffic-shifting-using-aliases.

Instance Attribute Summary collapse

Instance Attribute Details

#additional_version_weightsHash<String,Float>

Set this value to dictate what percentage of traffic will invoke the updated function version. If set to an empty string, 100 percent of traffic will invoke function-version. For more information, see lambda-traffic-shifting-using-aliases.

Returns:

  • (Hash<String,Float>)


281
282
283
284
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 281

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