Class Localstack


  • public class Localstack
    extends java.lang.Object
    Singleton class that automatically downloads, installs, starts, and stops the LocalStack local cloud infrastructure components. Should work cross-OS, however has been only tested under Unix (Linux/MacOS).
    Author:
    Waldemar Hummer, Patrick Allain - 5/3/18.
    • Field Detail

      • INSTANCE

        protected static final Localstack INSTANCE
        Single instance...
      • ENV_CONFIG_USE_SSL

        public static final java.lang.String ENV_CONFIG_USE_SSL
        See Also:
        Constant Field Values
    • Method Detail

      • isDevEnvironment

        public static boolean isDevEnvironment()
      • getEndpointS3

        public static java.lang.String getEndpointS3()
      • getEndpointS3

        public static java.lang.String getEndpointS3​(boolean override_SSL)
      • getEndpointKinesis

        public static java.lang.String getEndpointKinesis()
      • getEndpointLambda

        public static java.lang.String getEndpointLambda()
      • getEndpointDynamoDB

        public static java.lang.String getEndpointDynamoDB()
      • getEndpointDynamoDBStreams

        public static java.lang.String getEndpointDynamoDBStreams()
      • getEndpointAPIGateway

        public static java.lang.String getEndpointAPIGateway()
      • getEndpointElasticsearch

        public static java.lang.String getEndpointElasticsearch()
      • getEndpointElasticsearchService

        public static java.lang.String getEndpointElasticsearchService()
      • getEndpointFirehose

        public static java.lang.String getEndpointFirehose()
      • getEndpointSNS

        public static java.lang.String getEndpointSNS()
      • getEndpointSQS

        public static java.lang.String getEndpointSQS()
      • getEndpointRedshift

        public static java.lang.String getEndpointRedshift()
      • getEndpointSES

        public static java.lang.String getEndpointSES()
      • getEndpointRoute53

        public static java.lang.String getEndpointRoute53()
      • getEndpointCloudFormation

        public static java.lang.String getEndpointCloudFormation()
      • getEndpointCloudWatch

        public static java.lang.String getEndpointCloudWatch()
      • getEndpointSSM

        public static java.lang.String getEndpointSSM()
      • getEndpointSecretsmanager

        public static java.lang.String getEndpointSecretsmanager()
      • getEndpointStepFunctions

        public static java.lang.String getEndpointStepFunctions()
      • useSSL

        public static boolean useSSL()
      • isEnvConfigSet

        public static boolean isEnvConfigSet​(java.lang.String configName)
      • setupInfrastructure

        protected void setupInfrastructure()
      • teardownInfrastructure

        public static void teardownInfrastructure()
      • getDefaultRegion

        public static java.lang.String getDefaultRegion()