/
awslambdanodejs.init.go
128 lines (125 loc) · 6.1 KB
/
awslambdanodejs.init.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
package awslambdanodejs
import (
"reflect"
_jsii_ "github.com/aws/jsii-runtime-go/runtime"
)
func init() {
_jsii_.RegisterStruct(
"monocdk.aws_lambda_nodejs.BundlingOptions",
reflect.TypeOf((*BundlingOptions)(nil)).Elem(),
)
_jsii_.RegisterEnum(
"monocdk.aws_lambda_nodejs.Charset",
reflect.TypeOf((*Charset)(nil)).Elem(),
map[string]interface{}{
"ASCII": Charset_ASCII,
"UTF8": Charset_UTF8,
},
)
_jsii_.RegisterInterface(
"monocdk.aws_lambda_nodejs.ICommandHooks",
reflect.TypeOf((*ICommandHooks)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberMethod{JsiiMethod: "afterBundling", GoMethod: "AfterBundling"},
_jsii_.MemberMethod{JsiiMethod: "beforeBundling", GoMethod: "BeforeBundling"},
_jsii_.MemberMethod{JsiiMethod: "beforeInstall", GoMethod: "BeforeInstall"},
},
func() interface{} {
return &jsiiProxy_ICommandHooks{}
},
)
_jsii_.RegisterEnum(
"monocdk.aws_lambda_nodejs.LogLevel",
reflect.TypeOf((*LogLevel)(nil)).Elem(),
map[string]interface{}{
"INFO": LogLevel_INFO,
"WARNING": LogLevel_WARNING,
"ERROR": LogLevel_ERROR,
"SILENT": LogLevel_SILENT,
},
)
_jsii_.RegisterClass(
"monocdk.aws_lambda_nodejs.NodejsFunction",
reflect.TypeOf((*NodejsFunction)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberMethod{JsiiMethod: "addAlias", GoMethod: "AddAlias"},
_jsii_.MemberMethod{JsiiMethod: "addEnvironment", GoMethod: "AddEnvironment"},
_jsii_.MemberMethod{JsiiMethod: "addEventSource", GoMethod: "AddEventSource"},
_jsii_.MemberMethod{JsiiMethod: "addEventSourceMapping", GoMethod: "AddEventSourceMapping"},
_jsii_.MemberMethod{JsiiMethod: "addFunctionUrl", GoMethod: "AddFunctionUrl"},
_jsii_.MemberMethod{JsiiMethod: "addLayers", GoMethod: "AddLayers"},
_jsii_.MemberMethod{JsiiMethod: "addPermission", GoMethod: "AddPermission"},
_jsii_.MemberMethod{JsiiMethod: "addToRolePolicy", GoMethod: "AddToRolePolicy"},
_jsii_.MemberMethod{JsiiMethod: "addVersion", GoMethod: "AddVersion"},
_jsii_.MemberMethod{JsiiMethod: "applyRemovalPolicy", GoMethod: "ApplyRemovalPolicy"},
_jsii_.MemberProperty{JsiiProperty: "architecture", GoGetter: "Architecture"},
_jsii_.MemberProperty{JsiiProperty: "canCreatePermissions", GoGetter: "CanCreatePermissions"},
_jsii_.MemberMethod{JsiiMethod: "configureAsyncInvoke", GoMethod: "ConfigureAsyncInvoke"},
_jsii_.MemberProperty{JsiiProperty: "connections", GoGetter: "Connections"},
_jsii_.MemberMethod{JsiiMethod: "considerWarningOnInvokeFunctionPermissions", GoMethod: "ConsiderWarningOnInvokeFunctionPermissions"},
_jsii_.MemberProperty{JsiiProperty: "currentVersion", GoGetter: "CurrentVersion"},
_jsii_.MemberProperty{JsiiProperty: "deadLetterQueue", GoGetter: "DeadLetterQueue"},
_jsii_.MemberProperty{JsiiProperty: "deadLetterTopic", GoGetter: "DeadLetterTopic"},
_jsii_.MemberProperty{JsiiProperty: "env", GoGetter: "Env"},
_jsii_.MemberProperty{JsiiProperty: "functionArn", GoGetter: "FunctionArn"},
_jsii_.MemberProperty{JsiiProperty: "functionName", GoGetter: "FunctionName"},
_jsii_.MemberMethod{JsiiMethod: "generatePhysicalName", GoMethod: "GeneratePhysicalName"},
_jsii_.MemberMethod{JsiiMethod: "getResourceArnAttribute", GoMethod: "GetResourceArnAttribute"},
_jsii_.MemberMethod{JsiiMethod: "getResourceNameAttribute", GoMethod: "GetResourceNameAttribute"},
_jsii_.MemberMethod{JsiiMethod: "grantInvoke", GoMethod: "GrantInvoke"},
_jsii_.MemberMethod{JsiiMethod: "grantInvokeUrl", GoMethod: "GrantInvokeUrl"},
_jsii_.MemberProperty{JsiiProperty: "grantPrincipal", GoGetter: "GrantPrincipal"},
_jsii_.MemberProperty{JsiiProperty: "isBoundToVpc", GoGetter: "IsBoundToVpc"},
_jsii_.MemberProperty{JsiiProperty: "latestVersion", GoGetter: "LatestVersion"},
_jsii_.MemberProperty{JsiiProperty: "logGroup", GoGetter: "LogGroup"},
_jsii_.MemberMethod{JsiiMethod: "metric", GoMethod: "Metric"},
_jsii_.MemberMethod{JsiiMethod: "metricDuration", GoMethod: "MetricDuration"},
_jsii_.MemberMethod{JsiiMethod: "metricErrors", GoMethod: "MetricErrors"},
_jsii_.MemberMethod{JsiiMethod: "metricInvocations", GoMethod: "MetricInvocations"},
_jsii_.MemberMethod{JsiiMethod: "metricThrottles", GoMethod: "MetricThrottles"},
_jsii_.MemberProperty{JsiiProperty: "node", GoGetter: "Node"},
_jsii_.MemberMethod{JsiiMethod: "onPrepare", GoMethod: "OnPrepare"},
_jsii_.MemberMethod{JsiiMethod: "onSynthesize", GoMethod: "OnSynthesize"},
_jsii_.MemberMethod{JsiiMethod: "onValidate", GoMethod: "OnValidate"},
_jsii_.MemberProperty{JsiiProperty: "permissionsNode", GoGetter: "PermissionsNode"},
_jsii_.MemberProperty{JsiiProperty: "physicalName", GoGetter: "PhysicalName"},
_jsii_.MemberMethod{JsiiMethod: "prepare", GoMethod: "Prepare"},
_jsii_.MemberProperty{JsiiProperty: "resourceArnsForGrantInvoke", GoGetter: "ResourceArnsForGrantInvoke"},
_jsii_.MemberProperty{JsiiProperty: "role", GoGetter: "Role"},
_jsii_.MemberProperty{JsiiProperty: "runtime", GoGetter: "Runtime"},
_jsii_.MemberProperty{JsiiProperty: "stack", GoGetter: "Stack"},
_jsii_.MemberMethod{JsiiMethod: "synthesize", GoMethod: "Synthesize"},
_jsii_.MemberProperty{JsiiProperty: "timeout", GoGetter: "Timeout"},
_jsii_.MemberMethod{JsiiMethod: "toString", GoMethod: "ToString"},
_jsii_.MemberMethod{JsiiMethod: "validate", GoMethod: "Validate"},
_jsii_.MemberMethod{JsiiMethod: "warnInvokeFunctionPermissions", GoMethod: "WarnInvokeFunctionPermissions"},
},
func() interface{} {
j := jsiiProxy_NodejsFunction{}
_jsii_.InitJsiiProxy(&j.Type__awslambdaFunction)
return &j
},
)
_jsii_.RegisterStruct(
"monocdk.aws_lambda_nodejs.NodejsFunctionProps",
reflect.TypeOf((*NodejsFunctionProps)(nil)).Elem(),
)
_jsii_.RegisterEnum(
"monocdk.aws_lambda_nodejs.OutputFormat",
reflect.TypeOf((*OutputFormat)(nil)).Elem(),
map[string]interface{}{
"CJS": OutputFormat_CJS,
"ESM": OutputFormat_ESM,
},
)
_jsii_.RegisterEnum(
"monocdk.aws_lambda_nodejs.SourceMapMode",
reflect.TypeOf((*SourceMapMode)(nil)).Elem(),
map[string]interface{}{
"DEFAULT": SourceMapMode_DEFAULT,
"EXTERNAL": SourceMapMode_EXTERNAL,
"INLINE": SourceMapMode_INLINE,
"BOTH": SourceMapMode_BOTH,
},
)
}