@aws-cdk_aws-batch-alpha.EcsVolumeOptions

interface EcsVolumeOptions ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Batch.Alpha.EcsVolumeOptions
Gogithub.com/aws/aws-cdk-go/awscdkbatchalpha/v2#EcsVolumeOptions
Javasoftware.amazon.awscdk.services.batch.alpha.EcsVolumeOptions
Pythonaws_cdk.aws_batch_alpha.EcsVolumeOptions
TypeScript (source)@aws-cdk/aws-batch-alpha ยป EcsVolumeOptions

Options to configure an EcsVolume.

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 ecsVolumeOptions: batch_alpha.EcsVolumeOptions = {
  containerPath: 'containerPath',
  name: 'name',

  // the properties below are optional
  readonly: false,
};

Properties

NameTypeDescription
containerPath๐Ÿ”นstringthe path on the container where this volume is mounted.
name๐Ÿ”นstringthe name of this volume.
readonly?๐Ÿ”นbooleanif set, the container will have readonly access to the volume.

containerPath๐Ÿ”น

Type: string

the path on the container where this volume is mounted.


name๐Ÿ”น

Type: string

the name of this volume.


readonly?๐Ÿ”น

Type: boolean (optional, default: false)

if set, the container will have readonly access to the volume.