aws-cdk-lib 2.213.0__py3-none-any.whl → 2.214.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of aws-cdk-lib might be problematic. Click here for more details.

Files changed (65) hide show
  1. aws_cdk/__init__.py +23 -3
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.213.0.jsii.tgz → aws-cdk-lib@2.214.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_appconfig/__init__.py +18 -6
  5. aws_cdk/aws_appintegrations/__init__.py +4 -4
  6. aws_cdk/aws_apprunner/__init__.py +5 -8
  7. aws_cdk/aws_aps/__init__.py +243 -10
  8. aws_cdk/aws_b2bi/__init__.py +1015 -128
  9. aws_cdk/aws_batch/__init__.py +33 -11
  10. aws_cdk/aws_bedrock/__init__.py +22 -216
  11. aws_cdk/aws_budgets/__init__.py +18 -0
  12. aws_cdk/aws_certificatemanager/__init__.py +96 -15
  13. aws_cdk/aws_cloudformation/__init__.py +3 -3
  14. aws_cdk/aws_cloudwatch/__init__.py +80 -49
  15. aws_cdk/aws_cognito/__init__.py +76 -5
  16. aws_cdk/aws_connect/__init__.py +188 -2
  17. aws_cdk/aws_datazone/__init__.py +2267 -0
  18. aws_cdk/aws_deadline/__init__.py +6 -5
  19. aws_cdk/aws_dynamodb/__init__.py +27 -16
  20. aws_cdk/aws_ec2/__init__.py +51 -10
  21. aws_cdk/aws_ecs/__init__.py +288 -25
  22. aws_cdk/aws_ecs_patterns/__init__.py +2 -0
  23. aws_cdk/aws_eks/__init__.py +124 -0
  24. aws_cdk/aws_elasticloadbalancingv2/__init__.py +6 -2
  25. aws_cdk/aws_entityresolution/__init__.py +107 -0
  26. aws_cdk/aws_events/__init__.py +153 -55
  27. aws_cdk/aws_events_targets/__init__.py +87 -36
  28. aws_cdk/aws_fsx/__init__.py +62 -0
  29. aws_cdk/aws_gameliftstreams/__init__.py +1 -1
  30. aws_cdk/aws_glue/__init__.py +205 -23
  31. aws_cdk/aws_guardduty/__init__.py +205 -100
  32. aws_cdk/aws_iam/__init__.py +24 -21
  33. aws_cdk/aws_inspectorv2/__init__.py +125 -80
  34. aws_cdk/aws_iot/__init__.py +37 -19
  35. aws_cdk/aws_iotsitewise/__init__.py +111 -75
  36. aws_cdk/aws_ivs/__init__.py +17 -17
  37. aws_cdk/aws_kinesisanalytics/__init__.py +122 -3
  38. aws_cdk/aws_kinesisanalyticsv2/__init__.py +122 -3
  39. aws_cdk/aws_lambda/__init__.py +23 -2
  40. aws_cdk/aws_logs/__init__.py +20 -15
  41. aws_cdk/aws_mediapackagev2/__init__.py +2 -2
  42. aws_cdk/aws_networkfirewall/__init__.py +6 -6
  43. aws_cdk/aws_omics/__init__.py +477 -2
  44. aws_cdk/aws_qbusiness/__init__.py +4 -2
  45. aws_cdk/aws_rds/__init__.py +132 -4
  46. aws_cdk/aws_route53/__init__.py +18 -11
  47. aws_cdk/aws_s3/__init__.py +4 -4
  48. aws_cdk/aws_s3_deployment/__init__.py +45 -0
  49. aws_cdk/aws_sagemaker/__init__.py +653 -0
  50. aws_cdk/aws_servicediscovery/__init__.py +22 -37
  51. aws_cdk/aws_sns/__init__.py +12 -2
  52. aws_cdk/aws_sns_subscriptions/__init__.py +3 -1
  53. aws_cdk/aws_sqs/__init__.py +5 -5
  54. aws_cdk/aws_ssm/__init__.py +8 -3
  55. aws_cdk/aws_ssmquicksetup/__init__.py +2 -2
  56. aws_cdk/aws_synthetics/__init__.py +222 -12
  57. aws_cdk/aws_transfer/__init__.py +15 -2
  58. aws_cdk/aws_vpclattice/__init__.py +41 -0
  59. aws_cdk/aws_workspacesweb/__init__.py +71 -41
  60. {aws_cdk_lib-2.213.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/METADATA +2 -2
  61. {aws_cdk_lib-2.213.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/RECORD +65 -65
  62. {aws_cdk_lib-2.213.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/LICENSE +0 -0
  63. {aws_cdk_lib-2.213.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/NOTICE +0 -0
  64. {aws_cdk_lib-2.213.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/WHEEL +0 -0
  65. {aws_cdk_lib-2.213.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/top_level.txt +0 -0
@@ -688,7 +688,13 @@ class CfnCapability(
688
688
  transaction_set: typing.Optional[builtins.str] = None,
689
689
  version: typing.Optional[builtins.str] = None,
690
690
  ) -> None:
691
- '''
691
+ '''A structure that contains the X12 transaction set and version.
692
+
693
+ The X12 structure is used when the system transforms an EDI (electronic data interchange) file.
694
+ .. epigraph::
695
+
696
+ If an EDI input file contains more than one transaction, each transaction must have the same transaction set and version, for example 214/4010. If not, the transformer cannot parse the file.
697
+
692
698
  :param transaction_set: Returns an enumerated type where each value identifies an X12 transaction set. Transaction sets are maintained by the X12 Accredited Standards Committee.
693
699
  :param version: Returns the version to use for the specified X12 transaction set.
694
700
 
@@ -1504,10 +1510,13 @@ class CfnPartnership(
1504
1510
  line_terminator: typing.Optional[builtins.str] = None,
1505
1511
  wrap_by: typing.Optional[builtins.str] = None,
1506
1512
  ) -> None:
1507
- '''
1508
- :param line_length:
1509
- :param line_terminator:
1510
- :param wrap_by:
1513
+ '''Contains options for wrapping (line folding) in X12 EDI files.
1514
+
1515
+ Wrapping controls how long lines are handled in the EDI output.
1516
+
1517
+ :param line_length: Specifies the maximum length of a line before wrapping occurs. This value is used when ``wrapBy`` is set to ``LINE_LENGTH`` .
1518
+ :param line_terminator: Specifies the character sequence used to terminate lines when wrapping. Valid values:. - ``CRLF`` : carriage return and line feed - ``LF`` : line feed) - ``CR`` : carriage return
1519
+ :param wrap_by: Specifies the method used for wrapping lines in the EDI output. Valid values:. - ``SEGMENT`` : Wraps by segment. - ``ONE_LINE`` : Indicates that the entire content is on a single line. .. epigraph:: When you specify ``ONE_LINE`` , do not provide either the line length nor the line terminator value. - ``LINE_LENGTH`` : Wraps by character count, as specified by ``lineLength`` value.
1511
1520
 
1512
1521
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-wrapoptions.html
1513
1522
  :exampleMetadata: fixture=_generated
@@ -1539,7 +1548,10 @@ class CfnPartnership(
1539
1548
 
1540
1549
  @builtins.property
1541
1550
  def line_length(self) -> typing.Optional[jsii.Number]:
1542
- '''
1551
+ '''Specifies the maximum length of a line before wrapping occurs.
1552
+
1553
+ This value is used when ``wrapBy`` is set to ``LINE_LENGTH`` .
1554
+
1543
1555
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-wrapoptions.html#cfn-b2bi-partnership-wrapoptions-linelength
1544
1556
  '''
1545
1557
  result = self._values.get("line_length")
@@ -1547,7 +1559,12 @@ class CfnPartnership(
1547
1559
 
1548
1560
  @builtins.property
1549
1561
  def line_terminator(self) -> typing.Optional[builtins.str]:
1550
- '''
1562
+ '''Specifies the character sequence used to terminate lines when wrapping. Valid values:.
1563
+
1564
+ - ``CRLF`` : carriage return and line feed
1565
+ - ``LF`` : line feed)
1566
+ - ``CR`` : carriage return
1567
+
1551
1568
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-wrapoptions.html#cfn-b2bi-partnership-wrapoptions-lineterminator
1552
1569
  '''
1553
1570
  result = self._values.get("line_terminator")
@@ -1555,7 +1572,17 @@ class CfnPartnership(
1555
1572
 
1556
1573
  @builtins.property
1557
1574
  def wrap_by(self) -> typing.Optional[builtins.str]:
1558
- '''
1575
+ '''Specifies the method used for wrapping lines in the EDI output. Valid values:.
1576
+
1577
+ - ``SEGMENT`` : Wraps by segment.
1578
+ - ``ONE_LINE`` : Indicates that the entire content is on a single line.
1579
+
1580
+ .. epigraph::
1581
+
1582
+ When you specify ``ONE_LINE`` , do not provide either the line length nor the line terminator value.
1583
+
1584
+ - ``LINE_LENGTH`` : Wraps by character count, as specified by ``lineLength`` value.
1585
+
1559
1586
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-wrapoptions.html#cfn-b2bi-partnership-wrapoptions-wrapby
1560
1587
  '''
1561
1588
  result = self._values.get("wrap_by")
@@ -1587,9 +1614,12 @@ class CfnPartnership(
1587
1614
  functional_acknowledgment: builtins.str,
1588
1615
  technical_acknowledgment: builtins.str,
1589
1616
  ) -> None:
1590
- '''
1591
- :param functional_acknowledgment:
1592
- :param technical_acknowledgment:
1617
+ '''Contains options for configuring X12 acknowledgments.
1618
+
1619
+ These options control how functional and technical acknowledgments are handled.
1620
+
1621
+ :param functional_acknowledgment: Specifies whether functional acknowledgments (997/999) should be generated for incoming X12 transactions. Valid values are ``DO_NOT_GENERATE`` , ``GENERATE_ALL_SEGMENTS`` and ``GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP`` . If you choose ``GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP`` , AWS B2B Data Interchange skips the AK2_Loop when generating an acknowledgment document.
1622
+ :param technical_acknowledgment: Specifies whether technical acknowledgments (TA1) should be generated for incoming X12 interchanges. Valid values are ``DO_NOT_GENERATE`` and ``GENERATE_ALL_SEGMENTS`` and.
1593
1623
 
1594
1624
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12acknowledgmentoptions.html
1595
1625
  :exampleMetadata: fixture=_generated
@@ -1616,7 +1646,12 @@ class CfnPartnership(
1616
1646
 
1617
1647
  @builtins.property
1618
1648
  def functional_acknowledgment(self) -> builtins.str:
1619
- '''
1649
+ '''Specifies whether functional acknowledgments (997/999) should be generated for incoming X12 transactions.
1650
+
1651
+ Valid values are ``DO_NOT_GENERATE`` , ``GENERATE_ALL_SEGMENTS`` and ``GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP`` .
1652
+
1653
+ If you choose ``GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP`` , AWS B2B Data Interchange skips the AK2_Loop when generating an acknowledgment document.
1654
+
1620
1655
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12acknowledgmentoptions.html#cfn-b2bi-partnership-x12acknowledgmentoptions-functionalacknowledgment
1621
1656
  '''
1622
1657
  result = self._values.get("functional_acknowledgment")
@@ -1625,7 +1660,10 @@ class CfnPartnership(
1625
1660
 
1626
1661
  @builtins.property
1627
1662
  def technical_acknowledgment(self) -> builtins.str:
1628
- '''
1663
+ '''Specifies whether technical acknowledgments (TA1) should be generated for incoming X12 interchanges.
1664
+
1665
+ Valid values are ``DO_NOT_GENERATE`` and ``GENERATE_ALL_SEGMENTS`` and.
1666
+
1629
1667
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12acknowledgmentoptions.html#cfn-b2bi-partnership-x12acknowledgmentoptions-technicalacknowledgment
1630
1668
  '''
1631
1669
  result = self._values.get("technical_acknowledgment")
@@ -1660,10 +1698,13 @@ class CfnPartnership(
1660
1698
  starting_interchange_control_number: typing.Optional[jsii.Number] = None,
1661
1699
  starting_transaction_set_control_number: typing.Optional[jsii.Number] = None,
1662
1700
  ) -> None:
1663
- '''
1664
- :param starting_functional_group_control_number:
1665
- :param starting_interchange_control_number:
1666
- :param starting_transaction_set_control_number:
1701
+ '''Contains configuration for X12 control numbers used in X12 EDI generation.
1702
+
1703
+ Control numbers are used to uniquely identify interchanges, functional groups, and transaction sets.
1704
+
1705
+ :param starting_functional_group_control_number: Specifies the starting functional group control number (GS06) to use for X12 EDI generation. This number is incremented for each new functional group. For the GS (functional group) envelope, AWS B2B Data Interchange generates a functional group control number that is unique to the sender ID, receiver ID, and functional identifier code combination.
1706
+ :param starting_interchange_control_number: Specifies the starting interchange control number (ISA13) to use for X12 EDI generation. This number is incremented for each new interchange. For the ISA (interchange) envelope, AWS B2B Data Interchange generates an interchange control number that is unique for the ISA05 and ISA06 (sender) & ISA07 and ISA08 (receiver) combination.
1707
+ :param starting_transaction_set_control_number: Specifies the starting transaction set control number (ST02) to use for X12 EDI generation. This number is incremented for each new transaction set.
1667
1708
 
1668
1709
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12controlnumbers.html
1669
1710
  :exampleMetadata: fixture=_generated
@@ -1697,7 +1738,10 @@ class CfnPartnership(
1697
1738
  def starting_functional_group_control_number(
1698
1739
  self,
1699
1740
  ) -> typing.Optional[jsii.Number]:
1700
- '''
1741
+ '''Specifies the starting functional group control number (GS06) to use for X12 EDI generation.
1742
+
1743
+ This number is incremented for each new functional group. For the GS (functional group) envelope, AWS B2B Data Interchange generates a functional group control number that is unique to the sender ID, receiver ID, and functional identifier code combination.
1744
+
1701
1745
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12controlnumbers.html#cfn-b2bi-partnership-x12controlnumbers-startingfunctionalgroupcontrolnumber
1702
1746
  '''
1703
1747
  result = self._values.get("starting_functional_group_control_number")
@@ -1705,7 +1749,10 @@ class CfnPartnership(
1705
1749
 
1706
1750
  @builtins.property
1707
1751
  def starting_interchange_control_number(self) -> typing.Optional[jsii.Number]:
1708
- '''
1752
+ '''Specifies the starting interchange control number (ISA13) to use for X12 EDI generation.
1753
+
1754
+ This number is incremented for each new interchange. For the ISA (interchange) envelope, AWS B2B Data Interchange generates an interchange control number that is unique for the ISA05 and ISA06 (sender) & ISA07 and ISA08 (receiver) combination.
1755
+
1709
1756
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12controlnumbers.html#cfn-b2bi-partnership-x12controlnumbers-startinginterchangecontrolnumber
1710
1757
  '''
1711
1758
  result = self._values.get("starting_interchange_control_number")
@@ -1715,7 +1762,10 @@ class CfnPartnership(
1715
1762
  def starting_transaction_set_control_number(
1716
1763
  self,
1717
1764
  ) -> typing.Optional[jsii.Number]:
1718
- '''
1765
+ '''Specifies the starting transaction set control number (ST02) to use for X12 EDI generation.
1766
+
1767
+ This number is incremented for each new transaction set.
1768
+
1719
1769
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12controlnumbers.html#cfn-b2bi-partnership-x12controlnumbers-startingtransactionsetcontrolnumber
1720
1770
  '''
1721
1771
  result = self._values.get("starting_transaction_set_control_number")
@@ -1749,10 +1799,13 @@ class CfnPartnership(
1749
1799
  data_element_separator: typing.Optional[builtins.str] = None,
1750
1800
  segment_terminator: typing.Optional[builtins.str] = None,
1751
1801
  ) -> None:
1752
- '''
1753
- :param component_separator:
1754
- :param data_element_separator:
1755
- :param segment_terminator:
1802
+ '''In X12 EDI messages, delimiters are used to mark the end of segments or elements, and are defined in the interchange control header.
1803
+
1804
+ The delimiters are part of the message's syntax and divide up its different elements.
1805
+
1806
+ :param component_separator: The component, or sub-element, separator. The default value is ``:`` (colon).
1807
+ :param data_element_separator: The data element separator. The default value is ``*`` (asterisk).
1808
+ :param segment_terminator: The segment terminator. The default value is ``~`` (tilde).
1756
1809
 
1757
1810
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12delimiters.html
1758
1811
  :exampleMetadata: fixture=_generated
@@ -1784,7 +1837,10 @@ class CfnPartnership(
1784
1837
 
1785
1838
  @builtins.property
1786
1839
  def component_separator(self) -> typing.Optional[builtins.str]:
1787
- '''
1840
+ '''The component, or sub-element, separator.
1841
+
1842
+ The default value is ``:`` (colon).
1843
+
1788
1844
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12delimiters.html#cfn-b2bi-partnership-x12delimiters-componentseparator
1789
1845
  '''
1790
1846
  result = self._values.get("component_separator")
@@ -1792,7 +1848,10 @@ class CfnPartnership(
1792
1848
 
1793
1849
  @builtins.property
1794
1850
  def data_element_separator(self) -> typing.Optional[builtins.str]:
1795
- '''
1851
+ '''The data element separator.
1852
+
1853
+ The default value is ``*`` (asterisk).
1854
+
1796
1855
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12delimiters.html#cfn-b2bi-partnership-x12delimiters-dataelementseparator
1797
1856
  '''
1798
1857
  result = self._values.get("data_element_separator")
@@ -1800,7 +1859,10 @@ class CfnPartnership(
1800
1859
 
1801
1860
  @builtins.property
1802
1861
  def segment_terminator(self) -> typing.Optional[builtins.str]:
1803
- '''
1862
+ '''The segment terminator.
1863
+
1864
+ The default value is ``~`` (tilde).
1865
+
1804
1866
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12delimiters.html#cfn-b2bi-partnership-x12delimiters-segmentterminator
1805
1867
  '''
1806
1868
  result = self._values.get("segment_terminator")
@@ -1944,10 +2006,13 @@ class CfnPartnership(
1944
2006
  application_sender_code: typing.Optional[builtins.str] = None,
1945
2007
  responsible_agency_code: typing.Optional[builtins.str] = None,
1946
2008
  ) -> None:
1947
- '''
1948
- :param application_receiver_code:
1949
- :param application_sender_code:
1950
- :param responsible_agency_code:
2009
+ '''Part of the X12 message structure.
2010
+
2011
+ These are the functional group headers for the X12 EDI object.
2012
+
2013
+ :param application_receiver_code: A value representing the code used to identify the party receiving a message, at position GS-03.
2014
+ :param application_sender_code: A value representing the code used to identify the party transmitting a message, at position GS-02.
2015
+ :param responsible_agency_code: A code that identifies the issuer of the standard, at position GS-07.
1951
2016
 
1952
2017
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12functionalgroupheaders.html
1953
2018
  :exampleMetadata: fixture=_generated
@@ -1979,7 +2044,8 @@ class CfnPartnership(
1979
2044
 
1980
2045
  @builtins.property
1981
2046
  def application_receiver_code(self) -> typing.Optional[builtins.str]:
1982
- '''
2047
+ '''A value representing the code used to identify the party receiving a message, at position GS-03.
2048
+
1983
2049
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12functionalgroupheaders.html#cfn-b2bi-partnership-x12functionalgroupheaders-applicationreceivercode
1984
2050
  '''
1985
2051
  result = self._values.get("application_receiver_code")
@@ -1987,7 +2053,8 @@ class CfnPartnership(
1987
2053
 
1988
2054
  @builtins.property
1989
2055
  def application_sender_code(self) -> typing.Optional[builtins.str]:
1990
- '''
2056
+ '''A value representing the code used to identify the party transmitting a message, at position GS-02.
2057
+
1991
2058
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12functionalgroupheaders.html#cfn-b2bi-partnership-x12functionalgroupheaders-applicationsendercode
1992
2059
  '''
1993
2060
  result = self._values.get("application_sender_code")
@@ -1995,7 +2062,8 @@ class CfnPartnership(
1995
2062
 
1996
2063
  @builtins.property
1997
2064
  def responsible_agency_code(self) -> typing.Optional[builtins.str]:
1998
- '''
2065
+ '''A code that identifies the issuer of the standard, at position GS-07.
2066
+
1999
2067
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12functionalgroupheaders.html#cfn-b2bi-partnership-x12functionalgroupheaders-responsibleagencycode
2000
2068
  '''
2001
2069
  result = self._values.get("responsible_agency_code")
@@ -2099,14 +2167,17 @@ class CfnPartnership(
2099
2167
  sender_id_qualifier: typing.Optional[builtins.str] = None,
2100
2168
  usage_indicator_code: typing.Optional[builtins.str] = None,
2101
2169
  ) -> None:
2102
- '''
2103
- :param acknowledgment_requested_code:
2104
- :param receiver_id:
2105
- :param receiver_id_qualifier:
2106
- :param repetition_separator:
2107
- :param sender_id:
2108
- :param sender_id_qualifier:
2109
- :param usage_indicator_code:
2170
+ '''In X12, the Interchange Control Header is the first segment of an EDI document and is part of the Interchange Envelope.
2171
+
2172
+ It contains information about the sender and receiver, the date and time of transmission, and the X12 version being used. It also includes delivery information, such as the sender and receiver IDs.
2173
+
2174
+ :param acknowledgment_requested_code: Located at position ISA-14 in the header. The value "1" indicates that the sender is requesting an interchange acknowledgment at receipt of the interchange. The value "0" is used otherwise.
2175
+ :param receiver_id: Located at position ISA-08 in the header. This value (along with the ``receiverIdQualifier`` ) identifies the intended recipient of the interchange.
2176
+ :param receiver_id_qualifier: Located at position ISA-07 in the header. Qualifier for the receiver ID. Together, the ID and qualifier uniquely identify the receiving trading partner.
2177
+ :param repetition_separator: Located at position ISA-11 in the header. This string makes it easier when you need to group similar adjacent element values together without using extra segments. .. epigraph:: This parameter is only honored for version greater than 401 ( ``VERSION_4010`` and higher). For versions less than 401, this field is called `StandardsId <https://docs.aws.amazon.com/https://www.stedi.com/edi/x12-004010/segment/ISA#ISA-11>`_ , in which case our service sets the value to ``U`` .
2178
+ :param sender_id: Located at position ISA-06 in the header. This value (along with the ``senderIdQualifier`` ) identifies the sender of the interchange.
2179
+ :param sender_id_qualifier: Located at position ISA-05 in the header. Qualifier for the sender ID. Together, the ID and qualifier uniquely identify the sending trading partner.
2180
+ :param usage_indicator_code: Located at position ISA-15 in the header. Specifies how this interchange is being used:. - ``T`` indicates this interchange is for testing. - ``P`` indicates this interchange is for production. - ``I`` indicates this interchange is informational.
2110
2181
 
2111
2182
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12interchangecontrolheaders.html
2112
2183
  :exampleMetadata: fixture=_generated
@@ -2154,7 +2225,10 @@ class CfnPartnership(
2154
2225
 
2155
2226
  @builtins.property
2156
2227
  def acknowledgment_requested_code(self) -> typing.Optional[builtins.str]:
2157
- '''
2228
+ '''Located at position ISA-14 in the header.
2229
+
2230
+ The value "1" indicates that the sender is requesting an interchange acknowledgment at receipt of the interchange. The value "0" is used otherwise.
2231
+
2158
2232
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12interchangecontrolheaders.html#cfn-b2bi-partnership-x12interchangecontrolheaders-acknowledgmentrequestedcode
2159
2233
  '''
2160
2234
  result = self._values.get("acknowledgment_requested_code")
@@ -2162,7 +2236,10 @@ class CfnPartnership(
2162
2236
 
2163
2237
  @builtins.property
2164
2238
  def receiver_id(self) -> typing.Optional[builtins.str]:
2165
- '''
2239
+ '''Located at position ISA-08 in the header.
2240
+
2241
+ This value (along with the ``receiverIdQualifier`` ) identifies the intended recipient of the interchange.
2242
+
2166
2243
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12interchangecontrolheaders.html#cfn-b2bi-partnership-x12interchangecontrolheaders-receiverid
2167
2244
  '''
2168
2245
  result = self._values.get("receiver_id")
@@ -2170,7 +2247,10 @@ class CfnPartnership(
2170
2247
 
2171
2248
  @builtins.property
2172
2249
  def receiver_id_qualifier(self) -> typing.Optional[builtins.str]:
2173
- '''
2250
+ '''Located at position ISA-07 in the header.
2251
+
2252
+ Qualifier for the receiver ID. Together, the ID and qualifier uniquely identify the receiving trading partner.
2253
+
2174
2254
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12interchangecontrolheaders.html#cfn-b2bi-partnership-x12interchangecontrolheaders-receiveridqualifier
2175
2255
  '''
2176
2256
  result = self._values.get("receiver_id_qualifier")
@@ -2178,7 +2258,15 @@ class CfnPartnership(
2178
2258
 
2179
2259
  @builtins.property
2180
2260
  def repetition_separator(self) -> typing.Optional[builtins.str]:
2181
- '''
2261
+ '''Located at position ISA-11 in the header.
2262
+
2263
+ This string makes it easier when you need to group similar adjacent element values together without using extra segments.
2264
+ .. epigraph::
2265
+
2266
+ This parameter is only honored for version greater than 401 ( ``VERSION_4010`` and higher).
2267
+
2268
+ For versions less than 401, this field is called `StandardsId <https://docs.aws.amazon.com/https://www.stedi.com/edi/x12-004010/segment/ISA#ISA-11>`_ , in which case our service sets the value to ``U`` .
2269
+
2182
2270
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12interchangecontrolheaders.html#cfn-b2bi-partnership-x12interchangecontrolheaders-repetitionseparator
2183
2271
  '''
2184
2272
  result = self._values.get("repetition_separator")
@@ -2186,7 +2274,10 @@ class CfnPartnership(
2186
2274
 
2187
2275
  @builtins.property
2188
2276
  def sender_id(self) -> typing.Optional[builtins.str]:
2189
- '''
2277
+ '''Located at position ISA-06 in the header.
2278
+
2279
+ This value (along with the ``senderIdQualifier`` ) identifies the sender of the interchange.
2280
+
2190
2281
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12interchangecontrolheaders.html#cfn-b2bi-partnership-x12interchangecontrolheaders-senderid
2191
2282
  '''
2192
2283
  result = self._values.get("sender_id")
@@ -2194,7 +2285,10 @@ class CfnPartnership(
2194
2285
 
2195
2286
  @builtins.property
2196
2287
  def sender_id_qualifier(self) -> typing.Optional[builtins.str]:
2197
- '''
2288
+ '''Located at position ISA-05 in the header.
2289
+
2290
+ Qualifier for the sender ID. Together, the ID and qualifier uniquely identify the sending trading partner.
2291
+
2198
2292
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12interchangecontrolheaders.html#cfn-b2bi-partnership-x12interchangecontrolheaders-senderidqualifier
2199
2293
  '''
2200
2294
  result = self._values.get("sender_id_qualifier")
@@ -2202,7 +2296,12 @@ class CfnPartnership(
2202
2296
 
2203
2297
  @builtins.property
2204
2298
  def usage_indicator_code(self) -> typing.Optional[builtins.str]:
2205
- '''
2299
+ '''Located at position ISA-15 in the header. Specifies how this interchange is being used:.
2300
+
2301
+ - ``T`` indicates this interchange is for testing.
2302
+ - ``P`` indicates this interchange is for production.
2303
+ - ``I`` indicates this interchange is informational.
2304
+
2206
2305
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12interchangecontrolheaders.html#cfn-b2bi-partnership-x12interchangecontrolheaders-usageindicatorcode
2207
2306
  '''
2208
2307
  result = self._values.get("usage_indicator_code")
@@ -2247,9 +2346,9 @@ class CfnPartnership(
2247
2346
  :param control_numbers: Specifies control number configuration for outbound X12 EDI headers. These settings determine the starting values for interchange, functional group, and transaction set control numbers.
2248
2347
  :param delimiters: The delimiters, for example semicolon ( ``;`` ), that separates sections of the headers for the X12 object.
2249
2348
  :param functional_group_headers: The functional group headers for the X12 object.
2250
- :param gs05_time_format:
2349
+ :param gs05_time_format: Specifies the time format in the GS05 element (time) of the functional group header. The following formats use 24-hour clock time: - ``HHMM`` - Hours and minutes - ``HHMMSS`` - Hours, minutes, and seconds - ``HHMMSSDD`` - Hours, minutes, seconds, and decimal seconds Where: - ``HH`` - Hours (00-23) - ``MM`` - Minutes (00-59) - ``SS`` - Seconds (00-59) - ``DD`` - Hundredths of seconds (00-99)
2251
2350
  :param interchange_control_headers: In X12 EDI messages, delimiters are used to mark the end of segments or elements, and are defined in the interchange control header.
2252
- :param validate_edi: Specifies whether or not to validate the EDI for this X12 object: ``TRUE`` or ``FALSE`` .
2351
+ :param validate_edi: Specifies whether or not to validate the EDI for this X12 object: ``TRUE`` or ``FALSE`` . When enabled, this performs both standard EDI validation and applies any configured custom validation rules including element length constraints, code list validations, and element requirement checks. Validation results are returned in the response validation messages.
2253
2352
 
2254
2353
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12outboundediheaders.html
2255
2354
  :exampleMetadata: fixture=_generated
@@ -2348,7 +2447,21 @@ class CfnPartnership(
2348
2447
 
2349
2448
  @builtins.property
2350
2449
  def gs05_time_format(self) -> typing.Optional[builtins.str]:
2351
- '''
2450
+ '''Specifies the time format in the GS05 element (time) of the functional group header.
2451
+
2452
+ The following formats use 24-hour clock time:
2453
+
2454
+ - ``HHMM`` - Hours and minutes
2455
+ - ``HHMMSS`` - Hours, minutes, and seconds
2456
+ - ``HHMMSSDD`` - Hours, minutes, seconds, and decimal seconds
2457
+
2458
+ Where:
2459
+
2460
+ - ``HH`` - Hours (00-23)
2461
+ - ``MM`` - Minutes (00-59)
2462
+ - ``SS`` - Seconds (00-59)
2463
+ - ``DD`` - Hundredths of seconds (00-99)
2464
+
2352
2465
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12outboundediheaders.html#cfn-b2bi-partnership-x12outboundediheaders-gs05timeformat
2353
2466
  '''
2354
2467
  result = self._values.get("gs05_time_format")
@@ -2371,6 +2484,8 @@ class CfnPartnership(
2371
2484
  ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
2372
2485
  '''Specifies whether or not to validate the EDI for this X12 object: ``TRUE`` or ``FALSE`` .
2373
2486
 
2487
+ When enabled, this performs both standard EDI validation and applies any configured custom validation rules including element length constraints, code list validations, and element requirement checks. Validation results are returned in the response validation messages.
2488
+
2374
2489
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12outboundediheaders.html#cfn-b2bi-partnership-x12outboundediheaders-validateedi
2375
2490
  '''
2376
2491
  result = self._values.get("validate_edi")
@@ -2651,7 +2766,7 @@ class CfnProfile(
2651
2766
  :param business_name: Returns the name for the business associated with this profile.
2652
2767
  :param logging: Specifies whether or not logging is enabled for this profile.
2653
2768
  :param name: Returns the display name for profile.
2654
- :param phone:
2769
+ :param phone: Specifies the phone number associated with the profile.
2655
2770
  :param email:
2656
2771
  :param tags: A key-value pair for a specific profile. Tags are metadata that you can use to search for and group capabilities for various purposes.
2657
2772
  '''
@@ -2797,6 +2912,7 @@ class CfnProfile(
2797
2912
  @builtins.property
2798
2913
  @jsii.member(jsii_name="phone")
2799
2914
  def phone(self) -> builtins.str:
2915
+ '''Specifies the phone number associated with the profile.'''
2800
2916
  return typing.cast(builtins.str, jsii.get(self, "phone"))
2801
2917
 
2802
2918
  @phone.setter
@@ -2860,7 +2976,7 @@ class CfnProfileProps:
2860
2976
  :param business_name: Returns the name for the business associated with this profile.
2861
2977
  :param logging: Specifies whether or not logging is enabled for this profile.
2862
2978
  :param name: Returns the display name for profile.
2863
- :param phone:
2979
+ :param phone: Specifies the phone number associated with the profile.
2864
2980
  :param email:
2865
2981
  :param tags: A key-value pair for a specific profile. Tags are metadata that you can use to search for and group capabilities for various purposes.
2866
2982
 
@@ -2938,7 +3054,8 @@ class CfnProfileProps:
2938
3054
 
2939
3055
  @builtins.property
2940
3056
  def phone(self) -> builtins.str:
2941
- '''
3057
+ '''Specifies the phone number associated with the profile.
3058
+
2942
3059
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-profile.html#cfn-b2bi-profile-phone
2943
3060
  '''
2944
3061
  result = self._values.get("phone")
@@ -3025,6 +3142,26 @@ class CfnTransformer(
3025
3142
  x12=b2bi.CfnTransformer.X12AdvancedOptionsProperty(
3026
3143
  split_options=b2bi.CfnTransformer.X12SplitOptionsProperty(
3027
3144
  split_by="splitBy"
3145
+ ),
3146
+ validation_options=b2bi.CfnTransformer.X12ValidationOptionsProperty(
3147
+ validation_rules=[b2bi.CfnTransformer.X12ValidationRuleProperty(
3148
+ code_list_validation_rule=b2bi.CfnTransformer.X12CodeListValidationRuleProperty(
3149
+ element_id="elementId",
3150
+
3151
+ # the properties below are optional
3152
+ codes_to_add=["codesToAdd"],
3153
+ codes_to_remove=["codesToRemove"]
3154
+ ),
3155
+ element_length_validation_rule=b2bi.CfnTransformer.X12ElementLengthValidationRuleProperty(
3156
+ element_id="elementId",
3157
+ max_length=123,
3158
+ min_length=123
3159
+ ),
3160
+ element_requirement_validation_rule=b2bi.CfnTransformer.X12ElementRequirementValidationRuleProperty(
3161
+ element_position="elementPosition",
3162
+ requirement="requirement"
3163
+ )
3164
+ )]
3028
3165
  )
3029
3166
  )
3030
3167
  ),
@@ -3046,6 +3183,33 @@ class CfnTransformer(
3046
3183
  to_format="toFormat",
3047
3184
 
3048
3185
  # the properties below are optional
3186
+ advanced_options=b2bi.CfnTransformer.AdvancedOptionsProperty(
3187
+ x12=b2bi.CfnTransformer.X12AdvancedOptionsProperty(
3188
+ split_options=b2bi.CfnTransformer.X12SplitOptionsProperty(
3189
+ split_by="splitBy"
3190
+ ),
3191
+ validation_options=b2bi.CfnTransformer.X12ValidationOptionsProperty(
3192
+ validation_rules=[b2bi.CfnTransformer.X12ValidationRuleProperty(
3193
+ code_list_validation_rule=b2bi.CfnTransformer.X12CodeListValidationRuleProperty(
3194
+ element_id="elementId",
3195
+
3196
+ # the properties below are optional
3197
+ codes_to_add=["codesToAdd"],
3198
+ codes_to_remove=["codesToRemove"]
3199
+ ),
3200
+ element_length_validation_rule=b2bi.CfnTransformer.X12ElementLengthValidationRuleProperty(
3201
+ element_id="elementId",
3202
+ max_length=123,
3203
+ min_length=123
3204
+ ),
3205
+ element_requirement_validation_rule=b2bi.CfnTransformer.X12ElementRequirementValidationRuleProperty(
3206
+ element_position="elementPosition",
3207
+ requirement="requirement"
3208
+ )
3209
+ )]
3210
+ )
3211
+ )
3212
+ ),
3049
3213
  format_options=b2bi.CfnTransformer.FormatOptionsProperty(
3050
3214
  x12=b2bi.CfnTransformer.X12DetailsProperty(
3051
3215
  transaction_set="transactionSet",
@@ -3396,8 +3560,11 @@ class CfnTransformer(
3396
3560
  *,
3397
3561
  x12: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTransformer.X12AdvancedOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
3398
3562
  ) -> None:
3399
- '''
3400
- :param x12:
3563
+ '''A structure that contains advanced options for EDI processing.
3564
+
3565
+ Currently, only X12 advanced options are supported.
3566
+
3567
+ :param x12: A structure that contains X12-specific advanced options, such as split options for processing X12 EDI files.
3401
3568
 
3402
3569
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-advancedoptions.html
3403
3570
  :exampleMetadata: fixture=_generated
@@ -3412,6 +3579,26 @@ class CfnTransformer(
3412
3579
  x12=b2bi.CfnTransformer.X12AdvancedOptionsProperty(
3413
3580
  split_options=b2bi.CfnTransformer.X12SplitOptionsProperty(
3414
3581
  split_by="splitBy"
3582
+ ),
3583
+ validation_options=b2bi.CfnTransformer.X12ValidationOptionsProperty(
3584
+ validation_rules=[b2bi.CfnTransformer.X12ValidationRuleProperty(
3585
+ code_list_validation_rule=b2bi.CfnTransformer.X12CodeListValidationRuleProperty(
3586
+ element_id="elementId",
3587
+
3588
+ # the properties below are optional
3589
+ codes_to_add=["codesToAdd"],
3590
+ codes_to_remove=["codesToRemove"]
3591
+ ),
3592
+ element_length_validation_rule=b2bi.CfnTransformer.X12ElementLengthValidationRuleProperty(
3593
+ element_id="elementId",
3594
+ max_length=123,
3595
+ min_length=123
3596
+ ),
3597
+ element_requirement_validation_rule=b2bi.CfnTransformer.X12ElementRequirementValidationRuleProperty(
3598
+ element_position="elementPosition",
3599
+ requirement="requirement"
3600
+ )
3601
+ )]
3415
3602
  )
3416
3603
  )
3417
3604
  )
@@ -3427,7 +3614,8 @@ class CfnTransformer(
3427
3614
  def x12(
3428
3615
  self,
3429
3616
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.X12AdvancedOptionsProperty"]]:
3430
- '''
3617
+ '''A structure that contains X12-specific advanced options, such as split options for processing X12 EDI files.
3618
+
3431
3619
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-advancedoptions.html#cfn-b2bi-transformer-advancedoptions-x12
3432
3620
  '''
3433
3621
  result = self._values.get("x12")
@@ -3514,7 +3702,8 @@ class CfnTransformer(
3514
3702
  *,
3515
3703
  x12: typing.Union[_IResolvable_da3f097b, typing.Union["CfnTransformer.X12DetailsProperty", typing.Dict[builtins.str, typing.Any]]],
3516
3704
  ) -> None:
3517
- '''
3705
+ '''A structure that contains the X12 transaction set and version.
3706
+
3518
3707
  :param x12:
3519
3708
 
3520
3709
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-formatoptions.html
@@ -3579,10 +3768,11 @@ class CfnTransformer(
3579
3768
  advanced_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTransformer.AdvancedOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
3580
3769
  format_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTransformer.FormatOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
3581
3770
  ) -> None:
3582
- '''
3583
- :param from_format:
3584
- :param advanced_options:
3585
- :param format_options:
3771
+ '''Contains the input formatting options for an inbound transformer (takes an X12-formatted EDI document as input and converts it to JSON or XML.
3772
+
3773
+ :param from_format: The format for the transformer input: currently on ``X12`` is supported.
3774
+ :param advanced_options: Specifies advanced options for the input conversion process. These options provide additional control over how EDI files are processed during transformation.
3775
+ :param format_options: A structure that contains the formatting options for an inbound transformer.
3586
3776
 
3587
3777
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-inputconversion.html
3588
3778
  :exampleMetadata: fixture=_generated
@@ -3601,6 +3791,26 @@ class CfnTransformer(
3601
3791
  x12=b2bi.CfnTransformer.X12AdvancedOptionsProperty(
3602
3792
  split_options=b2bi.CfnTransformer.X12SplitOptionsProperty(
3603
3793
  split_by="splitBy"
3794
+ ),
3795
+ validation_options=b2bi.CfnTransformer.X12ValidationOptionsProperty(
3796
+ validation_rules=[b2bi.CfnTransformer.X12ValidationRuleProperty(
3797
+ code_list_validation_rule=b2bi.CfnTransformer.X12CodeListValidationRuleProperty(
3798
+ element_id="elementId",
3799
+
3800
+ # the properties below are optional
3801
+ codes_to_add=["codesToAdd"],
3802
+ codes_to_remove=["codesToRemove"]
3803
+ ),
3804
+ element_length_validation_rule=b2bi.CfnTransformer.X12ElementLengthValidationRuleProperty(
3805
+ element_id="elementId",
3806
+ max_length=123,
3807
+ min_length=123
3808
+ ),
3809
+ element_requirement_validation_rule=b2bi.CfnTransformer.X12ElementRequirementValidationRuleProperty(
3810
+ element_position="elementPosition",
3811
+ requirement="requirement"
3812
+ )
3813
+ )]
3604
3814
  )
3605
3815
  )
3606
3816
  ),
@@ -3627,7 +3837,8 @@ class CfnTransformer(
3627
3837
 
3628
3838
  @builtins.property
3629
3839
  def from_format(self) -> builtins.str:
3630
- '''
3840
+ '''The format for the transformer input: currently on ``X12`` is supported.
3841
+
3631
3842
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-inputconversion.html#cfn-b2bi-transformer-inputconversion-fromformat
3632
3843
  '''
3633
3844
  result = self._values.get("from_format")
@@ -3638,7 +3849,10 @@ class CfnTransformer(
3638
3849
  def advanced_options(
3639
3850
  self,
3640
3851
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.AdvancedOptionsProperty"]]:
3641
- '''
3852
+ '''Specifies advanced options for the input conversion process.
3853
+
3854
+ These options provide additional control over how EDI files are processed during transformation.
3855
+
3642
3856
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-inputconversion.html#cfn-b2bi-transformer-inputconversion-advancedoptions
3643
3857
  '''
3644
3858
  result = self._values.get("advanced_options")
@@ -3648,7 +3862,8 @@ class CfnTransformer(
3648
3862
  def format_options(
3649
3863
  self,
3650
3864
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.FormatOptionsProperty"]]:
3651
- '''
3865
+ '''A structure that contains the formatting options for an inbound transformer.
3866
+
3652
3867
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-inputconversion.html#cfn-b2bi-transformer-inputconversion-formatoptions
3653
3868
  '''
3654
3869
  result = self._values.get("format_options")
@@ -3677,9 +3892,12 @@ class CfnTransformer(
3677
3892
  template_language: builtins.str,
3678
3893
  template: typing.Optional[builtins.str] = None,
3679
3894
  ) -> None:
3680
- '''
3681
- :param template_language:
3682
- :param template:
3895
+ '''Specifies the mapping template for the transformer.
3896
+
3897
+ This template is used to map the parsed EDI file using JSONata or XSLT.
3898
+
3899
+ :param template_language: The transformation language for the template, either XSLT or JSONATA.
3900
+ :param template: A string that represents the mapping template, in the transformation language specified in ``templateLanguage`` .
3683
3901
 
3684
3902
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-mapping.html
3685
3903
  :exampleMetadata: fixture=_generated
@@ -3709,7 +3927,8 @@ class CfnTransformer(
3709
3927
 
3710
3928
  @builtins.property
3711
3929
  def template_language(self) -> builtins.str:
3712
- '''
3930
+ '''The transformation language for the template, either XSLT or JSONATA.
3931
+
3713
3932
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-mapping.html#cfn-b2bi-transformer-mapping-templatelanguage
3714
3933
  '''
3715
3934
  result = self._values.get("template_language")
@@ -3718,7 +3937,8 @@ class CfnTransformer(
3718
3937
 
3719
3938
  @builtins.property
3720
3939
  def template(self) -> typing.Optional[builtins.str]:
3721
- '''
3940
+ '''A string that represents the mapping template, in the transformation language specified in ``templateLanguage`` .
3941
+
3722
3942
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-mapping.html#cfn-b2bi-transformer-mapping-template
3723
3943
  '''
3724
3944
  result = self._values.get("template")
@@ -3738,18 +3958,25 @@ class CfnTransformer(
3738
3958
  @jsii.data_type(
3739
3959
  jsii_type="aws-cdk-lib.aws_b2bi.CfnTransformer.OutputConversionProperty",
3740
3960
  jsii_struct_bases=[],
3741
- name_mapping={"to_format": "toFormat", "format_options": "formatOptions"},
3961
+ name_mapping={
3962
+ "to_format": "toFormat",
3963
+ "advanced_options": "advancedOptions",
3964
+ "format_options": "formatOptions",
3965
+ },
3742
3966
  )
3743
3967
  class OutputConversionProperty:
3744
3968
  def __init__(
3745
3969
  self,
3746
3970
  *,
3747
3971
  to_format: builtins.str,
3972
+ advanced_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTransformer.AdvancedOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
3748
3973
  format_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTransformer.FormatOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
3749
3974
  ) -> None:
3750
- '''
3751
- :param to_format:
3752
- :param format_options:
3975
+ '''Contains the formatting options for an outbound transformer (takes JSON or XML as input and converts it to an EDI document (currently only X12 format is supported).
3976
+
3977
+ :param to_format: The format for the output from an outbound transformer: only X12 is currently supported.
3978
+ :param advanced_options:
3979
+ :param format_options: A structure that contains the X12 transaction set and version for the transformer output.
3753
3980
 
3754
3981
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-outputconversion.html
3755
3982
  :exampleMetadata: fixture=_generated
@@ -3764,6 +3991,33 @@ class CfnTransformer(
3764
3991
  to_format="toFormat",
3765
3992
 
3766
3993
  # the properties below are optional
3994
+ advanced_options=b2bi.CfnTransformer.AdvancedOptionsProperty(
3995
+ x12=b2bi.CfnTransformer.X12AdvancedOptionsProperty(
3996
+ split_options=b2bi.CfnTransformer.X12SplitOptionsProperty(
3997
+ split_by="splitBy"
3998
+ ),
3999
+ validation_options=b2bi.CfnTransformer.X12ValidationOptionsProperty(
4000
+ validation_rules=[b2bi.CfnTransformer.X12ValidationRuleProperty(
4001
+ code_list_validation_rule=b2bi.CfnTransformer.X12CodeListValidationRuleProperty(
4002
+ element_id="elementId",
4003
+
4004
+ # the properties below are optional
4005
+ codes_to_add=["codesToAdd"],
4006
+ codes_to_remove=["codesToRemove"]
4007
+ ),
4008
+ element_length_validation_rule=b2bi.CfnTransformer.X12ElementLengthValidationRuleProperty(
4009
+ element_id="elementId",
4010
+ max_length=123,
4011
+ min_length=123
4012
+ ),
4013
+ element_requirement_validation_rule=b2bi.CfnTransformer.X12ElementRequirementValidationRuleProperty(
4014
+ element_position="elementPosition",
4015
+ requirement="requirement"
4016
+ )
4017
+ )]
4018
+ )
4019
+ )
4020
+ ),
3767
4021
  format_options=b2bi.CfnTransformer.FormatOptionsProperty(
3768
4022
  x12=b2bi.CfnTransformer.X12DetailsProperty(
3769
4023
  transaction_set="transactionSet",
@@ -3775,27 +4029,42 @@ class CfnTransformer(
3775
4029
  if __debug__:
3776
4030
  type_hints = typing.get_type_hints(_typecheckingstub__dba363199b2c0b97d3ba296b1d26754261d2515646da5bce6b98f57eff2c1d59)
3777
4031
  check_type(argname="argument to_format", value=to_format, expected_type=type_hints["to_format"])
4032
+ check_type(argname="argument advanced_options", value=advanced_options, expected_type=type_hints["advanced_options"])
3778
4033
  check_type(argname="argument format_options", value=format_options, expected_type=type_hints["format_options"])
3779
4034
  self._values: typing.Dict[builtins.str, typing.Any] = {
3780
4035
  "to_format": to_format,
3781
4036
  }
4037
+ if advanced_options is not None:
4038
+ self._values["advanced_options"] = advanced_options
3782
4039
  if format_options is not None:
3783
4040
  self._values["format_options"] = format_options
3784
4041
 
3785
4042
  @builtins.property
3786
4043
  def to_format(self) -> builtins.str:
3787
- '''
4044
+ '''The format for the output from an outbound transformer: only X12 is currently supported.
4045
+
3788
4046
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-outputconversion.html#cfn-b2bi-transformer-outputconversion-toformat
3789
4047
  '''
3790
4048
  result = self._values.get("to_format")
3791
4049
  assert result is not None, "Required property 'to_format' is missing"
3792
4050
  return typing.cast(builtins.str, result)
3793
4051
 
4052
+ @builtins.property
4053
+ def advanced_options(
4054
+ self,
4055
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.AdvancedOptionsProperty"]]:
4056
+ '''
4057
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-outputconversion.html#cfn-b2bi-transformer-outputconversion-advancedoptions
4058
+ '''
4059
+ result = self._values.get("advanced_options")
4060
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.AdvancedOptionsProperty"]], result)
4061
+
3794
4062
  @builtins.property
3795
4063
  def format_options(
3796
4064
  self,
3797
4065
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.FormatOptionsProperty"]]:
3798
- '''
4066
+ '''A structure that contains the X12 transaction set and version for the transformer output.
4067
+
3799
4068
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-outputconversion.html#cfn-b2bi-transformer-outputconversion-formatoptions
3800
4069
  '''
3801
4070
  result = self._values.get("format_options")
@@ -3824,9 +4093,10 @@ class CfnTransformer(
3824
4093
  input: typing.Optional[builtins.str] = None,
3825
4094
  output: typing.Optional[builtins.str] = None,
3826
4095
  ) -> None:
3827
- '''
3828
- :param input:
3829
- :param output:
4096
+ '''An array of the Amazon S3 keys used to identify the location for your sample documents.
4097
+
4098
+ :param input: An array of keys for your input sample documents.
4099
+ :param output: An array of keys for your output sample documents.
3830
4100
 
3831
4101
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-sampledocumentkeys.html
3832
4102
  :exampleMetadata: fixture=_generated
@@ -3854,7 +4124,8 @@ class CfnTransformer(
3854
4124
 
3855
4125
  @builtins.property
3856
4126
  def input(self) -> typing.Optional[builtins.str]:
3857
- '''
4127
+ '''An array of keys for your input sample documents.
4128
+
3858
4129
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-sampledocumentkeys.html#cfn-b2bi-transformer-sampledocumentkeys-input
3859
4130
  '''
3860
4131
  result = self._values.get("input")
@@ -3862,7 +4133,8 @@ class CfnTransformer(
3862
4133
 
3863
4134
  @builtins.property
3864
4135
  def output(self) -> typing.Optional[builtins.str]:
3865
- '''
4136
+ '''An array of keys for your output sample documents.
4137
+
3866
4138
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-sampledocumentkeys.html#cfn-b2bi-transformer-sampledocumentkeys-output
3867
4139
  '''
3868
4140
  result = self._values.get("output")
@@ -3891,9 +4163,10 @@ class CfnTransformer(
3891
4163
  bucket_name: builtins.str,
3892
4164
  keys: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTransformer.SampleDocumentKeysProperty", typing.Dict[builtins.str, typing.Any]]]]],
3893
4165
  ) -> None:
3894
- '''
3895
- :param bucket_name:
3896
- :param keys:
4166
+ '''Describes a structure that contains the Amazon S3 bucket and an array of the corresponding keys used to identify the location for your sample documents.
4167
+
4168
+ :param bucket_name: Contains the Amazon S3 bucket that is used to hold your sample documents.
4169
+ :param keys: Contains an array of the Amazon S3 keys used to identify the location for your sample documents.
3897
4170
 
3898
4171
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-sampledocuments.html
3899
4172
  :exampleMetadata: fixture=_generated
@@ -3923,7 +4196,8 @@ class CfnTransformer(
3923
4196
 
3924
4197
  @builtins.property
3925
4198
  def bucket_name(self) -> builtins.str:
3926
- '''
4199
+ '''Contains the Amazon S3 bucket that is used to hold your sample documents.
4200
+
3927
4201
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-sampledocuments.html#cfn-b2bi-transformer-sampledocuments-bucketname
3928
4202
  '''
3929
4203
  result = self._values.get("bucket_name")
@@ -3934,7 +4208,8 @@ class CfnTransformer(
3934
4208
  def keys(
3935
4209
  self,
3936
4210
  ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnTransformer.SampleDocumentKeysProperty"]]]:
3937
- '''
4211
+ '''Contains an array of the Amazon S3 keys used to identify the location for your sample documents.
4212
+
3938
4213
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-sampledocuments.html#cfn-b2bi-transformer-sampledocuments-keys
3939
4214
  '''
3940
4215
  result = self._values.get("keys")
@@ -3955,16 +4230,22 @@ class CfnTransformer(
3955
4230
  @jsii.data_type(
3956
4231
  jsii_type="aws-cdk-lib.aws_b2bi.CfnTransformer.X12AdvancedOptionsProperty",
3957
4232
  jsii_struct_bases=[],
3958
- name_mapping={"split_options": "splitOptions"},
4233
+ name_mapping={
4234
+ "split_options": "splitOptions",
4235
+ "validation_options": "validationOptions",
4236
+ },
3959
4237
  )
3960
4238
  class X12AdvancedOptionsProperty:
3961
4239
  def __init__(
3962
4240
  self,
3963
4241
  *,
3964
4242
  split_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTransformer.X12SplitOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
4243
+ validation_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTransformer.X12ValidationOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
3965
4244
  ) -> None:
3966
- '''
3967
- :param split_options:
4245
+ '''Contains advanced options specific to X12 EDI processing, such as splitting large X12 files into smaller units.
4246
+
4247
+ :param split_options: Specifies options for splitting X12 EDI files. These options control how large X12 files are divided into smaller, more manageable units.
4248
+ :param validation_options: Specifies validation options for X12 EDI processing. These options control how validation rules are applied during EDI document processing, including custom validation rules for element length constraints, code list validations, and element requirement checks.
3968
4249
 
3969
4250
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12advancedoptions.html
3970
4251
  :exampleMetadata: fixture=_generated
@@ -3978,26 +4259,65 @@ class CfnTransformer(
3978
4259
  x12_advanced_options_property = b2bi.CfnTransformer.X12AdvancedOptionsProperty(
3979
4260
  split_options=b2bi.CfnTransformer.X12SplitOptionsProperty(
3980
4261
  split_by="splitBy"
4262
+ ),
4263
+ validation_options=b2bi.CfnTransformer.X12ValidationOptionsProperty(
4264
+ validation_rules=[b2bi.CfnTransformer.X12ValidationRuleProperty(
4265
+ code_list_validation_rule=b2bi.CfnTransformer.X12CodeListValidationRuleProperty(
4266
+ element_id="elementId",
4267
+
4268
+ # the properties below are optional
4269
+ codes_to_add=["codesToAdd"],
4270
+ codes_to_remove=["codesToRemove"]
4271
+ ),
4272
+ element_length_validation_rule=b2bi.CfnTransformer.X12ElementLengthValidationRuleProperty(
4273
+ element_id="elementId",
4274
+ max_length=123,
4275
+ min_length=123
4276
+ ),
4277
+ element_requirement_validation_rule=b2bi.CfnTransformer.X12ElementRequirementValidationRuleProperty(
4278
+ element_position="elementPosition",
4279
+ requirement="requirement"
4280
+ )
4281
+ )]
3981
4282
  )
3982
4283
  )
3983
4284
  '''
3984
4285
  if __debug__:
3985
4286
  type_hints = typing.get_type_hints(_typecheckingstub__0d6cdec7bccb6d811748cbb3f28ec5b4408f4496a924455516c3f90fd268b81c)
3986
4287
  check_type(argname="argument split_options", value=split_options, expected_type=type_hints["split_options"])
4288
+ check_type(argname="argument validation_options", value=validation_options, expected_type=type_hints["validation_options"])
3987
4289
  self._values: typing.Dict[builtins.str, typing.Any] = {}
3988
4290
  if split_options is not None:
3989
4291
  self._values["split_options"] = split_options
4292
+ if validation_options is not None:
4293
+ self._values["validation_options"] = validation_options
3990
4294
 
3991
4295
  @builtins.property
3992
4296
  def split_options(
3993
4297
  self,
3994
4298
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.X12SplitOptionsProperty"]]:
3995
- '''
4299
+ '''Specifies options for splitting X12 EDI files.
4300
+
4301
+ These options control how large X12 files are divided into smaller, more manageable units.
4302
+
3996
4303
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12advancedoptions.html#cfn-b2bi-transformer-x12advancedoptions-splitoptions
3997
4304
  '''
3998
4305
  result = self._values.get("split_options")
3999
4306
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.X12SplitOptionsProperty"]], result)
4000
4307
 
4308
+ @builtins.property
4309
+ def validation_options(
4310
+ self,
4311
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.X12ValidationOptionsProperty"]]:
4312
+ '''Specifies validation options for X12 EDI processing.
4313
+
4314
+ These options control how validation rules are applied during EDI document processing, including custom validation rules for element length constraints, code list validations, and element requirement checks.
4315
+
4316
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12advancedoptions.html#cfn-b2bi-transformer-x12advancedoptions-validationoptions
4317
+ '''
4318
+ result = self._values.get("validation_options")
4319
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.X12ValidationOptionsProperty"]], result)
4320
+
4001
4321
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
4002
4322
  return isinstance(rhs, self.__class__) and rhs._values == self._values
4003
4323
 
@@ -4010,28 +4330,29 @@ class CfnTransformer(
4010
4330
  )
4011
4331
 
4012
4332
  @jsii.data_type(
4013
- jsii_type="aws-cdk-lib.aws_b2bi.CfnTransformer.X12DetailsProperty",
4333
+ jsii_type="aws-cdk-lib.aws_b2bi.CfnTransformer.X12CodeListValidationRuleProperty",
4014
4334
  jsii_struct_bases=[],
4015
- name_mapping={"transaction_set": "transactionSet", "version": "version"},
4335
+ name_mapping={
4336
+ "element_id": "elementId",
4337
+ "codes_to_add": "codesToAdd",
4338
+ "codes_to_remove": "codesToRemove",
4339
+ },
4016
4340
  )
4017
- class X12DetailsProperty:
4341
+ class X12CodeListValidationRuleProperty:
4018
4342
  def __init__(
4019
4343
  self,
4020
4344
  *,
4021
- transaction_set: typing.Optional[builtins.str] = None,
4022
- version: typing.Optional[builtins.str] = None,
4345
+ element_id: builtins.str,
4346
+ codes_to_add: typing.Optional[typing.Sequence[builtins.str]] = None,
4347
+ codes_to_remove: typing.Optional[typing.Sequence[builtins.str]] = None,
4023
4348
  ) -> None:
4024
- '''A structure that contains the X12 transaction set and version.
4025
-
4026
- The X12 structure is used when the system transforms an EDI (electronic data interchange) file.
4027
- .. epigraph::
4028
-
4029
- If an EDI input file contains more than one transaction, each transaction must have the same transaction set and version, for example 214/4010. If not, the transformer cannot parse the file.
4349
+ '''Code list validation rule configuration.
4030
4350
 
4031
- :param transaction_set: Returns an enumerated type where each value identifies an X12 transaction set. Transaction sets are maintained by the X12 Accredited Standards Committee.
4032
- :param version: Returns the version to use for the specified X12 transaction set.
4351
+ :param element_id: 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.
4352
+ :param codes_to_add: 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.
4353
+ :param codes_to_remove: 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.
4033
4354
 
4034
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12details.html
4355
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12codelistvalidationrule.html
4035
4356
  :exampleMetadata: fixture=_generated
4036
4357
 
4037
4358
  Example::
@@ -4040,37 +4361,134 @@ class CfnTransformer(
4040
4361
  # The values are placeholders you should change.
4041
4362
  from aws_cdk import aws_b2bi as b2bi
4042
4363
 
4043
- x12_details_property = b2bi.CfnTransformer.X12DetailsProperty(
4044
- transaction_set="transactionSet",
4045
- version="version"
4364
+ x12_code_list_validation_rule_property = b2bi.CfnTransformer.X12CodeListValidationRuleProperty(
4365
+ element_id="elementId",
4366
+
4367
+ # the properties below are optional
4368
+ codes_to_add=["codesToAdd"],
4369
+ codes_to_remove=["codesToRemove"]
4046
4370
  )
4047
4371
  '''
4048
4372
  if __debug__:
4049
- type_hints = typing.get_type_hints(_typecheckingstub__6c52ecd7c7c399e4bebfaf5bf8793e65928fdad0c0133ff1ce55c05683b44ac7)
4050
- check_type(argname="argument transaction_set", value=transaction_set, expected_type=type_hints["transaction_set"])
4051
- check_type(argname="argument version", value=version, expected_type=type_hints["version"])
4052
- self._values: typing.Dict[builtins.str, typing.Any] = {}
4053
- if transaction_set is not None:
4054
- self._values["transaction_set"] = transaction_set
4055
- if version is not None:
4056
- self._values["version"] = version
4373
+ type_hints = typing.get_type_hints(_typecheckingstub__c48f4b592271b72cef344b116f613ef8b316e53a42f875bfedd39b7997f45efe)
4374
+ check_type(argname="argument element_id", value=element_id, expected_type=type_hints["element_id"])
4375
+ check_type(argname="argument codes_to_add", value=codes_to_add, expected_type=type_hints["codes_to_add"])
4376
+ check_type(argname="argument codes_to_remove", value=codes_to_remove, expected_type=type_hints["codes_to_remove"])
4377
+ self._values: typing.Dict[builtins.str, typing.Any] = {
4378
+ "element_id": element_id,
4379
+ }
4380
+ if codes_to_add is not None:
4381
+ self._values["codes_to_add"] = codes_to_add
4382
+ if codes_to_remove is not None:
4383
+ self._values["codes_to_remove"] = codes_to_remove
4057
4384
 
4058
4385
  @builtins.property
4059
- def transaction_set(self) -> typing.Optional[builtins.str]:
4060
- '''Returns an enumerated type where each value identifies an X12 transaction set.
4386
+ def element_id(self) -> builtins.str:
4387
+ '''Specifies the four-digit element ID to which the code list modifications apply.
4061
4388
 
4062
- Transaction sets are maintained by the X12 Accredited Standards Committee.
4389
+ This identifies which X12 element will have its allowed code values modified.
4063
4390
 
4064
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12details.html#cfn-b2bi-transformer-x12details-transactionset
4391
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12codelistvalidationrule.html#cfn-b2bi-transformer-x12codelistvalidationrule-elementid
4065
4392
  '''
4066
- result = self._values.get("transaction_set")
4067
- return typing.cast(typing.Optional[builtins.str], result)
4393
+ result = self._values.get("element_id")
4394
+ assert result is not None, "Required property 'element_id' is missing"
4395
+ return typing.cast(builtins.str, result)
4068
4396
 
4069
4397
  @builtins.property
4070
- def version(self) -> typing.Optional[builtins.str]:
4071
- '''Returns the version to use for the specified X12 transaction set.
4398
+ def codes_to_add(self) -> typing.Optional[typing.List[builtins.str]]:
4399
+ '''Specifies a list of code values to add to the element's allowed values.
4072
4400
 
4073
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12details.html#cfn-b2bi-transformer-x12details-version
4401
+ These codes will be considered valid for the specified element in addition to the standard codes defined by the X12 specification.
4402
+
4403
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12codelistvalidationrule.html#cfn-b2bi-transformer-x12codelistvalidationrule-codestoadd
4404
+ '''
4405
+ result = self._values.get("codes_to_add")
4406
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
4407
+
4408
+ @builtins.property
4409
+ def codes_to_remove(self) -> typing.Optional[typing.List[builtins.str]]:
4410
+ '''Specifies a list of code values to remove from the element's allowed values.
4411
+
4412
+ These codes will be considered invalid for the specified element, even if they are part of the standard codes defined by the X12 specification.
4413
+
4414
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12codelistvalidationrule.html#cfn-b2bi-transformer-x12codelistvalidationrule-codestoremove
4415
+ '''
4416
+ result = self._values.get("codes_to_remove")
4417
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
4418
+
4419
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
4420
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
4421
+
4422
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
4423
+ return not (rhs == self)
4424
+
4425
+ def __repr__(self) -> str:
4426
+ return "X12CodeListValidationRuleProperty(%s)" % ", ".join(
4427
+ k + "=" + repr(v) for k, v in self._values.items()
4428
+ )
4429
+
4430
+ @jsii.data_type(
4431
+ jsii_type="aws-cdk-lib.aws_b2bi.CfnTransformer.X12DetailsProperty",
4432
+ jsii_struct_bases=[],
4433
+ name_mapping={"transaction_set": "transactionSet", "version": "version"},
4434
+ )
4435
+ class X12DetailsProperty:
4436
+ def __init__(
4437
+ self,
4438
+ *,
4439
+ transaction_set: typing.Optional[builtins.str] = None,
4440
+ version: typing.Optional[builtins.str] = None,
4441
+ ) -> None:
4442
+ '''A structure that contains the X12 transaction set and version.
4443
+
4444
+ The X12 structure is used when the system transforms an EDI (electronic data interchange) file.
4445
+ .. epigraph::
4446
+
4447
+ If an EDI input file contains more than one transaction, each transaction must have the same transaction set and version, for example 214/4010. If not, the transformer cannot parse the file.
4448
+
4449
+ :param transaction_set: Returns an enumerated type where each value identifies an X12 transaction set. Transaction sets are maintained by the X12 Accredited Standards Committee.
4450
+ :param version: Returns the version to use for the specified X12 transaction set.
4451
+
4452
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12details.html
4453
+ :exampleMetadata: fixture=_generated
4454
+
4455
+ Example::
4456
+
4457
+ # The code below shows an example of how to instantiate this type.
4458
+ # The values are placeholders you should change.
4459
+ from aws_cdk import aws_b2bi as b2bi
4460
+
4461
+ x12_details_property = b2bi.CfnTransformer.X12DetailsProperty(
4462
+ transaction_set="transactionSet",
4463
+ version="version"
4464
+ )
4465
+ '''
4466
+ if __debug__:
4467
+ type_hints = typing.get_type_hints(_typecheckingstub__6c52ecd7c7c399e4bebfaf5bf8793e65928fdad0c0133ff1ce55c05683b44ac7)
4468
+ check_type(argname="argument transaction_set", value=transaction_set, expected_type=type_hints["transaction_set"])
4469
+ check_type(argname="argument version", value=version, expected_type=type_hints["version"])
4470
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
4471
+ if transaction_set is not None:
4472
+ self._values["transaction_set"] = transaction_set
4473
+ if version is not None:
4474
+ self._values["version"] = version
4475
+
4476
+ @builtins.property
4477
+ def transaction_set(self) -> typing.Optional[builtins.str]:
4478
+ '''Returns an enumerated type where each value identifies an X12 transaction set.
4479
+
4480
+ Transaction sets are maintained by the X12 Accredited Standards Committee.
4481
+
4482
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12details.html#cfn-b2bi-transformer-x12details-transactionset
4483
+ '''
4484
+ result = self._values.get("transaction_set")
4485
+ return typing.cast(typing.Optional[builtins.str], result)
4486
+
4487
+ @builtins.property
4488
+ def version(self) -> typing.Optional[builtins.str]:
4489
+ '''Returns the version to use for the specified X12 transaction set.
4490
+
4491
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12details.html#cfn-b2bi-transformer-x12details-version
4074
4492
  '''
4075
4493
  result = self._values.get("version")
4076
4494
  return typing.cast(typing.Optional[builtins.str], result)
@@ -4086,6 +4504,184 @@ class CfnTransformer(
4086
4504
  k + "=" + repr(v) for k, v in self._values.items()
4087
4505
  )
4088
4506
 
4507
+ @jsii.data_type(
4508
+ jsii_type="aws-cdk-lib.aws_b2bi.CfnTransformer.X12ElementLengthValidationRuleProperty",
4509
+ jsii_struct_bases=[],
4510
+ name_mapping={
4511
+ "element_id": "elementId",
4512
+ "max_length": "maxLength",
4513
+ "min_length": "minLength",
4514
+ },
4515
+ )
4516
+ class X12ElementLengthValidationRuleProperty:
4517
+ def __init__(
4518
+ self,
4519
+ *,
4520
+ element_id: builtins.str,
4521
+ max_length: jsii.Number,
4522
+ min_length: jsii.Number,
4523
+ ) -> None:
4524
+ '''Defines a validation rule that specifies custom length constraints for a specific X12 element.
4525
+
4526
+ 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.
4527
+
4528
+ :param element_id: 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.
4529
+ :param max_length: Specifies the maximum allowed length for the identified element. This value defines the upper limit for the element's content length.
4530
+ :param min_length: Specifies the minimum required length for the identified element. This value defines the lower limit for the element's content length.
4531
+
4532
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12elementlengthvalidationrule.html
4533
+ :exampleMetadata: fixture=_generated
4534
+
4535
+ Example::
4536
+
4537
+ # The code below shows an example of how to instantiate this type.
4538
+ # The values are placeholders you should change.
4539
+ from aws_cdk import aws_b2bi as b2bi
4540
+
4541
+ x12_element_length_validation_rule_property = b2bi.CfnTransformer.X12ElementLengthValidationRuleProperty(
4542
+ element_id="elementId",
4543
+ max_length=123,
4544
+ min_length=123
4545
+ )
4546
+ '''
4547
+ if __debug__:
4548
+ type_hints = typing.get_type_hints(_typecheckingstub__72c63a128e248c7d4c6f89fa17885156ba472036c367fb1554413409d5bd58db)
4549
+ check_type(argname="argument element_id", value=element_id, expected_type=type_hints["element_id"])
4550
+ check_type(argname="argument max_length", value=max_length, expected_type=type_hints["max_length"])
4551
+ check_type(argname="argument min_length", value=min_length, expected_type=type_hints["min_length"])
4552
+ self._values: typing.Dict[builtins.str, typing.Any] = {
4553
+ "element_id": element_id,
4554
+ "max_length": max_length,
4555
+ "min_length": min_length,
4556
+ }
4557
+
4558
+ @builtins.property
4559
+ def element_id(self) -> builtins.str:
4560
+ '''Specifies the four-digit element ID to which the length constraints will be applied.
4561
+
4562
+ This identifies which X12 element will have its length requirements modified.
4563
+
4564
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12elementlengthvalidationrule.html#cfn-b2bi-transformer-x12elementlengthvalidationrule-elementid
4565
+ '''
4566
+ result = self._values.get("element_id")
4567
+ assert result is not None, "Required property 'element_id' is missing"
4568
+ return typing.cast(builtins.str, result)
4569
+
4570
+ @builtins.property
4571
+ def max_length(self) -> jsii.Number:
4572
+ '''Specifies the maximum allowed length for the identified element.
4573
+
4574
+ This value defines the upper limit for the element's content length.
4575
+
4576
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12elementlengthvalidationrule.html#cfn-b2bi-transformer-x12elementlengthvalidationrule-maxlength
4577
+ '''
4578
+ result = self._values.get("max_length")
4579
+ assert result is not None, "Required property 'max_length' is missing"
4580
+ return typing.cast(jsii.Number, result)
4581
+
4582
+ @builtins.property
4583
+ def min_length(self) -> jsii.Number:
4584
+ '''Specifies the minimum required length for the identified element.
4585
+
4586
+ This value defines the lower limit for the element's content length.
4587
+
4588
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12elementlengthvalidationrule.html#cfn-b2bi-transformer-x12elementlengthvalidationrule-minlength
4589
+ '''
4590
+ result = self._values.get("min_length")
4591
+ assert result is not None, "Required property 'min_length' is missing"
4592
+ return typing.cast(jsii.Number, result)
4593
+
4594
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
4595
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
4596
+
4597
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
4598
+ return not (rhs == self)
4599
+
4600
+ def __repr__(self) -> str:
4601
+ return "X12ElementLengthValidationRuleProperty(%s)" % ", ".join(
4602
+ k + "=" + repr(v) for k, v in self._values.items()
4603
+ )
4604
+
4605
+ @jsii.data_type(
4606
+ jsii_type="aws-cdk-lib.aws_b2bi.CfnTransformer.X12ElementRequirementValidationRuleProperty",
4607
+ jsii_struct_bases=[],
4608
+ name_mapping={
4609
+ "element_position": "elementPosition",
4610
+ "requirement": "requirement",
4611
+ },
4612
+ )
4613
+ class X12ElementRequirementValidationRuleProperty:
4614
+ def __init__(
4615
+ self,
4616
+ *,
4617
+ element_position: builtins.str,
4618
+ requirement: builtins.str,
4619
+ ) -> None:
4620
+ '''Defines a validation rule that modifies the requirement status of a specific X12 element within a segment.
4621
+
4622
+ 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.
4623
+
4624
+ :param element_position: 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).
4625
+ :param 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).
4626
+
4627
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12elementrequirementvalidationrule.html
4628
+ :exampleMetadata: fixture=_generated
4629
+
4630
+ Example::
4631
+
4632
+ # The code below shows an example of how to instantiate this type.
4633
+ # The values are placeholders you should change.
4634
+ from aws_cdk import aws_b2bi as b2bi
4635
+
4636
+ x12_element_requirement_validation_rule_property = b2bi.CfnTransformer.X12ElementRequirementValidationRuleProperty(
4637
+ element_position="elementPosition",
4638
+ requirement="requirement"
4639
+ )
4640
+ '''
4641
+ if __debug__:
4642
+ type_hints = typing.get_type_hints(_typecheckingstub__ba1e9be09bdff1beaa9be9fc2d4d3415f08bedf6d9c3ec96e9401508b7263a35)
4643
+ check_type(argname="argument element_position", value=element_position, expected_type=type_hints["element_position"])
4644
+ check_type(argname="argument requirement", value=requirement, expected_type=type_hints["requirement"])
4645
+ self._values: typing.Dict[builtins.str, typing.Any] = {
4646
+ "element_position": element_position,
4647
+ "requirement": requirement,
4648
+ }
4649
+
4650
+ @builtins.property
4651
+ def element_position(self) -> builtins.str:
4652
+ '''Specifies the position of the element within an X12 segment for which the requirement status will be modified.
4653
+
4654
+ The format follows the pattern of segment identifier followed by element position (e.g., "ST-01" for the first element of the ST segment).
4655
+
4656
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12elementrequirementvalidationrule.html#cfn-b2bi-transformer-x12elementrequirementvalidationrule-elementposition
4657
+ '''
4658
+ result = self._values.get("element_position")
4659
+ assert result is not None, "Required property 'element_position' is missing"
4660
+ return typing.cast(builtins.str, result)
4661
+
4662
+ @builtins.property
4663
+ def requirement(self) -> builtins.str:
4664
+ '''Specifies the requirement status for the element at the specified position.
4665
+
4666
+ Valid values are OPTIONAL (the element may be omitted) or MANDATORY (the element must be present).
4667
+
4668
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12elementrequirementvalidationrule.html#cfn-b2bi-transformer-x12elementrequirementvalidationrule-requirement
4669
+ '''
4670
+ result = self._values.get("requirement")
4671
+ assert result is not None, "Required property 'requirement' is missing"
4672
+ return typing.cast(builtins.str, result)
4673
+
4674
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
4675
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
4676
+
4677
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
4678
+ return not (rhs == self)
4679
+
4680
+ def __repr__(self) -> str:
4681
+ return "X12ElementRequirementValidationRuleProperty(%s)" % ", ".join(
4682
+ k + "=" + repr(v) for k, v in self._values.items()
4683
+ )
4684
+
4089
4685
  @jsii.data_type(
4090
4686
  jsii_type="aws-cdk-lib.aws_b2bi.CfnTransformer.X12SplitOptionsProperty",
4091
4687
  jsii_struct_bases=[],
@@ -4093,8 +4689,11 @@ class CfnTransformer(
4093
4689
  )
4094
4690
  class X12SplitOptionsProperty:
4095
4691
  def __init__(self, *, split_by: typing.Optional[builtins.str] = None) -> None:
4096
- '''
4097
- :param split_by:
4692
+ '''Contains options for splitting X12 EDI files into smaller units.
4693
+
4694
+ This is useful for processing large EDI files more efficiently.
4695
+
4696
+ :param split_by: Specifies the method used to split X12 EDI files. Valid values include ``TRANSACTION`` (split by individual transaction sets), or ``NONE`` (no splitting).
4098
4697
 
4099
4698
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12splitoptions.html
4100
4699
  :exampleMetadata: fixture=_generated
@@ -4118,7 +4717,10 @@ class CfnTransformer(
4118
4717
 
4119
4718
  @builtins.property
4120
4719
  def split_by(self) -> typing.Optional[builtins.str]:
4121
- '''
4720
+ '''Specifies the method used to split X12 EDI files.
4721
+
4722
+ Valid values include ``TRANSACTION`` (split by individual transaction sets), or ``NONE`` (no splitting).
4723
+
4122
4724
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12splitoptions.html#cfn-b2bi-transformer-x12splitoptions-splitby
4123
4725
  '''
4124
4726
  result = self._values.get("split_by")
@@ -4135,6 +4737,200 @@ class CfnTransformer(
4135
4737
  k + "=" + repr(v) for k, v in self._values.items()
4136
4738
  )
4137
4739
 
4740
+ @jsii.data_type(
4741
+ jsii_type="aws-cdk-lib.aws_b2bi.CfnTransformer.X12ValidationOptionsProperty",
4742
+ jsii_struct_bases=[],
4743
+ name_mapping={"validation_rules": "validationRules"},
4744
+ )
4745
+ class X12ValidationOptionsProperty:
4746
+ def __init__(
4747
+ self,
4748
+ *,
4749
+ validation_rules: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTransformer.X12ValidationRuleProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
4750
+ ) -> None:
4751
+ '''Contains configuration options for X12 EDI validation.
4752
+
4753
+ 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.
4754
+
4755
+ :param validation_rules: 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.
4756
+
4757
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12validationoptions.html
4758
+ :exampleMetadata: fixture=_generated
4759
+
4760
+ Example::
4761
+
4762
+ # The code below shows an example of how to instantiate this type.
4763
+ # The values are placeholders you should change.
4764
+ from aws_cdk import aws_b2bi as b2bi
4765
+
4766
+ x12_validation_options_property = b2bi.CfnTransformer.X12ValidationOptionsProperty(
4767
+ validation_rules=[b2bi.CfnTransformer.X12ValidationRuleProperty(
4768
+ code_list_validation_rule=b2bi.CfnTransformer.X12CodeListValidationRuleProperty(
4769
+ element_id="elementId",
4770
+
4771
+ # the properties below are optional
4772
+ codes_to_add=["codesToAdd"],
4773
+ codes_to_remove=["codesToRemove"]
4774
+ ),
4775
+ element_length_validation_rule=b2bi.CfnTransformer.X12ElementLengthValidationRuleProperty(
4776
+ element_id="elementId",
4777
+ max_length=123,
4778
+ min_length=123
4779
+ ),
4780
+ element_requirement_validation_rule=b2bi.CfnTransformer.X12ElementRequirementValidationRuleProperty(
4781
+ element_position="elementPosition",
4782
+ requirement="requirement"
4783
+ )
4784
+ )]
4785
+ )
4786
+ '''
4787
+ if __debug__:
4788
+ type_hints = typing.get_type_hints(_typecheckingstub__3b2db2001546ea5c18521043ed2c413bd208851812e5b62f93dea507652b0a20)
4789
+ check_type(argname="argument validation_rules", value=validation_rules, expected_type=type_hints["validation_rules"])
4790
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
4791
+ if validation_rules is not None:
4792
+ self._values["validation_rules"] = validation_rules
4793
+
4794
+ @builtins.property
4795
+ def validation_rules(
4796
+ self,
4797
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnTransformer.X12ValidationRuleProperty"]]]]:
4798
+ '''Specifies a list of validation rules to apply during EDI document processing.
4799
+
4800
+ These rules can include code list modifications, element length constraints, and element requirement changes.
4801
+
4802
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12validationoptions.html#cfn-b2bi-transformer-x12validationoptions-validationrules
4803
+ '''
4804
+ result = self._values.get("validation_rules")
4805
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnTransformer.X12ValidationRuleProperty"]]]], result)
4806
+
4807
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
4808
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
4809
+
4810
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
4811
+ return not (rhs == self)
4812
+
4813
+ def __repr__(self) -> str:
4814
+ return "X12ValidationOptionsProperty(%s)" % ", ".join(
4815
+ k + "=" + repr(v) for k, v in self._values.items()
4816
+ )
4817
+
4818
+ @jsii.data_type(
4819
+ jsii_type="aws-cdk-lib.aws_b2bi.CfnTransformer.X12ValidationRuleProperty",
4820
+ jsii_struct_bases=[],
4821
+ name_mapping={
4822
+ "code_list_validation_rule": "codeListValidationRule",
4823
+ "element_length_validation_rule": "elementLengthValidationRule",
4824
+ "element_requirement_validation_rule": "elementRequirementValidationRule",
4825
+ },
4826
+ )
4827
+ class X12ValidationRuleProperty:
4828
+ def __init__(
4829
+ self,
4830
+ *,
4831
+ code_list_validation_rule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTransformer.X12CodeListValidationRuleProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
4832
+ element_length_validation_rule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTransformer.X12ElementLengthValidationRuleProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
4833
+ element_requirement_validation_rule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTransformer.X12ElementRequirementValidationRuleProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
4834
+ ) -> None:
4835
+ '''Represents a single validation rule that can be applied during X12 EDI processing.
4836
+
4837
+ This is a union type that can contain one of several specific validation rule types: code list validation rules for modifying allowed element codes, element length validation rules for enforcing custom length constraints, or element requirement validation rules for changing mandatory/optional status. Each validation rule targets specific aspects of EDI document validation to ensure compliance with trading partner requirements and business rules.
4838
+
4839
+ :param code_list_validation_rule: Specifies a code list validation rule that modifies the allowed code values for a specific X12 element. This rule enables you to customize which codes are considered valid for an element, allowing for trading partner-specific code requirements.
4840
+ :param element_length_validation_rule: Specifies an element length validation rule that defines custom length constraints for a specific X12 element. This rule allows you to enforce minimum and maximum length requirements that may differ from the standard X12 specification.
4841
+ :param element_requirement_validation_rule: Specifies an element requirement validation rule that modifies whether a specific X12 element is required or optional within a segment. This rule provides flexibility to accommodate different trading partner requirements for element presence.
4842
+
4843
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12validationrule.html
4844
+ :exampleMetadata: fixture=_generated
4845
+
4846
+ Example::
4847
+
4848
+ # The code below shows an example of how to instantiate this type.
4849
+ # The values are placeholders you should change.
4850
+ from aws_cdk import aws_b2bi as b2bi
4851
+
4852
+ x12_validation_rule_property = b2bi.CfnTransformer.X12ValidationRuleProperty(
4853
+ code_list_validation_rule=b2bi.CfnTransformer.X12CodeListValidationRuleProperty(
4854
+ element_id="elementId",
4855
+
4856
+ # the properties below are optional
4857
+ codes_to_add=["codesToAdd"],
4858
+ codes_to_remove=["codesToRemove"]
4859
+ ),
4860
+ element_length_validation_rule=b2bi.CfnTransformer.X12ElementLengthValidationRuleProperty(
4861
+ element_id="elementId",
4862
+ max_length=123,
4863
+ min_length=123
4864
+ ),
4865
+ element_requirement_validation_rule=b2bi.CfnTransformer.X12ElementRequirementValidationRuleProperty(
4866
+ element_position="elementPosition",
4867
+ requirement="requirement"
4868
+ )
4869
+ )
4870
+ '''
4871
+ if __debug__:
4872
+ type_hints = typing.get_type_hints(_typecheckingstub__b7a900e7e6c6c112b85cca6ec6d959dce99dd4b93c53e0342e0db78808abaa6a)
4873
+ check_type(argname="argument code_list_validation_rule", value=code_list_validation_rule, expected_type=type_hints["code_list_validation_rule"])
4874
+ check_type(argname="argument element_length_validation_rule", value=element_length_validation_rule, expected_type=type_hints["element_length_validation_rule"])
4875
+ check_type(argname="argument element_requirement_validation_rule", value=element_requirement_validation_rule, expected_type=type_hints["element_requirement_validation_rule"])
4876
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
4877
+ if code_list_validation_rule is not None:
4878
+ self._values["code_list_validation_rule"] = code_list_validation_rule
4879
+ if element_length_validation_rule is not None:
4880
+ self._values["element_length_validation_rule"] = element_length_validation_rule
4881
+ if element_requirement_validation_rule is not None:
4882
+ self._values["element_requirement_validation_rule"] = element_requirement_validation_rule
4883
+
4884
+ @builtins.property
4885
+ def code_list_validation_rule(
4886
+ self,
4887
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.X12CodeListValidationRuleProperty"]]:
4888
+ '''Specifies a code list validation rule that modifies the allowed code values for a specific X12 element.
4889
+
4890
+ This rule enables you to customize which codes are considered valid for an element, allowing for trading partner-specific code requirements.
4891
+
4892
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12validationrule.html#cfn-b2bi-transformer-x12validationrule-codelistvalidationrule
4893
+ '''
4894
+ result = self._values.get("code_list_validation_rule")
4895
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.X12CodeListValidationRuleProperty"]], result)
4896
+
4897
+ @builtins.property
4898
+ def element_length_validation_rule(
4899
+ self,
4900
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.X12ElementLengthValidationRuleProperty"]]:
4901
+ '''Specifies an element length validation rule that defines custom length constraints for a specific X12 element.
4902
+
4903
+ This rule allows you to enforce minimum and maximum length requirements that may differ from the standard X12 specification.
4904
+
4905
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12validationrule.html#cfn-b2bi-transformer-x12validationrule-elementlengthvalidationrule
4906
+ '''
4907
+ result = self._values.get("element_length_validation_rule")
4908
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.X12ElementLengthValidationRuleProperty"]], result)
4909
+
4910
+ @builtins.property
4911
+ def element_requirement_validation_rule(
4912
+ self,
4913
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.X12ElementRequirementValidationRuleProperty"]]:
4914
+ '''Specifies an element requirement validation rule that modifies whether a specific X12 element is required or optional within a segment.
4915
+
4916
+ This rule provides flexibility to accommodate different trading partner requirements for element presence.
4917
+
4918
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12validationrule.html#cfn-b2bi-transformer-x12validationrule-elementrequirementvalidationrule
4919
+ '''
4920
+ result = self._values.get("element_requirement_validation_rule")
4921
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.X12ElementRequirementValidationRuleProperty"]], result)
4922
+
4923
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
4924
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
4925
+
4926
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
4927
+ return not (rhs == self)
4928
+
4929
+ def __repr__(self) -> str:
4930
+ return "X12ValidationRuleProperty(%s)" % ", ".join(
4931
+ k + "=" + repr(v) for k, v in self._values.items()
4932
+ )
4933
+
4138
4934
 
4139
4935
  @jsii.data_type(
4140
4936
  jsii_type="aws-cdk-lib.aws_b2bi.CfnTransformerProps",
@@ -4212,6 +5008,26 @@ class CfnTransformerProps:
4212
5008
  x12=b2bi.CfnTransformer.X12AdvancedOptionsProperty(
4213
5009
  split_options=b2bi.CfnTransformer.X12SplitOptionsProperty(
4214
5010
  split_by="splitBy"
5011
+ ),
5012
+ validation_options=b2bi.CfnTransformer.X12ValidationOptionsProperty(
5013
+ validation_rules=[b2bi.CfnTransformer.X12ValidationRuleProperty(
5014
+ code_list_validation_rule=b2bi.CfnTransformer.X12CodeListValidationRuleProperty(
5015
+ element_id="elementId",
5016
+
5017
+ # the properties below are optional
5018
+ codes_to_add=["codesToAdd"],
5019
+ codes_to_remove=["codesToRemove"]
5020
+ ),
5021
+ element_length_validation_rule=b2bi.CfnTransformer.X12ElementLengthValidationRuleProperty(
5022
+ element_id="elementId",
5023
+ max_length=123,
5024
+ min_length=123
5025
+ ),
5026
+ element_requirement_validation_rule=b2bi.CfnTransformer.X12ElementRequirementValidationRuleProperty(
5027
+ element_position="elementPosition",
5028
+ requirement="requirement"
5029
+ )
5030
+ )]
4215
5031
  )
4216
5032
  )
4217
5033
  ),
@@ -4233,6 +5049,33 @@ class CfnTransformerProps:
4233
5049
  to_format="toFormat",
4234
5050
 
4235
5051
  # the properties below are optional
5052
+ advanced_options=b2bi.CfnTransformer.AdvancedOptionsProperty(
5053
+ x12=b2bi.CfnTransformer.X12AdvancedOptionsProperty(
5054
+ split_options=b2bi.CfnTransformer.X12SplitOptionsProperty(
5055
+ split_by="splitBy"
5056
+ ),
5057
+ validation_options=b2bi.CfnTransformer.X12ValidationOptionsProperty(
5058
+ validation_rules=[b2bi.CfnTransformer.X12ValidationRuleProperty(
5059
+ code_list_validation_rule=b2bi.CfnTransformer.X12CodeListValidationRuleProperty(
5060
+ element_id="elementId",
5061
+
5062
+ # the properties below are optional
5063
+ codes_to_add=["codesToAdd"],
5064
+ codes_to_remove=["codesToRemove"]
5065
+ ),
5066
+ element_length_validation_rule=b2bi.CfnTransformer.X12ElementLengthValidationRuleProperty(
5067
+ element_id="elementId",
5068
+ max_length=123,
5069
+ min_length=123
5070
+ ),
5071
+ element_requirement_validation_rule=b2bi.CfnTransformer.X12ElementRequirementValidationRuleProperty(
5072
+ element_position="elementPosition",
5073
+ requirement="requirement"
5074
+ )
5075
+ )]
5076
+ )
5077
+ )
5078
+ ),
4236
5079
  format_options=b2bi.CfnTransformer.FormatOptionsProperty(
4237
5080
  x12=b2bi.CfnTransformer.X12DetailsProperty(
4238
5081
  transaction_set="transactionSet",
@@ -4951,6 +5794,7 @@ def _typecheckingstub__0ab01eed6892d54284d211380c1147d43f8287b1d284d94cfbe020e47
4951
5794
  def _typecheckingstub__dba363199b2c0b97d3ba296b1d26754261d2515646da5bce6b98f57eff2c1d59(
4952
5795
  *,
4953
5796
  to_format: builtins.str,
5797
+ advanced_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.AdvancedOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4954
5798
  format_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.FormatOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4955
5799
  ) -> None:
4956
5800
  """Type checking stubs"""
@@ -4975,6 +5819,16 @@ def _typecheckingstub__f6b7e60975e30fa176cbce1116829b7ea73143bc6b12e63afdd39fa25
4975
5819
  def _typecheckingstub__0d6cdec7bccb6d811748cbb3f28ec5b4408f4496a924455516c3f90fd268b81c(
4976
5820
  *,
4977
5821
  split_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.X12SplitOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
5822
+ validation_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.X12ValidationOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
5823
+ ) -> None:
5824
+ """Type checking stubs"""
5825
+ pass
5826
+
5827
+ def _typecheckingstub__c48f4b592271b72cef344b116f613ef8b316e53a42f875bfedd39b7997f45efe(
5828
+ *,
5829
+ element_id: builtins.str,
5830
+ codes_to_add: typing.Optional[typing.Sequence[builtins.str]] = None,
5831
+ codes_to_remove: typing.Optional[typing.Sequence[builtins.str]] = None,
4978
5832
  ) -> None:
4979
5833
  """Type checking stubs"""
4980
5834
  pass
@@ -4987,6 +5841,23 @@ def _typecheckingstub__6c52ecd7c7c399e4bebfaf5bf8793e65928fdad0c0133ff1ce55c0568
4987
5841
  """Type checking stubs"""
4988
5842
  pass
4989
5843
 
5844
+ def _typecheckingstub__72c63a128e248c7d4c6f89fa17885156ba472036c367fb1554413409d5bd58db(
5845
+ *,
5846
+ element_id: builtins.str,
5847
+ max_length: jsii.Number,
5848
+ min_length: jsii.Number,
5849
+ ) -> None:
5850
+ """Type checking stubs"""
5851
+ pass
5852
+
5853
+ def _typecheckingstub__ba1e9be09bdff1beaa9be9fc2d4d3415f08bedf6d9c3ec96e9401508b7263a35(
5854
+ *,
5855
+ element_position: builtins.str,
5856
+ requirement: builtins.str,
5857
+ ) -> None:
5858
+ """Type checking stubs"""
5859
+ pass
5860
+
4990
5861
  def _typecheckingstub__8eda5d523e00df1c59382ff9b447e68e4b9960ae993e8a6bceb3337c0646dede(
4991
5862
  *,
4992
5863
  split_by: typing.Optional[builtins.str] = None,
@@ -4994,6 +5865,22 @@ def _typecheckingstub__8eda5d523e00df1c59382ff9b447e68e4b9960ae993e8a6bceb3337c0
4994
5865
  """Type checking stubs"""
4995
5866
  pass
4996
5867
 
5868
+ def _typecheckingstub__3b2db2001546ea5c18521043ed2c413bd208851812e5b62f93dea507652b0a20(
5869
+ *,
5870
+ validation_rules: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.X12ValidationRuleProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
5871
+ ) -> None:
5872
+ """Type checking stubs"""
5873
+ pass
5874
+
5875
+ def _typecheckingstub__b7a900e7e6c6c112b85cca6ec6d959dce99dd4b93c53e0342e0db78808abaa6a(
5876
+ *,
5877
+ code_list_validation_rule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.X12CodeListValidationRuleProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
5878
+ element_length_validation_rule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.X12ElementLengthValidationRuleProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
5879
+ element_requirement_validation_rule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.X12ElementRequirementValidationRuleProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
5880
+ ) -> None:
5881
+ """Type checking stubs"""
5882
+ pass
5883
+
4997
5884
  def _typecheckingstub__69e342f03b6075725a81423ccb4db79ba04bb935c9a3fd129f49fd2954e7cc21(
4998
5885
  *,
4999
5886
  name: builtins.str,