AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Inheritance Hierarchy

System.Object
  Amazon.OpsWorks.Model.Recipes

Namespace: Amazon.OpsWorks.Model
Assembly: AWSSDK.OpsWorks.dll
Version: 3.x.y.z

Syntax

C#
public class Recipes

The Recipes type exposes the following members

Constructors

NameDescription
Public Method Recipes()

Properties

NameTypeDescription
Public Property Configure System.Collections.Generic.List<System.String>

Gets and sets the property Configure.

An array of custom recipe names to be run following a configure event.

Public Property Deploy System.Collections.Generic.List<System.String>

Gets and sets the property Deploy.

An array of custom recipe names to be run following a deploy event.

Public Property Setup System.Collections.Generic.List<System.String>

Gets and sets the property Setup.

An array of custom recipe names to be run following a setup event.

Public Property Shutdown System.Collections.Generic.List<System.String>

Gets and sets the property Shutdown.

An array of custom recipe names to be run following a shutdown event.

Public Property Undeploy System.Collections.Generic.List<System.String>

Gets and sets the property Undeploy.

An array of custom recipe names to be run following a undeploy event.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5