interface EksSecretProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.Batch.CfnJobDefinition.EksSecretProperty | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbatch#CfnJobDefinition_EksSecretProperty | 
|  Java | software.amazon.awscdk.services.batch.CfnJobDefinition.EksSecretProperty | 
|  Python | aws_cdk.aws_batch.CfnJobDefinition.EksSecretProperty | 
|  TypeScript | aws-cdk-lib»aws_batch»CfnJobDefinition»EksSecretProperty | 
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 { aws_batch as batch } from 'aws-cdk-lib';
const eksSecretProperty: batch.CfnJobDefinition.EksSecretProperty = {
  secretName: 'secretName',
  // the properties below are optional
  optional: false,
};
Properties
| Name | Type | Description | 
|---|---|---|
| secret | string | The name of the secret. | 
| optional? | boolean | IResolvable | Specifies whether the secret or the secret's keys must be defined. | 
secretName
Type:
string
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 .
optional?
Type:
boolean | IResolvable
(optional)
Specifies whether the secret or the secret's keys must be defined.
