aws-cdk-lib.aws_batch.CfnJobDefinition.EksSecretProperty

interface EksSecretProperty

LanguageType name
.NETAmazon.CDK.AWS.Batch.CfnJobDefinition.EksSecretProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsbatch#CfnJobDefinition_EksSecretProperty
Javasoftware.amazon.awscdk.services.batch.CfnJobDefinition.EksSecretProperty
Pythonaws_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

NameTypeDescription
secretNamestringThe name of the secret.
optional?boolean | IResolvableSpecifies 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.