Interface CfnDaemonTaskDefinitionPropsMixin.DaemonContainerDefinitionProperty

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

@Stability(Stable) public static interface CfnDaemonTaskDefinitionPropsMixin.DaemonContainerDefinitionProperty extends software.amazon.jsii.JsiiSerializable
Container definition for daemon 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.cfnpropertymixins.services.ecs.*;
 DaemonContainerDefinitionProperty daemonContainerDefinitionProperty = DaemonContainerDefinitionProperty.builder()
         .command(List.of("command"))
         .cpu(123)
         .dependsOn(List.of(ContainerDependencyProperty.builder()
                 .condition("condition")
                 .containerName("containerName")
                 .build()))
         .entryPoint(List.of("entryPoint"))
         .environment(List.of(KeyValuePairProperty.builder()
                 .name("name")
                 .value("value")
                 .build()))
         .environmentFiles(List.of(EnvironmentFileProperty.builder()
                 .type("type")
                 .value("value")
                 .build()))
         .essential(false)
         .firelensConfiguration(FirelensConfigurationProperty.builder()
                 .options(Map.of(
                         "optionsKey", "options"))
                 .type("type")
                 .build())
         .healthCheck(HealthCheckProperty.builder()
                 .command(List.of("command"))
                 .interval(123)
                 .retries(123)
                 .startPeriod(123)
                 .timeout(123)
                 .build())
         .image("image")
         .interactive(false)
         .linuxParameters(LinuxParametersProperty.builder()
                 .capabilities(KernelCapabilitiesProperty.builder()
                         .add(List.of("add"))
                         .drop(List.of("drop"))
                         .build())
                 .devices(List.of(DeviceProperty.builder()
                         .containerPath("containerPath")
                         .hostPath("hostPath")
                         .permissions(List.of("permissions"))
                         .build()))
                 .initProcessEnabled(false)
                 .tmpfs(List.of(TmpfsProperty.builder()
                         .containerPath("containerPath")
                         .mountOptions(List.of("mountOptions"))
                         .size(123)
                         .build()))
                 .build())
         .logConfiguration(LogConfigurationProperty.builder()
                 .logDriver("logDriver")
                 .options(Map.of(
                         "optionsKey", "options"))
                 .secretOptions(List.of(SecretProperty.builder()
                         .name("name")
                         .valueFrom("valueFrom")
                         .build()))
                 .build())
         .memory(123)
         .memoryReservation(123)
         .mountPoints(List.of(MountPointProperty.builder()
                 .containerPath("containerPath")
                 .readOnly(false)
                 .sourceVolume("sourceVolume")
                 .build()))
         .name("name")
         .privileged(false)
         .pseudoTerminal(false)
         .readonlyRootFilesystem(false)
         .repositoryCredentials(RepositoryCredentialsProperty.builder()
                 .credentialsParameter("credentialsParameter")
                 .build())
         .restartPolicy(RestartPolicyProperty.builder()
                 .enabled(false)
                 .ignoredExitCodes(List.of(123))
                 .restartAttemptPeriod(123)
                 .build())
         .secrets(List.of(SecretProperty.builder()
                 .name("name")
                 .valueFrom("valueFrom")
                 .build()))
         .startTimeout(123)
         .stopTimeout(123)
         .systemControls(List.of(SystemControlProperty.builder()
                 .namespace("namespace")
                 .value("value")
                 .build()))
         .ulimits(List.of(UlimitProperty.builder()
                 .hardLimit(123)
                 .name("name")
                 .softLimit(123)
                 .build()))
         .user("user")
         .workingDirectory("workingDirectory")
         .build();
 

See Also: