package awsgreengrassv2


// 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 "github.com/aws/aws-cdk-go/awscdk"
//
//   lambdaLinuxProcessParamsProperty := &LambdaLinuxProcessParamsProperty{
//   	ContainerParams: &LambdaContainerParamsProperty{
//   		Devices: []interface{}{
//   			&LambdaDeviceMountProperty{
//   				AddGroupOwner: jsii.Boolean(false),
//   				Path: jsii.String("path"),
//   				Permission: jsii.String("permission"),
//   			},
//   		},
//   		MemorySizeInKb: jsii.Number(123),
//   		MountRoSysfs: jsii.Boolean(false),
//   		Volumes: []interface{}{
//   			&LambdaVolumeMountProperty{
//   				AddGroupOwner: jsii.Boolean(false),
//   				DestinationPath: jsii.String("destinationPath"),
//   				Permission: jsii.String("permission"),
//   				SourcePath: jsii.String("sourcePath"),
//   			},
//   		},
//   	},
//   	IsolationMode: jsii.String("isolationMode"),
//   }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdalinuxprocessparams.html
//
type CfnComponentVersion_LambdaLinuxProcessParamsProperty struct {
	// The parameters for the container in which the Lambda function runs.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdalinuxprocessparams.html#cfn-greengrassv2-componentversion-lambdalinuxprocessparams-containerparams
	//
	ContainerParams interface{} `field:"optional" json:"containerParams" yaml:"containerParams"`
	// 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`.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdalinuxprocessparams.html#cfn-greengrassv2-componentversion-lambdalinuxprocessparams-isolationmode
	//
	IsolationMode *string `field:"optional" json:"isolationMode" yaml:"isolationMode"`
}

