Interface Ec2TaskDefinitionAttributes
- All Superinterfaces:
CommonTaskDefinitionAttributes
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Ec2TaskDefinitionAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:47.295Z")
@Stability(Stable)
public interface Ec2TaskDefinitionAttributes
extends software.amazon.jsii.JsiiSerializable, CommonTaskDefinitionAttributes
Attributes used to import an existing EC2 task definition.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ecs.*; import software.amazon.awscdk.services.iam.*; Role role; Ec2TaskDefinitionAttributes ec2TaskDefinitionAttributes = Ec2TaskDefinitionAttributes.builder() .taskDefinitionArn("taskDefinitionArn") // the properties below are optional .networkMode(NetworkMode.NONE) .taskRole(role) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forEc2TaskDefinitionAttributes
static final class
An implementation forEc2TaskDefinitionAttributes
-
Method Summary
Methods inherited from interface software.amazon.awscdk.services.ecs.CommonTaskDefinitionAttributes
getNetworkMode, getTaskDefinitionArn, getTaskRole
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
builder
-