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

.NET
Go
Java
Python
TypeScript