interface LambdaContainerParamsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.GreengrassV2.CfnComponentVersion.LambdaContainerParamsProperty |
Java | software.amazon.awscdk.services.greengrassv2.CfnComponentVersion.LambdaContainerParamsProperty |
Python | aws_cdk.aws_greengrassv2.CfnComponentVersion.LambdaContainerParamsProperty |
TypeScript | @aws-cdk/aws-greengrassv2 » CfnComponentVersion » LambdaContainerParamsProperty |
Contains information about a container in which AWS Lambda functions run on AWS IoT Greengrass core devices.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as greengrassv2 from '@aws-cdk/aws-greengrassv2';
const lambdaContainerParamsProperty: greengrassv2.CfnComponentVersion.LambdaContainerParamsProperty = {
devices: [{
addGroupOwner: false,
path: 'path',
permission: 'permission',
}],
memorySizeInKb: 123,
mountRoSysfs: false,
volumes: [{
addGroupOwner: false,
destinationPath: 'destinationPath',
permission: 'permission',
sourcePath: 'sourcePath',
}],
};
Properties
Name | Type | Description |
---|---|---|
devices? | IResolvable | IResolvable | Lambda [] | The list of system devices that the container can access. |
memory | number | The memory size of the container, expressed in kilobytes. |
mount | boolean | IResolvable | Whether or not the container can read information from the device's /sys folder. |
volumes? | IResolvable | IResolvable | Lambda [] | The list of volumes that the container can access. |
devices?
Type:
IResolvable
|
IResolvable
|
Lambda
[]
(optional)
The list of system devices that the container can access.
memorySizeInKb?
Type:
number
(optional)
The memory size of the container, expressed in kilobytes.
Default: 16384
(16 MB)
mountRoSysfs?
Type:
boolean |
IResolvable
(optional)
Whether or not the container can read information from the device's /sys
folder.
Default: false
volumes?
Type:
IResolvable
|
IResolvable
|
Lambda
[]
(optional)
The list of volumes that the container can access.