public toAwsProp()

in src/utils/lambda/event-source.ts [68:72]


  public toAwsProp(): AwsRetryProp {
    return this.retryType === "attempts"
      ? { retryAttempts: this.amount }
      : { maxRecordAge: Duration.seconds(this.amount) };
  }