Interface CfnFunctionDefinitionVersion.DefaultConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFunctionDefinitionVersion.DefaultConfigProperty.Jsii$Proxy
- Enclosing class:
CfnFunctionDefinitionVersion
@Stability(Stable)
public static interface CfnFunctionDefinitionVersion.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 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 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 forCfnFunctionDefinitionVersion.DefaultConfigPropertystatic final classAn implementation forCfnFunctionDefinitionVersion.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
IResolvableorCfnFunctionDefinitionVersion.ExecutionProperty- See Also:
-
builder
-