Definition constructor

Definition({
  1. String? code,
  2. List<String> envNames = const [],
  3. String? environment,
  4. String? handler,
  5. String? image,
  6. String? memoryLimit,
  7. required String name,
  8. String? namespace,
  9. String? runtime,
  10. String? target,
  11. int? timeoutSec,
})

Returns a new Definition instance.

Implementation

Definition({
  this.code,
  this.envNames = const [],
  this.environment,
  this.handler,
  this.image,
  this.memoryLimit,
  required this.name,
  this.namespace,
  this.runtime,
  this.target,
  this.timeoutSec,
});