KubernetesObjectValueProps

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

Bases: object

(experimental) Properties for KubernetesObjectValue.

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

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

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

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

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

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

Stability

experimental

Attributes

cluster

(experimental) The EKS cluster to fetch attributes from.

[disable-awslint:ref-via-interface]

Stability

experimental

Return type

ICluster

json_path

(experimental) JSONPath to the specific value.

See

https://kubernetes.io/docs/reference/kubectl/jsonpath/

Stability

experimental

Return type

str

object_name

(experimental) The name of the object to query.

Stability

experimental

Return type

str

object_namespace

(experimental) The namespace the object belongs to.

Default

‘default’

Stability

experimental

Return type

Optional[str]

object_type

(experimental) The object type to query.

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

Stability

experimental

Return type

str

timeout

(experimental) Timeout for waiting on a value.

Default

Duration.minutes(5)

Stability

experimental

Return type

Optional[Duration]