Class StackSetManager
- java.lang.Object
-
- pl.wrzasq.lambda.cform.stackset.service.StackSetManager
-
public class StackSetManager extends Object
CloudFormation API implementation.
-
-
Constructor Summary
Constructors Constructor Description StackSetManager(com.amazonaws.services.cloudformation.AmazonCloudFormation cloudFormation, pl.wrzasq.commons.aws.cloudformation.StackSetHandler stackSetHandler)Initializes object with given CloudFormation client.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description pl.wrzasq.commons.aws.cloudformation.CustomResourceResponse<StackSetResponse>deleteStackSet(StackSetRequest input, String physicalResourceId)Handles stack set deletion.pl.wrzasq.commons.aws.cloudformation.CustomResourceResponse<StackSetResponse>deployStackSet(StackSetRequest input, String physicalResourceId)Handles stack set deployment.
-
-
-
Constructor Detail
-
StackSetManager
public StackSetManager(com.amazonaws.services.cloudformation.AmazonCloudFormation cloudFormation, pl.wrzasq.commons.aws.cloudformation.StackSetHandler stackSetHandler)Initializes object with given CloudFormation client.- Parameters:
cloudFormation- AWS CloudFormation client.stackSetHandler- Stack set operations helper.
-
-
Method Detail
-
deployStackSet
public pl.wrzasq.commons.aws.cloudformation.CustomResourceResponse<StackSetResponse> deployStackSet(StackSetRequest input, String physicalResourceId)
Handles stack set deployment.- Parameters:
input- Resource deployment request.physicalResourceId- Physical ID of existing resource (if present).- Returns:
- Data about published version.
-
deleteStackSet
public pl.wrzasq.commons.aws.cloudformation.CustomResourceResponse<StackSetResponse> deleteStackSet(StackSetRequest input, String physicalResourceId)
Handles stack set deletion.- Parameters:
input- Resource delete request.physicalResourceId- Physical ID of existing resource (if present).- Returns:
- Empty response.
-
-