Skip to content
v2.278.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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_b2bi as b2bi

mapping_property = b2bi.CfnTransformer.MappingProperty(
    template_language="templateLanguage",

    # the properties below are optional
    template="template"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.b2bi.*;

MappingProperty mappingProperty = MappingProperty.builder()
        .templateLanguage("templateLanguage")

        // the properties below are optional
        .template("template")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.B2BI;

var mappingProperty = new MappingProperty {
    TemplateLanguage = "templateLanguage",

    // the properties below are optional
    Template = "template"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

mappingProperty := &MappingProperty{
	TemplateLanguage: jsii.String("templateLanguage"),

	// the properties below are optional
	Template: jsii.String("template"),
}

Properties ​

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