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 traffic-shifting configuration of a Lambda function alias.

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 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 318

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