Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data LambdaFunctionRecipeSource = LambdaFunctionRecipeSource' {}
- newLambdaFunctionRecipeSource :: Text -> LambdaFunctionRecipeSource
- lambdaFunctionRecipeSource_componentLambdaParameters :: Lens' LambdaFunctionRecipeSource (Maybe LambdaExecutionParameters)
- lambdaFunctionRecipeSource_componentVersion :: Lens' LambdaFunctionRecipeSource (Maybe Text)
- lambdaFunctionRecipeSource_componentName :: Lens' LambdaFunctionRecipeSource (Maybe Text)
- lambdaFunctionRecipeSource_componentPlatforms :: Lens' LambdaFunctionRecipeSource (Maybe [ComponentPlatform])
- lambdaFunctionRecipeSource_componentDependencies :: Lens' LambdaFunctionRecipeSource (Maybe (HashMap Text ComponentDependencyRequirement))
- lambdaFunctionRecipeSource_lambdaArn :: Lens' LambdaFunctionRecipeSource Text
Documentation
data LambdaFunctionRecipeSource Source #
Contains information about an Lambda function to import to create a component.
See: newLambdaFunctionRecipeSource
smart constructor.
LambdaFunctionRecipeSource' | |
|
Instances
newLambdaFunctionRecipeSource Source #
Create a value of LambdaFunctionRecipeSource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:componentLambdaParameters:LambdaFunctionRecipeSource'
, lambdaFunctionRecipeSource_componentLambdaParameters
- The system and runtime parameters for the Lambda function as it runs on
the Greengrass core device.
$sel:componentVersion:LambdaFunctionRecipeSource'
, lambdaFunctionRecipeSource_componentVersion
- The version of the component.
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
.
$sel:componentName:LambdaFunctionRecipeSource'
, lambdaFunctionRecipeSource_componentName
- The name of the component.
Defaults to the name of the Lambda function.
$sel:componentPlatforms:LambdaFunctionRecipeSource'
, lambdaFunctionRecipeSource_componentPlatforms
- The platforms that the component version supports.
$sel:componentDependencies:LambdaFunctionRecipeSource'
, lambdaFunctionRecipeSource_componentDependencies
- The component versions on which this Lambda function component depends.
$sel:lambdaArn:LambdaFunctionRecipeSource'
, lambdaFunctionRecipeSource_lambdaArn
- The
ARN
of the Lambda function. The ARN must include the version of the function
to import. You can't use version aliases like $LATEST
.
lambdaFunctionRecipeSource_componentLambdaParameters :: Lens' LambdaFunctionRecipeSource (Maybe LambdaExecutionParameters) Source #
The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.
lambdaFunctionRecipeSource_componentVersion :: Lens' LambdaFunctionRecipeSource (Maybe Text) Source #
The version of the component.
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
.
lambdaFunctionRecipeSource_componentName :: Lens' LambdaFunctionRecipeSource (Maybe Text) Source #
The name of the component.
Defaults to the name of the Lambda function.
lambdaFunctionRecipeSource_componentPlatforms :: Lens' LambdaFunctionRecipeSource (Maybe [ComponentPlatform]) Source #
The platforms that the component version supports.
lambdaFunctionRecipeSource_componentDependencies :: Lens' LambdaFunctionRecipeSource (Maybe (HashMap Text ComponentDependencyRequirement)) Source #
The component versions on which this Lambda function component depends.
lambdaFunctionRecipeSource_lambdaArn :: Lens' LambdaFunctionRecipeSource Text Source #
The
ARN
of the Lambda function. The ARN must include the version of the function
to import. You can't use version aliases like $LATEST
.