Interface CfnPipe.PipeTargetEcsTaskParametersProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnPipe.PipeTargetEcsTaskParametersProperty.Jsii$Proxy
Enclosing class:
CfnPipe

@Stability(Stable) public static interface CfnPipe.PipeTargetEcsTaskParametersProperty extends software.amazon.jsii.JsiiSerializable
The parameters for using an Amazon ECS task as a target.

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.pipes.*;
 PipeTargetEcsTaskParametersProperty pipeTargetEcsTaskParametersProperty = PipeTargetEcsTaskParametersProperty.builder()
         .taskDefinitionArn("taskDefinitionArn")
         // the properties below are optional
         .capacityProviderStrategy(List.of(CapacityProviderStrategyItemProperty.builder()
                 .capacityProvider("capacityProvider")
                 // the properties below are optional
                 .base(123)
                 .weight(123)
                 .build()))
         .enableEcsManagedTags(false)
         .enableExecuteCommand(false)
         .group("group")
         .launchType("launchType")
         .networkConfiguration(NetworkConfigurationProperty.builder()
                 .awsvpcConfiguration(AwsVpcConfigurationProperty.builder()
                         .subnets(List.of("subnets"))
                         // the properties below are optional
                         .assignPublicIp("assignPublicIp")
                         .securityGroups(List.of("securityGroups"))
                         .build())
                 .build())
         .overrides(EcsTaskOverrideProperty.builder()
                 .containerOverrides(List.of(EcsContainerOverrideProperty.builder()
                         .command(List.of("command"))
                         .cpu(123)
                         .environment(List.of(EcsEnvironmentVariableProperty.builder()
                                 .name("name")
                                 .value("value")
                                 .build()))
                         .environmentFiles(List.of(EcsEnvironmentFileProperty.builder()
                                 .type("type")
                                 .value("value")
                                 .build()))
                         .memory(123)
                         .memoryReservation(123)
                         .name("name")
                         .resourceRequirements(List.of(EcsResourceRequirementProperty.builder()
                                 .type("type")
                                 .value("value")
                                 .build()))
                         .build()))
                 .cpu("cpu")
                 .ephemeralStorage(EcsEphemeralStorageProperty.builder()
                         .sizeInGiB(123)
                         .build())
                 .executionRoleArn("executionRoleArn")
                 .inferenceAcceleratorOverrides(List.of(EcsInferenceAcceleratorOverrideProperty.builder()
                         .deviceName("deviceName")
                         .deviceType("deviceType")
                         .build()))
                 .memory("memory")
                 .taskRoleArn("taskRoleArn")
                 .build())
         .placementConstraints(List.of(PlacementConstraintProperty.builder()
                 .expression("expression")
                 .type("type")
                 .build()))
         .placementStrategy(List.of(PlacementStrategyProperty.builder()
                 .field("field")
                 .type("type")
                 .build()))
         .platformVersion("platformVersion")
         .propagateTags("propagateTags")
         .referenceId("referenceId")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .taskCount(123)
         .build();
 

See Also: