interface EcsVolumeOptions
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Batch.EcsVolumeOptions |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsbatch#EcsVolumeOptions |
![]() | software.amazon.awscdk.services.batch.EcsVolumeOptions |
![]() | aws_cdk.aws_batch.EcsVolumeOptions |
![]() | aws-cdk-lib » aws_batch » 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 { aws_batch as batch } from 'aws-cdk-lib';
const ecsVolumeOptions: batch.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.