interface InputConversionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.B2BI.Mixins.CfnTransformerPropsMixin.InputConversionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsb2bi/mixins#CfnTransformerPropsMixin_InputConversionProperty |
Java | software.amazon.awscdk.mixins.preview.services.b2bi.mixins.CfnTransformerPropsMixin.InputConversionProperty |
Python | aws_cdk.mixins_preview.aws_b2bi.mixins.CfnTransformerPropsMixin.InputConversionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_b2bi » mixins » CfnTransformerPropsMixin » 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 { mixins as b2bi_mixins } from '@aws-cdk/mixins-preview/aws-b2bi';
const inputConversionProperty: b2bi_mixins.CfnTransformerPropsMixin.InputConversionProperty = {
advancedOptions: {
x12: {
splitOptions: {
splitBy: 'splitBy',
},
validationOptions: {
validationRules: [{
codeListValidationRule: {
codesToAdd: ['codesToAdd'],
codesToRemove: ['codesToRemove'],
elementId: 'elementId',
},
elementLengthValidationRule: {
elementId: 'elementId',
maxLength: 123,
minLength: 123,
},
elementRequirementValidationRule: {
elementPosition: 'elementPosition',
requirement: 'requirement',
},
}],
},
},
},
formatOptions: {
x12: {
transactionSet: 'transactionSet',
version: 'version',
},
},
fromFormat: 'fromFormat',
};
Properties
| Name | Type | Description |
|---|---|---|
| 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. |
| from | 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.
fromFormat?
Type:
string
(optional)
The format for the transformer input: currently on X12 is supported.

.NET
Go
Java
Python
TypeScript