interface OutputConversionProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_b2bi.CfnTransformer.OutputConversionProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsb2bi#CfnTransformer_OutputConversionProperty |
![]() | software.amazon.awscdk.services.b2bi.CfnTransformer.OutputConversionProperty |
![]() | aws_cdk.aws_b2bi.CfnTransformer.OutputConversionProperty |
![]() | aws-cdk-lib » aws_b2bi » CfnTransformer » 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 { aws_b2bi as b2bi } from 'aws-cdk-lib';
const outputConversionProperty: b2bi.CfnTransformer.OutputConversionProperty = {
toFormat: 'toFormat',
// 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 |
---|---|---|
to | string | The format for the output from an outbound transformer: only X12 is currently supported. |
advanced | IResolvable | Advanced | |
format | IResolvable | Format | A structure that contains the X12 transaction set and version for the transformer output. |
toFormat
Type:
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.