@Stability(value=Experimental) @Internal public static final class KubernetesResourceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements KubernetesResourceProps
KubernetesResourcePropssoftware.amazon.jsii.JsiiObject.InitializationModeKubernetesResourceProps.Builder, KubernetesResourceProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(KubernetesResourceProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
KubernetesResourceProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Cluster |
getCluster()
(experimental) The EKS cluster to apply this configuration to.
|
List<Object> |
getManifest()
(experimental) The resource manifest.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(KubernetesResourceProps.Builder builder)
KubernetesResourceProps.Builder.public final Cluster getCluster()
KubernetesResourceProps[disable-awslint:ref-via-interface]
getCluster in interface KubernetesResourcePropspublic final List<Object> getManifest()
KubernetesResourcePropsConsists 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.
const manifest = {
apiVersion: 'v1',
kind: 'Pod',
metadata: { name: 'mypod' },
spec: {
containers: [ { name: 'hello', image: 'paulbouwer/hello-kubernetes:1.5', ports: [ { containerPort: 8080 } ] } ]
}
}
getManifest in interface KubernetesResourceProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.