Interface CfnJobDefinitionPropsMixin.EksSecretProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnJobDefinitionPropsMixin.EksSecretProperty.Jsii$Proxy
- Enclosing class:
CfnJobDefinitionPropsMixin
@Stability(Stable)
public static interface CfnJobDefinitionPropsMixin.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.cfnpropertymixins.services.batch.*;
EksSecretProperty eksSecretProperty = EksSecretProperty.builder()
.optional(false)
.secretName("secretName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnJobDefinitionPropsMixin.EksSecretPropertystatic final classAn implementation forCfnJobDefinitionPropsMixin.EksSecretProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getOptional
Specifies whether the secret or the secret's keys must be defined.Returns union: either
BooleanorIResolvable- See Also:
-
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:
-
builder
-