Interface Ec2TaskDefinitionAttributes

All Superinterfaces:
CommonTaskDefinitionAttributes, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
Ec2TaskDefinitionAttributes.Jsii$Proxy

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:16.434Z") @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
         .executionRole(role)
         .networkMode(NetworkMode.NONE)
         .taskRole(role)
         .build();