@aws-cdk_aws-batch-alpha.EcsVolumeOptions
interface EcsVolumeOptions
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Batch.Alpha.EcsVolumeOptions |
![]() | github.com/aws/aws-cdk-go/awscdkbatchalpha/v2#EcsVolumeOptions |
![]() | software.amazon.awscdk.services.batch.alpha.EcsVolumeOptions |
![]() | aws_cdk.aws_batch_alpha.EcsVolumeOptions |
![]() | @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
Name | Type | Description |
---|---|---|
container | string | the path on the container where this volume is mounted. |
name | string | the name of this volume. |
readonly? | boolean | if 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.