Show / Hide Table of Contents

Class CfnComponentVersionPropsMixin.LambdaFunctionRecipeSourceProperty

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

Inheritance
object
CfnComponentVersionPropsMixin.LambdaFunctionRecipeSourceProperty
Implements
CfnComponentVersionPropsMixin.ILambdaFunctionRecipeSourceProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.GreengrassV2.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnComponentVersionPropsMixin.LambdaFunctionRecipeSourceProperty : CfnComponentVersionPropsMixin.ILambdaFunctionRecipeSourceProperty
Syntax (vb)
Public Class CfnComponentVersionPropsMixin.LambdaFunctionRecipeSourceProperty Implements CfnComponentVersionPropsMixin.ILambdaFunctionRecipeSourceProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdafunctionrecipesource.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.AWS.GreengrassV2.Mixins;

             var lambdaFunctionRecipeSourceProperty = new LambdaFunctionRecipeSourceProperty {
                 ComponentDependencies = new Dictionary<string, object> {
                     { "componentDependenciesKey", new ComponentDependencyRequirementProperty {
                         DependencyType = "dependencyType",
                         VersionRequirement = "versionRequirement"
                     } }
                 },
                 ComponentLambdaParameters = new LambdaExecutionParametersProperty {
                     EnvironmentVariables = new Dictionary<string, string> {
                         { "environmentVariablesKey", "environmentVariables" }
                     },
                     EventSources = new [] { new LambdaEventSourceProperty {
                         Topic = "topic",
                         Type = "type"
                     } },
                     ExecArgs = new [] { "execArgs" },
                     InputPayloadEncodingType = "inputPayloadEncodingType",
                     LinuxProcessParams = new LambdaLinuxProcessParamsProperty {
                         ContainerParams = new LambdaContainerParamsProperty {
                             Devices = new [] { new LambdaDeviceMountProperty {
                                 AddGroupOwner = false,
                                 Path = "path",
                                 Permission = "permission"
                             } },
                             MemorySizeInKb = 123,
                             MountRoSysfs = false,
                             Volumes = new [] { new LambdaVolumeMountProperty {
                                 AddGroupOwner = false,
                                 DestinationPath = "destinationPath",
                                 Permission = "permission",
                                 SourcePath = "sourcePath"
                             } }
                         },
                         IsolationMode = "isolationMode"
                     },
                     MaxIdleTimeInSeconds = 123,
                     MaxInstancesCount = 123,
                     MaxQueueSize = 123,
                     Pinned = false,
                     StatusTimeoutInSeconds = 123,
                     TimeoutInSeconds = 123
                 },
                 ComponentName = "componentName",
                 ComponentPlatforms = new [] { new ComponentPlatformProperty {
                     Attributes = new Dictionary<string, string> {
                         { "attributesKey", "attributes" }
                     },
                     Name = "name"
                 } },
                 ComponentVersion = "componentVersion",
                 LambdaArn = "lambdaArn"
             };

Synopsis

Constructors

LambdaFunctionRecipeSourceProperty()

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

Properties

ComponentDependencies

The component versions on which this Lambda function component depends.

ComponentLambdaParameters

The system and runtime parameters for the Lambda function as it runs on the AWS IoT Greengrass core device.

ComponentName

The name of the component.

ComponentPlatforms

The platforms that the component version supports.

ComponentVersion

The version of the component.

LambdaArn

The ARN of the Lambda function.

Constructors

LambdaFunctionRecipeSourceProperty()

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

public LambdaFunctionRecipeSourceProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdafunctionrecipesource.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.AWS.GreengrassV2.Mixins;

             var lambdaFunctionRecipeSourceProperty = new LambdaFunctionRecipeSourceProperty {
                 ComponentDependencies = new Dictionary<string, object> {
                     { "componentDependenciesKey", new ComponentDependencyRequirementProperty {
                         DependencyType = "dependencyType",
                         VersionRequirement = "versionRequirement"
                     } }
                 },
                 ComponentLambdaParameters = new LambdaExecutionParametersProperty {
                     EnvironmentVariables = new Dictionary<string, string> {
                         { "environmentVariablesKey", "environmentVariables" }
                     },
                     EventSources = new [] { new LambdaEventSourceProperty {
                         Topic = "topic",
                         Type = "type"
                     } },
                     ExecArgs = new [] { "execArgs" },
                     InputPayloadEncodingType = "inputPayloadEncodingType",
                     LinuxProcessParams = new LambdaLinuxProcessParamsProperty {
                         ContainerParams = new LambdaContainerParamsProperty {
                             Devices = new [] { new LambdaDeviceMountProperty {
                                 AddGroupOwner = false,
                                 Path = "path",
                                 Permission = "permission"
                             } },
                             MemorySizeInKb = 123,
                             MountRoSysfs = false,
                             Volumes = new [] { new LambdaVolumeMountProperty {
                                 AddGroupOwner = false,
                                 DestinationPath = "destinationPath",
                                 Permission = "permission",
                                 SourcePath = "sourcePath"
                             } }
                         },
                         IsolationMode = "isolationMode"
                     },
                     MaxIdleTimeInSeconds = 123,
                     MaxInstancesCount = 123,
                     MaxQueueSize = 123,
                     Pinned = false,
                     StatusTimeoutInSeconds = 123,
                     TimeoutInSeconds = 123
                 },
                 ComponentName = "componentName",
                 ComponentPlatforms = new [] { new ComponentPlatformProperty {
                     Attributes = new Dictionary<string, string> {
                         { "attributesKey", "attributes" }
                     },
                     Name = "name"
                 } },
                 ComponentVersion = "componentVersion",
                 LambdaArn = "lambdaArn"
             };

Properties

ComponentDependencies

The component versions on which this Lambda function component depends.

public object? ComponentDependencies { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdafunctionrecipesource.html#cfn-greengrassv2-componentversion-lambdafunctionrecipesource-componentdependencies

Type union: either IResolvable or Dictionary<string, either IResolvable or CfnComponentVersionPropsMixin.IComponentDependencyRequirementProperty>

ComponentLambdaParameters

The system and runtime parameters for the Lambda function as it runs on the AWS IoT Greengrass core device.

public object? ComponentLambdaParameters { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdafunctionrecipesource.html#cfn-greengrassv2-componentversion-lambdafunctionrecipesource-componentlambdaparameters

Type union: either IResolvable or CfnComponentVersionPropsMixin.ILambdaExecutionParametersProperty

ComponentName

The name of the component.

public string? ComponentName { get; set; }
Property Value

string

Remarks

Defaults to the name of the Lambda function.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdafunctionrecipesource.html#cfn-greengrassv2-componentversion-lambdafunctionrecipesource-componentname

ComponentPlatforms

The platforms that the component version supports.

public object? ComponentPlatforms { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdafunctionrecipesource.html#cfn-greengrassv2-componentversion-lambdafunctionrecipesource-componentplatforms

Type union: either IResolvable or (either IResolvable or CfnComponentVersionPropsMixin.IComponentPlatformProperty)[]

ComponentVersion

The version of the component.

public string? ComponentVersion { get; set; }
Property Value

string

Remarks

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdafunctionrecipesource.html#cfn-greengrassv2-componentversion-lambdafunctionrecipesource-componentversion

LambdaArn

The ARN of the Lambda function.

public string? LambdaArn { get; set; }
Property Value

string

Remarks

The ARN must include the version of the function to import. You can't use version aliases like $LATEST .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdafunctionrecipesource.html#cfn-greengrassv2-componentversion-lambdafunctionrecipesource-lambdaarn

Implements

CfnComponentVersionPropsMixin.ILambdaFunctionRecipeSourceProperty
Back to top Generated by DocFX