Class DockerImageFunction

java.lang.Object
software.amazon.jsii.JsiiObject
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:40.700Z") @Stability(Stable) public class DockerImageFunction extends Function
Create a lambda function where the handler is a docker image.

Example:

 DockerImageFunction.Builder.create(this, "AssetFunction")
         .code(DockerImageCode.fromImageAsset(join(__dirname, "docker-handler")))
         .build();
 
  • Constructor Details

    • DockerImageFunction

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

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

      @Stability(Stable) public DockerImageFunction(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull DockerImageFunctionProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.