@Stability(value=Stable)
public static interface CfnComponentVersion.LambdaFunctionRecipeSourceProperty
extends software.amazon.jsii.JsiiSerializable
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.greengrassv2.*;
LambdaFunctionRecipeSourceProperty lambdaFunctionRecipeSourceProperty = LambdaFunctionRecipeSourceProperty.builder()
.componentDependencies(Map.of(
"componentDependenciesKey", ComponentDependencyRequirementProperty.builder()
.dependencyType("dependencyType")
.versionRequirement("versionRequirement")
.build()))
.componentLambdaParameters(LambdaExecutionParametersProperty.builder()
.environmentVariables(Map.of(
"environmentVariablesKey", "environmentVariables"))
.eventSources(List.of(LambdaEventSourceProperty.builder()
.topic("topic")
.type("type")
.build()))
.execArgs(List.of("execArgs"))
.inputPayloadEncodingType("inputPayloadEncodingType")
.linuxProcessParams(LambdaLinuxProcessParamsProperty.builder()
.containerParams(LambdaContainerParamsProperty.builder()
.devices(List.of(LambdaDeviceMountProperty.builder()
.addGroupOwner(false)
.path("path")
.permission("permission")
.build()))
.memorySizeInKb(123)
.mountRoSysfs(false)
.volumes(List.of(LambdaVolumeMountProperty.builder()
.addGroupOwner(false)
.destinationPath("destinationPath")
.permission("permission")
.sourcePath("sourcePath")
.build()))
.build())
.isolationMode("isolationMode")
.build())
.maxIdleTimeInSeconds(123)
.maxInstancesCount(123)
.maxQueueSize(123)
.pinned(false)
.statusTimeoutInSeconds(123)
.timeoutInSeconds(123)
.build())
.componentName("componentName")
.componentPlatforms(List.of(ComponentPlatformProperty.builder()
.attributes(Map.of(
"attributesKey", "attributes"))
.name("name")
.build()))
.componentVersion("componentVersion")
.lambdaArn("lambdaArn")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnComponentVersion.LambdaFunctionRecipeSourceProperty.Builder
A builder for
CfnComponentVersion.LambdaFunctionRecipeSourceProperty |
static class |
CfnComponentVersion.LambdaFunctionRecipeSourceProperty.Jsii$Proxy
An implementation for
CfnComponentVersion.LambdaFunctionRecipeSourceProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnComponentVersion.LambdaFunctionRecipeSourceProperty.Builder |
builder() |
default Object |
getComponentDependencies()
The component versions on which this Lambda function component depends.
|
default Object |
getComponentLambdaParameters()
The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.
|
default String |
getComponentName()
The name of the component.
|
default Object |
getComponentPlatforms()
The platforms that the component version supports.
|
default String |
getComponentVersion()
The version of the component.
|
default String |
getLambdaArn()
The ARN of the Lambda function.
|
@Stability(value=Stable) @Nullable default Object getComponentDependencies()
@Stability(value=Stable) @Nullable default Object getComponentLambdaParameters()
@Stability(value=Stable) @Nullable default String getComponentName()
Defaults to the name of the Lambda function.
@Stability(value=Stable) @Nullable default Object getComponentPlatforms()
@Stability(value=Stable) @Nullable default String getComponentVersion()
Defaults to the version of the Lambda function as a semantic version. For example, if your function version is 3 , the component version becomes 3.0.0 .
@Stability(value=Stable) @Nullable default String getLambdaArn()
The ARN must include the version of the function to import. You can't use version aliases like $LATEST .
@Stability(value=Stable) static CfnComponentVersion.LambdaFunctionRecipeSourceProperty.Builder builder()
Copyright © 2022. All rights reserved.