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 X12ElementLengthValidationRule
Defines a validation rule that specifies custom length constraints for a specific X12 element. This rule allows you to override the standard minimum and maximum length requirements for an element, enabling validation of trading partner-specific length requirements that may differ from the X12 specification. Both minimum and maximum length values must be specified.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
Properties
ElementId
-
Specifies the four-digit element ID to which the length constraints will be applied. This identifies which X12 element will have its length requirements modified.
Required: Yes
Type: String
Pattern:
^[0-9]{4}$
Minimum:
4
Maximum:
4
Update requires: No interruption
MaxLength
-
Specifies the maximum allowed length for the identified element. This value defines the upper limit for the element's content length.
Required: Yes
Type: Number
Minimum:
1
Maximum:
1000000
Update requires: No interruption
MinLength
-
Specifies the minimum required length for the identified element. This value defines the lower limit for the element's content length.
Required: Yes
Type: Number
Minimum:
1
Maximum:
1000000
Update requires: No interruption