Interface ExternalTaskDefinitionAttributes
- All Superinterfaces:
CommonTaskDefinitionAttributes,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ExternalTaskDefinitionAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:50.518Z")
@Stability(Stable)
public interface ExternalTaskDefinitionAttributes
extends software.amazon.jsii.JsiiSerializable, CommonTaskDefinitionAttributes
Attributes used to import an existing External 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;
ExternalTaskDefinitionAttributes externalTaskDefinitionAttributes = ExternalTaskDefinitionAttributes.builder()
.taskDefinitionArn("taskDefinitionArn")
// the properties below are optional
.executionRole(role)
.networkMode(NetworkMode.NONE)
.taskRole(role)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forExternalTaskDefinitionAttributesstatic final classAn implementation forExternalTaskDefinitionAttributes -
Method Summary
Static MethodsMethods inherited from interface software.amazon.awscdk.services.ecs.CommonTaskDefinitionAttributes
getExecutionRole, getNetworkMode, getTaskDefinitionArn, getTaskRoleMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
builder
-