interface SystemResourceLimitsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.GreengrassV2.Mixins.CfnDeploymentPropsMixin.SystemResourceLimitsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsgreengrassv2/mixins#CfnDeploymentPropsMixin_SystemResourceLimitsProperty |
Java | software.amazon.awscdk.mixins.preview.services.greengrassv2.mixins.CfnDeploymentPropsMixin.SystemResourceLimitsProperty |
Python | aws_cdk.mixins_preview.aws_greengrassv2.mixins.CfnDeploymentPropsMixin.SystemResourceLimitsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_greengrassv2 » mixins » CfnDeploymentPropsMixin » SystemResourceLimitsProperty |
Contains information about system resource limits that the software applies to a component's processes.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as greengrassv2_mixins } from '@aws-cdk/mixins-preview/aws-greengrassv2';
const systemResourceLimitsProperty: greengrassv2_mixins.CfnDeploymentPropsMixin.SystemResourceLimitsProperty = {
cpus: 123,
memory: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| cpus? | number | The maximum amount of CPU time that a component's processes can use on the core device. |
| memory? | number | The maximum amount of RAM, expressed in kilobytes, that a component's processes can use on the core device. |
cpus?
Type:
number
(optional)
The maximum amount of CPU time that a component's processes can use on the core device.
A core device's total CPU time is equivalent to the device's number of CPU cores. For example, on a core device with 4 CPU cores, you can set this value to 2 to limit the component's processes to 50 percent usage of each CPU core. On a device with 1 CPU core, you can set this value to 0.25 to limit the component's processes to 25 percent usage of the CPU. If you set this value to a number greater than the number of CPU cores, the AWS IoT Greengrass Core software doesn't limit the component's CPU usage.
memory?
Type:
number
(optional)
The maximum amount of RAM, expressed in kilobytes, that a component's processes can use on the core device.
For more information, see Configure system resource limits for components .

.NET
Go
Java
Python
TypeScript