Class DeleteCloudFormationLifecycleHook
java.lang.Object
org.craftercms.deployer.impl.lifecycle.AbstractLifecycleHook
org.craftercms.deployer.impl.lifecycle.aws.DeleteCloudFormationLifecycleHook
- All Implemented Interfaces:
TargetLifecycleHook
,InitializableByConfigBean
Implementation of
TargetLifecycleHook
that deletes a CloudFormation stack.- Author:
- avasquez
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AwsClientBuilderConfigurer
protected static final String
protected static final String[]
protected String
Fields inherited from class org.craftercms.deployer.impl.lifecycle.AbstractLifecycleHook
CONFIG_KEY_DISABLED, disabled, logger
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.craftercms.deployer.impl.lifecycle.AbstractLifecycleHook
execute, init
-
Field Details
-
CONFIG_KEY_STACK_NAME
- See Also:
-
STACK_STATUS_CODES_DELETED
-
builderConfigurer
-
stackName
-
-
Constructor Details
-
DeleteCloudFormationLifecycleHook
public DeleteCloudFormationLifecycleHook()
-
-
Method Details
-
doInit
public void doInit(org.apache.commons.configuration2.Configuration config) throws org.craftercms.commons.config.ConfigurationException - Specified by:
doInit
in classAbstractLifecycleHook
- Throws:
org.craftercms.commons.config.ConfigurationException
-
doExecute
- Specified by:
doExecute
in classAbstractLifecycleHook
- Throws:
DeployerException
-