Struct aws_sdk_opsworks::model::Recipes [−][src]
#[non_exhaustive]pub struct Recipes {
pub setup: Option<Vec<String>>,
pub configure: Option<Vec<String>>,
pub deploy: Option<Vec<String>>,
pub undeploy: Option<Vec<String>>,
pub shutdown: Option<Vec<String>>,
}
Expand description
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 (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.setup: Option<Vec<String>>
An array of custom recipe names to be run following a setup
event.
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.
undeploy: Option<Vec<String>>
An array of custom recipe names to be run following a undeploy
event.
shutdown: Option<Vec<String>>
An array of custom recipe names to be run following a shutdown
event.
Implementations
An array of custom recipe names to be run following a setup
event.
An array of custom recipe names to be run following a configure
event.
An array of custom recipe names to be run following a deploy
event.
An array of custom recipe names to be run following a undeploy
event.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Recipes
impl UnwindSafe for Recipes
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more