@aws-quickstart/eks-blueprints
    Preparing search index...

    Class ClusterInfo

    Cluster info supplies required information on the cluster configuration, registered resources and add-ons which could be leveraged by the framework, add-on implementations and teams.

    Index

    Constructors

    • Constructor for ClusterInfo

      Parameters

      • cluster: ICluster
      • version: KubernetesVersion
      • OptionalnodeGroups: Nodegroup[]
      • OptionalautoscalingGroups: AutoScalingGroup[]
      • OptionalautoMode: boolean
      • OptionalfargateProfiles: FargateProfile[]
      • Optionalclusterv2: ICluster
      • Optionalnodegroupsv2: Nodegroup[]

      Returns ClusterInfo

    Properties

    autoMode?: boolean
    autoscalingGroups?: AutoScalingGroup[]
    cluster: ICluster
    clusterv2?: ICluster
    fargateProfiles?: FargateProfile[]
    nodeGroups?: Nodegroup[]
    nodegroupsv2?: Nodegroup[]
    version: KubernetesVersion

    Methods

    • Update provisionedAddOns map

      Parameters

      • addOn: string
      • construct: Construct

      Returns void

    • Set the preProvisionedAddOn map with the promise for the construct of the addon being provisioned

      Parameters

      • addOn: string
      • promise: Promise<Construct>
      • ordered: boolean

        if addon depends on previous addons for completion (runs serially)

      Returns void

    • Returns all provisioned addons

      Returns Map<string, Construct>

      scheduledAddOns: Map<string, cdk.Construct>

    • Returns all scheduled addons

      Returns Map<string, Promise<Construct>>

      scheduledAddOns: Map<string, Promise<cdk.Construct>>

    • Given the addOn name, return the provisioned addOn construct

      Parameters

      • addOn: string

      Returns undefined | Construct

      undefined

    • Same as getResource but will fail if the specified resource is not found

      Type Parameters

      • T extends IResource

      Parameters

      • name: string

        of the resource to be returned

      Returns T

      Resource object (fails if not found)

    • Provides the resource registered under supplied name

      Type Parameters

      • T extends IResource

      Parameters

      • name: string

        of the resource to be returned

      Returns undefined | T

      Resource object or undefined if no resource was found

    • Returns the promise for the Addon construct

      Parameters

      • addOn: string

      Returns undefined | Promise<Construct>

      Promise<cdk.Construct>

    • Indicates if strict ordering is applied to the addon

      Parameters

      • addOn: string

        addOn key

      Returns boolean