interface CfnFunctionDefinitionVersionMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Greengrass.CfnFunctionDefinitionVersionMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsgreengrass#CfnFunctionDefinitionVersionMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.greengrass.CfnFunctionDefinitionVersionMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_greengrass.CfnFunctionDefinitionVersionMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_greengrass » CfnFunctionDefinitionVersionMixinProps |
Properties for CfnFunctionDefinitionVersionPropsMixin.
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/cfn-property-mixins';
declare const variables: any;
const cfnFunctionDefinitionVersionMixinProps: greengrass.CfnFunctionDefinitionVersionMixinProps = {
defaultConfig: {
execution: {
isolationMode: 'isolationMode',
runAs: {
gid: 123,
uid: 123,
},
},
},
functionDefinitionId: 'functionDefinitionId',
functions: [{
functionArn: 'functionArn',
functionConfiguration: {
encodingType: 'encodingType',
environment: {
accessSysfs: false,
execution: {
isolationMode: 'isolationMode',
runAs: {
gid: 123,
uid: 123,
},
},
resourceAccessPolicies: [{
permission: 'permission',
resourceId: 'resourceId',
}],
variables: variables,
},
execArgs: 'execArgs',
executable: 'executable',
memorySize: 123,
pinned: false,
timeout: 123,
},
id: 'id',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| default | IResolvable | Default | The default configuration that applies to all Lambda functions in the group. |
| function | string | The ID of the function definition associated with this version. |
| functions? | IResolvable | (IResolvable | Function)[] | The functions in this version. |
defaultConfig?
Type:
IResolvable | Default
(optional)
The default configuration that applies to all Lambda functions in the group.
Individual Lambda functions can override these settings.
functionDefinitionId?
Type:
string
(optional)
The ID of the function definition associated with this version.
This value is a GUID.
functions?
Type:
IResolvable | (IResolvable | Function)[]
(optional)
The functions in this version.

.NET
Go
Java
Python
TypeScript