Amazon CodeDeploy · JSON Structure

Amazon Codedeploy Lambda Function Info Structure

Information about a Lambda function specified in a deployment.

Type: object Properties: 5
AmazonDeploymentDevOpsCI/CDRelease ManagementBlue/Green Deployment

LambdaFunctionInfo is a JSON Structure definition published by Amazon CodeDeploy, describing 5 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

functionName functionAlias currentVersion targetVersion targetVersionWeight

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codedeploy/refs/heads/main/json-structure/amazon-codedeploy-lambda-function-info-structure.json",
  "name": "LambdaFunctionInfo",
  "description": " Information about a Lambda function specified in a deployment. ",
  "type": "object",
  "properties": {
    "functionName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/LambdaFunctionName"
        },
        {
          "description": " The name of a Lambda function. "
        }
      ]
    },
    "functionAlias": {
      "allOf": [
        {
          "$ref": "#/components/schemas/LambdaFunctionAlias"
        },
        {
          "description": " The alias of a Lambda function. For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/aliases-intro.html\">Lambda Function Aliases</a> in the <i>Lambda Developer Guide</i>."
        }
      ]
    },
    "currentVersion": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Version"
        },
        {
          "description": " The version of a Lambda function that production traffic points to. "
        }
      ]
    },
    "targetVersion": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Version"
        },
        {
          "description": " The version of a Lambda function that production traffic points to after the Lambda function is deployed. "
        }
      ]
    },
    "targetVersionWeight": {
      "allOf": [
        {
          "$ref": "#/components/schemas/TrafficWeight"
        },
        {
          "description": " The percentage of production traffic that the target version of a Lambda function receives. "
        }
      ]
    }
  }
}