AWS::B2BI::TransformerCreates a transformer. AWS B2B Data Interchange currently supports two scenarios:. - *Inbound EDI* : the AWS customer receives an EDI file from their trading partner. AWS B2B Data Interchange converts this EDI file into a JSON or XML file with a service-defined structure. A mapping template provided by the customer, in JSONata or XSLT format, is optionally applied to this file to produce a JSON or XML file with the structure the customer requires. - *Outbound EDI* : the AWS customer has a JSON or XML file containing data that they wish to use in an EDI file. A mapping template, provided by the customer (in either JSONata or XSLT format) is applied to this file to generate a JSON or XML file in the service-defined structure. This file is then converted to an EDI file. > The following fields are provided for backwards compatibility only: `fileFormat` , `mappingTemplate` , `ediType` , and `sampleDocument` . > > - Use the `mapping` data type in place of `mappingTemplate` and `fileFormat` > - Use the `sampleDocuments` data type in place of `sampleDocument` > - Use either the `inputConversion` or `outputConversion` in place of `ediType`
import { CfnTransformer } from 'aws-cdk-lib/aws-b2bi';Or use the module namespace:
import * as b2bi from 'aws-cdk-lib/aws-b2bi';
// b2bi.CfnTransformerConfiguration passed to the constructor as CfnTransformerProps.
nameRequiredstringReturns the descriptive name for the transformer.
statusRequiredstringReturns the state of the newly created transformer. The transformer can be either `active` or `inactive` . For the transformer to be used in a capability, its status must `active` .
ediTypeOptionalDeprecatedIResolvable | EdiTypePropertyDeprecated: this property has been deprecated
fileFormatOptionalDeprecatedstringDeprecated: this property has been deprecated
inputConversionOptionalIResolvable | InputConversionPropertyReturns a structure that contains the format options for the transformation.
mappingOptionalIResolvable | MappingPropertyReturns the structure that contains the mapping template and its language (either XSLT or JSONATA).
mappingTemplateOptionalDeprecatedstringThis shape is deprecated: This is a legacy trait. Please use input-conversion or output-conversion.
Deprecated: this property has been deprecated
outputConversionOptionalIResolvable | OutputConversionPropertyReturns the `OutputConversion` object, which contains the format options for the outbound transformation.
sampleDocumentOptionalDeprecatedstringThis shape is deprecated: This is a legacy trait. Please use input-conversion or output-conversion.
Deprecated: this property has been deprecated
sampleDocumentsOptionalIResolvable | SampleDocumentsPropertyReturns a structure that contains the Amazon S3 bucket and an array of the corresponding keys used to identify the location for your sample documents.
tagsOptionalCfnTag[]A key-value pair for a specific transformer. Tags are metadata that you can use to search for and group capabilities for various purposes.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-b2biAWS::B2BI::Transformer