Class SecretPathVolume
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.batch.EksVolume
software.amazon.awscdk.services.batch.SecretPathVolume
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:30.221Z")
@Stability(Stable)
public class SecretPathVolume
extends EksVolume
Specifies the configuration of a Kubernetes secret volume.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.batch.*;
SecretPathVolume secretPathVolume = SecretPathVolume.Builder.create()
.name("name")
.secretName("secretName")
// the properties below are optional
.mountPath("mountPath")
.optional(false)
.readonly(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionSecretPathVolume(SecretPathVolumeOptions options) protectedSecretPathVolume(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedSecretPathVolume(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionSpecifies whether the secret or the secret's keys must be defined.The name of the secret.static Booleanreturnstrueifxis aSecretPathVolumeandfalseotherwise.Methods inherited from class software.amazon.awscdk.services.batch.EksVolume
emptyDir, getContainerPath, getName, getReadonly, hostPath, secretMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
SecretPathVolume
protected SecretPathVolume(software.amazon.jsii.JsiiObjectRef objRef) -
SecretPathVolume
protected SecretPathVolume(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
SecretPathVolume
- Parameters:
options- This parameter is required.
-
-
Method Details
-
isSecretPathVolume
returnstrueifxis aSecretPathVolumeandfalseotherwise.- Parameters:
x- This parameter is required.
-
getSecretName
The name of the secret.Must be a valid DNS subdomain name.
- See Also:
-
getOptional
Specifies whether the secret or the secret's keys must be defined.Default: true
-