interface LambdaContainerParamsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.GreengrassV2.Mixins.CfnComponentVersionPropsMixin.LambdaContainerParamsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsgreengrassv2/mixins#CfnComponentVersionPropsMixin_LambdaContainerParamsProperty |
Java | software.amazon.awscdk.mixins.preview.services.greengrassv2.mixins.CfnComponentVersionPropsMixin.LambdaContainerParamsProperty |
Python | aws_cdk.mixins_preview.aws_greengrassv2.mixins.CfnComponentVersionPropsMixin.LambdaContainerParamsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_greengrassv2 » mixins » CfnComponentVersionPropsMixin » 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 { mixins as greengrassv2_mixins } from '@aws-cdk/mixins-preview/aws-greengrassv2';
const lambdaContainerParamsProperty: greengrassv2_mixins.CfnComponentVersionPropsMixin.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.

.NET
Go
Java
Python
TypeScript