libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq LambdaFunctionRecipeSource Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.LambdaFunctionRecipeSource

Read LambdaFunctionRecipeSource Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.LambdaFunctionRecipeSource

Show 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 #

NFData LambdaFunctionRecipeSource Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.LambdaFunctionRecipeSource

Hashable LambdaFunctionRecipeSource Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.LambdaFunctionRecipeSource

ToJSON 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" "libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2" 'False) (C1 ('MetaCons "LambdaFunctionRecipeSource'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "componentLambdaParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LambdaExecutionParameters)) :*: (S1 ('MetaSel ('Just "componentVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "componentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "componentPlatforms") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ComponentPlatform])) :*: (S1 ('MetaSel ('Just "componentDependencies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text ComponentDependencyRequirement))) :*: 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: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_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.