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

Class: Aws::Lambda::Types::UpdateAliasRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing UpdateAliasRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  function_name: "FunctionName", # required
  name: "Alias", # required
  function_version: "Version",
  description: "Description",
  routing_config: {
    additional_version_weights: {
      "AdditionalVersion" => 1.0,
    },
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

You can change the description of the alias using this parameter.

Returns:

  • (String)

    You can change the description of the alias using this parameter.

#function_nameString

The function name for which the alias is created. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.

Returns:

  • (String)

    The function name for which the alias is created.

#function_versionString

Using this parameter you can change the Lambda function version to which the alias points.

Returns:

  • (String)

    Using this parameter you can change the Lambda function version to which the alias points.

#nameString

The alias name.

Returns:

  • (String)

    The alias name.

#routing_configTypes::AliasRoutingConfiguration

Specifies an additional version your alias can point to, allowing you to dictate what percentage of traffic will invoke each version. For more information, see lambda-traffic-shifting-using-aliases.

Returns:

  • (Types::AliasRoutingConfiguration)

    Specifies an additional version your alias can point to, allowing you to dictate what percentage of traffic will invoke each version.