@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.694Z") @Stability(value=Stable) public interface Ec2TaskDefinitionAttributes extends software.amazon.jsii.JsiiSerializable, CommonTaskDefinitionAttributes
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
Ec2TaskDefinitionAttributes.Builder
A builder for
Ec2TaskDefinitionAttributes |
static class |
Ec2TaskDefinitionAttributes.Jsii$Proxy
An implementation for
Ec2TaskDefinitionAttributes |
| Modifier and Type | Method and Description |
|---|---|
static Ec2TaskDefinitionAttributes.Builder |
builder() |
getNetworkMode, getTaskDefinitionArn, getTaskRole@Stability(value=Stable) static Ec2TaskDefinitionAttributes.Builder builder()
builder in interface CommonTaskDefinitionAttributesEc2TaskDefinitionAttributes.Builder of Ec2TaskDefinitionAttributesCopyright © 2022. All rights reserved.