amazonka-greengrassv2-2.0: Amazon IoT Greengrass V2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.GreengrassV2.Types.LambdaFunctionRecipeSource

Description

 
Synopsis

Documentation

data LambdaFunctionRecipeSource Source #

Contains information about an Lambda function to import to create a component.

See: newLambdaFunctionRecipeSource smart constructor.

Constructors

LambdaFunctionRecipeSource' 

Fields

Instances

Instances details
ToJSON LambdaFunctionRecipeSource Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.LambdaFunctionRecipeSource

Generic LambdaFunctionRecipeSource Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.LambdaFunctionRecipeSource

Associated Types

type Rep LambdaFunctionRecipeSource :: Type -> Type #

Read LambdaFunctionRecipeSource Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.LambdaFunctionRecipeSource

Show LambdaFunctionRecipeSource Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.LambdaFunctionRecipeSource

NFData LambdaFunctionRecipeSource Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.LambdaFunctionRecipeSource

Eq LambdaFunctionRecipeSource Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.LambdaFunctionRecipeSource

Hashable LambdaFunctionRecipeSource Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.LambdaFunctionRecipeSource

type Rep LambdaFunctionRecipeSource Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.LambdaFunctionRecipeSource

type Rep LambdaFunctionRecipeSource = D1 ('MetaData "LambdaFunctionRecipeSource" "Amazonka.GreengrassV2.Types.LambdaFunctionRecipeSource" "amazonka-greengrassv2-2.0-CXiJQl197i43YI1Cz5IpiZ" 'False) (C1 ('MetaCons "LambdaFunctionRecipeSource'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "componentDependencies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text ComponentDependencyRequirement))) :*: (S1 ('MetaSel ('Just "componentLambdaParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LambdaExecutionParameters)) :*: S1 ('MetaSel ('Just "componentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "componentPlatforms") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ComponentPlatform])) :*: (S1 ('MetaSel ('Just "componentVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lambdaArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

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:componentDependencies:LambdaFunctionRecipeSource', lambdaFunctionRecipeSource_componentDependencies - The component versions on which this Lambda function component depends.

$sel:componentLambdaParameters:LambdaFunctionRecipeSource', lambdaFunctionRecipeSource_componentLambdaParameters - The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.

$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: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: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_componentName :: Lens' LambdaFunctionRecipeSource (Maybe Text) Source #

The name of the component.

Defaults to the name of the Lambda function.

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_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.