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,
    },
  },
  revision_id: "String",
}

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

A description of the alias.

Returns:

  • (String)

    A description of the alias.

#function_nameString

The name of the Lambda function.

Name formats .title

  • Function name - MyFunction.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Returns:

  • (String)

    The name of the Lambda function.

#function_versionString

The function version that the alias invokes.

Returns:

  • (String)

    The function version that the alias invokes.

#nameString

The name of the alias.

Returns:

  • (String)

    The name of the alias.

#revision_idString

Only update the alias if the revision ID matches the ID that\'s specified. Use this option to avoid modifying an alias that has changed since you last read it.

Returns:

  • (String)

    Only update the alias if the revision ID matches the ID that\'s specified.

#routing_configTypes::AliasRoutingConfiguration

The routing configuration of the alias.

Returns: