@aws-cdk_aws-batch-alpha.EksVolumeOptions

interface EksVolumeOptions ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Batch.Alpha.EksVolumeOptions
Gogithub.com/aws/aws-cdk-go/awscdkbatchalpha/v2#EksVolumeOptions
Javasoftware.amazon.awscdk.services.batch.alpha.EksVolumeOptions
Pythonaws_cdk.aws_batch_alpha.EksVolumeOptions
TypeScript (source)@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

NameTypeDescription
name๐Ÿ”นstringThe name of this volume.
mountPath?๐Ÿ”นstringThe path on the container where the volume is mounted.
readonly?๐Ÿ”นbooleanIf 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.