@aws-cdk_aws-batch-alpha.EksVolumeOptions
interface EksVolumeOptions
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Batch.Alpha.EksVolumeOptions |
![]() | github.com/aws/aws-cdk-go/awscdkbatchalpha/v2#EksVolumeOptions |
![]() | software.amazon.awscdk.services.batch.alpha.EksVolumeOptions |
![]() | aws_cdk.aws_batch_alpha.EksVolumeOptions |
![]() | @aws-cdk/aws-batch-alpha ยป EksVolumeOptions |
Options to configure an EksVolume.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as batch_alpha from '@aws-cdk/aws-batch-alpha';
const eksVolumeOptions: batch_alpha.EksVolumeOptions = {
name: 'name',
// the properties below are optional
mountPath: 'mountPath',
readonly: false,
};
Properties
Name | Type | Description |
---|---|---|
name | string | The name of this volume. |
mount | string | The path on the container where the volume is mounted. |
readonly? | boolean | If specified, the container has readonly access to the volume. |
name
Type:
string
The name of this volume.
The name must be a valid DNS subdomain name.
See also: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names
mountPath?
Type:
string
(optional, default: the volume is not mounted)
The path on the container where the volume is mounted.
readonly?
Type:
boolean
(optional, default: false)
If specified, the container has readonly access to the volume.
Otherwise, the container has read/write access.