This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::B2BI::Transformer X12ElementRequirementValidationRule
Defines a validation rule that modifies the requirement status of a specific X12 element within a segment. This rule allows you to make optional elements mandatory or mandatory elements optional, providing flexibility to accommodate different trading partner requirements and business rules. The rule targets a specific element position within a segment and sets its requirement status to either OPTIONAL or MANDATORY.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "ElementPosition" :
String
, "Requirement" :String
}
YAML
ElementPosition:
String
Requirement:String
Properties
ElementPosition
-
Specifies the position of the element within an X12 segment for which the requirement status will be modified. The format follows the pattern of segment identifier followed by element position (e.g., "ST-01" for the first element of the ST segment).
Required: Yes
Type: String
Pattern:
^[a-zA-Z0-9]+(?:-\d{2})(?:-\d{2})?$
Update requires: No interruption
Requirement
-
Specifies the requirement status for the element at the specified position. Valid values are OPTIONAL (the element may be omitted) or MANDATORY (the element must be present).
Required: Yes
Type: String
Allowed values:
OPTIONAL | MANDATORY
Update requires: No interruption