import * as core from "@terrascript/core"; export interface DsInvocationArgs { /** * (Required) The name of the lambda function. */ functionName: string | core.StringOut; /** * (Required) A string in JSON format that is passed as payload to the lambda function. */ input: string | core.StringOut; /** * (Optional) The qualifier (a.k.a version) of the lambda function. Defaults */ qualifier?: string | core.StringOut; } export class DsInvocation extends core.Data { /** * (Required) The name of the lambda function. */ @core.attr(String) public functionName!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) A string in JSON format that is passed as payload to the lambda function. */ @core.attr(String) public input!: string | core.StringOut; /** * (Optional) The qualifier (a.k.a version) of the lambda function. Defaults */ @core.attr(String) public qualifier?: string | core.StringOut; /** * String result of the lambda function invocation. */ @core.attr(String, { computed: true }) public result!: string | core.StringOut; constructor(name: string, args?: DsInvocationArgs) { super(name, "aws_lambda_invocation", args); } public override getNamespace(): string { return "aws_lambda"; } }