interface OutputConversionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.B2BI.Mixins.CfnTransformerPropsMixin.OutputConversionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsb2bi/mixins#CfnTransformerPropsMixin_OutputConversionProperty |
Java | software.amazon.awscdk.mixins.preview.services.b2bi.mixins.CfnTransformerPropsMixin.OutputConversionProperty |
Python | aws_cdk.mixins_preview.aws_b2bi.mixins.CfnTransformerPropsMixin.OutputConversionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_b2bi » mixins » CfnTransformerPropsMixin » OutputConversionProperty |
Contains the formatting options for an outbound transformer (takes JSON or XML as input and converts it to an EDI document (currently only X12 format is supported).
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 outputConversionProperty: b2bi_mixins.CfnTransformerPropsMixin.OutputConversionProperty = {
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',
},
},
toFormat: 'toFormat',
};
Properties
| Name | Type | Description |
|---|---|---|
| advanced | IResolvable | Advanced | |
| format | IResolvable | Format | A structure that contains the X12 transaction set and version for the transformer output. |
| to | string | The format for the output from an outbound transformer: only X12 is currently supported. |
advancedOptions?
Type:
IResolvable | Advanced
(optional)
formatOptions?
Type:
IResolvable | Format
(optional)
A structure that contains the X12 transaction set and version for the transformer output.
toFormat?
Type:
string
(optional)
The format for the output from an outbound transformer: only X12 is currently supported.

.NET
Go
Java
Python
TypeScript