Class: Aws::GreengrassV2::Types::CreateComponentVersionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::GreengrassV2::Types::CreateComponentVersionRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-greengrassv2/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#client_token ⇒ String
A unique, case-sensitive identifier that you can provide to ensure that the request is idempotent.
-
#inline_recipe ⇒ String
The recipe to use to create the component.
-
#lambda_function ⇒ Types::LambdaFunctionRecipeSource
The parameters to create a component from a Lambda function.
-
#tags ⇒ Hash<String,String>
A list of key-value pairs that contain metadata for the resource.
Instance Attribute Details
#client_token ⇒ String
A unique, case-sensitive identifier that you can provide to ensure that the request is idempotent. Idempotency means that the request is successfully processed only once, even if you send the request multiple times. When a request succeeds, and you specify the same client token for subsequent successful requests, the IoT Greengrass V2 service returns the successful response that it caches from the previous request. IoT Greengrass V2 caches successful responses for idempotent requests for up to 8 hours.
**A suitable default value is auto-generated.** You should normally not need to pass this option.
781 782 783 784 785 786 787 788 |
# File 'lib/aws-sdk-greengrassv2/types.rb', line 781 class CreateComponentVersionRequest < Struct.new( :inline_recipe, :lambda_function, :tags, :client_token) SENSITIVE = [] include Aws::Structure end |
#inline_recipe ⇒ 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 ‘inlineRecipe` or `lambdaFunction`.
781 782 783 784 785 786 787 788 |
# File 'lib/aws-sdk-greengrassv2/types.rb', line 781 class CreateComponentVersionRequest < Struct.new( :inline_recipe, :lambda_function, :tags, :client_token) SENSITIVE = [] include Aws::Structure end |
#lambda_function ⇒ Types::LambdaFunctionRecipeSource
The parameters to create a component from a Lambda function.
You must specify either ‘inlineRecipe` or `lambdaFunction`.
781 782 783 784 785 786 787 788 |
# File 'lib/aws-sdk-greengrassv2/types.rb', line 781 class CreateComponentVersionRequest < Struct.new( :inline_recipe, :lambda_function, :tags, :client_token) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Hash<String,String>
A list of key-value pairs that contain metadata for the resource. For more information, see [Tag your resources] in the *IoT Greengrass V2 Developer Guide*.
[1]: docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html
781 782 783 784 785 786 787 788 |
# File 'lib/aws-sdk-greengrassv2/types.rb', line 781 class CreateComponentVersionRequest < Struct.new( :inline_recipe, :lambda_function, :tags, :client_token) SENSITIVE = [] include Aws::Structure end |