@zarpay/zar-cdk-lib - v0.32.0
    Preparing search index...

    Function generateClusterName

    • Generates a deterministic cluster name based on app and environment. Format: {appName}-{deployEnvironment}

      Parameters

      • appName: string

        Application name

      • deployEnvironment: string

        Deployment environment (e.g., 'staging-1', 'production')

      Returns string

      Cluster name in format {appName}-{deployEnvironment}

      generateClusterName('ZarCore', 'staging-1');
      // → 'ZarCore-staging-1'