We recommend new projects start with resources from the AWS provider.
aws-native.greengrassv2.ComponentVersion
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource for Greengrass component version.
Create ComponentVersion Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ComponentVersion(name: string, args?: ComponentVersionArgs, opts?: CustomResourceOptions);@overload
def ComponentVersion(resource_name: str,
                     args: Optional[ComponentVersionArgs] = None,
                     opts: Optional[ResourceOptions] = None)
@overload
def ComponentVersion(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     inline_recipe: Optional[str] = None,
                     lambda_function: Optional[ComponentVersionLambdaFunctionRecipeSourceArgs] = None,
                     tags: Optional[Mapping[str, str]] = None)func NewComponentVersion(ctx *Context, name string, args *ComponentVersionArgs, opts ...ResourceOption) (*ComponentVersion, error)public ComponentVersion(string name, ComponentVersionArgs? args = null, CustomResourceOptions? opts = null)
public ComponentVersion(String name, ComponentVersionArgs args)
public ComponentVersion(String name, ComponentVersionArgs args, CustomResourceOptions options)
type: aws-native:greengrassv2:ComponentVersion
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ComponentVersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ComponentVersionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ComponentVersionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ComponentVersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ComponentVersionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ComponentVersion Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ComponentVersion resource accepts the following input properties:
- InlineRecipe string
- The recipe to use to create the component. The recipe defines the component's metadata, parameters, dependencies, lifecycle, artifacts, and platform compatibility. - You must specify either - InlineRecipeor- LambdaFunction.
- LambdaFunction Pulumi.Aws Native. Greengrass V2. Inputs. Component Version Lambda Function Recipe Source 
- The parameters to create a component from a Lambda function. - You must specify either - InlineRecipeor- LambdaFunction.
- Dictionary<string, string>
- Application-specific metadata to attach to the component version. You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tag your AWS IoT Greengrass Version 2 resources in the AWS IoT Greengrass V2 Developer Guide . - This - Jsonproperty type is processed as a map of key-value pairs. It uses the following format, which is different from most- Tagsimplementations in AWS CloudFormation templates.- "Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }
- InlineRecipe string
- The recipe to use to create the component. The recipe defines the component's metadata, parameters, dependencies, lifecycle, artifacts, and platform compatibility. - You must specify either - InlineRecipeor- LambdaFunction.
- LambdaFunction ComponentVersion Lambda Function Recipe Source Args 
- The parameters to create a component from a Lambda function. - You must specify either - InlineRecipeor- LambdaFunction.
- map[string]string
- Application-specific metadata to attach to the component version. You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tag your AWS IoT Greengrass Version 2 resources in the AWS IoT Greengrass V2 Developer Guide . - This - Jsonproperty type is processed as a map of key-value pairs. It uses the following format, which is different from most- Tagsimplementations in AWS CloudFormation templates.- "Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }
- inlineRecipe String
- The recipe to use to create the component. The recipe defines the component's metadata, parameters, dependencies, lifecycle, artifacts, and platform compatibility. - You must specify either - InlineRecipeor- LambdaFunction.
- lambdaFunction ComponentVersion Lambda Function Recipe Source 
- The parameters to create a component from a Lambda function. - You must specify either - InlineRecipeor- LambdaFunction.
- Map<String,String>
- Application-specific metadata to attach to the component version. You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tag your AWS IoT Greengrass Version 2 resources in the AWS IoT Greengrass V2 Developer Guide . - This - Jsonproperty type is processed as a map of key-value pairs. It uses the following format, which is different from most- Tagsimplementations in AWS CloudFormation templates.- "Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }
- inlineRecipe string
- The recipe to use to create the component. The recipe defines the component's metadata, parameters, dependencies, lifecycle, artifacts, and platform compatibility. - You must specify either - InlineRecipeor- LambdaFunction.
- lambdaFunction ComponentVersion Lambda Function Recipe Source 
- The parameters to create a component from a Lambda function. - You must specify either - InlineRecipeor- LambdaFunction.
- {[key: string]: string}
- Application-specific metadata to attach to the component version. You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tag your AWS IoT Greengrass Version 2 resources in the AWS IoT Greengrass V2 Developer Guide . - This - Jsonproperty type is processed as a map of key-value pairs. It uses the following format, which is different from most- Tagsimplementations in AWS CloudFormation templates.- "Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }
- inline_recipe str
- The recipe to use to create the component. The recipe defines the component's metadata, parameters, dependencies, lifecycle, artifacts, and platform compatibility. - You must specify either - InlineRecipeor- LambdaFunction.
- lambda_function ComponentVersion Lambda Function Recipe Source Args 
- The parameters to create a component from a Lambda function. - You must specify either - InlineRecipeor- LambdaFunction.
- Mapping[str, str]
- Application-specific metadata to attach to the component version. You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tag your AWS IoT Greengrass Version 2 resources in the AWS IoT Greengrass V2 Developer Guide . - This - Jsonproperty type is processed as a map of key-value pairs. It uses the following format, which is different from most- Tagsimplementations in AWS CloudFormation templates.- "Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }
- inlineRecipe String
- The recipe to use to create the component. The recipe defines the component's metadata, parameters, dependencies, lifecycle, artifacts, and platform compatibility. - You must specify either - InlineRecipeor- LambdaFunction.
- lambdaFunction Property Map
- The parameters to create a component from a Lambda function. - You must specify either - InlineRecipeor- LambdaFunction.
- Map<String>
- Application-specific metadata to attach to the component version. You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tag your AWS IoT Greengrass Version 2 resources in the AWS IoT Greengrass V2 Developer Guide . - This - Jsonproperty type is processed as a map of key-value pairs. It uses the following format, which is different from most- Tagsimplementations in AWS CloudFormation templates.- "Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }
Outputs
All input properties are implicitly available as output properties. Additionally, the ComponentVersion resource produces the following output properties:
- Arn string
- The ARN of the component version.
- ComponentName string
- The name of the component.
- ComponentVersion stringValue 
- The version of the component.
- Id string
- The provider-assigned unique ID for this managed resource.
- Arn string
- The ARN of the component version.
- ComponentName string
- The name of the component.
- ComponentVersion string
- The version of the component.
- Id string
- The provider-assigned unique ID for this managed resource.
- arn String
- The ARN of the component version.
- componentName String
- The name of the component.
- componentVersion String
- The version of the component.
- id String
- The provider-assigned unique ID for this managed resource.
- arn string
- The ARN of the component version.
- componentName string
- The name of the component.
- componentVersion string
- The version of the component.
- id string
- The provider-assigned unique ID for this managed resource.
- arn str
- The ARN of the component version.
- component_name str
- The name of the component.
- component_version str
- The version of the component.
- id str
- The provider-assigned unique ID for this managed resource.
- arn String
- The ARN of the component version.
- componentName String
- The name of the component.
- componentVersion String
- The version of the component.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
ComponentVersionComponentDependencyRequirement, ComponentVersionComponentDependencyRequirementArgs          
ComponentVersionComponentDependencyRequirementDependencyType, ComponentVersionComponentDependencyRequirementDependencyTypeArgs              
- Soft
- SOFT
- Hard
- HARD
- ComponentVersion Component Dependency Requirement Dependency Type Soft 
- SOFT
- ComponentVersion Component Dependency Requirement Dependency Type Hard 
- HARD
- Soft
- SOFT
- Hard
- HARD
- Soft
- SOFT
- Hard
- HARD
- SOFT
- SOFT
- HARD
- HARD
- "SOFT"
- SOFT
- "HARD"
- HARD
ComponentVersionComponentPlatform, ComponentVersionComponentPlatformArgs        
- Attributes Dictionary<string, string>
- A dictionary of attributes for the platform. The AWS IoT Greengrass Core software defines the osandplatformby default. You can specify additional platform attributes for a core device when you deploy the AWS IoT Greengrass nucleus component. For more information, see the AWS IoT Greengrass nucleus component in the AWS IoT Greengrass V2 Developer Guide .
- Name string
- The friendly name of the platform. This name helps you identify the platform. - If you omit this parameter, AWS IoT Greengrass creates a friendly name from the - osand- architectureof the platform.
- Attributes map[string]string
- A dictionary of attributes for the platform. The AWS IoT Greengrass Core software defines the osandplatformby default. You can specify additional platform attributes for a core device when you deploy the AWS IoT Greengrass nucleus component. For more information, see the AWS IoT Greengrass nucleus component in the AWS IoT Greengrass V2 Developer Guide .
- Name string
- The friendly name of the platform. This name helps you identify the platform. - If you omit this parameter, AWS IoT Greengrass creates a friendly name from the - osand- architectureof the platform.
- attributes Map<String,String>
- A dictionary of attributes for the platform. The AWS IoT Greengrass Core software defines the osandplatformby default. You can specify additional platform attributes for a core device when you deploy the AWS IoT Greengrass nucleus component. For more information, see the AWS IoT Greengrass nucleus component in the AWS IoT Greengrass V2 Developer Guide .
- name String
- The friendly name of the platform. This name helps you identify the platform. - If you omit this parameter, AWS IoT Greengrass creates a friendly name from the - osand- architectureof the platform.
- attributes {[key: string]: string}
- A dictionary of attributes for the platform. The AWS IoT Greengrass Core software defines the osandplatformby default. You can specify additional platform attributes for a core device when you deploy the AWS IoT Greengrass nucleus component. For more information, see the AWS IoT Greengrass nucleus component in the AWS IoT Greengrass V2 Developer Guide .
- name string
- The friendly name of the platform. This name helps you identify the platform. - If you omit this parameter, AWS IoT Greengrass creates a friendly name from the - osand- architectureof the platform.
- attributes Mapping[str, str]
- A dictionary of attributes for the platform. The AWS IoT Greengrass Core software defines the osandplatformby default. You can specify additional platform attributes for a core device when you deploy the AWS IoT Greengrass nucleus component. For more information, see the AWS IoT Greengrass nucleus component in the AWS IoT Greengrass V2 Developer Guide .
- name str
- The friendly name of the platform. This name helps you identify the platform. - If you omit this parameter, AWS IoT Greengrass creates a friendly name from the - osand- architectureof the platform.
- attributes Map<String>
- A dictionary of attributes for the platform. The AWS IoT Greengrass Core software defines the osandplatformby default. You can specify additional platform attributes for a core device when you deploy the AWS IoT Greengrass nucleus component. For more information, see the AWS IoT Greengrass nucleus component in the AWS IoT Greengrass V2 Developer Guide .
- name String
- The friendly name of the platform. This name helps you identify the platform. - If you omit this parameter, AWS IoT Greengrass creates a friendly name from the - osand- architectureof the platform.
ComponentVersionLambdaContainerParams, ComponentVersionLambdaContainerParamsArgs          
- Devices
List<Pulumi.Aws Native. Greengrass V2. Inputs. Component Version Lambda Device Mount> 
- The list of system devices that the container can access.
- MemorySize intIn Kb 
- The memory size of the container, expressed in kilobytes. - Default: - 16384(16 MB)
- MountRo boolSysfs 
- Whether or not the container can read information from the device's - /sysfolder.- Default: - false
- Volumes
List<Pulumi.Aws Native. Greengrass V2. Inputs. Component Version Lambda Volume Mount> 
- The list of volumes that the container can access.
- Devices
[]ComponentVersion Lambda Device Mount 
- The list of system devices that the container can access.
- MemorySize intIn Kb 
- The memory size of the container, expressed in kilobytes. - Default: - 16384(16 MB)
- MountRo boolSysfs 
- Whether or not the container can read information from the device's - /sysfolder.- Default: - false
- Volumes
[]ComponentVersion Lambda Volume Mount 
- The list of volumes that the container can access.
- devices
List<ComponentVersion Lambda Device Mount> 
- The list of system devices that the container can access.
- memorySize IntegerIn Kb 
- The memory size of the container, expressed in kilobytes. - Default: - 16384(16 MB)
- mountRo BooleanSysfs 
- Whether or not the container can read information from the device's - /sysfolder.- Default: - false
- volumes
List<ComponentVersion Lambda Volume Mount> 
- The list of volumes that the container can access.
- devices
ComponentVersion Lambda Device Mount[] 
- The list of system devices that the container can access.
- memorySize numberIn Kb 
- The memory size of the container, expressed in kilobytes. - Default: - 16384(16 MB)
- mountRo booleanSysfs 
- Whether or not the container can read information from the device's - /sysfolder.- Default: - false
- volumes
ComponentVersion Lambda Volume Mount[] 
- The list of volumes that the container can access.
- devices
Sequence[ComponentVersion Lambda Device Mount] 
- The list of system devices that the container can access.
- memory_size_ intin_ kb 
- The memory size of the container, expressed in kilobytes. - Default: - 16384(16 MB)
- mount_ro_ boolsysfs 
- Whether or not the container can read information from the device's - /sysfolder.- Default: - false
- volumes
Sequence[ComponentVersion Lambda Volume Mount] 
- The list of volumes that the container can access.
- devices List<Property Map>
- The list of system devices that the container can access.
- memorySize NumberIn Kb 
- The memory size of the container, expressed in kilobytes. - Default: - 16384(16 MB)
- mountRo BooleanSysfs 
- Whether or not the container can read information from the device's - /sysfolder.- Default: - false
- volumes List<Property Map>
- The list of volumes that the container can access.
ComponentVersionLambdaDeviceMount, ComponentVersionLambdaDeviceMountArgs          
- AddGroup boolOwner 
- Whether or not to add the component's system user as an owner of the device. - Default: - false
- Path string
- The mount path for the device in the file system.
- Permission
Pulumi.Aws Native. Greengrass V2. Component Version Lambda Filesystem Permission 
- The permission to access the device: read/only ( - ro) or read/write (- rw).- Default: - ro
- AddGroup boolOwner 
- Whether or not to add the component's system user as an owner of the device. - Default: - false
- Path string
- The mount path for the device in the file system.
- Permission
ComponentVersion Lambda Filesystem Permission 
- The permission to access the device: read/only ( - ro) or read/write (- rw).- Default: - ro
- addGroup BooleanOwner 
- Whether or not to add the component's system user as an owner of the device. - Default: - false
- path String
- The mount path for the device in the file system.
- permission
ComponentVersion Lambda Filesystem Permission 
- The permission to access the device: read/only ( - ro) or read/write (- rw).- Default: - ro
- addGroup booleanOwner 
- Whether or not to add the component's system user as an owner of the device. - Default: - false
- path string
- The mount path for the device in the file system.
- permission
ComponentVersion Lambda Filesystem Permission 
- The permission to access the device: read/only ( - ro) or read/write (- rw).- Default: - ro
- add_group_ boolowner 
- Whether or not to add the component's system user as an owner of the device. - Default: - false
- path str
- The mount path for the device in the file system.
- permission
ComponentVersion Lambda Filesystem Permission 
- The permission to access the device: read/only ( - ro) or read/write (- rw).- Default: - ro
- addGroup BooleanOwner 
- Whether or not to add the component's system user as an owner of the device. - Default: - false
- path String
- The mount path for the device in the file system.
- permission "ro" | "rw"
- The permission to access the device: read/only ( - ro) or read/write (- rw).- Default: - ro
ComponentVersionLambdaEventSource, ComponentVersionLambdaEventSourceArgs          
- Topic string
- The topic to which to subscribe to receive event messages.
- Type
Pulumi.Aws Native. Greengrass V2. Component Version Lambda Event Source Type 
- The type of event source. Choose from the following options:- PUB_SUB– Subscribe to local publish/subscribe messages. This event source type doesn't support MQTT wildcards (- +and- #) in the event source topic.
- IOT_CORE– Subscribe to AWS IoT Core MQTT messages. This event source type supports MQTT wildcards (- +and- #) in the event source topic.
 
- Topic string
- The topic to which to subscribe to receive event messages.
- Type
ComponentVersion Lambda Event Source Type 
- The type of event source. Choose from the following options:- PUB_SUB– Subscribe to local publish/subscribe messages. This event source type doesn't support MQTT wildcards (- +and- #) in the event source topic.
- IOT_CORE– Subscribe to AWS IoT Core MQTT messages. This event source type supports MQTT wildcards (- +and- #) in the event source topic.
 
- topic String
- The topic to which to subscribe to receive event messages.
- type
ComponentVersion Lambda Event Source Type 
- The type of event source. Choose from the following options:- PUB_SUB– Subscribe to local publish/subscribe messages. This event source type doesn't support MQTT wildcards (- +and- #) in the event source topic.
- IOT_CORE– Subscribe to AWS IoT Core MQTT messages. This event source type supports MQTT wildcards (- +and- #) in the event source topic.
 
- topic string
- The topic to which to subscribe to receive event messages.
- type
ComponentVersion Lambda Event Source Type 
- The type of event source. Choose from the following options:- PUB_SUB– Subscribe to local publish/subscribe messages. This event source type doesn't support MQTT wildcards (- +and- #) in the event source topic.
- IOT_CORE– Subscribe to AWS IoT Core MQTT messages. This event source type supports MQTT wildcards (- +and- #) in the event source topic.
 
- topic str
- The topic to which to subscribe to receive event messages.
- type
ComponentVersion Lambda Event Source Type 
- The type of event source. Choose from the following options:- PUB_SUB– Subscribe to local publish/subscribe messages. This event source type doesn't support MQTT wildcards (- +and- #) in the event source topic.
- IOT_CORE– Subscribe to AWS IoT Core MQTT messages. This event source type supports MQTT wildcards (- +and- #) in the event source topic.
 
- topic String
- The topic to which to subscribe to receive event messages.
- type "PUB_SUB" | "IOT_CORE"
- The type of event source. Choose from the following options:- PUB_SUB– Subscribe to local publish/subscribe messages. This event source type doesn't support MQTT wildcards (- +and- #) in the event source topic.
- IOT_CORE– Subscribe to AWS IoT Core MQTT messages. This event source type supports MQTT wildcards (- +and- #) in the event source topic.
 
ComponentVersionLambdaEventSourceType, ComponentVersionLambdaEventSourceTypeArgs            
- PubSub 
- PUB_SUB
- IotCore 
- IOT_CORE
- ComponentVersion Lambda Event Source Type Pub Sub 
- PUB_SUB
- ComponentVersion Lambda Event Source Type Iot Core 
- IOT_CORE
- PubSub 
- PUB_SUB
- IotCore 
- IOT_CORE
- PubSub 
- PUB_SUB
- IotCore 
- IOT_CORE
- PUB_SUB
- PUB_SUB
- IOT_CORE
- IOT_CORE
- "PUB_SUB"
- PUB_SUB
- "IOT_CORE"
- IOT_CORE
ComponentVersionLambdaExecutionParameters, ComponentVersionLambdaExecutionParametersArgs          
- EnvironmentVariables Dictionary<string, string>
- The map of environment variables that are available to the Lambda function when it runs.
- EventSources List<Pulumi.Aws Native. Greengrass V2. Inputs. Component Version Lambda Event Source> 
- The list of event sources to which to subscribe to receive work messages. The Lambda function runs when it receives a message from an event source. You can subscribe this function to local publish/subscribe messages and AWS IoT Core MQTT messages.
- ExecArgs List<string>
- The list of arguments to pass to the Lambda function when it runs.
- InputPayload Pulumi.Encoding Type Aws Native. Greengrass V2. Component Version Lambda Execution Parameters Input Payload Encoding Type 
- The encoding type that the Lambda function supports. - Default: - json
- LinuxProcess Pulumi.Params Aws Native. Greengrass V2. Inputs. Component Version Lambda Linux Process Params 
- The parameters for the Linux process that contains the Lambda function.
- MaxIdle intTime In Seconds 
- The maximum amount of time in seconds that a non-pinned Lambda function can idle before the AWS IoT Greengrass Core software stops its process.
- MaxInstances intCount 
- The maximum number of instances that a non-pinned Lambda function can run at the same time.
- MaxQueue intSize 
- The maximum size of the message queue for the Lambda function component. The AWS IoT Greengrass core device stores messages in a FIFO (first-in-first-out) queue until it can run the Lambda function to consume each message.
- Pinned bool
- Whether or not the Lambda function is pinned, or long-lived. - A pinned Lambda function starts when the AWS IoT Greengrass Core starts and keeps running in its own container.
- A non-pinned Lambda function starts only when it receives a work item and exists after it idles for maxIdleTimeInSeconds. If the function has multiple work items, the AWS IoT Greengrass Core software creates multiple instances of the function.
 - Default: - true
- StatusTimeout intIn Seconds 
- The interval in seconds at which a pinned (also known as long-lived) Lambda function component sends status updates to the Lambda manager component.
- TimeoutIn intSeconds 
- The maximum amount of time in seconds that the Lambda function can process a work item.
- EnvironmentVariables map[string]string
- The map of environment variables that are available to the Lambda function when it runs.
- EventSources []ComponentVersion Lambda Event Source 
- The list of event sources to which to subscribe to receive work messages. The Lambda function runs when it receives a message from an event source. You can subscribe this function to local publish/subscribe messages and AWS IoT Core MQTT messages.
- ExecArgs []string
- The list of arguments to pass to the Lambda function when it runs.
- InputPayload ComponentEncoding Type Version Lambda Execution Parameters Input Payload Encoding Type 
- The encoding type that the Lambda function supports. - Default: - json
- LinuxProcess ComponentParams Version Lambda Linux Process Params 
- The parameters for the Linux process that contains the Lambda function.
- MaxIdle intTime In Seconds 
- The maximum amount of time in seconds that a non-pinned Lambda function can idle before the AWS IoT Greengrass Core software stops its process.
- MaxInstances intCount 
- The maximum number of instances that a non-pinned Lambda function can run at the same time.
- MaxQueue intSize 
- The maximum size of the message queue for the Lambda function component. The AWS IoT Greengrass core device stores messages in a FIFO (first-in-first-out) queue until it can run the Lambda function to consume each message.
- Pinned bool
- Whether or not the Lambda function is pinned, or long-lived. - A pinned Lambda function starts when the AWS IoT Greengrass Core starts and keeps running in its own container.
- A non-pinned Lambda function starts only when it receives a work item and exists after it idles for maxIdleTimeInSeconds. If the function has multiple work items, the AWS IoT Greengrass Core software creates multiple instances of the function.
 - Default: - true
- StatusTimeout intIn Seconds 
- The interval in seconds at which a pinned (also known as long-lived) Lambda function component sends status updates to the Lambda manager component.
- TimeoutIn intSeconds 
- The maximum amount of time in seconds that the Lambda function can process a work item.
- environmentVariables Map<String,String>
- The map of environment variables that are available to the Lambda function when it runs.
- eventSources List<ComponentVersion Lambda Event Source> 
- The list of event sources to which to subscribe to receive work messages. The Lambda function runs when it receives a message from an event source. You can subscribe this function to local publish/subscribe messages and AWS IoT Core MQTT messages.
- execArgs List<String>
- The list of arguments to pass to the Lambda function when it runs.
- inputPayload ComponentEncoding Type Version Lambda Execution Parameters Input Payload Encoding Type 
- The encoding type that the Lambda function supports. - Default: - json
- linuxProcess ComponentParams Version Lambda Linux Process Params 
- The parameters for the Linux process that contains the Lambda function.
- maxIdle IntegerTime In Seconds 
- The maximum amount of time in seconds that a non-pinned Lambda function can idle before the AWS IoT Greengrass Core software stops its process.
- maxInstances IntegerCount 
- The maximum number of instances that a non-pinned Lambda function can run at the same time.
- maxQueue IntegerSize 
- The maximum size of the message queue for the Lambda function component. The AWS IoT Greengrass core device stores messages in a FIFO (first-in-first-out) queue until it can run the Lambda function to consume each message.
- pinned Boolean
- Whether or not the Lambda function is pinned, or long-lived. - A pinned Lambda function starts when the AWS IoT Greengrass Core starts and keeps running in its own container.
- A non-pinned Lambda function starts only when it receives a work item and exists after it idles for maxIdleTimeInSeconds. If the function has multiple work items, the AWS IoT Greengrass Core software creates multiple instances of the function.
 - Default: - true
- statusTimeout IntegerIn Seconds 
- The interval in seconds at which a pinned (also known as long-lived) Lambda function component sends status updates to the Lambda manager component.
- timeoutIn IntegerSeconds 
- The maximum amount of time in seconds that the Lambda function can process a work item.
- environmentVariables {[key: string]: string}
- The map of environment variables that are available to the Lambda function when it runs.
- eventSources ComponentVersion Lambda Event Source[] 
- The list of event sources to which to subscribe to receive work messages. The Lambda function runs when it receives a message from an event source. You can subscribe this function to local publish/subscribe messages and AWS IoT Core MQTT messages.
- execArgs string[]
- The list of arguments to pass to the Lambda function when it runs.
- inputPayload ComponentEncoding Type Version Lambda Execution Parameters Input Payload Encoding Type 
- The encoding type that the Lambda function supports. - Default: - json
- linuxProcess ComponentParams Version Lambda Linux Process Params 
- The parameters for the Linux process that contains the Lambda function.
- maxIdle numberTime In Seconds 
- The maximum amount of time in seconds that a non-pinned Lambda function can idle before the AWS IoT Greengrass Core software stops its process.
- maxInstances numberCount 
- The maximum number of instances that a non-pinned Lambda function can run at the same time.
- maxQueue numberSize 
- The maximum size of the message queue for the Lambda function component. The AWS IoT Greengrass core device stores messages in a FIFO (first-in-first-out) queue until it can run the Lambda function to consume each message.
- pinned boolean
- Whether or not the Lambda function is pinned, or long-lived. - A pinned Lambda function starts when the AWS IoT Greengrass Core starts and keeps running in its own container.
- A non-pinned Lambda function starts only when it receives a work item and exists after it idles for maxIdleTimeInSeconds. If the function has multiple work items, the AWS IoT Greengrass Core software creates multiple instances of the function.
 - Default: - true
- statusTimeout numberIn Seconds 
- The interval in seconds at which a pinned (also known as long-lived) Lambda function component sends status updates to the Lambda manager component.
- timeoutIn numberSeconds 
- The maximum amount of time in seconds that the Lambda function can process a work item.
- environment_variables Mapping[str, str]
- The map of environment variables that are available to the Lambda function when it runs.
- event_sources Sequence[ComponentVersion Lambda Event Source] 
- The list of event sources to which to subscribe to receive work messages. The Lambda function runs when it receives a message from an event source. You can subscribe this function to local publish/subscribe messages and AWS IoT Core MQTT messages.
- exec_args Sequence[str]
- The list of arguments to pass to the Lambda function when it runs.
- input_payload_ Componentencoding_ type Version Lambda Execution Parameters Input Payload Encoding Type 
- The encoding type that the Lambda function supports. - Default: - json
- linux_process_ Componentparams Version Lambda Linux Process Params 
- The parameters for the Linux process that contains the Lambda function.
- max_idle_ inttime_ in_ seconds 
- The maximum amount of time in seconds that a non-pinned Lambda function can idle before the AWS IoT Greengrass Core software stops its process.
- max_instances_ intcount 
- The maximum number of instances that a non-pinned Lambda function can run at the same time.
- max_queue_ intsize 
- The maximum size of the message queue for the Lambda function component. The AWS IoT Greengrass core device stores messages in a FIFO (first-in-first-out) queue until it can run the Lambda function to consume each message.
- pinned bool
- Whether or not the Lambda function is pinned, or long-lived. - A pinned Lambda function starts when the AWS IoT Greengrass Core starts and keeps running in its own container.
- A non-pinned Lambda function starts only when it receives a work item and exists after it idles for maxIdleTimeInSeconds. If the function has multiple work items, the AWS IoT Greengrass Core software creates multiple instances of the function.
 - Default: - true
- status_timeout_ intin_ seconds 
- The interval in seconds at which a pinned (also known as long-lived) Lambda function component sends status updates to the Lambda manager component.
- timeout_in_ intseconds 
- The maximum amount of time in seconds that the Lambda function can process a work item.
- environmentVariables Map<String>
- The map of environment variables that are available to the Lambda function when it runs.
- eventSources List<Property Map>
- The list of event sources to which to subscribe to receive work messages. The Lambda function runs when it receives a message from an event source. You can subscribe this function to local publish/subscribe messages and AWS IoT Core MQTT messages.
- execArgs List<String>
- The list of arguments to pass to the Lambda function when it runs.
- inputPayload "json" | "binary"Encoding Type 
- The encoding type that the Lambda function supports. - Default: - json
- linuxProcess Property MapParams 
- The parameters for the Linux process that contains the Lambda function.
- maxIdle NumberTime In Seconds 
- The maximum amount of time in seconds that a non-pinned Lambda function can idle before the AWS IoT Greengrass Core software stops its process.
- maxInstances NumberCount 
- The maximum number of instances that a non-pinned Lambda function can run at the same time.
- maxQueue NumberSize 
- The maximum size of the message queue for the Lambda function component. The AWS IoT Greengrass core device stores messages in a FIFO (first-in-first-out) queue until it can run the Lambda function to consume each message.
- pinned Boolean
- Whether or not the Lambda function is pinned, or long-lived. - A pinned Lambda function starts when the AWS IoT Greengrass Core starts and keeps running in its own container.
- A non-pinned Lambda function starts only when it receives a work item and exists after it idles for maxIdleTimeInSeconds. If the function has multiple work items, the AWS IoT Greengrass Core software creates multiple instances of the function.
 - Default: - true
- statusTimeout NumberIn Seconds 
- The interval in seconds at which a pinned (also known as long-lived) Lambda function component sends status updates to the Lambda manager component.
- timeoutIn NumberSeconds 
- The maximum amount of time in seconds that the Lambda function can process a work item.
ComponentVersionLambdaExecutionParametersInputPayloadEncodingType, ComponentVersionLambdaExecutionParametersInputPayloadEncodingTypeArgs                  
- Json
- json
- Binary
- binary
- ComponentVersion Lambda Execution Parameters Input Payload Encoding Type Json 
- json
- ComponentVersion Lambda Execution Parameters Input Payload Encoding Type Binary 
- binary
- Json
- json
- Binary
- binary
- Json
- json
- Binary
- binary
- JSON
- json
- BINARY
- binary
- "json"
- json
- "binary"
- binary
ComponentVersionLambdaFilesystemPermission, ComponentVersionLambdaFilesystemPermissionArgs          
- Ro
- ro
- Rw
- rw
- ComponentVersion Lambda Filesystem Permission Ro 
- ro
- ComponentVersion Lambda Filesystem Permission Rw 
- rw
- Ro
- ro
- Rw
- rw
- Ro
- ro
- Rw
- rw
- RO
- ro
- RW
- rw
- "ro"
- ro
- "rw"
- rw
ComponentVersionLambdaFunctionRecipeSource, ComponentVersionLambdaFunctionRecipeSourceArgs            
- ComponentDependencies Dictionary<string, Pulumi.Aws Native. Greengrass V2. Inputs. Component Version Component Dependency Requirement> 
- The component versions on which this Lambda function component depends.
- ComponentLambda Pulumi.Parameters Aws Native. Greengrass V2. Inputs. Component Version Lambda Execution Parameters 
- The system and runtime parameters for the Lambda function as it runs on the AWS IoT Greengrass core device.
- ComponentName string
- The name of the component. - Defaults to the name of the Lambda function. 
- ComponentPlatforms List<Pulumi.Aws Native. Greengrass V2. Inputs. Component Version Component Platform> 
- The platforms that the component version supports.
- ComponentVersion string
- 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.
- LambdaArn string
- 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.
- ComponentDependencies map[string]ComponentVersion Component Dependency Requirement 
- The component versions on which this Lambda function component depends.
- ComponentLambda ComponentParameters Version Lambda Execution Parameters 
- The system and runtime parameters for the Lambda function as it runs on the AWS IoT Greengrass core device.
- ComponentName string
- The name of the component. - Defaults to the name of the Lambda function. 
- ComponentPlatforms []ComponentVersion Component Platform 
- The platforms that the component version supports.
- ComponentVersion string
- 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.
- LambdaArn string
- 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.
- componentDependencies Map<String,ComponentVersion Component Dependency Requirement> 
- The component versions on which this Lambda function component depends.
- componentLambda ComponentParameters Version Lambda Execution Parameters 
- The system and runtime parameters for the Lambda function as it runs on the AWS IoT Greengrass core device.
- componentName String
- The name of the component. - Defaults to the name of the Lambda function. 
- componentPlatforms List<ComponentVersion Component Platform> 
- The platforms that the component version supports.
- componentVersion String
- 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.
- lambdaArn String
- 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.
- componentDependencies {[key: string]: ComponentVersion Component Dependency Requirement} 
- The component versions on which this Lambda function component depends.
- componentLambda ComponentParameters Version Lambda Execution Parameters 
- The system and runtime parameters for the Lambda function as it runs on the AWS IoT Greengrass core device.
- componentName string
- The name of the component. - Defaults to the name of the Lambda function. 
- componentPlatforms ComponentVersion Component Platform[] 
- The platforms that the component version supports.
- componentVersion string
- 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.
- lambdaArn string
- 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.
- component_dependencies Mapping[str, ComponentVersion Component Dependency Requirement] 
- The component versions on which this Lambda function component depends.
- component_lambda_ Componentparameters Version Lambda Execution Parameters 
- The system and runtime parameters for the Lambda function as it runs on the AWS IoT Greengrass core device.
- component_name str
- The name of the component. - Defaults to the name of the Lambda function. 
- component_platforms Sequence[ComponentVersion Component Platform] 
- The platforms that the component version supports.
- component_version str
- 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.
- lambda_arn str
- 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.
- componentDependencies Map<Property Map>
- The component versions on which this Lambda function component depends.
- componentLambda Property MapParameters 
- The system and runtime parameters for the Lambda function as it runs on the AWS IoT Greengrass core device.
- componentName String
- The name of the component. - Defaults to the name of the Lambda function. 
- componentPlatforms List<Property Map>
- The platforms that the component version supports.
- componentVersion String
- 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.
- lambdaArn String
- 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.
ComponentVersionLambdaLinuxProcessParams, ComponentVersionLambdaLinuxProcessParamsArgs            
- ContainerParams Pulumi.Aws Native. Greengrass V2. Inputs. Component Version Lambda Container Params 
- The parameters for the container in which the Lambda function runs.
- IsolationMode Pulumi.Aws Native. Greengrass V2. Component Version Lambda Linux Process Params Isolation Mode 
- The isolation mode for the process that contains the Lambda function. The process can run in an isolated runtime environment inside the AWS IoT Greengrass container, or as a regular process outside any container. - Default: - GreengrassContainer
- ContainerParams ComponentVersion Lambda Container Params 
- The parameters for the container in which the Lambda function runs.
- IsolationMode ComponentVersion Lambda Linux Process Params Isolation Mode 
- The isolation mode for the process that contains the Lambda function. The process can run in an isolated runtime environment inside the AWS IoT Greengrass container, or as a regular process outside any container. - Default: - GreengrassContainer
- containerParams ComponentVersion Lambda Container Params 
- The parameters for the container in which the Lambda function runs.
- isolationMode ComponentVersion Lambda Linux Process Params Isolation Mode 
- The isolation mode for the process that contains the Lambda function. The process can run in an isolated runtime environment inside the AWS IoT Greengrass container, or as a regular process outside any container. - Default: - GreengrassContainer
- containerParams ComponentVersion Lambda Container Params 
- The parameters for the container in which the Lambda function runs.
- isolationMode ComponentVersion Lambda Linux Process Params Isolation Mode 
- The isolation mode for the process that contains the Lambda function. The process can run in an isolated runtime environment inside the AWS IoT Greengrass container, or as a regular process outside any container. - Default: - GreengrassContainer
- container_params ComponentVersion Lambda Container Params 
- The parameters for the container in which the Lambda function runs.
- isolation_mode ComponentVersion Lambda Linux Process Params Isolation Mode 
- The isolation mode for the process that contains the Lambda function. The process can run in an isolated runtime environment inside the AWS IoT Greengrass container, or as a regular process outside any container. - Default: - GreengrassContainer
- containerParams Property Map
- The parameters for the container in which the Lambda function runs.
- isolationMode "GreengrassContainer" | "No Container" 
- The isolation mode for the process that contains the Lambda function. The process can run in an isolated runtime environment inside the AWS IoT Greengrass container, or as a regular process outside any container. - Default: - GreengrassContainer
ComponentVersionLambdaLinuxProcessParamsIsolationMode, ComponentVersionLambdaLinuxProcessParamsIsolationModeArgs                
- GreengrassContainer 
- GreengrassContainer
- NoContainer 
- NoContainer
- ComponentVersion Lambda Linux Process Params Isolation Mode Greengrass Container 
- GreengrassContainer
- ComponentVersion Lambda Linux Process Params Isolation Mode No Container 
- NoContainer
- GreengrassContainer 
- GreengrassContainer
- NoContainer 
- NoContainer
- GreengrassContainer 
- GreengrassContainer
- NoContainer 
- NoContainer
- GREENGRASS_CONTAINER
- GreengrassContainer
- NO_CONTAINER
- NoContainer
- "GreengrassContainer" 
- GreengrassContainer
- "NoContainer" 
- NoContainer
ComponentVersionLambdaVolumeMount, ComponentVersionLambdaVolumeMountArgs          
- AddGroup boolOwner 
- Whether or not to add the AWS IoT Greengrass user group as an owner of the volume. - Default: - false
- DestinationPath string
- The path to the logical volume in the file system.
- Permission
Pulumi.Aws Native. Greengrass V2. Component Version Lambda Filesystem Permission 
- The permission to access the volume: read/only ( - ro) or read/write (- rw).- Default: - ro
- SourcePath string
- The path to the physical volume in the file system.
- AddGroup boolOwner 
- Whether or not to add the AWS IoT Greengrass user group as an owner of the volume. - Default: - false
- DestinationPath string
- The path to the logical volume in the file system.
- Permission
ComponentVersion Lambda Filesystem Permission 
- The permission to access the volume: read/only ( - ro) or read/write (- rw).- Default: - ro
- SourcePath string
- The path to the physical volume in the file system.
- addGroup BooleanOwner 
- Whether or not to add the AWS IoT Greengrass user group as an owner of the volume. - Default: - false
- destinationPath String
- The path to the logical volume in the file system.
- permission
ComponentVersion Lambda Filesystem Permission 
- The permission to access the volume: read/only ( - ro) or read/write (- rw).- Default: - ro
- sourcePath String
- The path to the physical volume in the file system.
- addGroup booleanOwner 
- Whether or not to add the AWS IoT Greengrass user group as an owner of the volume. - Default: - false
- destinationPath string
- The path to the logical volume in the file system.
- permission
ComponentVersion Lambda Filesystem Permission 
- The permission to access the volume: read/only ( - ro) or read/write (- rw).- Default: - ro
- sourcePath string
- The path to the physical volume in the file system.
- add_group_ boolowner 
- Whether or not to add the AWS IoT Greengrass user group as an owner of the volume. - Default: - false
- destination_path str
- The path to the logical volume in the file system.
- permission
ComponentVersion Lambda Filesystem Permission 
- The permission to access the volume: read/only ( - ro) or read/write (- rw).- Default: - ro
- source_path str
- The path to the physical volume in the file system.
- addGroup BooleanOwner 
- Whether or not to add the AWS IoT Greengrass user group as an owner of the volume. - Default: - false
- destinationPath String
- The path to the logical volume in the file system.
- permission "ro" | "rw"
- The permission to access the volume: read/only ( - ro) or read/write (- rw).- Default: - ro
- sourcePath String
- The path to the physical volume in the file system.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.