/
layerVersion.go
427 lines (381 loc) · 20.9 KB
/
layerVersion.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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package lambda
import (
"context"
"reflect"
"github.com/pkg/errors"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
// ## Example Usage
// ### Basic Example
//
// ```go
// package main
//
// import (
// "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/lambda"
// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
// )
//
// func main() {
// pulumi.Run(func(ctx *pulumi.Context) error {
// _, err := lambda.NewLayerVersion(ctx, "lambdaLayer", &lambda.LayerVersionArgs{
// CompatibleRuntimes: pulumi.StringArray{
// pulumi.String("nodejs12.x"),
// },
// Code: pulumi.NewFileArchive("lambda_layer_payload.zip"),
// LayerName: pulumi.String("lambda_layer_name"),
// })
// if err != nil {
// return err
// }
// return nil
// })
// }
// ```
// ### Lambda Layer with Compatible Architectures
//
// ```go
// package main
//
// import (
// "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/lambda"
// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
// )
//
// func main() {
// pulumi.Run(func(ctx *pulumi.Context) error {
// _, err := lambda.NewLayerVersion(ctx, "lambdaLayer", &lambda.LayerVersionArgs{
// CompatibleArchitectures: pulumi.StringArray{
// pulumi.String("arm64"),
// pulumi.String("x86_64"),
// },
// CompatibleRuntimes: pulumi.StringArray{
// pulumi.String("nodejs12.x"),
// },
// Code: pulumi.NewFileArchive("lambda_layer_payload.zip"),
// LayerName: pulumi.String("lambda_layer_name"),
// })
// if err != nil {
// return err
// }
// return nil
// })
// }
// ```
// ## Specifying the Deployment Package
//
// AWS Lambda Layers expect source code to be provided as a deployment package whose structure varies depending on which `compatibleRuntimes` this layer specifies.
// See [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-CompatibleRuntimes) for the valid values of `compatibleRuntimes`.
//
// Once you have created your deployment package you can specify it either directly as a local file (using the `filename` argument) or
// indirectly via Amazon S3 (using the `s3Bucket`, `s3Key` and `s3ObjectVersion` arguments). When providing the deployment
// package via S3 it may be useful to use the `s3.BucketObject` resource to upload it.
//
// For larger deployment packages it is recommended by Amazon to upload via S3, since the S3 API has better support for uploading large files efficiently.
//
// ## Import
//
// Lambda Layers can be imported using `arn`.
//
// ```sh
// $ pulumi import aws:lambda/layerVersion:LayerVersion \
// ```
//
// aws_lambda_layer_version.test_layer \
//
// arn:aws:lambda:_REGION_:_ACCOUNT_ID_:layer:_LAYER_NAME_:_LAYER_VERSION_
type LayerVersion struct {
pulumi.CustomResourceState
// ARN of the Lambda Layer with version.
Arn pulumi.StringOutput `pulumi:"arn"`
// Path to the function's deployment package within the local filesystem. If defined, The `s3_`-prefixed options cannot be used.
Code pulumi.ArchiveOutput `pulumi:"code"`
// List of [Architectures](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-CompatibleArchitectures) this layer is compatible with. Currently `x8664` and `arm64` can be specified.
CompatibleArchitectures pulumi.StringArrayOutput `pulumi:"compatibleArchitectures"`
// List of [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-CompatibleRuntimes) this layer is compatible with. Up to 5 runtimes can be specified.
CompatibleRuntimes pulumi.StringArrayOutput `pulumi:"compatibleRuntimes"`
// Date this resource was created.
CreatedDate pulumi.StringOutput `pulumi:"createdDate"`
// Description of what your Lambda Layer does.
Description pulumi.StringPtrOutput `pulumi:"description"`
// ARN of the Lambda Layer without version.
LayerArn pulumi.StringOutput `pulumi:"layerArn"`
// Unique name for your Lambda Layer
LayerName pulumi.StringOutput `pulumi:"layerName"`
// License info for your Lambda Layer. See [License Info](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-LicenseInfo).
LicenseInfo pulumi.StringPtrOutput `pulumi:"licenseInfo"`
// S3 bucket location containing the function's deployment package. Conflicts with `filename`. This bucket must reside in the same AWS region where you are creating the Lambda function.
S3Bucket pulumi.StringPtrOutput `pulumi:"s3Bucket"`
// S3 key of an object containing the function's deployment package. Conflicts with `filename`.
S3Key pulumi.StringPtrOutput `pulumi:"s3Key"`
// Object version containing the function's deployment package. Conflicts with `filename`.
S3ObjectVersion pulumi.StringPtrOutput `pulumi:"s3ObjectVersion"`
// ARN of a signing job.
SigningJobArn pulumi.StringOutput `pulumi:"signingJobArn"`
// ARN for a signing profile version.
SigningProfileVersionArn pulumi.StringOutput `pulumi:"signingProfileVersionArn"`
// Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`. When this is not set to `true`, changing any of `compatibleArchitectures`, `compatibleRuntimes`, `description`, `filename`, `layerName`, `licenseInfo`, `s3Bucket`, `s3Key`, `s3ObjectVersion`, or `sourceCodeHash` forces deletion of the existing layer version and creation of a new layer version.
SkipDestroy pulumi.BoolPtrOutput `pulumi:"skipDestroy"`
SourceCodeHash pulumi.StringOutput `pulumi:"sourceCodeHash"`
// Size in bytes of the function .zip file.
SourceCodeSize pulumi.IntOutput `pulumi:"sourceCodeSize"`
// Lambda Layer version.
Version pulumi.StringOutput `pulumi:"version"`
}
// NewLayerVersion registers a new resource with the given unique name, arguments, and options.
func NewLayerVersion(ctx *pulumi.Context,
name string, args *LayerVersionArgs, opts ...pulumi.ResourceOption) (*LayerVersion, error) {
if args == nil {
return nil, errors.New("missing one or more required arguments")
}
if args.LayerName == nil {
return nil, errors.New("invalid value for required argument 'LayerName'")
}
var resource LayerVersion
err := ctx.RegisterResource("aws:lambda/layerVersion:LayerVersion", name, args, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// GetLayerVersion gets an existing LayerVersion resource's state with the given name, ID, and optional
// state properties that are used to uniquely qualify the lookup (nil if not required).
func GetLayerVersion(ctx *pulumi.Context,
name string, id pulumi.IDInput, state *LayerVersionState, opts ...pulumi.ResourceOption) (*LayerVersion, error) {
var resource LayerVersion
err := ctx.ReadResource("aws:lambda/layerVersion:LayerVersion", name, id, state, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// Input properties used for looking up and filtering LayerVersion resources.
type layerVersionState struct {
// ARN of the Lambda Layer with version.
Arn *string `pulumi:"arn"`
// Path to the function's deployment package within the local filesystem. If defined, The `s3_`-prefixed options cannot be used.
Code pulumi.Archive `pulumi:"code"`
// List of [Architectures](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-CompatibleArchitectures) this layer is compatible with. Currently `x8664` and `arm64` can be specified.
CompatibleArchitectures []string `pulumi:"compatibleArchitectures"`
// List of [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-CompatibleRuntimes) this layer is compatible with. Up to 5 runtimes can be specified.
CompatibleRuntimes []string `pulumi:"compatibleRuntimes"`
// Date this resource was created.
CreatedDate *string `pulumi:"createdDate"`
// Description of what your Lambda Layer does.
Description *string `pulumi:"description"`
// ARN of the Lambda Layer without version.
LayerArn *string `pulumi:"layerArn"`
// Unique name for your Lambda Layer
LayerName *string `pulumi:"layerName"`
// License info for your Lambda Layer. See [License Info](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-LicenseInfo).
LicenseInfo *string `pulumi:"licenseInfo"`
// S3 bucket location containing the function's deployment package. Conflicts with `filename`. This bucket must reside in the same AWS region where you are creating the Lambda function.
S3Bucket *string `pulumi:"s3Bucket"`
// S3 key of an object containing the function's deployment package. Conflicts with `filename`.
S3Key *string `pulumi:"s3Key"`
// Object version containing the function's deployment package. Conflicts with `filename`.
S3ObjectVersion *string `pulumi:"s3ObjectVersion"`
// ARN of a signing job.
SigningJobArn *string `pulumi:"signingJobArn"`
// ARN for a signing profile version.
SigningProfileVersionArn *string `pulumi:"signingProfileVersionArn"`
// Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`. When this is not set to `true`, changing any of `compatibleArchitectures`, `compatibleRuntimes`, `description`, `filename`, `layerName`, `licenseInfo`, `s3Bucket`, `s3Key`, `s3ObjectVersion`, or `sourceCodeHash` forces deletion of the existing layer version and creation of a new layer version.
SkipDestroy *bool `pulumi:"skipDestroy"`
SourceCodeHash *string `pulumi:"sourceCodeHash"`
// Size in bytes of the function .zip file.
SourceCodeSize *int `pulumi:"sourceCodeSize"`
// Lambda Layer version.
Version *string `pulumi:"version"`
}
type LayerVersionState struct {
// ARN of the Lambda Layer with version.
Arn pulumi.StringPtrInput
// Path to the function's deployment package within the local filesystem. If defined, The `s3_`-prefixed options cannot be used.
Code pulumi.ArchiveInput
// List of [Architectures](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-CompatibleArchitectures) this layer is compatible with. Currently `x8664` and `arm64` can be specified.
CompatibleArchitectures pulumi.StringArrayInput
// List of [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-CompatibleRuntimes) this layer is compatible with. Up to 5 runtimes can be specified.
CompatibleRuntimes pulumi.StringArrayInput
// Date this resource was created.
CreatedDate pulumi.StringPtrInput
// Description of what your Lambda Layer does.
Description pulumi.StringPtrInput
// ARN of the Lambda Layer without version.
LayerArn pulumi.StringPtrInput
// Unique name for your Lambda Layer
LayerName pulumi.StringPtrInput
// License info for your Lambda Layer. See [License Info](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-LicenseInfo).
LicenseInfo pulumi.StringPtrInput
// S3 bucket location containing the function's deployment package. Conflicts with `filename`. This bucket must reside in the same AWS region where you are creating the Lambda function.
S3Bucket pulumi.StringPtrInput
// S3 key of an object containing the function's deployment package. Conflicts with `filename`.
S3Key pulumi.StringPtrInput
// Object version containing the function's deployment package. Conflicts with `filename`.
S3ObjectVersion pulumi.StringPtrInput
// ARN of a signing job.
SigningJobArn pulumi.StringPtrInput
// ARN for a signing profile version.
SigningProfileVersionArn pulumi.StringPtrInput
// Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`. When this is not set to `true`, changing any of `compatibleArchitectures`, `compatibleRuntimes`, `description`, `filename`, `layerName`, `licenseInfo`, `s3Bucket`, `s3Key`, `s3ObjectVersion`, or `sourceCodeHash` forces deletion of the existing layer version and creation of a new layer version.
SkipDestroy pulumi.BoolPtrInput
SourceCodeHash pulumi.StringPtrInput
// Size in bytes of the function .zip file.
SourceCodeSize pulumi.IntPtrInput
// Lambda Layer version.
Version pulumi.StringPtrInput
}
func (LayerVersionState) ElementType() reflect.Type {
return reflect.TypeOf((*layerVersionState)(nil)).Elem()
}
type layerVersionArgs struct {
// Path to the function's deployment package within the local filesystem. If defined, The `s3_`-prefixed options cannot be used.
Code pulumi.Archive `pulumi:"code"`
// List of [Architectures](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-CompatibleArchitectures) this layer is compatible with. Currently `x8664` and `arm64` can be specified.
CompatibleArchitectures []string `pulumi:"compatibleArchitectures"`
// List of [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-CompatibleRuntimes) this layer is compatible with. Up to 5 runtimes can be specified.
CompatibleRuntimes []string `pulumi:"compatibleRuntimes"`
// Description of what your Lambda Layer does.
Description *string `pulumi:"description"`
// Unique name for your Lambda Layer
LayerName string `pulumi:"layerName"`
// License info for your Lambda Layer. See [License Info](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-LicenseInfo).
LicenseInfo *string `pulumi:"licenseInfo"`
// S3 bucket location containing the function's deployment package. Conflicts with `filename`. This bucket must reside in the same AWS region where you are creating the Lambda function.
S3Bucket *string `pulumi:"s3Bucket"`
// S3 key of an object containing the function's deployment package. Conflicts with `filename`.
S3Key *string `pulumi:"s3Key"`
// Object version containing the function's deployment package. Conflicts with `filename`.
S3ObjectVersion *string `pulumi:"s3ObjectVersion"`
// Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`. When this is not set to `true`, changing any of `compatibleArchitectures`, `compatibleRuntimes`, `description`, `filename`, `layerName`, `licenseInfo`, `s3Bucket`, `s3Key`, `s3ObjectVersion`, or `sourceCodeHash` forces deletion of the existing layer version and creation of a new layer version.
SkipDestroy *bool `pulumi:"skipDestroy"`
SourceCodeHash *string `pulumi:"sourceCodeHash"`
}
// The set of arguments for constructing a LayerVersion resource.
type LayerVersionArgs struct {
// Path to the function's deployment package within the local filesystem. If defined, The `s3_`-prefixed options cannot be used.
Code pulumi.ArchiveInput
// List of [Architectures](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-CompatibleArchitectures) this layer is compatible with. Currently `x8664` and `arm64` can be specified.
CompatibleArchitectures pulumi.StringArrayInput
// List of [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-CompatibleRuntimes) this layer is compatible with. Up to 5 runtimes can be specified.
CompatibleRuntimes pulumi.StringArrayInput
// Description of what your Lambda Layer does.
Description pulumi.StringPtrInput
// Unique name for your Lambda Layer
LayerName pulumi.StringInput
// License info for your Lambda Layer. See [License Info](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-LicenseInfo).
LicenseInfo pulumi.StringPtrInput
// S3 bucket location containing the function's deployment package. Conflicts with `filename`. This bucket must reside in the same AWS region where you are creating the Lambda function.
S3Bucket pulumi.StringPtrInput
// S3 key of an object containing the function's deployment package. Conflicts with `filename`.
S3Key pulumi.StringPtrInput
// Object version containing the function's deployment package. Conflicts with `filename`.
S3ObjectVersion pulumi.StringPtrInput
// Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`. When this is not set to `true`, changing any of `compatibleArchitectures`, `compatibleRuntimes`, `description`, `filename`, `layerName`, `licenseInfo`, `s3Bucket`, `s3Key`, `s3ObjectVersion`, or `sourceCodeHash` forces deletion of the existing layer version and creation of a new layer version.
SkipDestroy pulumi.BoolPtrInput
SourceCodeHash pulumi.StringPtrInput
}
func (LayerVersionArgs) ElementType() reflect.Type {
return reflect.TypeOf((*layerVersionArgs)(nil)).Elem()
}
type LayerVersionInput interface {
pulumi.Input
ToLayerVersionOutput() LayerVersionOutput
ToLayerVersionOutputWithContext(ctx context.Context) LayerVersionOutput
}
func (*LayerVersion) ElementType() reflect.Type {
return reflect.TypeOf((**LayerVersion)(nil)).Elem()
}
func (i *LayerVersion) ToLayerVersionOutput() LayerVersionOutput {
return i.ToLayerVersionOutputWithContext(context.Background())
}
func (i *LayerVersion) ToLayerVersionOutputWithContext(ctx context.Context) LayerVersionOutput {
return pulumi.ToOutputWithContext(ctx, i).(LayerVersionOutput)
}
// LayerVersionArrayInput is an input type that accepts LayerVersionArray and LayerVersionArrayOutput values.
// You can construct a concrete instance of `LayerVersionArrayInput` via:
//
// LayerVersionArray{ LayerVersionArgs{...} }
type LayerVersionArrayInput interface {
pulumi.Input
ToLayerVersionArrayOutput() LayerVersionArrayOutput
ToLayerVersionArrayOutputWithContext(context.Context) LayerVersionArrayOutput
}
type LayerVersionArray []LayerVersionInput
func (LayerVersionArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]*LayerVersion)(nil)).Elem()
}
func (i LayerVersionArray) ToLayerVersionArrayOutput() LayerVersionArrayOutput {
return i.ToLayerVersionArrayOutputWithContext(context.Background())
}
func (i LayerVersionArray) ToLayerVersionArrayOutputWithContext(ctx context.Context) LayerVersionArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(LayerVersionArrayOutput)
}
// LayerVersionMapInput is an input type that accepts LayerVersionMap and LayerVersionMapOutput values.
// You can construct a concrete instance of `LayerVersionMapInput` via:
//
// LayerVersionMap{ "key": LayerVersionArgs{...} }
type LayerVersionMapInput interface {
pulumi.Input
ToLayerVersionMapOutput() LayerVersionMapOutput
ToLayerVersionMapOutputWithContext(context.Context) LayerVersionMapOutput
}
type LayerVersionMap map[string]LayerVersionInput
func (LayerVersionMap) ElementType() reflect.Type {
return reflect.TypeOf((*map[string]*LayerVersion)(nil)).Elem()
}
func (i LayerVersionMap) ToLayerVersionMapOutput() LayerVersionMapOutput {
return i.ToLayerVersionMapOutputWithContext(context.Background())
}
func (i LayerVersionMap) ToLayerVersionMapOutputWithContext(ctx context.Context) LayerVersionMapOutput {
return pulumi.ToOutputWithContext(ctx, i).(LayerVersionMapOutput)
}
type LayerVersionOutput struct{ *pulumi.OutputState }
func (LayerVersionOutput) ElementType() reflect.Type {
return reflect.TypeOf((**LayerVersion)(nil)).Elem()
}
func (o LayerVersionOutput) ToLayerVersionOutput() LayerVersionOutput {
return o
}
func (o LayerVersionOutput) ToLayerVersionOutputWithContext(ctx context.Context) LayerVersionOutput {
return o
}
type LayerVersionArrayOutput struct{ *pulumi.OutputState }
func (LayerVersionArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]*LayerVersion)(nil)).Elem()
}
func (o LayerVersionArrayOutput) ToLayerVersionArrayOutput() LayerVersionArrayOutput {
return o
}
func (o LayerVersionArrayOutput) ToLayerVersionArrayOutputWithContext(ctx context.Context) LayerVersionArrayOutput {
return o
}
func (o LayerVersionArrayOutput) Index(i pulumi.IntInput) LayerVersionOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) *LayerVersion {
return vs[0].([]*LayerVersion)[vs[1].(int)]
}).(LayerVersionOutput)
}
type LayerVersionMapOutput struct{ *pulumi.OutputState }
func (LayerVersionMapOutput) ElementType() reflect.Type {
return reflect.TypeOf((*map[string]*LayerVersion)(nil)).Elem()
}
func (o LayerVersionMapOutput) ToLayerVersionMapOutput() LayerVersionMapOutput {
return o
}
func (o LayerVersionMapOutput) ToLayerVersionMapOutputWithContext(ctx context.Context) LayerVersionMapOutput {
return o
}
func (o LayerVersionMapOutput) MapIndex(k pulumi.StringInput) LayerVersionOutput {
return pulumi.All(o, k).ApplyT(func(vs []interface{}) *LayerVersion {
return vs[0].(map[string]*LayerVersion)[vs[1].(string)]
}).(LayerVersionOutput)
}
func init() {
pulumi.RegisterInputType(reflect.TypeOf((*LayerVersionInput)(nil)).Elem(), &LayerVersion{})
pulumi.RegisterInputType(reflect.TypeOf((*LayerVersionArrayInput)(nil)).Elem(), LayerVersionArray{})
pulumi.RegisterInputType(reflect.TypeOf((*LayerVersionMapInput)(nil)).Elem(), LayerVersionMap{})
pulumi.RegisterOutputType(LayerVersionOutput{})
pulumi.RegisterOutputType(LayerVersionArrayOutput{})
pulumi.RegisterOutputType(LayerVersionMapOutput{})
}