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,
  },
}

A Lambda function alias’s [traffic shifting] configuration.

[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 is routed to it.

Returns:

  • (Hash<String,Float>)


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

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