Class GoFunction

All Implemented Interfaces:
IConstruct, IDependable, IResource, IClientVpnConnectionHandler, IConnectable, IGrantable, IFunction, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:41.130Z") @Stability(Experimental) public class GoFunction extends Function
(experimental) A Golang Lambda function.

Example:

 GoFunction.Builder.create(this, "handler")
         .entry("app/cmd/api")
         .bundling(BundlingOptions.builder()
                 .dockerImage(DockerImage.fromBuild("/path/to/Dockerfile"))
                 .build())
         .build();
 
  • Field Details

    • GOOGLE_GOPROXY

      @Stability(Experimental) public static final String GOOGLE_GOPROXY
      (experimental) The address of the Google Go proxy.
  • Constructor Details

    • GoFunction

      protected GoFunction(software.amazon.jsii.JsiiObjectRef objRef)
    • GoFunction

      protected GoFunction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • GoFunction

      @Stability(Experimental) public GoFunction(@NotNull Construct scope, @NotNull String id, @NotNull GoFunctionProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.