society | January 18, 2026

register-job-definition — AWS CLI 2.15.39 Command Reference

{ "numNodes": integer, "mainNode": integer, "nodeRangeProperties": [ { "targetNodes": "string", "container": { "image": "string", "vcpus": integer, "memory": integer, "command": ["string", ...], "jobRoleArn": "string", "executionRoleArn": "string", "volumes": [ { "host": { "sourcePath": "string" }, "name": "string", "efsVolumeConfiguration": { "fileSystemId": "string", "rootDirectory": "string", "transitEncryption": "ENABLED"|"DISABLED", "transitEncryptionPort": integer, "authorizationConfig": { "accessPointId": "string", "iam": "ENABLED"|"DISABLED" } } } ... ], "environment": [ { "name": "string", "value": "string" } ... ], "mountPoints": [ { "containerPath": "string", "readOnly": true|false, "sourceVolume": "string" } ... ], "readonlyRootFilesystem": true|false, "privileged": true|false, "ulimits": [ { "hardLimit": integer, "name": "string", "softLimit": integer } ... ], "user": "string", "instanceType": "string", "resourceRequirements": [ { "value": "string", "type": "GPU"|"VCPU"|"MEMORY" } ... ], "linuxParameters": { "devices": [ { "hostPath": "string", "containerPath": "string", "permissions": ["READ"|"WRITE"|"MKNOD", ...] } ... ], "initProcessEnabled": true|false, "sharedMemorySize": integer, "tmpfs": [ { "containerPath": "string", "size": integer, "mountOptions": ["string", ...] } ... ], "maxSwap": integer, "swappiness": integer }, "logConfiguration": { "logDriver": "json-file"|"syslog"|"journald"|"gelf"|"fluentd"|"awslogs"|"splunk", "options": {"string": "string" ...}, "secretOptions": [ { "name": "string", "valueFrom": "string" } ... ] }, "secrets": [ { "name": "string", "valueFrom": "string" } ... ], "networkConfiguration": { "assignPublicIp": "ENABLED"|"DISABLED" }, "fargatePlatformConfiguration": { "platformVersion": "string" }, "ephemeralStorage": { "sizeInGiB": integer }, "runtimePlatform": { "operatingSystemFamily": "string", "cpuArchitecture": "string" }, "repositoryCredentials": { "credentialsParameter": "string" } }, "instanceTypes": ["string", ...], "ecsProperties": { "taskProperties": [ { "containers": [ { "command": ["string", ...], "dependsOn": [ { "containerName": "string", "condition": "string" } ... ], "environment": [ { "name": "string", "value": "string" } ... ], "essential": true|false, "image": "string", "linuxParameters": { "devices": [ { "hostPath": "string", "containerPath": "string", "permissions": ["READ"|"WRITE"|"MKNOD", ...] } ... ], "initProcessEnabled": true|false, "sharedMemorySize": integer, "tmpfs": [ { "containerPath": "string", "size": integer, "mountOptions": ["string", ...] } ... ], "maxSwap": integer, "swappiness": integer }, "logConfiguration": { "logDriver": "json-file"|"syslog"|"journald"|"gelf"|"fluentd"|"awslogs"|"splunk", "options": {"string": "string" ...}, "secretOptions": [ { "name": "string", "valueFrom": "string" } ... ] }, "mountPoints": [ { "containerPath": "string", "readOnly": true|false, "sourceVolume": "string" } ... ], "name": "string", "privileged": true|false, "readonlyRootFilesystem": true|false, "repositoryCredentials": { "credentialsParameter": "string" }, "resourceRequirements": [ { "value": "string", "type": "GPU"|"VCPU"|"MEMORY" } ... ], "secrets": [ { "name": "string", "valueFrom": "string" } ... ], "ulimits": [ { "hardLimit": integer, "name": "string", "softLimit": integer } ... ], "user": "string" } ... ], "ephemeralStorage": { "sizeInGiB": integer }, "executionRoleArn": "string", "platformVersion": "string", "ipcMode": "string", "taskRoleArn": "string", "pidMode": "string", "networkConfiguration": { "assignPublicIp": "ENABLED"|"DISABLED" }, "runtimePlatform": { "operatingSystemFamily": "string", "cpuArchitecture": "string" }, "volumes": [ { "host": { "sourcePath": "string" }, "name": "string", "efsVolumeConfiguration": { "fileSystemId": "string", "rootDirectory": "string", "transitEncryption": "ENABLED"|"DISABLED", "transitEncryptionPort": integer, "authorizationConfig": { "accessPointId": "string", "iam": "ENABLED"|"DISABLED" } } } ... ] } ... ] } } ... ]}