EksSecretProperty Struct
Specifies the configuration of a Kubernetes secret volume.
For more information, see secret in the Kubernetes documentation .
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_batch as batch } from 'aws-cdk-lib';
const eksSecretProperty: batch.CfnJobDefinition.EksSecretProperty = {
secretName: 'secretName',
// the properties below are optional
optional: false,
};
Properties
optionalboolean | IResolvableoptionaltyping.Union[bool, IResolvable]optionalBooleanOptionalboolOptionalinterface{}#Specifies whether the secret or the secret's keys must be defined.
The name of the secret.
notes
The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation .