KubernetesResourceProps

class aws_cdk.aws_eks_legacy.KubernetesResourceProps(*, cluster, manifest)

Bases: object

Parameters
  • cluster (Cluster) – (deprecated) The EKS cluster to apply this configuration to. [disable-awslint:ref-via-interface]

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

Stability

deprecated

Attributes

cluster

(deprecated) The EKS cluster to apply this configuration to.

[disable-awslint:ref-via-interface]

Stability

deprecated

Return type

Cluster

manifest

(deprecated) The resource manifest.

Consists of any number of child resources.

When the resource is created/updated, this manifest will be applied to the cluster through kubectl apply and when the resource or the stack is deleted, the manifest will be deleted through kubectl delete.

Stability

deprecated

Example:

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
apiVersion: 'v1',
      kind"Pod" , metadataname: 'mypod'spec: {
        containers: [ { name: 'hello', image: 'paulbouwer/hello-kubernetes:1.5', ports: [ { containerPort: 8080 } ] } ]
      }
Return type

List[Any]