interface LinuxParametersProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ECS.CfnDaemonTaskDefinition.LinuxParametersProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#CfnDaemonTaskDefinition_LinuxParametersProperty |
Java | software.amazon.awscdk.services.ecs.CfnDaemonTaskDefinition.LinuxParametersProperty |
Python | aws_cdk.aws_ecs.CfnDaemonTaskDefinition.LinuxParametersProperty |
TypeScript | aws-cdk-lib » aws_ecs » CfnDaemonTaskDefinition » LinuxParametersProperty |
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 linuxParametersProperty: ecs.CfnDaemonTaskDefinition.LinuxParametersProperty = {
capabilities: {
add: ['add'],
drop: ['drop'],
},
devices: [{
containerPath: 'containerPath',
hostPath: 'hostPath',
permissions: ['permissions'],
}],
initProcessEnabled: false,
tmpfs: [{
size: 123,
// the properties below are optional
containerPath: 'containerPath',
mountOptions: ['mountOptions'],
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| capabilities? | IResolvable | Kernel | |
| devices? | IResolvable | (IResolvable | Device)[] | |
| init | boolean | IResolvable | |
| tmpfs? | IResolvable | (IResolvable | Tmpfs)[] |
capabilities?
Type:
IResolvable | Kernel
(optional)
devices?
Type:
IResolvable | (IResolvable | Device)[]
(optional)
initProcessEnabled?
Type:
boolean | IResolvable
(optional)
tmpfs?
Type:
IResolvable | (IResolvable | Tmpfs)[]
(optional)

.NET
Go
Java
Python
TypeScript