@Generated(value="jsii-pacmak/1.41.0 (build a274beb)", date="2021-10-28T21:51:42.870Z") @Stability(value=Stable) public interface DeploymentProps extends software.amazon.jsii.JsiiSerializable, ResourceProps, PodTemplateProps
| Modifier and Type | Interface and Description |
|---|---|
static class |
DeploymentProps.Builder
A builder for
DeploymentProps |
static class |
DeploymentProps.Jsii$Proxy
An implementation for
DeploymentProps |
| Modifier and Type | Method and Description |
|---|---|
static DeploymentProps.Builder |
builder() |
default Boolean |
getDefaultSelector()
Automatically allocates a pod selector for this deployment.
|
default Number |
getReplicas()
Number of desired pods.
|
getMetadatagetPodMetadatagetContainers, getRestartPolicy, getServiceAccount, getVolumes@Stability(value=Stable) @Nullable default Boolean getDefaultSelector()
If this is set to false you must define your selector through
deployment.podMetadata.addLabel() and deployment.selectByLabel().
Default: true
@Stability(value=Stable) @Nullable default Number getReplicas()
Default: 1
@Stability(value=Stable) static DeploymentProps.Builder builder()
builder in interface PodSpecPropsbuilder in interface PodTemplatePropsbuilder in interface ResourcePropsDeploymentProps.Builder of DeploymentPropsCopyright © 2021. All rights reserved.