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

    Interface ISharedAlbEcsFargateService

    Interface for ZarAlbEcsFargateService outputs.

    interface ISharedAlbEcsFargateService {
        alb: IApplicationLoadBalancer;
        blueTargetGroup: ApplicationTargetGroup;
        cluster: ICluster;
        container: ContainerDefinition;
        greenTargetGroup?: ApplicationTargetGroup;
        listener: IApplicationListener;
        scalableTarget?: ScalableTaskCount;
        securityGroup: SecurityGroup;
        service: FargateService;
        taskDefinition: FargateTaskDefinition;
        vpc: IVpc;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    alb: IApplicationLoadBalancer

    The Application Load Balancer

    blueTargetGroup: ApplicationTargetGroup

    The Blue target group (receives traffic initially)

    cluster: ICluster

    The ECS cluster

    container: ContainerDefinition

    The main container definition

    greenTargetGroup?: ApplicationTargetGroup

    The Green target group - only when blueGreen.enabled is true

    listener: IApplicationListener

    The ALB listener

    scalableTarget?: ScalableTaskCount

    The auto-scaling target (if auto-scaling is enabled)

    securityGroup: SecurityGroup

    The security group for ECS tasks

    service: FargateService

    The Fargate service

    taskDefinition: FargateTaskDefinition

    The Fargate task definition

    vpc: IVpc

    The VPC where resources are deployed