aws-cdk-lib.aws_greengrass.CfnFunctionDefinitionVersion.DefaultConfigProperty

interface DefaultConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.Greengrass.CfnFunctionDefinitionVersion.DefaultConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsgreengrass#CfnFunctionDefinitionVersion_DefaultConfigProperty
Javasoftware.amazon.awscdk.services.greengrass.CfnFunctionDefinitionVersion.DefaultConfigProperty
Pythonaws_cdk.aws_greengrass.CfnFunctionDefinitionVersion.DefaultConfigProperty
TypeScript aws-cdk-lib » aws_greengrass » CfnFunctionDefinitionVersion » DefaultConfigProperty

The default configuration that applies to all Lambda functions in the function definition version.

Individual Lambda functions can override these settings.

In an AWS CloudFormation template, DefaultConfig is a property of the AWS::Greengrass::FunctionDefinitionVersion resource.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_greengrass as greengrass } from 'aws-cdk-lib';
const defaultConfigProperty: greengrass.CfnFunctionDefinitionVersion.DefaultConfigProperty = {
  execution: {
    isolationMode: 'isolationMode',
    runAs: {
      gid: 123,
      uid: 123,
    },
  },
};

Properties

NameTypeDescription
executionIResolvable | ExecutionPropertyConfiguration settings for the Lambda execution environment on the AWS IoT Greengrass core.

execution

Type: IResolvable | ExecutionProperty

Configuration settings for the Lambda execution environment on the AWS IoT Greengrass core.