/AWS1/CL_OWXRECIPES¶
OpsWorks Stacks supports five
lifecycle events:
setup, configuration, deploy, undeploy, and shutdown. For
each layer, OpsWorks Stacks runs a set of standard recipes for each event. In addition, you can provide
custom recipes for any or all layers and events. OpsWorks Stacks runs custom event recipes after the
standard recipes. LayerCustomRecipes specifies the custom recipes for a
particular layer to be run in response to each of the five events.
To specify a recipe, use the cookbook's directory name in the repository followed by two colons and the recipe name, which is the recipe's file name without the .rb extension. For example: phpapp2::dbsetup specifies the dbsetup.rb recipe in the repository's phpapp2 folder.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
it_setup TYPE /AWS1/CL_OWXSTRINGS_W=>TT_STRINGS TT_STRINGS¶
An array of custom recipe names to be run following a
setupevent.
it_configure TYPE /AWS1/CL_OWXSTRINGS_W=>TT_STRINGS TT_STRINGS¶
An array of custom recipe names to be run following a
configureevent.
it_deploy TYPE /AWS1/CL_OWXSTRINGS_W=>TT_STRINGS TT_STRINGS¶
An array of custom recipe names to be run following a
deployevent.
it_undeploy TYPE /AWS1/CL_OWXSTRINGS_W=>TT_STRINGS TT_STRINGS¶
An array of custom recipe names to be run following a
undeployevent.
it_shutdown TYPE /AWS1/CL_OWXSTRINGS_W=>TT_STRINGS TT_STRINGS¶
An array of custom recipe names to be run following a
shutdownevent.
Queryable Attributes¶
Setup¶
An array of custom recipe names to be run following a
setupevent.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SETUP() |
Getter for SETUP, with configurable default |
ASK_SETUP() |
Getter for SETUP w/ exceptions if field has no value |
HAS_SETUP() |
Determine if SETUP has a value |
Configure¶
An array of custom recipe names to be run following a
configureevent.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CONFIGURE() |
Getter for CONFIGURE, with configurable default |
ASK_CONFIGURE() |
Getter for CONFIGURE w/ exceptions if field has no value |
HAS_CONFIGURE() |
Determine if CONFIGURE has a value |
Deploy¶
An array of custom recipe names to be run following a
deployevent.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DEPLOY() |
Getter for DEPLOY, with configurable default |
ASK_DEPLOY() |
Getter for DEPLOY w/ exceptions if field has no value |
HAS_DEPLOY() |
Determine if DEPLOY has a value |
Undeploy¶
An array of custom recipe names to be run following a
undeployevent.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_UNDEPLOY() |
Getter for UNDEPLOY, with configurable default |
ASK_UNDEPLOY() |
Getter for UNDEPLOY w/ exceptions if field has no value |
HAS_UNDEPLOY() |
Determine if UNDEPLOY has a value |
Shutdown¶
An array of custom recipe names to be run following a
shutdownevent.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SHUTDOWN() |
Getter for SHUTDOWN, with configurable default |
ASK_SHUTDOWN() |
Getter for SHUTDOWN w/ exceptions if field has no value |
HAS_SHUTDOWN() |
Determine if SHUTDOWN has a value |