InvocationArgs constructor
Creates a new InvocationArgs.
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.
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 InvocationArgs({
required this.functionName,
required this.input,
this.lifecycleScope,
this.qualifier,
this.region,
this.tenantId,
this.terraformKey,
this.triggers,
});