aws-cdk-lib.aws_greengrassv2.CfnComponentVersion.LambdaContainerParamsProperty

interface LambdaContainerParamsProperty

LanguageType name
.NETAmazon.CDK.AWS.GreengrassV2.CfnComponentVersion.LambdaContainerParamsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsgreengrassv2#CfnComponentVersion_LambdaContainerParamsProperty
Javasoftware.amazon.awscdk.services.greengrassv2.CfnComponentVersion.LambdaContainerParamsProperty
Pythonaws_cdk.aws_greengrassv2.CfnComponentVersion.LambdaContainerParamsProperty
TypeScript aws-cdk-lib » 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 { aws_greengrassv2 as greengrassv2 } from 'aws-cdk-lib';
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

NameTypeDescription
devices?IResolvable | IResolvable | LambdaDeviceMountProperty[]The list of system devices that the container can access.
memorySizeInKb?numberThe memory size of the container, expressed in kilobytes.
mountRoSysfs?boolean | IResolvableWhether or not the container can read information from the device's /sys folder.
volumes?IResolvable | IResolvable | LambdaVolumeMountProperty[]The list of volumes that the container can access.

devices?

Type: IResolvable | IResolvable | LambdaDeviceMountProperty[] (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 | LambdaVolumeMountProperty[] (optional)

The list of volumes that the container can access.