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

Class: Aws::Lambda::Types::CreateAliasRequest

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 CreateAliasRequest data as a hash:

{
  function_name: "FunctionName", # required
  name: "Alias", # required
  function_version: "Version", # required
  description: "Description",
}

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

Description of the alias.

Returns:

  • (String)


260
261
262
263
264
265
266
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 260

class CreateAliasRequest < Struct.new(
  :function_name,
  :name,
  :function_version,
  :description)
  include Aws::Structure
end

#function_nameString

Name of the Lambda function for which you want to create an alias. 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)


260
261
262
263
264
265
266
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 260

class CreateAliasRequest < Struct.new(
  :function_name,
  :name,
  :function_version,
  :description)
  include Aws::Structure
end

#function_versionString

Lambda function version for which you are creating the alias.

Returns:

  • (String)


260
261
262
263
264
265
266
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 260

class CreateAliasRequest < Struct.new(
  :function_name,
  :name,
  :function_version,
  :description)
  include Aws::Structure
end

#nameString

Name for the alias you are creating.

Returns:

  • (String)


260
261
262
263
264
265
266
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 260

class CreateAliasRequest < Struct.new(
  :function_name,
  :name,
  :function_version,
  :description)
  include Aws::Structure
end