/
jsii.go
30 lines (24 loc) · 1.17 KB
/
jsii.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
// Package jsii contains the functionaility needed for jsii packages to
// initialize their dependencies and themselves. Users should never need to use this package
// directly. If you find you need to - please report a bug at
// https://github.com/aws/jsii/issues/new/choose
package jsii
import (
_ "embed"
_jsii_ "github.com/aws/jsii-runtime-go/runtime"
awscdk "github.com/aws/aws-cdk-go/awscdk/v2/jsii"
constructs "github.com/aws/constructs-go/constructs/v10/jsii"
awssolutionsconstructscore "github.com/christian-korneck/awssc-go-dist/awssolutionsconstructscore/v2/jsii"
)
//go:embed aws-solutions-constructs-aws-route53-alb-2.2.0.tgz
var tarball []byte
// Initialize loads the necessary packages in the @jsii/kernel to support the enclosing module.
// The implementation is idempotent (and hence safe to be called over and over).
func Initialize() {
// Ensure all dependencies are initialized
awssolutionsconstructscore.Initialize()
awscdk.Initialize()
constructs.Initialize()
// Load this library into the kernel
_jsii_.Load("@aws-solutions-constructs/aws-route53-alb", "2.2.0", tarball)
}