interface DefaultConfigProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Greengrass.CfnFunctionDefinition.DefaultConfigProperty |
![]() | software.amazon.awscdk.services.greengrass.CfnFunctionDefinition.DefaultConfigProperty |
![]() | aws_cdk.aws_greengrass.CfnFunctionDefinition.DefaultConfigProperty |
![]() | @aws-cdk/aws-greengrass » CfnFunctionDefinition » 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 FunctionDefinitionVersion
property type.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as greengrass from '@aws-cdk/aws-greengrass';
const defaultConfigProperty: greengrass.CfnFunctionDefinition.DefaultConfigProperty = {
execution: {
isolationMode: 'isolationMode',
runAs: {
gid: 123,
uid: 123,
},
},
};
Properties
Name | Type | Description |
---|---|---|
execution | IResolvable | Execution | Configuration settings for the Lambda execution environment on the AWS IoT Greengrass core. |
execution
Type:
IResolvable
|
Execution
Configuration settings for the Lambda execution environment on the AWS IoT Greengrass core.