Class FunctionBuildConfigArgs


  • public final class FunctionBuildConfigArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • build

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> build()
        Returns:
        (Output) The Cloud Build name of the latest successful deployment of the function.
      • dockerRepository

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> dockerRepository()
        Returns:
        User managed repository created in Artifact Registry optionally with a customer managed encryption key.
      • entryPoint

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> entryPoint()
        Returns:
        The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in source_location.
      • environmentVariables

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> environmentVariables()
        Returns:
        User-provided build-time environment variables for the function.
      • runtime

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> runtime()
        Returns:
        The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function.
      • source

        public java.util.Optional<com.pulumi.core.Output<FunctionBuildConfigSourceArgs>> source()
        Returns:
        The location of the function source code. Structure is documented below.
      • workerPool

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> workerPool()
        Returns:
        Name of the Cloud Build Custom Worker Pool that should be used to build the function.