Interface CfnFunctionDefinition.DefaultConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFunctionDefinition.DefaultConfigProperty.Jsii$Proxy
- Enclosing class:
CfnFunctionDefinition
@Stability(Stable)
public static interface CfnFunctionDefinition.DefaultConfigProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.greengrass.*;
DefaultConfigProperty defaultConfigProperty = DefaultConfigProperty.builder()
.execution(ExecutionProperty.builder()
.isolationMode("isolationMode")
.runAs(RunAsProperty.builder()
.gid(123)
.uid(123)
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFunctionDefinition.DefaultConfigPropertystatic final classAn implementation forCfnFunctionDefinition.DefaultConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Configuration settings for the Lambda execution environment on the AWS IoT Greengrass core.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExecution
Configuration settings for the Lambda execution environment on the AWS IoT Greengrass core.Returns union: either
IResolvableorCfnFunctionDefinition.ExecutionProperty- See Also:
-
builder
-