pulumi/tests/testdata/codegen/functions-secrets/schema.json

60 lines
1.5 KiB
JSON

{
"name": "mypkg",
"version": "0.0.1",
"functions": {
"mypkg::funcWithSecrets": {
"inputs": {
"properties": {
"cryptoKey": {
"type": "string"
},
"plaintext": {
"type": "string",
"secret": true
}
},
"type": "object",
"required": [
"cryptoKey",
"plaintext"
]
},
"outputs": {
"properties": {
"ciphertext": {
"type": "string"
},
"cryptoKey": {
"type": "string"
},
"id": {
"type": "string"
},
"plaintext": {
"type": "string",
"secret": true
}
},
"type": "object",
"required": [
"ciphertext",
"cryptoKey",
"plaintext",
"id"
]
}
}
},
"language": {
"nodejs": {
"devDependencies": {
"@types/node": "ts4.3"
}
},
"go": {
"importBasePath": "functions-secrets/mypkg"
},
"python": {}
}
}