Class CfnFunctionDefinitionVersionProps
Properties for defining a CfnFunctionDefinitionVersion
.
Inheritance
System.Object
CfnFunctionDefinitionVersionProps
Implements
Namespace: Amazon.CDK.AWS.Greengrass
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnFunctionDefinitionVersionProps : Object, ICfnFunctionDefinitionVersionProps
Syntax (vb)
Public Class CfnFunctionDefinitionVersionProps
Inherits Object
Implements ICfnFunctionDefinitionVersionProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Greengrass;
var variables;
var cfnFunctionDefinitionVersionProps = new CfnFunctionDefinitionVersionProps {
FunctionDefinitionId = "functionDefinitionId",
Functions = new [] { new FunctionProperty {
FunctionArn = "functionArn",
FunctionConfiguration = new FunctionConfigurationProperty {
EncodingType = "encodingType",
Environment = new EnvironmentProperty {
AccessSysfs = false,
Execution = new ExecutionProperty {
IsolationMode = "isolationMode",
RunAs = new RunAsProperty {
Gid = 123,
Uid = 123
}
},
ResourceAccessPolicies = new [] { new ResourceAccessPolicyProperty {
ResourceId = "resourceId",
// the properties below are optional
Permission = "permission"
} },
Variables = variables
},
ExecArgs = "execArgs",
Executable = "executable",
MemorySize = 123,
Pinned = false,
Timeout = 123
},
Id = "id"
} },
// the properties below are optional
DefaultConfig = new DefaultConfigProperty {
Execution = new ExecutionProperty {
IsolationMode = "isolationMode",
RunAs = new RunAsProperty {
Gid = 123,
Uid = 123
}
}
}
};
Synopsis
Constructors
CfnFunctionDefinitionVersionProps() |
Properties
DefaultConfig | The default configuration that applies to all Lambda functions in the group. |
FunctionDefinitionId | The ID of the function definition associated with this version. |
Functions | The functions in this version. |
Constructors
CfnFunctionDefinitionVersionProps()
public CfnFunctionDefinitionVersionProps()
Properties
DefaultConfig
The default configuration that applies to all Lambda functions in the group.
public object DefaultConfig { get; set; }
Property Value
System.Object
Remarks
Individual Lambda functions can override these settings.
FunctionDefinitionId
The ID of the function definition associated with this version.
public string FunctionDefinitionId { get; set; }
Property Value
System.String
Remarks
Functions
The functions in this version.
public object Functions { get; set; }
Property Value
System.Object