java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IResource, IClientVpnConnectionHandler, IConnectable, IGrantable, IFunction, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-22T22:43:00.241Z") @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 software.constructs.Construct scope, @NotNull String id, @NotNull GoFunctionProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.