interface X12CodeListValidationRuleProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_b2bi.CfnTransformer.X12CodeListValidationRuleProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsb2bi#CfnTransformer_X12CodeListValidationRuleProperty |
![]() | software.amazon.awscdk.services.b2bi.CfnTransformer.X12CodeListValidationRuleProperty |
![]() | aws_cdk.aws_b2bi.CfnTransformer.X12CodeListValidationRuleProperty |
![]() | aws-cdk-lib » aws_b2bi » CfnTransformer » X12CodeListValidationRuleProperty |
Code list validation rule configuration.
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 x12CodeListValidationRuleProperty: b2bi.CfnTransformer.X12CodeListValidationRuleProperty = {
elementId: 'elementId',
// the properties below are optional
codesToAdd: ['codesToAdd'],
codesToRemove: ['codesToRemove'],
};
Properties
Name | Type | Description |
---|---|---|
element | string | Specifies the four-digit element ID to which the code list modifications apply. |
codes | string[] | Specifies a list of code values to add to the element's allowed values. |
codes | string[] | Specifies a list of code values to remove from the element's allowed values. |
elementId
Type:
string
Specifies the four-digit element ID to which the code list modifications apply.
This identifies which X12 element will have its allowed code values modified.
codesToAdd?
Type:
string[]
(optional)
Specifies a list of code values to add to the element's allowed values.
These codes will be considered valid for the specified element in addition to the standard codes defined by the X12 specification.
codesToRemove?
Type:
string[]
(optional)
Specifies a list of code values to remove from the element's allowed values.
These codes will be considered invalid for the specified element, even if they are part of the standard codes defined by the X12 specification.