@Generated(value="jsii-pacmak/1.26.0 (build 7d76e02)", date="2021-03-25T11:29:49.270Z") @Stability(value=Experimental) public interface KubernetesResourceProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
KubernetesResourceProps.Builder
A builder for
KubernetesResourceProps |
static class |
KubernetesResourceProps.Jsii$Proxy
An implementation for
KubernetesResourceProps |
| Modifier and Type | Method and Description |
|---|---|
static KubernetesResourceProps.Builder |
builder() |
Cluster |
getCluster()
(experimental) The EKS cluster to apply this configuration to.
|
List<Object> |
getManifest()
(experimental) The resource manifest.
|
@Stability(value=Experimental) @NotNull Cluster getCluster()
[disable-awslint:ref-via-interface]
@Stability(value=Experimental) @NotNull List<Object> getManifest()
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.
Example:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 {apiVersion: 'v1', kind"Pod" , metadata;{name: 'mypod' }spec: { containers: [ { name: 'hello', image: 'paulbouwer/hello-kubernetes:1.5', ports: [ { containerPort: 8080 } ] } ] } }
@Stability(value=Experimental) static KubernetesResourceProps.Builder builder()
KubernetesResourceProps.Builder of KubernetesResourcePropsCopyright © 2021. All rights reserved.