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

    Function generateEcsLogGroupName

    • Generates an ECS log group name following ZAR conventions.

      Parameters

      • appName: string

        Application name

      • deployEnvironment: string

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

      • serviceName: string

        Service name

      Returns string

      Log group name in format /aws/ecs/{appName}/{deployEnvironment}/{serviceName}

      generateEcsLogGroupName('ZarCore', 'staging', 'web');
      // → '/aws/ecs/ZarCore/staging/web'