KubernetesManifest

class aws_cdk.aws_eks.KubernetesManifest(scope, id, *, cluster, manifest)

Bases: aws_cdk.core.Construct

(experimental) Represents a manifest within the Kubernetes system.

Alternatively, you can use cluster.addManifest(resource[, resource, ...]) to define resources on this cluster.

Applies/deletes the manifest using kubectl.

Stability

experimental

Parameters
  • scope (Construct) –

  • id (str) –

  • cluster (ICluster) – (experimental) The EKS cluster to apply this manifest to. [disable-awslint:ref-via-interface]

  • manifest (List[Any]) – (experimental) The manifest to apply. Consists of any number of child resources. When the resources are created/updated, this manifest will be applied to the cluster through kubectl apply and when the resources or the stack is deleted, the resources in the manifest will be deleted through kubectl delete.

Stability

experimental

Methods

to_string()

Returns a string representation of this construct.

Return type

str

Attributes

RESOURCE_TYPE = 'Custom::AWSCDK-EKS-KubernetesResource'
node

The construct tree node associated with this construct.

Return type

ConstructNode

Static Methods

classmethod is_construct(x)

Return whether the given object is a Construct.

Parameters

x (Any) –

Return type

bool