aws-cdk-lib.aws_greengrassv2.CfnComponentVersion.LambdaLinuxProcessParamsProperty

interface LambdaLinuxProcessParamsProperty

LanguageType name
.NETAmazon.CDK.AWS.GreengrassV2.CfnComponentVersion.LambdaLinuxProcessParamsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsgreengrassv2#CfnComponentVersion_LambdaLinuxProcessParamsProperty
Javasoftware.amazon.awscdk.services.greengrassv2.CfnComponentVersion.LambdaLinuxProcessParamsProperty
Pythonaws_cdk.aws_greengrassv2.CfnComponentVersion.LambdaLinuxProcessParamsProperty
TypeScript aws-cdk-lib » aws_greengrassv2 » CfnComponentVersion » LambdaLinuxProcessParamsProperty

Contains parameters for a Linux process that contains an AWS Lambda function.

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 lambdaLinuxProcessParamsProperty: greengrassv2.CfnComponentVersion.LambdaLinuxProcessParamsProperty = {
  containerParams: {
    devices: [{
      addGroupOwner: false,
      path: 'path',
      permission: 'permission',
    }],
    memorySizeInKb: 123,
    mountRoSysfs: false,
    volumes: [{
      addGroupOwner: false,
      destinationPath: 'destinationPath',
      permission: 'permission',
      sourcePath: 'sourcePath',
    }],
  },
  isolationMode: 'isolationMode',
};

Properties

NameTypeDescription
containerParams?IResolvable | LambdaContainerParamsPropertyThe parameters for the container in which the Lambda function runs.
isolationMode?stringThe isolation mode for the process that contains the Lambda function.

containerParams?

Type: IResolvable | LambdaContainerParamsProperty (optional)

The parameters for the container in which the Lambda function runs.


isolationMode?

Type: string (optional)

The isolation mode for the process that contains the Lambda function.

The process can run in an isolated runtime environment inside the AWS IoT Greengrass container, or as a regular process outside any container.

Default: GreengrassContainer