@Stability(value=Experimental) public static final class KubernetesObjectValue.Builder extends Object implements software.amazon.jsii.Builder<KubernetesObjectValue>
KubernetesObjectValue.| Modifier and Type | Method and Description |
|---|---|
KubernetesObjectValue |
build() |
KubernetesObjectValue.Builder |
cluster(ICluster cluster)
(experimental) The EKS cluster to fetch attributes from.
|
static KubernetesObjectValue.Builder |
create(software.constructs.Construct scope,
String id) |
KubernetesObjectValue.Builder |
jsonPath(String jsonPath)
(experimental) JSONPath to the specific value.
|
KubernetesObjectValue.Builder |
objectName(String objectName)
(experimental) The name of the object to query.
|
KubernetesObjectValue.Builder |
objectNamespace(String objectNamespace)
(experimental) The namespace the object belongs to.
|
KubernetesObjectValue.Builder |
objectType(String objectType)
(experimental) The object type to query.
|
KubernetesObjectValue.Builder |
timeout(Duration timeout)
(experimental) Timeout for waiting on a value.
|
@Stability(value=Experimental) public static KubernetesObjectValue.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.KubernetesObjectValue.Builder.@Stability(value=Experimental) public KubernetesObjectValue.Builder cluster(ICluster cluster)
[disable-awslint:ref-via-interface]
cluster - The EKS cluster to fetch attributes from. This parameter is required.this@Stability(value=Experimental) public KubernetesObjectValue.Builder jsonPath(String jsonPath)
jsonPath - JSONPath to the specific value. This parameter is required.thishttps://kubernetes.io/docs/reference/kubectl/jsonpath/@Stability(value=Experimental) public KubernetesObjectValue.Builder objectName(String objectName)
objectName - The name of the object to query. This parameter is required.this@Stability(value=Experimental) public KubernetesObjectValue.Builder objectType(String objectType)
(e.g 'service', 'pod'...)
objectType - The object type to query. This parameter is required.this@Stability(value=Experimental) public KubernetesObjectValue.Builder objectNamespace(String objectNamespace)
Default: 'default'
objectNamespace - The namespace the object belongs to. This parameter is required.this@Stability(value=Experimental) public KubernetesObjectValue.Builder timeout(Duration timeout)
Default: Duration.minutes(5)
timeout - Timeout for waiting on a value. This parameter is required.this@Stability(value=Experimental) public KubernetesObjectValue build()
build in interface software.amazon.jsii.Builder<KubernetesObjectValue>Copyright © 2021. All rights reserved.