Class ApiComponent<PropsT>Abstract

Type Parameters

Hierarchy

Constructors

Properties

#private: any
config: IApiConfig
deployment: Deployment
id: string
node: Node
props: PropsT
scaling?: ComponentScaling
scope: Construct
vpa?: VerticalPodAutoscaler
componentName: string

Accessors

  • get containers(): Map<string, Container>
  • Returns Map<string, Container>

Methods

  • Parameters

    • props: ComponentContainerProps

    Returns Container

  • Parameters

    • props: PodDisruptionBudgetProps

    Returns ApiComponent<PropsT>

  • Parameters

    • source: Partial<ContainerProps>
    • Rest ...props: Partial<ContainerProps>[]

    Returns ContainerProps

  • Parameters

    • props: DeploymentProps

    Returns Deployment

  • Returns DeploymentProps

  • Parameters

    • httpPath: string

    Returns Pick<ContainerProps, "readiness" | "liveness" | "startup">

  • Parameters

    • Optional defaults: ContainerResourceProps

    Returns ContainerResources

Generated using TypeDoc