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

    Interface EcsClusterFromAttributesProps

    Props for importing an existing ECS cluster.

    interface EcsClusterFromAttributesProps {
        appName: string;
        clusterName?: string;
        deployEnvironment: string;
        vpc?: IVpc;
        vpcName?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    appName: string

    Application name (e.g., 'ZarCore', 'ZarPayments'). Used for naming resources and tagging.

    clusterName?: string

    Name of the ECS cluster.

    - Generated as {appName}-{deployEnvironment}-{hash}
    
    deployEnvironment: string

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

    vpc?: IVpc

    Pre-existing VPC to use.

    - Imports VPC from Platform.vpc() using vpcName
    
    vpcName?: string

    Name of VPC to import via SSM parameters.

    'ZarVpc'