You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Lambda::Types::CreateAliasRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lambda::Types::CreateAliasRequest
- Defined in:
- (unknown)
Overview
When passing CreateAliasRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
function_name: "FunctionName", # required
name: "Alias", # required
function_version: "Version", # required
description: "Description",
routing_config: {
additional_version_weights: {
"AdditionalVersion" => 1.0,
},
},
}
Instance Attribute Summary collapse
-
#description ⇒ String
A description of the alias.
-
#function_name ⇒ String
The name of the Lambda function.
-
#function_version ⇒ String
The function version that the alias invokes.
-
#name ⇒ String
The name of the alias.
-
#routing_config ⇒ Types::AliasRoutingConfiguration
The [routing configuration][1] of the alias.
Instance Attribute Details
#description ⇒ String
A description of the alias.
#function_name ⇒ String
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.
#function_version ⇒ String
The function version that the alias invokes.
#name ⇒ String
The name of the alias.
#routing_config ⇒ Types::AliasRoutingConfiguration
The routing configuration of the alias.