Interface CfnJobDefinition.EksSecretProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnJobDefinition.EksSecretProperty.Jsii$Proxy
- Enclosing class:
CfnJobDefinition
@Stability(Stable)
public static interface CfnJobDefinition.EksSecretProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the configuration of a Kubernetes
secret volume.
For more information, see secret in the Kubernetes documentation .
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.*;
EksSecretProperty eksSecretProperty = EksSecretProperty.builder()
.secretName("secretName")
// the properties below are optional
.optional(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnJobDefinition.EksSecretPropertystatic final classAn implementation forCfnJobDefinition.EksSecretProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSecretName
The name of the secret.The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation .
- See Also:
-
getOptional
Specifies whether the secret or the secret's keys must be defined.Returns union: either
BooleanorIResolvable- See Also:
-
builder
-