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

Class: Aws::CodeDeploy::Types::LambdaFunctionInfo

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

Overview

Information about a Lambda function specified in a deployment.

Instance Attribute Summary collapse

Instance Attribute Details

#current_versionString

The version of a Lambda function that production traffic points to.

Returns:

  • (String)


2906
2907
2908
2909
2910
2911
2912
2913
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2906

class LambdaFunctionInfo < Struct.new(
  :function_name,
  :function_alias,
  :current_version,
  :target_version,
  :target_version_weight)
  include Aws::Structure
end

#function_aliasString

The alias of a Lambda function. For more information, see Introduction to AWS Lambda Aliases.

Returns:

  • (String)


2906
2907
2908
2909
2910
2911
2912
2913
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2906

class LambdaFunctionInfo < Struct.new(
  :function_name,
  :function_alias,
  :current_version,
  :target_version,
  :target_version_weight)
  include Aws::Structure
end

#function_nameString

The name of a Lambda function.

Returns:

  • (String)


2906
2907
2908
2909
2910
2911
2912
2913
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2906

class LambdaFunctionInfo < Struct.new(
  :function_name,
  :function_alias,
  :current_version,
  :target_version,
  :target_version_weight)
  include Aws::Structure
end

#target_versionString

The version of a Lambda function that production traffic points to after the Lambda function is deployed.

Returns:

  • (String)


2906
2907
2908
2909
2910
2911
2912
2913
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2906

class LambdaFunctionInfo < Struct.new(
  :function_name,
  :function_alias,
  :current_version,
  :target_version,
  :target_version_weight)
  include Aws::Structure
end

#target_version_weightFloat

The percentage of production traffic that the target version of a Lambda function receives.

Returns:

  • (Float)


2906
2907
2908
2909
2910
2911
2912
2913
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2906

class LambdaFunctionInfo < Struct.new(
  :function_name,
  :function_alias,
  :current_version,
  :target_version,
  :target_version_weight)
  include Aws::Structure
end