@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:06.771Z") @Stability(value=Experimental) public interface Ec2TaskDefinitionProps extends software.amazon.jsii.JsiiSerializable, CommonTaskDefinitionProps
Modifier and Type | Interface and Description |
---|---|
static class |
Ec2TaskDefinitionProps.Builder
A builder for
Ec2TaskDefinitionProps |
static class |
Ec2TaskDefinitionProps.Jsii$Proxy
An implementation for
Ec2TaskDefinitionProps |
Modifier and Type | Method and Description |
---|---|
static Ec2TaskDefinitionProps.Builder |
builder() |
default List<InferenceAccelerator> |
getInferenceAccelerators()
(experimental) The inference accelerators to use for the containers in the task.
|
default IpcMode |
getIpcMode()
(experimental) The IPC resource namespace to use for the containers in the task.
|
default NetworkMode |
getNetworkMode()
(experimental) The Docker networking mode to use for the containers in the task.
|
default PidMode |
getPidMode()
(experimental) The process namespace to use for the containers in the task.
|
default List<PlacementConstraint> |
getPlacementConstraints()
(experimental) An array of placement constraint objects to use for the task.
|
getExecutionRole, getFamily, getProxyConfiguration, getTaskRole, getVolumes
@Stability(value=Experimental) @Nullable default List<InferenceAccelerator> getInferenceAccelerators()
Not supported in Fargate.
Default: - No inference accelerators.
@Stability(value=Experimental) @Nullable default IpcMode getIpcMode()
Not supported in Fargate and Windows containers.
Default: - IpcMode used by the task is not specified
@Stability(value=Experimental) @Nullable default NetworkMode getNetworkMode()
The valid values are none, bridge, awsvpc, and host.
Default: - NetworkMode.Bridge for EC2 tasks, AwsVpc for Fargate tasks.
@Stability(value=Experimental) @Nullable default PidMode getPidMode()
Not supported in Fargate and Windows containers.
Default: - PidMode used by the task is not specified
@Stability(value=Experimental) @Nullable default List<PlacementConstraint> getPlacementConstraints()
You can specify a maximum of 10 constraints per task (this limit includes constraints in the task definition and those specified at run time).
Default: - No placement constraints.
@Stability(value=Experimental) static Ec2TaskDefinitionProps.Builder builder()
builder
in interface CommonTaskDefinitionProps
Ec2TaskDefinitionProps.Builder
of Ec2TaskDefinitionProps
Copyright © 2021. All rights reserved.