Class CloudFormationClient


  • public class CloudFormationClient
    extends Object
    Responsible for creating the CloudFormation stack needed to test the connector, and unwinding it once testing is done.
    • Constructor Detail

      • CloudFormationClient

        public CloudFormationClient​(org.testng.internal.collections.Pair<software.amazon.awscdk.core.App,​software.amazon.awscdk.core.Stack> stackPair)
      • CloudFormationClient

        public CloudFormationClient​(software.amazon.awscdk.core.App theApp,
                                    software.amazon.awscdk.core.Stack theStack)
    • Method Detail

      • createStack

        public void createStack()
        Creates a CloudFormation stack to build the infrastructure needed to run the integration tests (e.g., Database instance, Lambda function, etc...). Once the stack is created successfully, the lambda function is registered with Athena.
      • deleteStack

        public void deleteStack()
        Deletes a CloudFormation stack, and the lambda function registered with Athena.