interface X12ValidationOptionsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_b2bi.CfnTransformer.X12ValidationOptionsProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsb2bi#CfnTransformer_X12ValidationOptionsProperty |
![]() | software.amazon.awscdk.services.b2bi.CfnTransformer.X12ValidationOptionsProperty |
![]() | aws_cdk.aws_b2bi.CfnTransformer.X12ValidationOptionsProperty |
![]() | aws-cdk-lib » aws_b2bi » CfnTransformer » X12ValidationOptionsProperty |
Contains configuration options for X12 EDI validation.
This structure allows you to specify custom validation rules that will be applied during EDI document processing, including element length constraints, code list modifications, and element requirement changes. These validation options provide flexibility to accommodate trading partner-specific requirements while maintaining EDI compliance. The validation rules are applied in addition to standard X12 validation to ensure documents meet both standard and custom requirements.
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 x12ValidationOptionsProperty: b2bi.CfnTransformer.X12ValidationOptionsProperty = {
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',
},
}],
};
Properties
Name | Type | Description |
---|---|---|
validation | IResolvable | IResolvable | X12 [] | Specifies a list of validation rules to apply during EDI document processing. |
validationRules?
Type:
IResolvable
|
IResolvable
|
X12
[]
(optional)
Specifies a list of validation rules to apply during EDI document processing.
These rules can include code list modifications, element length constraints, and element requirement changes.