pulumi/tests/testdata/codegen/external-go-import-aliases/schema.json

95 lines
3.4 KiB
JSON

{
"version": "0.0.1",
"name": "example",
"resources": {
"example::Component": {
"inputProperties": {
"resourceNoAlias": {
"$ref": "/aws/v4.36.0/schema.json#/resources/aws:s3/bucket:Bucket"
},
"typeNoAlias": {
"$ref": "/aws/v4.36.0/schema.json#/types/aws:s3/BucketWebsite:BucketWebsite"
},
"resourceLocalAlias": {
"$ref": "/aws/v4.36.0/schema.json#/resources/aws:ec2/instance:Instance"
},
"typeLocalAlias": {
"$ref": "/aws/v4.36.0/schema.json#/types/aws:ec2/InstanceLaunchTemplate:InstanceLaunchTemplate"
},
"resourceLocalInsteadOfRemoteAlias": {
"$ref": "/google-native/v0.18.2/schema.json#/resources/google-native:iam/v1:Key"
},
"typeLocalInsteadOfRemoteAlias": {
"$ref": "/google-native/v0.18.2/schema.json#/types/google-native:iam/v1:AuditConfig"
},
"resourceRemoteAlias": {
"$ref": "/google-native/v0.18.2/schema.json#/resources/google-native:dns/v1:Policy"
},
"typeRemoteAlias": {
"$ref": "/google-native/v0.18.2/schema.json#/types/google-native:dns/v1:DnsKeySpec"
},
"typeRemoteEnum": {
"$ref": "/google-native/v0.18.2/schema.json#/types/google-native:accesscontextmanager/v1:DevicePolicyAllowedDeviceManagementLevelsItem"
}
},
"requiredInputs": [
"resourceNoAlias",
"typeNoAlias",
"resourceLocalAlias",
"typeLocalAlias",
"resourceLocalInsteadOfRemoteAlias",
"typeLocalInsteadOfRemoteAlias",
"resourceRemoteAlias",
"typeRemoteAlias"
],
"properties": {
"resourceNoAlias": {
"$ref": "/aws/v4.36.0/schema.json#/resources/aws:s3/bucket:Bucket"
},
"typeNoAlias": {
"$ref": "/aws/v4.36.0/schema.json#/types/aws:s3/BucketWebsite:BucketWebsite"
},
"resourceLocalAlias": {
"$ref": "/aws/v4.36.0/schema.json#/resources/aws:ec2/instance:Instance"
},
"typeLocalAlias": {
"$ref": "/aws/v4.36.0/schema.json#/types/aws:ec2/InstanceLaunchTemplate:InstanceLaunchTemplate"
},
"resourceLocalInsteadOfRemoteAlias": {
"$ref": "/google-native/v0.18.2/schema.json#/resources/google-native:iam/v1:Key"
},
"typeLocalInsteadOfRemoteAlias": {
"$ref": "/google-native/v0.18.2/schema.json#/types/google-native:iam/v1:AuditConfigResponse"
},
"resourceRemoteAlias": {
"$ref": "/google-native/v0.18.2/schema.json#/resources/google-native:dns/v1:Policy"
},
"typeRemoteAlias": {
"$ref": "/google-native/v0.18.2/schema.json#/types/google-native:dns/v1:DnsKeySpecResponse"
}
},
"required": [
"resourceNoAlias",
"typeNoAlias",
"resourceLocalAlias",
"typeLocalAlias",
"resourceLocalInsteadOfRemoteAlias",
"typeLocalInsteadOfRemoteAlias",
"resourceRemoteAlias",
"typeRemoteAlias"
]
}
},
"language": {
"go": {
"generateResourceContainerTypes": true,
"generateExtraInputTypes": true,
"packageImportAliases": {
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2": "awsec2",
"github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1": "gcpiamv1"
},
"importBasePath": "external-go-import-aliases/example"
}
}
}