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

Class: Aws::Lambda::Types::AliasConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb

Overview

Provides configuration information about a Lambda function version alias.

Instance Attribute Summary collapse

Instance Attribute Details

#alias_arnString

Lambda function ARN that is qualified using the alias name as the suffix. For example, if you create an alias called BETA that points to a helloworld function version, the ARN is arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA.

Returns:

  • (String)


235
236
237
238
239
240
241
242
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 235

class AliasConfiguration < Struct.new(
  :alias_arn,
  :name,
  :function_version,
  :description,
  :routing_config)
  include Aws::Structure
end

#descriptionString

Alias description.

Returns:

  • (String)


235
236
237
238
239
240
241
242
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 235

class AliasConfiguration < Struct.new(
  :alias_arn,
  :name,
  :function_version,
  :description,
  :routing_config)
  include Aws::Structure
end

#function_versionString

Function version to which the alias points.

Returns:

  • (String)


235
236
237
238
239
240
241
242
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 235

class AliasConfiguration < Struct.new(
  :alias_arn,
  :name,
  :function_version,
  :description,
  :routing_config)
  include Aws::Structure
end

#nameString

Alias name.

Returns:

  • (String)


235
236
237
238
239
240
241
242
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 235

class AliasConfiguration < Struct.new(
  :alias_arn,
  :name,
  :function_version,
  :description,
  :routing_config)
  include Aws::Structure
end

#routing_configTypes::AliasRoutingConfiguration

Specifies an additional function versions the alias points to, allowing you to dictate what percentage of traffic will invoke each version. For more information, see lambda-traffic-shifting-using-aliases.



235
236
237
238
239
240
241
242
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 235

class AliasConfiguration < Struct.new(
  :alias_arn,
  :name,
  :function_version,
  :description,
  :routing_config)
  include Aws::Structure
end