Struct rusoto_opsworks::Recipes [−][src]
pub struct Recipes { pub configure: Option<Vec<String>>, pub deploy: Option<Vec<String>>, pub setup: Option<Vec<String>>, pub shutdown: Option<Vec<String>>, pub undeploy: Option<Vec<String>>, }
AWS OpsWorks Stacks supports five lifecycle events: setup, configuration, deploy, undeploy, and shutdown. For each layer, AWS 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. AWS 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.
Fields
configure: Option<Vec<String>>
An array of custom recipe names to be run following a configure
event.
deploy: Option<Vec<String>>
An array of custom recipe names to be run following a deploy
event.
setup: Option<Vec<String>>
An array of custom recipe names to be run following a setup
event.
shutdown: Option<Vec<String>>
An array of custom recipe names to be run following a shutdown
event.
undeploy: Option<Vec<String>>
An array of custom recipe names to be run following a undeploy
event.
Trait Implementations
impl Default for Recipes
[src]
impl Default for Recipes
impl Debug for Recipes
[src]
impl Debug for Recipes
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Recipes
[src]
impl Clone for Recipes
fn clone(&self) -> Recipes
[src]
fn clone(&self) -> Recipes
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for Recipes
[src]
impl PartialEq for Recipes