StructuredPojo
, ToCopyableBuilder<Recipes.Builder,Recipes>
@Generated("software.amazon.awssdk:codegen") public class Recipes extends Object implements StructuredPojo, ToCopyableBuilder<Recipes.Builder,Recipes>
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.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Recipes.Builder |
Modifier and Type | Method | Description |
---|---|---|
static Recipes.Builder |
builder() |
|
List<String> |
configure() |
An array of custom recipe names to be run following a
configure event. |
List<String> |
deploy() |
An array of custom recipe names to be run following a
deploy event. |
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends Recipes.Builder> |
serializableBuilderClass() |
|
List<String> |
setup() |
An array of custom recipe names to be run following a
setup event. |
List<String> |
shutdown() |
An array of custom recipe names to be run following a
shutdown event. |
Recipes.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
List<String> |
undeploy() |
An array of custom recipe names to be run following a
undeploy event. |
public List<String> setup()
An array of custom recipe names to be run following a setup
event.
setup
event.public List<String> configure()
An array of custom recipe names to be run following a configure
event.
configure
event.public List<String> deploy()
An array of custom recipe names to be run following a deploy
event.
deploy
event.public List<String> undeploy()
An array of custom recipe names to be run following a undeploy
event.
undeploy
event.public List<String> shutdown()
An array of custom recipe names to be run following a shutdown
event.
shutdown
event.public Recipes.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Recipes.Builder,Recipes>
public static Recipes.Builder builder()
public static Class<? extends Recipes.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.