{"modulePath":"github.com/imposter-project/imposter-cli","version":"v1.13.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package awslambda\n\n## Constants\n\n```go\nconst DefaultLambdaArch = \"amd64\"\n```\nDefaultLambdaArch is the architecture assumed when a caller does not specify one. It matches AWS Lambda's own default architecture (x86\\_64, expressed as the Go arch name \"amd64\") so unconfigured bundles still produce a deployable artefact.\n\n## Functions\n\n```go\nfunc CreateDeploymentPackage(version string, dir string, arch string) (*[]byte, error)\n```\nCreateDeploymentPackage assembles the AWS Lambda zip for the given engine version, embedding the configuration directory contents. arch selects the underlying binary's CPU architecture (Go-style: \"amd64\" or \"arm64\") for engine flavours whose binaries are arch-specific (the native engine); callers may pass \"\" to fall back to DefaultLambdaArch.\n\n```go\nfunc EnableEngine()\n```\n\n## Types\n\n```go\ntype LambdaLibrary struct{}\n```\n\n```go\nfunc (LambdaLibrary) CheckPrereqs() (bool, []string)\n```\n\n```go\nfunc (LambdaLibrary) GetProvider(version string) engine.Provider\n```\n\n```go\nfunc (LambdaLibrary) IsSealedDistro() bool\n```\n\n```go\nfunc (LambdaLibrary) List() ([]engine.EngineMetadata, error)\n```\n\n```go\nfunc (LambdaLibrary) ShouldEnsurePlugins() bool\n```\n\n```go\ntype LambdaProvider struct {\n\tengine.EngineMetadata\n\n\t// Architecture selects the target CPU architecture for the bundled\n\t// binary (Go-style: \"amd64\" or \"arm64\"). It is only consulted by engine\n\t// flavours that ship per-architecture binaries (the native engine). If\n\t// left empty, CreateDeploymentPackage falls back to DefaultLambdaArch.\n\tArchitecture string\n}\n```\n\n```go\nfunc (p *LambdaProvider) Bundle(configDir string, dest string) error\n```\n\n```go\nfunc (p *LambdaProvider) GetEngineType() engine.EngineType\n```\n\n```go\nfunc (*LambdaProvider) Provide(engine.PullPolicy) error\n```\n\n```go\nfunc (*LambdaProvider) Satisfied() bool\n```\n\n","path":"github.com/imposter-project/imposter-cli/internal/engine/awslambda","name":"awslambda","synopsis":"","isRedistributable":true}
