We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1da757 commit 4d29610Copy full SHA for 4d29610
packages/@aws-cdk/aws-ecs/lib/linux-parameters.ts
@@ -126,16 +126,14 @@ export class LinuxParameters extends Construct {
126
/**
127
* Adds one or more Linux capabilities to the Docker configuration of a container.
128
*
129
- * Only works with EC2 launch type.
+ * Tasks launched on Fargate only support adding the 'SYS_PTRACE' kernel capability.
130
*/
131
public addCapabilities(...cap: Capability[]) {
132
this.capAdd.push(...cap);
133
}
134
135
136
* Removes one or more Linux capabilities to the Docker configuration of a container.
137
- *
138
139
140
public dropCapabilities(...cap: Capability[]) {
141
this.capDrop.push(...cap);
0 commit comments