[][src]Struct rusoto_opsworks::Recipes

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 Clone for Recipes[src]

impl Debug for Recipes[src]

impl Default for Recipes[src]

impl<'de> Deserialize<'de> for Recipes[src]

impl PartialEq<Recipes> for Recipes[src]

impl Serialize for Recipes[src]

impl StructuralPartialEq for Recipes[src]

Auto Trait Implementations

impl RefUnwindSafe for Recipes

impl Send for Recipes

impl Sync for Recipes

impl Unpin for Recipes

impl UnwindSafe for Recipes

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.