interface X12CodeListValidationRuleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.B2BI.Mixins.CfnTransformerPropsMixin.X12CodeListValidationRuleProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsb2bi/mixins#CfnTransformerPropsMixin_X12CodeListValidationRuleProperty |
Java | software.amazon.awscdk.mixins.preview.services.b2bi.mixins.CfnTransformerPropsMixin.X12CodeListValidationRuleProperty |
Python | aws_cdk.mixins_preview.aws_b2bi.mixins.CfnTransformerPropsMixin.X12CodeListValidationRuleProperty |
TypeScript | @aws-cdk/mixins-preview » aws_b2bi » mixins » CfnTransformerPropsMixin » 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 { mixins as b2bi_mixins } from '@aws-cdk/mixins-preview/aws-b2bi';
const x12CodeListValidationRuleProperty: b2bi_mixins.CfnTransformerPropsMixin.X12CodeListValidationRuleProperty = {
codesToAdd: ['codesToAdd'],
codesToRemove: ['codesToRemove'],
elementId: 'elementId',
};
Properties
| Name | Type | Description |
|---|---|---|
| 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. |
| element | string | Specifies the four-digit element ID to which the code list modifications apply. |
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.
elementId?
Type:
string
(optional)
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.

.NET
Go
Java
Python
TypeScript