@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2023-01-03T16:22:40.514Z") @Stability(value=Deprecated) @Deprecated public class EcsRunTaskBase extends software.amazon.jsii.JsiiObject implements IConnectable, IStepFunctionsTask
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.stepfunctions.*;
import software.amazon.awscdk.services.stepfunctions.tasks.*;
Cluster cluster;
ContainerDefinition containerDefinition;
Object parameters;
TaskDefinition taskDefinition;
EcsRunTaskBase ecsRunTaskBase = EcsRunTaskBase.Builder.create()
.cluster(cluster)
.taskDefinition(taskDefinition)
// the properties below are optional
.containerOverrides(List.of(ContainerOverride.builder()
.containerDefinition(containerDefinition)
// the properties below are optional
.command(List.of("command"))
.cpu(123)
.environment(List.of(TaskEnvironmentVariable.builder()
.name("name")
.value("value")
.build()))
.memoryLimit(123)
.memoryReservation(123)
.build()))
.integrationPattern(ServiceIntegrationPattern.FIRE_AND_FORGET)
.parameters(Map.of(
"parametersKey", parameters))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
EcsRunTaskBase.Builder
Deprecated.
|
software.amazon.jsii.JsiiObject.InitializationModeIConnectable.Jsii$Default, IConnectable.Jsii$ProxyIStepFunctionsTask.Jsii$Default, IStepFunctionsTask.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
EcsRunTaskBase(EcsRunTaskBaseProps props)
Deprecated.
|
protected |
EcsRunTaskBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
Deprecated.
|
protected |
EcsRunTaskBase(software.amazon.jsii.JsiiObjectRef objRef)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
StepFunctionsTaskConfig |
bind(Task task)
Deprecated.
|
protected void |
configureAwsVpcNetworking(IVpc vpc)
Deprecated.
|
protected void |
configureAwsVpcNetworking(IVpc vpc,
Boolean assignPublicIp)
Deprecated.
|
protected void |
configureAwsVpcNetworking(IVpc vpc,
Boolean assignPublicIp,
SubnetSelection subnetSelection)
Deprecated.
|
protected void |
configureAwsVpcNetworking(IVpc vpc,
Boolean assignPublicIp,
SubnetSelection subnetSelection,
ISecurityGroup securityGroup)
Deprecated.
|
Connections |
getConnections()
Deprecated.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected EcsRunTaskBase(software.amazon.jsii.JsiiObjectRef objRef)
protected EcsRunTaskBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Deprecated) @Deprecated public EcsRunTaskBase(@NotNull EcsRunTaskBaseProps props)
props - This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull public StepFunctionsTaskConfig bind(@NotNull Task task)
bind in interface IStepFunctionsTasktask - This parameter is required.@Stability(value=Deprecated) @Deprecated protected void configureAwsVpcNetworking(@NotNull IVpc vpc, @Nullable Boolean assignPublicIp, @Nullable SubnetSelection subnetSelection, @Nullable ISecurityGroup securityGroup)
vpc - This parameter is required.assignPublicIp - subnetSelection - securityGroup - @Stability(value=Deprecated) @Deprecated protected void configureAwsVpcNetworking(@NotNull IVpc vpc, @Nullable Boolean assignPublicIp, @Nullable SubnetSelection subnetSelection)
vpc - This parameter is required.assignPublicIp - subnetSelection - @Stability(value=Deprecated) @Deprecated protected void configureAwsVpcNetworking(@NotNull IVpc vpc, @Nullable Boolean assignPublicIp)
vpc - This parameter is required.assignPublicIp - @Stability(value=Deprecated) @Deprecated protected void configureAwsVpcNetworking(@NotNull IVpc vpc)
vpc - This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull public Connections getConnections()
getConnections in interface IConnectableCopyright © 2023. All rights reserved.