interface VolumeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ECS.CfnDaemonTaskDefinition.VolumeProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#CfnDaemonTaskDefinition_VolumeProperty |
Java | software.amazon.awscdk.services.ecs.CfnDaemonTaskDefinition.VolumeProperty |
Python | aws_cdk.aws_ecs.CfnDaemonTaskDefinition.VolumeProperty |
TypeScript | aws-cdk-lib » aws_ecs » CfnDaemonTaskDefinition » VolumeProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
const volumeProperty: ecs.CfnDaemonTaskDefinition.VolumeProperty = {
host: {
sourcePath: 'sourcePath',
},
name: 'name',
};
Properties
| Name | Type | Description |
|---|---|---|
| host? | IResolvable | Host | |
| name? | string |
host?
Type:
IResolvable | Host
(optional)
name?
Type:
string
(optional)

.NET
Go
Java
Python
TypeScript