KubernetesObjectValueProps

class aws_cdk.aws_eks.KubernetesObjectValueProps(*, cluster, json_path, object_name, object_type, object_namespace=None, timeout=None)

Bases: object

Properties for KubernetesObjectValue.

Parameters
  • cluster (ICluster) – The EKS cluster to fetch attributes from. [disable-awslint:ref-via-interface]

  • json_path (str) – JSONPath to the specific value.

  • object_name (str) – The name of the object to query.

  • object_type (str) – The object type to query. (e.g ‘service’, ‘pod’…)

  • object_namespace (Optional[str]) – The namespace the object belongs to. Default: ‘default’

  • timeout (Optional[Duration]) – Timeout for waiting on a value. Default: Duration.minutes(5)

stability :stability: experimental

Attributes

cluster

The EKS cluster to fetch attributes from.

[disable-awslint:ref-via-interface]

stability :stability: experimental

Return type

ICluster

json_path

JSONPath to the specific value.

see :see: https://kubernetes.io/docs/reference/kubectl/jsonpath/ stability :stability: experimental

Return type

str

object_name

The name of the object to query.

stability :stability: experimental

Return type

str

object_namespace

The namespace the object belongs to.

default :default: ‘default’

stability :stability: experimental

Return type

Optional[str]

object_type

The object type to query.

(e.g ‘service’, ‘pod’…)

stability :stability: experimental

Return type

str

timeout

Timeout for waiting on a value.

default :default: Duration.minutes(5)

stability :stability: experimental

Return type

Optional[Duration]