Interface CfnDaemonTaskDefinitionMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDaemonTaskDefinitionMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-24T20:29:44.358Z")
@Stability(Stable)
public interface CfnDaemonTaskDefinitionMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnDaemonTaskDefinitionPropsMixin.
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.*;
CfnDaemonTaskDefinitionMixinProps cfnDaemonTaskDefinitionMixinProps = CfnDaemonTaskDefinitionMixinProps.builder()
.containerDefinitions(List.of(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()))
.cpu("cpu")
.executionRoleArn("executionRoleArn")
.family("family")
.memory("memory")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.taskRoleArn("taskRoleArn")
.volumes(List.of(VolumeProperty.builder()
.host(HostVolumePropertiesProperty.builder()
.sourcePath("sourcePath")
.build())
.name("name")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDaemonTaskDefinitionMixinPropsstatic final classAn implementation forCfnDaemonTaskDefinitionMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectA list of container definitions in JSON format that describe the containers that make up the daemon task.default StringgetCpu()The number of CPU units used by the daemon task.default StringThe Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent permission to make Amazon Web Services API calls on your behalf.default StringThe name of a family that this daemon task definition is registered to.default StringThe amount of memory (in MiB) used by the daemon task.getTags()default StringThe short name or full Amazon Resource Name (ARN) of the IAM role that grants containers in the daemon task permission to call Amazon Web Services APIs on your behalf.default ObjectThe list of data volume definitions for the daemon task.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContainerDefinitions
A list of container definitions in JSON format that describe the containers that make up the daemon task.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnDaemonTaskDefinitionPropsMixin.DaemonContainerDefinitionProperty>- See Also:
-
getCpu
The number of CPU units used by the daemon task.- See Also:
-
getExecutionRoleArn
The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent permission to make Amazon Web Services API calls on your behalf.- See Also:
-
getFamily
The name of a family that this daemon task definition is registered to.- See Also:
-
getMemory
The amount of memory (in MiB) used by the daemon task.- See Also:
-
getTags
- See Also:
-
getTaskRoleArn
The short name or full Amazon Resource Name (ARN) of the IAM role that grants containers in the daemon task permission to call Amazon Web Services APIs on your behalf.- See Also:
-
getVolumes
The list of data volume definitions for the daemon task.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnDaemonTaskDefinitionPropsMixin.VolumeProperty>- See Also:
-
builder
-