codedeploy_put_lifecycle_event_hook_execution_status: Sets the result of a Lambda validation function

View source: R/codedeploy_operations.R

codedeploy_put_lifecycle_event_hook_execution_statusR Documentation

Sets the result of a Lambda validation function

Description

Sets the result of a Lambda validation function. The function validates lifecycle hooks during a deployment that uses the Lambda or Amazon ECS compute platform. For Lambda deployments, the available lifecycle hooks are BeforeAllowTraffic and AfterAllowTraffic. For Amazon ECS deployments, the available lifecycle hooks are BeforeInstall, AfterInstall, AfterAllowTestTraffic, BeforeAllowTraffic, and AfterAllowTraffic. Lambda validation functions return Succeeded or Failed. For more information, see AppSpec 'hooks' Section for an Lambda Deployment and AppSpec 'hooks' Section for an Amazon ECS Deployment.

See https://www.paws-r-sdk.com/docs/codedeploy_put_lifecycle_event_hook_execution_status/ for full documentation.

Usage

codedeploy_put_lifecycle_event_hook_execution_status(
  deploymentId = NULL,
  lifecycleEventHookExecutionId = NULL,
  status = NULL
)

Arguments

deploymentId

The unique ID of a deployment. Pass this ID to a Lambda function that validates a deployment lifecycle event.

lifecycleEventHookExecutionId

The execution ID of a deployment's lifecycle hook. A deployment lifecycle hook is specified in the hooks section of the AppSpec file.

status

The result of a Lambda function that validates a deployment lifecycle event. The values listed in Valid Values are valid for lifecycle statuses in general; however, only Succeeded and Failed can be passed successfully in your API call.


paws.developer.tools documentation built on Sept. 12, 2024, 6:46 a.m.