class Aws::Lambda::Types::CreateAliasRequest
@note When making an API call, you may pass CreateAliasRequest
data as a hash: { function_name: "FunctionName", # required name: "Alias", # required function_version: "Version", # required description: "Description", routing_config: { additional_version_weights: { "AdditionalVersion" => 1.0, }, }, }
@!attribute [rw] function_name
The name of the Lambda function. **Name formats** * **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. @return [String]
@!attribute [rw] name
The name of the alias. @return [String]
@!attribute [rw] function_version
The function version that the alias invokes. @return [String]
@!attribute [rw] description
A description of the alias. @return [String]
@!attribute [rw] routing_config
The [routing configuration][1] of the alias. [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html#configuring-alias-routing @return [Types::AliasRoutingConfiguration]
@see docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateAliasRequest AWS API Documentation
Constants
- SENSITIVE