LambdaFunctionConfiguration.fromXml constructor

LambdaFunctionConfiguration.fromXml(
  1. XmlElement? xml
)

Implementation

LambdaFunctionConfiguration.fromXml(XmlElement? xml) {
  events = eventsFromXml(xml);
  filter = NotificationConfigurationFilter.fromXml(getProp(xml, 'Filter'));
  id = getProp(xml, 'Id')?.text;
  lambdaFunctionArn =
      getProp(xml, 'CloudFunction')?.text ??
      getProp(xml, 'LambdaFunctionArn')?.text;
}