Interface CfnPipe.EcsContainerOverrideProperty

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

@Stability(Stable) public static interface CfnPipe.EcsContainerOverrideProperty extends software.amazon.jsii.JsiiSerializable
The overrides that are sent to a container.

An empty container override can be passed in. An example of an empty container override is {"containerOverrides": [ ] } . If a non-empty container override is specified, the name parameter must be included.

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.*;
 EcsContainerOverrideProperty ecsContainerOverrideProperty = 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();
 

See Also: