interface InputConversionProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_b2bi.CfnTransformer.InputConversionProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsb2bi#CfnTransformer_InputConversionProperty |
![]() | software.amazon.awscdk.services.b2bi.CfnTransformer.InputConversionProperty |
![]() | aws_cdk.aws_b2bi.CfnTransformer.InputConversionProperty |
![]() | aws-cdk-lib » aws_b2bi » CfnTransformer » InputConversionProperty |
Contains the input formatting options for an inbound transformer (takes an X12-formatted EDI document as input and converts it to JSON or XML.
Example
// 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 inputConversionProperty: b2bi.CfnTransformer.InputConversionProperty = {
fromFormat: 'fromFormat',
// the properties below are optional
advancedOptions: {
x12: {
splitOptions: {
splitBy: 'splitBy',
},
validationOptions: {
validationRules: [{
codeListValidationRule: {
elementId: 'elementId',
// the properties below are optional
codesToAdd: ['codesToAdd'],
codesToRemove: ['codesToRemove'],
},
elementLengthValidationRule: {
elementId: 'elementId',
maxLength: 123,
minLength: 123,
},
elementRequirementValidationRule: {
elementPosition: 'elementPosition',
requirement: 'requirement',
},
}],
},
},
},
formatOptions: {
x12: {
transactionSet: 'transactionSet',
version: 'version',
},
},
};
Properties
Name | Type | Description |
---|---|---|
from | string | The format for the transformer input: currently on X12 is supported. |
advanced | IResolvable | Advanced | Specifies advanced options for the input conversion process. |
format | IResolvable | Format | A structure that contains the formatting options for an inbound transformer. |
fromFormat
Type:
string
The format for the transformer input: currently on X12
is supported.
advancedOptions?
Type:
IResolvable
|
Advanced
(optional)
Specifies advanced options for the input conversion process.
These options provide additional control over how EDI files are processed during transformation.
formatOptions?
Type:
IResolvable
|
Format
(optional)
A structure that contains the formatting options for an inbound transformer.