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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#additional_version_weightsHash<String,Float>

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

Returns:

  • (Hash<String,Float>)


333
334
335
336
337
# File 'lib/aws-sdk-lambda/types.rb', line 333

class AliasRoutingConfiguration < Struct.new(
  :additional_version_weights)
  SENSITIVE = []
  include Aws::Structure
end