AWS SDK for .NET Documentation
Recipes Class
AmazonAmazon.OpsWorks.ModelRecipes Did this page help you?   Yes   No    Tell us about it...
AWS OpsWorks supports five lifecycle events, setup, configuration, deploy, undeploy, and shutdown. For each layer, AWS OpsWorks 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 runs custom event recipes after the standard recipes.
CopyC#
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.

Declaration Syntax
C#
public class Recipes
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
Recipes()()()()
Initializes a new instance of the Recipes class

Configure
Gets and sets the property Configure.

An array of custom recipe names to be run following a

CopyC#
configure
event.


Deploy
Gets and sets the property Deploy.

An array of custom recipe names to be run following a

CopyC#
deploy
event.


Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
Setup
Gets and sets the property Setup.

An array of custom recipe names to be run following a

CopyC#
setup
event.


Shutdown
Gets and sets the property Shutdown.

An array of custom recipe names to be run following a

CopyC#
shutdown
event.


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Undeploy
Gets and sets the property Undeploy.

An array of custom recipe names to be run following a

CopyC#
undeploy
event.


WithConfigure(array<String>[]()[][]) Obsolete.
Sets the Configure property

WithConfigure(IEnumerable<(Of <<'(String>)>>)) Obsolete.
Sets the Configure property

WithDeploy(array<String>[]()[][]) Obsolete.
Sets the Deploy property

WithDeploy(IEnumerable<(Of <<'(String>)>>)) Obsolete.
Sets the Deploy property

WithSetup(array<String>[]()[][]) Obsolete.
Sets the Setup property

WithSetup(IEnumerable<(Of <<'(String>)>>)) Obsolete.
Sets the Setup property

WithShutdown(array<String>[]()[][]) Obsolete.
Sets the Shutdown property

WithShutdown(IEnumerable<(Of <<'(String>)>>)) Obsolete.
Sets the Shutdown property

WithUndeploy(array<String>[]()[][]) Obsolete.
Sets the Undeploy property

WithUndeploy(IEnumerable<(Of <<'(String>)>>)) Obsolete.
Sets the Undeploy property

Inheritance Hierarchy
Object
Recipes

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)