GradientEdge CDK Utils
    Preparing search index...
    interface EcsClusterProps {
        capacity?: AddCapacityOptions;
        clusterName?: string;
        containerInsights?: boolean;
        containerInsightsV2?: ContainerInsights;
        defaultCloudMapNamespace?: CloudMapNamespaceOptions;
        enableFargateCapacityProviders?: boolean;
        executeCommandConfiguration?: ExecuteCommandConfiguration;
        managedStorageConfiguration?: ManagedStorageConfiguration;
        tags?: TagProps[];
        vpc?: IVpc;
    }

    Hierarchy

    • ClusterProps
      • EcsClusterProps
    Index

    Properties

    capacity?: AddCapacityOptions

    The ec2 capacity to add to the cluster

    • no EC2 capacity will be added, you can use addCapacity to add capacity later.
    clusterName?: string

    The name for the cluster.

    CloudFormation-generated name
    
    containerInsights?: boolean

    If true CloudWatch Container Insights will be enabled for the cluster

    - Container Insights will be disabled for this cluster.
    

    See containerInsightsV2

    containerInsightsV2?: ContainerInsights

    The CloudWatch Container Insights configuration for the cluster

    ContainerInsights.DISABLED This may be overridden by ECS account level settings.

    defaultCloudMapNamespace?: CloudMapNamespaceOptions

    The service discovery namespace created in this cluster

    • no service discovery namespace created, you can use addDefaultCloudMapNamespace to add a default service discovery namespace later.
    enableFargateCapacityProviders?: boolean

    Whether to enable Fargate Capacity Providers

    false
    
    executeCommandConfiguration?: ExecuteCommandConfiguration

    The execute command configuration for the cluster

    - no configuration will be provided.
    
    managedStorageConfiguration?: ManagedStorageConfiguration

    Encryption configuration for ECS Managed storage

    - no encryption will be applied.
    
    tags?: TagProps[]
    vpc?: IVpc

    The VPC where your ECS instances will be running or your ENIs will be deployed

    - creates a new VPC with two AZs