Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS OpsWorks Recipes Type

Describes custom event recipes for the AWS::OpsWorks::Layer resource type that AWS OpsWorks runs after the standard event recipes. For more information, see AWS OpsWorks Lifecycle Events in the AWS OpsWorks User Guide.

Syntax

JSON

Copy
{ "Configure" : [ String, ... ], "Deploy" : [ String, ... ], "Setup" : [ String, ... ], "Shutdown" : [ String, ... ], "Undeploy" : [ String, ... ] }

YAML

Copy
Configure: - String Deploy: - String Setup: - String Shutdown: - String Undeploy: - String

Properties

Configure

Custom recipe names to be run following a Configure event. The event occurs on all of the stack's instances when an instance enters or leaves the online state.

Required: No

Type: List of strings

Deploy

Custom recipe names to be run following a Deploy event. The event occurs when you run a deploy command, typically to deploy an application to a set of application server instances.

Required: No

Type: List of strings

Setup

Custom recipe names to be run following a Setup event. This event occurs on a new instance after it successfully boots.

Required: No

Type: List of strings

Shutdown

Custom recipe names to be run following a Shutdown event. This event occurs after you direct AWS OpsWorks to shut an instance down before the associated Amazon EC2 instance is actually terminated.

Required: No

Type: List of strings

Undeploy

Custom recipe names to be run following a Undeploy event. This event occurs when you delete an app or run an undeploy command to remove an app from a set of application server instances.

Required: No

Type: List of strings

On this page: