InvocationState constructor

const InvocationState({
  1. Input<String?>? functionName,
  2. Input<String?>? input,
  3. Input<String?>? lifecycleScope,
  4. Input<String?>? qualifier,
  5. Input<String?>? region,
  6. Input<String?>? result,
  7. Input<String?>? tenantId,
  8. Input<String?>? terraformKey,
  9. Input<Map<String, String>?>? triggers,
})

Creates a new InvocationState. functionName Name of the Lambda function. input JSON payload to the Lambda function. lifecycleScope Lifecycle scope of the resource to manage. Valid values are CREATE_ONLY and CRUD. Defaults to CREATE_ONLY. CREATE_ONLY will invoke the function only on creation or replacement. CRUD will invoke the function on each lifecycle event, and augment the input JSON payload with additional lifecycle information. qualifier Qualifier (i.e., version) of the Lambda function. Defaults to $LATEST. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. result String result of the Lambda function invocation. tenantId Tenant Id to serve invocations from specified tenant. terraformKey Optional. triggers Map of arbitrary keys and values that, when changed, will trigger a re-invocation.

Implementation

const InvocationState({
  this.functionName,
  this.input,
  this.lifecycleScope,
  this.qualifier,
  this.region,
  this.result,
  this.tenantId,
  this.terraformKey,
  this.triggers,
});