Skip to content
v2.276.0

MappingProperty Struct ​

Specifies the mapping template for the transformer.

This template is used to map the parsed EDI file using JSONata or XSLT.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_b2bi as b2bi } from 'aws-cdk-lib';
const mappingProperty: b2bi.CfnTransformer.MappingProperty = {
  templateLanguage: 'templateLanguage',

  // the properties below are optional
  template: 'template',
};

Properties ​

templateoptionalstringtemplateoptionalstrtemplateoptionalStringTemplateoptionalstringTemplateoptional*string#
A string that represents the mapping template, in the transformation language specified in `templateLanguage` .
templateLanguagestringtemplate_languagestrtemplateLanguageStringTemplateLanguagestringTemplateLanguage*stringrequired#
The transformation language for the template, either XSLT or JSONATA.