Menu
AWS Greengrass
API Reference

CreateFunctionDefinitionRequestBody

{ "Name": "string", "InitialVersion": { "Functions": [ { "Id": "string", "FunctionArn": "string", "FunctionConfiguration": { "Pinned": true, "Executable": "string", "ExecArgs": "string", "MemorySize": 0, "Timeout": 0, "EncodingType": "binary|json", "Environment": { "Variables": { "additionalProperty0": "string", "additionalProperty1": "string", "additionalProperty2": "string" }, "ResourceAccessPolicies": [ { "ResourceId": "string", "Permission": "ro|rw" } ], "AccessSysfs": true } } } ] } }
CreateFunctionDefinitionRequestBody

in: body

required: true

properties

Name: "description"=>"The name of the function definition.", "type"=>"string"

InitialVersion: "$ref"=>"#/definitions/FunctionDefinitionVersion", "description"=>"Information about the initial version of the function definition."