pulumi/tests/testdata/codegen/enum-reference-python/schema.json

73 lines
2.2 KiB
JSON

{
"name": "example",
"resources": {
"example:myModule:IamResource": {
"inputProperties": {
"config": {
"$ref": "/google-native/v0.18.2/schema.json#/types/google-native:iam%2Fv1:AuditConfig"
}
},
"isComponent": true
},
"example:index:ReplicatedBucket": {
"isComponent": true,
"inputProperties": {
"destinationRegion": {
"type": "string",
"description": "Region to which data should be replicated."
}
},
"requiredInputs": [
"destinationRegion"
],
"properties": {
"locationPolicy": {
"$ref": "#/types/example:gcp/gke:NodePoolAutoscaling",
"description": "test stuff",
"type": "object",
"plain": true
}
}
}
},
"types": {
"example:gcp/gke:NodePoolAutoscaling": {
"type": "object",
"properties": {
"locationPolicy": {
"$ref": "/google-native/v0.27.0/schema.json#types/google-native:container/v1:NodePoolAutoscalingLocationPolicy",
"description": "Location policy used when scaling up a nodepool."
}
}
}
},
"language": {
"python": {
"requires": {
"pulumi": ">=3.0.0,<4.0.0",
"pulumi-aws": ">=4.37.1,<5.0.0"
}
},
"csharp": {
"packageReferences": {
"Pulumi": "3.33.2",
"Pulumi.GoogleNative": "0.20.0"
}
},
"nodejs": {
"dependencies": {
"@pulumi/pulumi": "^3.12",
"@pulumi/google-native": "^0.20.0"
},
"devDependencies": {
"typescript": "^3.7.0",
"@types/node": "ts3.7"
}
},
"go": {
"importBasePath": "enum-reference/example",
"generateExtraInputTypes": true
}
}
}