AWS cli documentation change
Summary
Added documentation for new 'hostKernel' parameter specifying host OS kernel options for on-demand builds, and clarified that 'status' is output-only.
Security assessment
The change introduces documentation for a new kernel selection feature but doesn't address any specific vulnerability or weakness. Kernel versions relate to general system capabilities rather than patching security flaws. No CVE references or security advisories are mentioned.
Diff
diff --git a/cli/latest/reference/codebuild/create-project.md b/cli/latest/reference/codebuild/create-project.md index 6bba73ce4..fa47560b8 100644 --- a//cli/latest/reference/codebuild/create-project.md +++ b//cli/latest/reference/codebuild/create-project.md @@ -15 +15 @@ - * [AWS CLI 2.35.11 Command Reference](../../index.html) » + * [AWS CLI 2.35.13 Command Reference](../../index.html) » @@ -1356,0 +1357,4 @@ JSON Syntax: +>>> ### Note +>>> +>>> Note that `status` is only an output and cannot be passed in as an input. +>>> @@ -1363,0 +1368,20 @@ JSON Syntax: +> +> hostKernel -> (string) +> +>> The host operating system kernel used for on-demand builds in the build project. The host kernel does not affect the build environment operating system, which is determined by the image you specify. Valid values are: +>> +>> * `LINUX_KERNEL_4` : Runs on an Amazon Linux 2 host (kernel 4.x). +>> * `LINUX_KERNEL_6` : Runs on an Amazon Linux 2023 host (kernel 6.x). +>> * `LINUX_KERNEL_LATEST` : Runs on the latest supported host kernel. +>> + +>> +>> This setting applies to the `LINUX_CONTAINER` , `ARM_CONTAINER` , `LINUX_EC2` , and `ARM_EC2` environment types. It is not applicable to Windows, Lambda, or Mac environment types. +>> +>> Possible values: +>> +>> * `LINUX_KERNEL_4` +>> * `LINUX_KERNEL_6` +>> * `LINUX_KERNEL_LATEST` +>> + @@ -1368 +1392 @@ Shorthand Syntax: - type=string,image=string,computeType=string,computeConfiguration={vCpu=long,memory=long,disk=long,machineType=string,instanceType=string},fleet={fleetArn=string},environmentVariables=[{name=string,value=string,type=string},{name=string,value=string,type=string}],privilegedMode=boolean,certificate=string,registryCredential={credential=string,credentialProvider=string},imagePullCredentialsType=string,dockerServer={computeType=string,securityGroupIds=[string,string],status={status=string,message=string}} + type=string,image=string,computeType=string,computeConfiguration={vCpu=long,memory=long,disk=long,machineType=string,instanceType=string},fleet={fleetArn=string},environmentVariables=[{name=string,value=string,type=string},{name=string,value=string,type=string}],privilegedMode=boolean,certificate=string,registryCredential={credential=string,credentialProvider=string},imagePullCredentialsType=string,dockerServer={computeType=string,securityGroupIds=[string,string],status={status=string,message=string}},hostKernel=string @@ -1410 +1434,2 @@ JSON Syntax: - } + }, + "hostKernel": "LINUX_KERNEL_4"|"LINUX_KERNEL_6"|"LINUX_KERNEL_LATEST" @@ -3225,0 +3251,4 @@ project -> (structure) +>>>> ### Note +>>>> +>>>> Note that `status` is only an output and cannot be passed in as an input. +>>>> @@ -3232,0 +3262,20 @@ project -> (structure) +>> +>> hostKernel -> (string) +>> +>>> The host operating system kernel used for on-demand builds in the build project. The host kernel does not affect the build environment operating system, which is determined by the image you specify. Valid values are: +>>> +>>> * `LINUX_KERNEL_4` : Runs on an Amazon Linux 2 host (kernel 4.x). +>>> * `LINUX_KERNEL_6` : Runs on an Amazon Linux 2023 host (kernel 6.x). +>>> * `LINUX_KERNEL_LATEST` : Runs on the latest supported host kernel. +>>> + +>>> +>>> This setting applies to the `LINUX_CONTAINER` , `ARM_CONTAINER` , `LINUX_EC2` , and `ARM_EC2` environment types. It is not applicable to Windows, Lambda, or Mac environment types. +>>> +>>> Possible values: +>>> +>>> * `LINUX_KERNEL_4` +>>> * `LINUX_KERNEL_6` +>>> * `LINUX_KERNEL_LATEST` +>>> + @@ -3967 +4016 @@ project -> (structure) - * [AWS CLI 2.35.11 Command Reference](../../index.html) » + * [AWS CLI 2.35.13 Command Reference](../../index.html) »