Readonly
adminReadonly
apiReadonly
apiReadonly
asgiReadonly
celeryReadonly
celeryReadonly
celeryReadonly
configReadonly
ingressOptional
Readonly
namespaceReadonly
namespaceReadonly
nodeThe tree node.
Optional
Readonly
syncOptional
Readonly
syncReadonly
wsgiStatic
backendStatic
defaultLabels applied to all resources in this chart.
This is an immutable copy.
Generates a app-unique name for an object given it's construct node path.
Different resource types may have different constraints on names
(metadata.name
). The previous version of the name generator was
compatible with DNS_SUBDOMAIN but not with DNS_LABEL.
For example, Deployment
names must comply with DNS_SUBDOMAIN while
Service
names must comply with DNS_LABEL.
Since there is no formal specification for this, the default name generation scheme for kubernetes objects in cdk8s was changed to DNS_LABEL, since it’s the common denominator for all kubernetes resources (supposedly).
You can override this method if you wish to customize object names at the chart level.
The API object to generate a name for.
Static
[hasStatic
isStatic
isChecks if x
is a construct.
Use this method instead of instanceof
to properly detect Construct
instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the constructs
library on
disk are seen as independent, completely different libraries. As a
consequence, the class Construct
in each copy of the constructs
library
is seen as a different class, and an instance of one class will not test as
instanceof
the other class. npm install
will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the constructs
library can be accidentally installed, and instanceof
will behave
unpredictably. It is safest to avoid using instanceof
, and using
this type-testing method instead.
Any object
true if x
is an object created from a class which extends Construct
.
Static
ofStatic
withGenerated using TypeDoc
The default namespace for all objects in this chart.