aws-cdk-lib 2.160.0__py3-none-any.whl → 2.161.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 (51) hide show
  1. aws_cdk/__init__.py +21 -14
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.160.0.jsii.tgz → aws-cdk-lib@2.161.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigatewayv2/__init__.py +13 -14
  5. aws_cdk/aws_autoscaling/__init__.py +2 -2
  6. aws_cdk/aws_b2bi/__init__.py +2283 -672
  7. aws_cdk/aws_batch/__init__.py +9 -5
  8. aws_cdk/aws_bedrock/__init__.py +52 -20
  9. aws_cdk/aws_cloudformation/__init__.py +9 -9
  10. aws_cdk/aws_cloudtrail/__init__.py +97 -183
  11. aws_cdk/aws_cloudwatch/__init__.py +38 -42
  12. aws_cdk/aws_datasync/__init__.py +1 -1
  13. aws_cdk/aws_ec2/__init__.py +114 -8
  14. aws_cdk/aws_ecs/__init__.py +513 -2
  15. aws_cdk/aws_eks/__init__.py +118 -2
  16. aws_cdk/aws_elasticloadbalancingv2/__init__.py +5 -3
  17. aws_cdk/aws_glue/__init__.py +386 -0
  18. aws_cdk/aws_iotfleetwise/__init__.py +49 -49
  19. aws_cdk/aws_iottwinmaker/__init__.py +4 -4
  20. aws_cdk/aws_iotwireless/__init__.py +2 -1
  21. aws_cdk/aws_kinesisfirehose/__init__.py +52 -76
  22. aws_cdk/aws_lambda/__init__.py +383 -244
  23. aws_cdk/aws_logs/__init__.py +431 -3
  24. aws_cdk/aws_mediaconnect/__init__.py +6 -4
  25. aws_cdk/aws_medialive/__init__.py +36 -0
  26. aws_cdk/aws_organizations/__init__.py +4 -3
  27. aws_cdk/aws_pipes/__init__.py +2 -2
  28. aws_cdk/aws_quicksight/__init__.py +1086 -6
  29. aws_cdk/aws_rds/__init__.py +158 -3
  30. aws_cdk/aws_route53resolver/__init__.py +3 -17
  31. aws_cdk/aws_s3/__init__.py +20 -11
  32. aws_cdk/aws_s3_deployment/__init__.py +45 -0
  33. aws_cdk/aws_s3express/__init__.py +314 -4
  34. aws_cdk/aws_sagemaker/__init__.py +44 -4
  35. aws_cdk/aws_secretsmanager/__init__.py +14 -7
  36. aws_cdk/aws_securityhub/__init__.py +16 -14
  37. aws_cdk/aws_ses/__init__.py +52 -18
  38. aws_cdk/aws_sqs/__init__.py +16 -14
  39. aws_cdk/aws_ssm/__init__.py +6 -2
  40. aws_cdk/aws_synthetics/__init__.py +46 -0
  41. aws_cdk/aws_waf/__init__.py +33 -22
  42. aws_cdk/aws_wafregional/__init__.py +36 -24
  43. aws_cdk/aws_workspacesweb/__init__.py +54 -3
  44. aws_cdk/cloudformation_include/__init__.py +28 -0
  45. aws_cdk/cx_api/__init__.py +50 -0
  46. {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/METADATA +1 -1
  47. {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/RECORD +51 -51
  48. {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/LICENSE +0 -0
  49. {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/NOTICE +0 -0
  50. {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/WHEEL +0 -0
  51. {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/top_level.txt +0 -0
@@ -116,7 +116,10 @@ class CfnCapability(
116
116
  transaction_set="transactionSet",
117
117
  version="version"
118
118
  )
119
- )
119
+ ),
120
+
121
+ # the properties below are optional
122
+ capability_direction="capabilityDirection"
120
123
  )
121
124
  ),
122
125
  name="name",
@@ -362,7 +365,10 @@ class CfnCapability(
362
365
  transaction_set="transactionSet",
363
366
  version="version"
364
367
  )
365
- )
368
+ ),
369
+
370
+ # the properties below are optional
371
+ capability_direction="capabilityDirection"
366
372
  )
367
373
  )
368
374
  '''
@@ -404,6 +410,7 @@ class CfnCapability(
404
410
  "output_location": "outputLocation",
405
411
  "transformer_id": "transformerId",
406
412
  "type": "type",
413
+ "capability_direction": "capabilityDirection",
407
414
  },
408
415
  )
409
416
  class EdiConfigurationProperty:
@@ -414,6 +421,7 @@ class CfnCapability(
414
421
  output_location: typing.Union[_IResolvable_da3f097b, typing.Union["CfnCapability.S3LocationProperty", typing.Dict[builtins.str, typing.Any]]],
415
422
  transformer_id: builtins.str,
416
423
  type: typing.Union[_IResolvable_da3f097b, typing.Union["CfnCapability.EdiTypeProperty", typing.Dict[builtins.str, typing.Any]]],
424
+ capability_direction: typing.Optional[builtins.str] = None,
417
425
  ) -> None:
418
426
  '''Specifies the details for the EDI (electronic data interchange) transformation.
419
427
 
@@ -421,6 +429,7 @@ class CfnCapability(
421
429
  :param output_location: Contains the Amazon S3 bucket and prefix for the location of the output file, which is contained in an ``S3Location`` object.
422
430
  :param transformer_id: Returns the system-assigned unique identifier for the transformer.
423
431
  :param type: Returns the type of the capability. Currently, only ``edi`` is supported.
432
+ :param capability_direction:
424
433
 
425
434
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-capability-ediconfiguration.html
426
435
  :exampleMetadata: fixture=_generated
@@ -446,7 +455,10 @@ class CfnCapability(
446
455
  transaction_set="transactionSet",
447
456
  version="version"
448
457
  )
449
- )
458
+ ),
459
+
460
+ # the properties below are optional
461
+ capability_direction="capabilityDirection"
450
462
  )
451
463
  '''
452
464
  if __debug__:
@@ -455,12 +467,15 @@ class CfnCapability(
455
467
  check_type(argname="argument output_location", value=output_location, expected_type=type_hints["output_location"])
456
468
  check_type(argname="argument transformer_id", value=transformer_id, expected_type=type_hints["transformer_id"])
457
469
  check_type(argname="argument type", value=type, expected_type=type_hints["type"])
470
+ check_type(argname="argument capability_direction", value=capability_direction, expected_type=type_hints["capability_direction"])
458
471
  self._values: typing.Dict[builtins.str, typing.Any] = {
459
472
  "input_location": input_location,
460
473
  "output_location": output_location,
461
474
  "transformer_id": transformer_id,
462
475
  "type": type,
463
476
  }
477
+ if capability_direction is not None:
478
+ self._values["capability_direction"] = capability_direction
464
479
 
465
480
  @builtins.property
466
481
  def input_location(
@@ -510,6 +525,14 @@ class CfnCapability(
510
525
  assert result is not None, "Required property 'type' is missing"
511
526
  return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnCapability.EdiTypeProperty"], result)
512
527
 
528
+ @builtins.property
529
+ def capability_direction(self) -> typing.Optional[builtins.str]:
530
+ '''
531
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-capability-ediconfiguration.html#cfn-b2bi-capability-ediconfiguration-capabilitydirection
532
+ '''
533
+ result = self._values.get("capability_direction")
534
+ return typing.cast(typing.Optional[builtins.str], result)
535
+
513
536
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
514
537
  return isinstance(rhs, self.__class__) and rhs._values == self._values
515
538
 
@@ -785,7 +808,10 @@ class CfnCapabilityProps:
785
808
  transaction_set="transactionSet",
786
809
  version="version"
787
810
  )
788
- )
811
+ ),
812
+
813
+ # the properties below are optional
814
+ capability_direction="capabilityDirection"
789
815
  )
790
816
  ),
791
817
  name="name",
@@ -910,12 +936,40 @@ class CfnPartnership(
910
936
  from aws_cdk import aws_b2bi as b2bi
911
937
 
912
938
  cfn_partnership = b2bi.CfnPartnership(self, "MyCfnPartnership",
939
+ capabilities=["capabilities"],
913
940
  email="email",
914
941
  name="name",
915
942
  profile_id="profileId",
916
943
 
917
944
  # the properties below are optional
918
- capabilities=["capabilities"],
945
+ capability_options=b2bi.CfnPartnership.CapabilityOptionsProperty(
946
+ outbound_edi=b2bi.CfnPartnership.OutboundEdiOptionsProperty(
947
+ x12=b2bi.CfnPartnership.X12EnvelopeProperty(
948
+ common=b2bi.CfnPartnership.X12OutboundEdiHeadersProperty(
949
+ delimiters=b2bi.CfnPartnership.X12DelimitersProperty(
950
+ component_separator="componentSeparator",
951
+ data_element_separator="dataElementSeparator",
952
+ segment_terminator="segmentTerminator"
953
+ ),
954
+ functional_group_headers=b2bi.CfnPartnership.X12FunctionalGroupHeadersProperty(
955
+ application_receiver_code="applicationReceiverCode",
956
+ application_sender_code="applicationSenderCode",
957
+ responsible_agency_code="responsibleAgencyCode"
958
+ ),
959
+ interchange_control_headers=b2bi.CfnPartnership.X12InterchangeControlHeadersProperty(
960
+ acknowledgment_requested_code="acknowledgmentRequestedCode",
961
+ receiver_id="receiverId",
962
+ receiver_id_qualifier="receiverIdQualifier",
963
+ repetition_separator="repetitionSeparator",
964
+ sender_id="senderId",
965
+ sender_id_qualifier="senderIdQualifier",
966
+ usage_indicator_code="usageIndicatorCode"
967
+ ),
968
+ validate_edi=False
969
+ )
970
+ )
971
+ )
972
+ ),
919
973
  phone="phone",
920
974
  tags=[CfnTag(
921
975
  key="key",
@@ -929,20 +983,22 @@ class CfnPartnership(
929
983
  scope: _constructs_77d1e7e8.Construct,
930
984
  id: builtins.str,
931
985
  *,
986
+ capabilities: typing.Sequence[builtins.str],
932
987
  email: builtins.str,
933
988
  name: builtins.str,
934
989
  profile_id: builtins.str,
935
- capabilities: typing.Optional[typing.Sequence[builtins.str]] = None,
990
+ capability_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPartnership.CapabilityOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
936
991
  phone: typing.Optional[builtins.str] = None,
937
992
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
938
993
  ) -> None:
939
994
  '''
940
995
  :param scope: Scope in which this resource is defined.
941
996
  :param id: Construct identifier for this resource (unique in its scope).
997
+ :param capabilities: Returns one or more capabilities associated with this partnership.
942
998
  :param email:
943
999
  :param name: Returns the name of the partnership.
944
1000
  :param profile_id: Returns the unique, system-generated identifier for the profile connected to this partnership.
945
- :param capabilities: Returns one or more capabilities associated with this partnership.
1001
+ :param capability_options:
946
1002
  :param phone:
947
1003
  :param tags: A key-value pair for a specific partnership. Tags are metadata that you can use to search for and group capabilities for various purposes.
948
1004
  '''
@@ -951,10 +1007,11 @@ class CfnPartnership(
951
1007
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
952
1008
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
953
1009
  props = CfnPartnershipProps(
1010
+ capabilities=capabilities,
954
1011
  email=email,
955
1012
  name=name,
956
1013
  profile_id=profile_id,
957
- capabilities=capabilities,
1014
+ capability_options=capability_options,
958
1015
  phone=phone,
959
1016
  tags=tags,
960
1017
  )
@@ -1047,6 +1104,19 @@ class CfnPartnership(
1047
1104
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
1048
1105
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
1049
1106
 
1107
+ @builtins.property
1108
+ @jsii.member(jsii_name="capabilities")
1109
+ def capabilities(self) -> typing.List[builtins.str]:
1110
+ '''Returns one or more capabilities associated with this partnership.'''
1111
+ return typing.cast(typing.List[builtins.str], jsii.get(self, "capabilities"))
1112
+
1113
+ @capabilities.setter
1114
+ def capabilities(self, value: typing.List[builtins.str]) -> None:
1115
+ if __debug__:
1116
+ type_hints = typing.get_type_hints(_typecheckingstub__0980f94d13e92ad52bd4f6a10906045804439d25bf3126b627f3a97eb79eb594)
1117
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1118
+ jsii.set(self, "capabilities", value) # pyright: ignore[reportArgumentType]
1119
+
1050
1120
  @builtins.property
1051
1121
  @jsii.member(jsii_name="email")
1052
1122
  def email(self) -> builtins.str:
@@ -1086,17 +1156,21 @@ class CfnPartnership(
1086
1156
  jsii.set(self, "profileId", value) # pyright: ignore[reportArgumentType]
1087
1157
 
1088
1158
  @builtins.property
1089
- @jsii.member(jsii_name="capabilities")
1090
- def capabilities(self) -> typing.Optional[typing.List[builtins.str]]:
1091
- '''Returns one or more capabilities associated with this partnership.'''
1092
- return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "capabilities"))
1159
+ @jsii.member(jsii_name="capabilityOptions")
1160
+ def capability_options(
1161
+ self,
1162
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPartnership.CapabilityOptionsProperty"]]:
1163
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPartnership.CapabilityOptionsProperty"]], jsii.get(self, "capabilityOptions"))
1093
1164
 
1094
- @capabilities.setter
1095
- def capabilities(self, value: typing.Optional[typing.List[builtins.str]]) -> None:
1165
+ @capability_options.setter
1166
+ def capability_options(
1167
+ self,
1168
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPartnership.CapabilityOptionsProperty"]],
1169
+ ) -> None:
1096
1170
  if __debug__:
1097
- type_hints = typing.get_type_hints(_typecheckingstub__0980f94d13e92ad52bd4f6a10906045804439d25bf3126b627f3a97eb79eb594)
1171
+ type_hints = typing.get_type_hints(_typecheckingstub__d35bf90164602b28a7873c9bbcf2cebf61f26952d369e2a905926b650b1a22e9)
1098
1172
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1099
- jsii.set(self, "capabilities", value) # pyright: ignore[reportArgumentType]
1173
+ jsii.set(self, "capabilityOptions", value) # pyright: ignore[reportArgumentType]
1100
1174
 
1101
1175
  @builtins.property
1102
1176
  @jsii.member(jsii_name="phone")
@@ -1123,163 +1197,1259 @@ class CfnPartnership(
1123
1197
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1124
1198
  jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
1125
1199
 
1200
+ @jsii.data_type(
1201
+ jsii_type="aws-cdk-lib.aws_b2bi.CfnPartnership.CapabilityOptionsProperty",
1202
+ jsii_struct_bases=[],
1203
+ name_mapping={"outbound_edi": "outboundEdi"},
1204
+ )
1205
+ class CapabilityOptionsProperty:
1206
+ def __init__(
1207
+ self,
1208
+ *,
1209
+ outbound_edi: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPartnership.OutboundEdiOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1210
+ ) -> None:
1211
+ '''
1212
+ :param outbound_edi:
1126
1213
 
1127
- @jsii.data_type(
1128
- jsii_type="aws-cdk-lib.aws_b2bi.CfnPartnershipProps",
1129
- jsii_struct_bases=[],
1130
- name_mapping={
1131
- "email": "email",
1132
- "name": "name",
1133
- "profile_id": "profileId",
1134
- "capabilities": "capabilities",
1135
- "phone": "phone",
1136
- "tags": "tags",
1137
- },
1138
- )
1139
- class CfnPartnershipProps:
1140
- def __init__(
1141
- self,
1142
- *,
1143
- email: builtins.str,
1144
- name: builtins.str,
1145
- profile_id: builtins.str,
1146
- capabilities: typing.Optional[typing.Sequence[builtins.str]] = None,
1147
- phone: typing.Optional[builtins.str] = None,
1148
- tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1149
- ) -> None:
1150
- '''Properties for defining a ``CfnPartnership``.
1214
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-capabilityoptions.html
1215
+ :exampleMetadata: fixture=_generated
1151
1216
 
1152
- :param email:
1153
- :param name: Returns the name of the partnership.
1154
- :param profile_id: Returns the unique, system-generated identifier for the profile connected to this partnership.
1155
- :param capabilities: Returns one or more capabilities associated with this partnership.
1156
- :param phone:
1157
- :param tags: A key-value pair for a specific partnership. Tags are metadata that you can use to search for and group capabilities for various purposes.
1217
+ Example::
1158
1218
 
1159
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-partnership.html
1160
- :exampleMetadata: fixture=_generated
1219
+ # The code below shows an example of how to instantiate this type.
1220
+ # The values are placeholders you should change.
1221
+ from aws_cdk import aws_b2bi as b2bi
1222
+
1223
+ capability_options_property = b2bi.CfnPartnership.CapabilityOptionsProperty(
1224
+ outbound_edi=b2bi.CfnPartnership.OutboundEdiOptionsProperty(
1225
+ x12=b2bi.CfnPartnership.X12EnvelopeProperty(
1226
+ common=b2bi.CfnPartnership.X12OutboundEdiHeadersProperty(
1227
+ delimiters=b2bi.CfnPartnership.X12DelimitersProperty(
1228
+ component_separator="componentSeparator",
1229
+ data_element_separator="dataElementSeparator",
1230
+ segment_terminator="segmentTerminator"
1231
+ ),
1232
+ functional_group_headers=b2bi.CfnPartnership.X12FunctionalGroupHeadersProperty(
1233
+ application_receiver_code="applicationReceiverCode",
1234
+ application_sender_code="applicationSenderCode",
1235
+ responsible_agency_code="responsibleAgencyCode"
1236
+ ),
1237
+ interchange_control_headers=b2bi.CfnPartnership.X12InterchangeControlHeadersProperty(
1238
+ acknowledgment_requested_code="acknowledgmentRequestedCode",
1239
+ receiver_id="receiverId",
1240
+ receiver_id_qualifier="receiverIdQualifier",
1241
+ repetition_separator="repetitionSeparator",
1242
+ sender_id="senderId",
1243
+ sender_id_qualifier="senderIdQualifier",
1244
+ usage_indicator_code="usageIndicatorCode"
1245
+ ),
1246
+ validate_edi=False
1247
+ )
1248
+ )
1249
+ )
1250
+ )
1251
+ '''
1252
+ if __debug__:
1253
+ type_hints = typing.get_type_hints(_typecheckingstub__489c8d62d1ea0d603790b535b3f02b6d30eee2c7a02cd1b1d2a497a7f9f54c2b)
1254
+ check_type(argname="argument outbound_edi", value=outbound_edi, expected_type=type_hints["outbound_edi"])
1255
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
1256
+ if outbound_edi is not None:
1257
+ self._values["outbound_edi"] = outbound_edi
1161
1258
 
1162
- Example::
1259
+ @builtins.property
1260
+ def outbound_edi(
1261
+ self,
1262
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPartnership.OutboundEdiOptionsProperty"]]:
1263
+ '''
1264
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-capabilityoptions.html#cfn-b2bi-partnership-capabilityoptions-outboundedi
1265
+ '''
1266
+ result = self._values.get("outbound_edi")
1267
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPartnership.OutboundEdiOptionsProperty"]], result)
1163
1268
 
1164
- # The code below shows an example of how to instantiate this type.
1165
- # The values are placeholders you should change.
1166
- from aws_cdk import aws_b2bi as b2bi
1167
-
1168
- cfn_partnership_props = b2bi.CfnPartnershipProps(
1169
- email="email",
1170
- name="name",
1171
- profile_id="profileId",
1172
-
1173
- # the properties below are optional
1174
- capabilities=["capabilities"],
1175
- phone="phone",
1176
- tags=[CfnTag(
1177
- key="key",
1178
- value="value"
1179
- )]
1180
- )
1181
- '''
1182
- if __debug__:
1183
- type_hints = typing.get_type_hints(_typecheckingstub__18d814bec885d4c9defe3c391c4892f53df8f0ca2dd0011baaccd4959105a243)
1184
- check_type(argname="argument email", value=email, expected_type=type_hints["email"])
1185
- check_type(argname="argument name", value=name, expected_type=type_hints["name"])
1186
- check_type(argname="argument profile_id", value=profile_id, expected_type=type_hints["profile_id"])
1187
- check_type(argname="argument capabilities", value=capabilities, expected_type=type_hints["capabilities"])
1188
- check_type(argname="argument phone", value=phone, expected_type=type_hints["phone"])
1189
- check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
1190
- self._values: typing.Dict[builtins.str, typing.Any] = {
1191
- "email": email,
1192
- "name": name,
1193
- "profile_id": profile_id,
1194
- }
1195
- if capabilities is not None:
1196
- self._values["capabilities"] = capabilities
1197
- if phone is not None:
1198
- self._values["phone"] = phone
1199
- if tags is not None:
1200
- self._values["tags"] = tags
1269
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1270
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1201
1271
 
1202
- @builtins.property
1203
- def email(self) -> builtins.str:
1204
- '''
1205
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-partnership.html#cfn-b2bi-partnership-email
1206
- '''
1207
- result = self._values.get("email")
1208
- assert result is not None, "Required property 'email' is missing"
1209
- return typing.cast(builtins.str, result)
1272
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1273
+ return not (rhs == self)
1210
1274
 
1211
- @builtins.property
1212
- def name(self) -> builtins.str:
1213
- '''Returns the name of the partnership.
1275
+ def __repr__(self) -> str:
1276
+ return "CapabilityOptionsProperty(%s)" % ", ".join(
1277
+ k + "=" + repr(v) for k, v in self._values.items()
1278
+ )
1214
1279
 
1215
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-partnership.html#cfn-b2bi-partnership-name
1216
- '''
1217
- result = self._values.get("name")
1218
- assert result is not None, "Required property 'name' is missing"
1219
- return typing.cast(builtins.str, result)
1280
+ @jsii.data_type(
1281
+ jsii_type="aws-cdk-lib.aws_b2bi.CfnPartnership.OutboundEdiOptionsProperty",
1282
+ jsii_struct_bases=[],
1283
+ name_mapping={"x12": "x12"},
1284
+ )
1285
+ class OutboundEdiOptionsProperty:
1286
+ def __init__(
1287
+ self,
1288
+ *,
1289
+ x12: typing.Union[_IResolvable_da3f097b, typing.Union["CfnPartnership.X12EnvelopeProperty", typing.Dict[builtins.str, typing.Any]]],
1290
+ ) -> None:
1291
+ '''
1292
+ :param x12:
1220
1293
 
1221
- @builtins.property
1222
- def profile_id(self) -> builtins.str:
1223
- '''Returns the unique, system-generated identifier for the profile connected to this partnership.
1294
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-outboundedioptions.html
1295
+ :exampleMetadata: fixture=_generated
1224
1296
 
1225
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-partnership.html#cfn-b2bi-partnership-profileid
1226
- '''
1227
- result = self._values.get("profile_id")
1228
- assert result is not None, "Required property 'profile_id' is missing"
1229
- return typing.cast(builtins.str, result)
1297
+ Example::
1230
1298
 
1231
- @builtins.property
1232
- def capabilities(self) -> typing.Optional[typing.List[builtins.str]]:
1233
- '''Returns one or more capabilities associated with this partnership.
1299
+ # The code below shows an example of how to instantiate this type.
1300
+ # The values are placeholders you should change.
1301
+ from aws_cdk import aws_b2bi as b2bi
1302
+
1303
+ outbound_edi_options_property = b2bi.CfnPartnership.OutboundEdiOptionsProperty(
1304
+ x12=b2bi.CfnPartnership.X12EnvelopeProperty(
1305
+ common=b2bi.CfnPartnership.X12OutboundEdiHeadersProperty(
1306
+ delimiters=b2bi.CfnPartnership.X12DelimitersProperty(
1307
+ component_separator="componentSeparator",
1308
+ data_element_separator="dataElementSeparator",
1309
+ segment_terminator="segmentTerminator"
1310
+ ),
1311
+ functional_group_headers=b2bi.CfnPartnership.X12FunctionalGroupHeadersProperty(
1312
+ application_receiver_code="applicationReceiverCode",
1313
+ application_sender_code="applicationSenderCode",
1314
+ responsible_agency_code="responsibleAgencyCode"
1315
+ ),
1316
+ interchange_control_headers=b2bi.CfnPartnership.X12InterchangeControlHeadersProperty(
1317
+ acknowledgment_requested_code="acknowledgmentRequestedCode",
1318
+ receiver_id="receiverId",
1319
+ receiver_id_qualifier="receiverIdQualifier",
1320
+ repetition_separator="repetitionSeparator",
1321
+ sender_id="senderId",
1322
+ sender_id_qualifier="senderIdQualifier",
1323
+ usage_indicator_code="usageIndicatorCode"
1324
+ ),
1325
+ validate_edi=False
1326
+ )
1327
+ )
1328
+ )
1329
+ '''
1330
+ if __debug__:
1331
+ type_hints = typing.get_type_hints(_typecheckingstub__32687b2a777cf504a9e11c6386b8aa7795645f807660aecf3f5bdddf1b953268)
1332
+ check_type(argname="argument x12", value=x12, expected_type=type_hints["x12"])
1333
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1334
+ "x12": x12,
1335
+ }
1234
1336
 
1235
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-partnership.html#cfn-b2bi-partnership-capabilities
1236
- '''
1237
- result = self._values.get("capabilities")
1238
- return typing.cast(typing.Optional[typing.List[builtins.str]], result)
1337
+ @builtins.property
1338
+ def x12(
1339
+ self,
1340
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnPartnership.X12EnvelopeProperty"]:
1341
+ '''
1342
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-outboundedioptions.html#cfn-b2bi-partnership-outboundedioptions-x12
1343
+ '''
1344
+ result = self._values.get("x12")
1345
+ assert result is not None, "Required property 'x12' is missing"
1346
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnPartnership.X12EnvelopeProperty"], result)
1239
1347
 
1240
- @builtins.property
1241
- def phone(self) -> typing.Optional[builtins.str]:
1242
- '''
1243
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-partnership.html#cfn-b2bi-partnership-phone
1244
- '''
1245
- result = self._values.get("phone")
1246
- return typing.cast(typing.Optional[builtins.str], result)
1348
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1349
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1247
1350
 
1248
- @builtins.property
1249
- def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
1250
- '''A key-value pair for a specific partnership.
1351
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1352
+ return not (rhs == self)
1251
1353
 
1252
- Tags are metadata that you can use to search for and group capabilities for various purposes.
1354
+ def __repr__(self) -> str:
1355
+ return "OutboundEdiOptionsProperty(%s)" % ", ".join(
1356
+ k + "=" + repr(v) for k, v in self._values.items()
1357
+ )
1253
1358
 
1254
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-partnership.html#cfn-b2bi-partnership-tags
1255
- '''
1256
- result = self._values.get("tags")
1257
- return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
1359
+ @jsii.data_type(
1360
+ jsii_type="aws-cdk-lib.aws_b2bi.CfnPartnership.X12DelimitersProperty",
1361
+ jsii_struct_bases=[],
1362
+ name_mapping={
1363
+ "component_separator": "componentSeparator",
1364
+ "data_element_separator": "dataElementSeparator",
1365
+ "segment_terminator": "segmentTerminator",
1366
+ },
1367
+ )
1368
+ class X12DelimitersProperty:
1369
+ def __init__(
1370
+ self,
1371
+ *,
1372
+ component_separator: typing.Optional[builtins.str] = None,
1373
+ data_element_separator: typing.Optional[builtins.str] = None,
1374
+ segment_terminator: typing.Optional[builtins.str] = None,
1375
+ ) -> None:
1376
+ '''
1377
+ :param component_separator:
1378
+ :param data_element_separator:
1379
+ :param segment_terminator:
1258
1380
 
1259
- def __eq__(self, rhs: typing.Any) -> builtins.bool:
1260
- return isinstance(rhs, self.__class__) and rhs._values == self._values
1381
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12delimiters.html
1382
+ :exampleMetadata: fixture=_generated
1261
1383
 
1262
- def __ne__(self, rhs: typing.Any) -> builtins.bool:
1263
- return not (rhs == self)
1384
+ Example::
1264
1385
 
1265
- def __repr__(self) -> str:
1266
- return "CfnPartnershipProps(%s)" % ", ".join(
1267
- k + "=" + repr(v) for k, v in self._values.items()
1268
- )
1386
+ # The code below shows an example of how to instantiate this type.
1387
+ # The values are placeholders you should change.
1388
+ from aws_cdk import aws_b2bi as b2bi
1389
+
1390
+ x12_delimiters_property = b2bi.CfnPartnership.X12DelimitersProperty(
1391
+ component_separator="componentSeparator",
1392
+ data_element_separator="dataElementSeparator",
1393
+ segment_terminator="segmentTerminator"
1394
+ )
1395
+ '''
1396
+ if __debug__:
1397
+ type_hints = typing.get_type_hints(_typecheckingstub__1c64e6cc29ab2abf7a0ebb687d8309174a673c2096776d261df47c9bb5f6044b)
1398
+ check_type(argname="argument component_separator", value=component_separator, expected_type=type_hints["component_separator"])
1399
+ check_type(argname="argument data_element_separator", value=data_element_separator, expected_type=type_hints["data_element_separator"])
1400
+ check_type(argname="argument segment_terminator", value=segment_terminator, expected_type=type_hints["segment_terminator"])
1401
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
1402
+ if component_separator is not None:
1403
+ self._values["component_separator"] = component_separator
1404
+ if data_element_separator is not None:
1405
+ self._values["data_element_separator"] = data_element_separator
1406
+ if segment_terminator is not None:
1407
+ self._values["segment_terminator"] = segment_terminator
1269
1408
 
1409
+ @builtins.property
1410
+ def component_separator(self) -> typing.Optional[builtins.str]:
1411
+ '''
1412
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12delimiters.html#cfn-b2bi-partnership-x12delimiters-componentseparator
1413
+ '''
1414
+ result = self._values.get("component_separator")
1415
+ return typing.cast(typing.Optional[builtins.str], result)
1270
1416
 
1271
- @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
1272
- class CfnProfile(
1273
- _CfnResource_9df397a6,
1274
- metaclass=jsii.JSIIMeta,
1417
+ @builtins.property
1418
+ def data_element_separator(self) -> typing.Optional[builtins.str]:
1419
+ '''
1420
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12delimiters.html#cfn-b2bi-partnership-x12delimiters-dataelementseparator
1421
+ '''
1422
+ result = self._values.get("data_element_separator")
1423
+ return typing.cast(typing.Optional[builtins.str], result)
1424
+
1425
+ @builtins.property
1426
+ def segment_terminator(self) -> typing.Optional[builtins.str]:
1427
+ '''
1428
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12delimiters.html#cfn-b2bi-partnership-x12delimiters-segmentterminator
1429
+ '''
1430
+ result = self._values.get("segment_terminator")
1431
+ return typing.cast(typing.Optional[builtins.str], result)
1432
+
1433
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1434
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1435
+
1436
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1437
+ return not (rhs == self)
1438
+
1439
+ def __repr__(self) -> str:
1440
+ return "X12DelimitersProperty(%s)" % ", ".join(
1441
+ k + "=" + repr(v) for k, v in self._values.items()
1442
+ )
1443
+
1444
+ @jsii.data_type(
1445
+ jsii_type="aws-cdk-lib.aws_b2bi.CfnPartnership.X12EnvelopeProperty",
1446
+ jsii_struct_bases=[],
1447
+ name_mapping={"common": "common"},
1448
+ )
1449
+ class X12EnvelopeProperty:
1450
+ def __init__(
1451
+ self,
1452
+ *,
1453
+ common: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPartnership.X12OutboundEdiHeadersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1454
+ ) -> None:
1455
+ '''
1456
+ :param common:
1457
+
1458
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12envelope.html
1459
+ :exampleMetadata: fixture=_generated
1460
+
1461
+ Example::
1462
+
1463
+ # The code below shows an example of how to instantiate this type.
1464
+ # The values are placeholders you should change.
1465
+ from aws_cdk import aws_b2bi as b2bi
1466
+
1467
+ x12_envelope_property = b2bi.CfnPartnership.X12EnvelopeProperty(
1468
+ common=b2bi.CfnPartnership.X12OutboundEdiHeadersProperty(
1469
+ delimiters=b2bi.CfnPartnership.X12DelimitersProperty(
1470
+ component_separator="componentSeparator",
1471
+ data_element_separator="dataElementSeparator",
1472
+ segment_terminator="segmentTerminator"
1473
+ ),
1474
+ functional_group_headers=b2bi.CfnPartnership.X12FunctionalGroupHeadersProperty(
1475
+ application_receiver_code="applicationReceiverCode",
1476
+ application_sender_code="applicationSenderCode",
1477
+ responsible_agency_code="responsibleAgencyCode"
1478
+ ),
1479
+ interchange_control_headers=b2bi.CfnPartnership.X12InterchangeControlHeadersProperty(
1480
+ acknowledgment_requested_code="acknowledgmentRequestedCode",
1481
+ receiver_id="receiverId",
1482
+ receiver_id_qualifier="receiverIdQualifier",
1483
+ repetition_separator="repetitionSeparator",
1484
+ sender_id="senderId",
1485
+ sender_id_qualifier="senderIdQualifier",
1486
+ usage_indicator_code="usageIndicatorCode"
1487
+ ),
1488
+ validate_edi=False
1489
+ )
1490
+ )
1491
+ '''
1492
+ if __debug__:
1493
+ type_hints = typing.get_type_hints(_typecheckingstub__30e9a528379ffdff1b0693f52a617de66a178b919d5d3ddc1c68309cc0a86afc)
1494
+ check_type(argname="argument common", value=common, expected_type=type_hints["common"])
1495
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
1496
+ if common is not None:
1497
+ self._values["common"] = common
1498
+
1499
+ @builtins.property
1500
+ def common(
1501
+ self,
1502
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPartnership.X12OutboundEdiHeadersProperty"]]:
1503
+ '''
1504
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12envelope.html#cfn-b2bi-partnership-x12envelope-common
1505
+ '''
1506
+ result = self._values.get("common")
1507
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPartnership.X12OutboundEdiHeadersProperty"]], result)
1508
+
1509
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1510
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1511
+
1512
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1513
+ return not (rhs == self)
1514
+
1515
+ def __repr__(self) -> str:
1516
+ return "X12EnvelopeProperty(%s)" % ", ".join(
1517
+ k + "=" + repr(v) for k, v in self._values.items()
1518
+ )
1519
+
1520
+ @jsii.data_type(
1521
+ jsii_type="aws-cdk-lib.aws_b2bi.CfnPartnership.X12FunctionalGroupHeadersProperty",
1522
+ jsii_struct_bases=[],
1523
+ name_mapping={
1524
+ "application_receiver_code": "applicationReceiverCode",
1525
+ "application_sender_code": "applicationSenderCode",
1526
+ "responsible_agency_code": "responsibleAgencyCode",
1527
+ },
1528
+ )
1529
+ class X12FunctionalGroupHeadersProperty:
1530
+ def __init__(
1531
+ self,
1532
+ *,
1533
+ application_receiver_code: typing.Optional[builtins.str] = None,
1534
+ application_sender_code: typing.Optional[builtins.str] = None,
1535
+ responsible_agency_code: typing.Optional[builtins.str] = None,
1536
+ ) -> None:
1537
+ '''
1538
+ :param application_receiver_code:
1539
+ :param application_sender_code:
1540
+ :param responsible_agency_code:
1541
+
1542
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12functionalgroupheaders.html
1543
+ :exampleMetadata: fixture=_generated
1544
+
1545
+ Example::
1546
+
1547
+ # The code below shows an example of how to instantiate this type.
1548
+ # The values are placeholders you should change.
1549
+ from aws_cdk import aws_b2bi as b2bi
1550
+
1551
+ x12_functional_group_headers_property = b2bi.CfnPartnership.X12FunctionalGroupHeadersProperty(
1552
+ application_receiver_code="applicationReceiverCode",
1553
+ application_sender_code="applicationSenderCode",
1554
+ responsible_agency_code="responsibleAgencyCode"
1555
+ )
1556
+ '''
1557
+ if __debug__:
1558
+ type_hints = typing.get_type_hints(_typecheckingstub__0b107041a5b51efd672a9b2f3b5bb8ce2f8376a1dc4cddc6a58a089e0fc49b53)
1559
+ check_type(argname="argument application_receiver_code", value=application_receiver_code, expected_type=type_hints["application_receiver_code"])
1560
+ check_type(argname="argument application_sender_code", value=application_sender_code, expected_type=type_hints["application_sender_code"])
1561
+ check_type(argname="argument responsible_agency_code", value=responsible_agency_code, expected_type=type_hints["responsible_agency_code"])
1562
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
1563
+ if application_receiver_code is not None:
1564
+ self._values["application_receiver_code"] = application_receiver_code
1565
+ if application_sender_code is not None:
1566
+ self._values["application_sender_code"] = application_sender_code
1567
+ if responsible_agency_code is not None:
1568
+ self._values["responsible_agency_code"] = responsible_agency_code
1569
+
1570
+ @builtins.property
1571
+ def application_receiver_code(self) -> typing.Optional[builtins.str]:
1572
+ '''
1573
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12functionalgroupheaders.html#cfn-b2bi-partnership-x12functionalgroupheaders-applicationreceivercode
1574
+ '''
1575
+ result = self._values.get("application_receiver_code")
1576
+ return typing.cast(typing.Optional[builtins.str], result)
1577
+
1578
+ @builtins.property
1579
+ def application_sender_code(self) -> typing.Optional[builtins.str]:
1580
+ '''
1581
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12functionalgroupheaders.html#cfn-b2bi-partnership-x12functionalgroupheaders-applicationsendercode
1582
+ '''
1583
+ result = self._values.get("application_sender_code")
1584
+ return typing.cast(typing.Optional[builtins.str], result)
1585
+
1586
+ @builtins.property
1587
+ def responsible_agency_code(self) -> typing.Optional[builtins.str]:
1588
+ '''
1589
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12functionalgroupheaders.html#cfn-b2bi-partnership-x12functionalgroupheaders-responsibleagencycode
1590
+ '''
1591
+ result = self._values.get("responsible_agency_code")
1592
+ return typing.cast(typing.Optional[builtins.str], result)
1593
+
1594
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1595
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1596
+
1597
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1598
+ return not (rhs == self)
1599
+
1600
+ def __repr__(self) -> str:
1601
+ return "X12FunctionalGroupHeadersProperty(%s)" % ", ".join(
1602
+ k + "=" + repr(v) for k, v in self._values.items()
1603
+ )
1604
+
1605
+ @jsii.data_type(
1606
+ jsii_type="aws-cdk-lib.aws_b2bi.CfnPartnership.X12InterchangeControlHeadersProperty",
1607
+ jsii_struct_bases=[],
1608
+ name_mapping={
1609
+ "acknowledgment_requested_code": "acknowledgmentRequestedCode",
1610
+ "receiver_id": "receiverId",
1611
+ "receiver_id_qualifier": "receiverIdQualifier",
1612
+ "repetition_separator": "repetitionSeparator",
1613
+ "sender_id": "senderId",
1614
+ "sender_id_qualifier": "senderIdQualifier",
1615
+ "usage_indicator_code": "usageIndicatorCode",
1616
+ },
1617
+ )
1618
+ class X12InterchangeControlHeadersProperty:
1619
+ def __init__(
1620
+ self,
1621
+ *,
1622
+ acknowledgment_requested_code: typing.Optional[builtins.str] = None,
1623
+ receiver_id: typing.Optional[builtins.str] = None,
1624
+ receiver_id_qualifier: typing.Optional[builtins.str] = None,
1625
+ repetition_separator: typing.Optional[builtins.str] = None,
1626
+ sender_id: typing.Optional[builtins.str] = None,
1627
+ sender_id_qualifier: typing.Optional[builtins.str] = None,
1628
+ usage_indicator_code: typing.Optional[builtins.str] = None,
1629
+ ) -> None:
1630
+ '''
1631
+ :param acknowledgment_requested_code:
1632
+ :param receiver_id:
1633
+ :param receiver_id_qualifier:
1634
+ :param repetition_separator:
1635
+ :param sender_id:
1636
+ :param sender_id_qualifier:
1637
+ :param usage_indicator_code:
1638
+
1639
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12interchangecontrolheaders.html
1640
+ :exampleMetadata: fixture=_generated
1641
+
1642
+ Example::
1643
+
1644
+ # The code below shows an example of how to instantiate this type.
1645
+ # The values are placeholders you should change.
1646
+ from aws_cdk import aws_b2bi as b2bi
1647
+
1648
+ x12_interchange_control_headers_property = b2bi.CfnPartnership.X12InterchangeControlHeadersProperty(
1649
+ acknowledgment_requested_code="acknowledgmentRequestedCode",
1650
+ receiver_id="receiverId",
1651
+ receiver_id_qualifier="receiverIdQualifier",
1652
+ repetition_separator="repetitionSeparator",
1653
+ sender_id="senderId",
1654
+ sender_id_qualifier="senderIdQualifier",
1655
+ usage_indicator_code="usageIndicatorCode"
1656
+ )
1657
+ '''
1658
+ if __debug__:
1659
+ type_hints = typing.get_type_hints(_typecheckingstub__2cd06c107bbc9de62cfdd484dd7527f5641c4d03e973675f4638b3441dcb2630)
1660
+ check_type(argname="argument acknowledgment_requested_code", value=acknowledgment_requested_code, expected_type=type_hints["acknowledgment_requested_code"])
1661
+ check_type(argname="argument receiver_id", value=receiver_id, expected_type=type_hints["receiver_id"])
1662
+ check_type(argname="argument receiver_id_qualifier", value=receiver_id_qualifier, expected_type=type_hints["receiver_id_qualifier"])
1663
+ check_type(argname="argument repetition_separator", value=repetition_separator, expected_type=type_hints["repetition_separator"])
1664
+ check_type(argname="argument sender_id", value=sender_id, expected_type=type_hints["sender_id"])
1665
+ check_type(argname="argument sender_id_qualifier", value=sender_id_qualifier, expected_type=type_hints["sender_id_qualifier"])
1666
+ check_type(argname="argument usage_indicator_code", value=usage_indicator_code, expected_type=type_hints["usage_indicator_code"])
1667
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
1668
+ if acknowledgment_requested_code is not None:
1669
+ self._values["acknowledgment_requested_code"] = acknowledgment_requested_code
1670
+ if receiver_id is not None:
1671
+ self._values["receiver_id"] = receiver_id
1672
+ if receiver_id_qualifier is not None:
1673
+ self._values["receiver_id_qualifier"] = receiver_id_qualifier
1674
+ if repetition_separator is not None:
1675
+ self._values["repetition_separator"] = repetition_separator
1676
+ if sender_id is not None:
1677
+ self._values["sender_id"] = sender_id
1678
+ if sender_id_qualifier is not None:
1679
+ self._values["sender_id_qualifier"] = sender_id_qualifier
1680
+ if usage_indicator_code is not None:
1681
+ self._values["usage_indicator_code"] = usage_indicator_code
1682
+
1683
+ @builtins.property
1684
+ def acknowledgment_requested_code(self) -> typing.Optional[builtins.str]:
1685
+ '''
1686
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12interchangecontrolheaders.html#cfn-b2bi-partnership-x12interchangecontrolheaders-acknowledgmentrequestedcode
1687
+ '''
1688
+ result = self._values.get("acknowledgment_requested_code")
1689
+ return typing.cast(typing.Optional[builtins.str], result)
1690
+
1691
+ @builtins.property
1692
+ def receiver_id(self) -> typing.Optional[builtins.str]:
1693
+ '''
1694
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12interchangecontrolheaders.html#cfn-b2bi-partnership-x12interchangecontrolheaders-receiverid
1695
+ '''
1696
+ result = self._values.get("receiver_id")
1697
+ return typing.cast(typing.Optional[builtins.str], result)
1698
+
1699
+ @builtins.property
1700
+ def receiver_id_qualifier(self) -> typing.Optional[builtins.str]:
1701
+ '''
1702
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12interchangecontrolheaders.html#cfn-b2bi-partnership-x12interchangecontrolheaders-receiveridqualifier
1703
+ '''
1704
+ result = self._values.get("receiver_id_qualifier")
1705
+ return typing.cast(typing.Optional[builtins.str], result)
1706
+
1707
+ @builtins.property
1708
+ def repetition_separator(self) -> typing.Optional[builtins.str]:
1709
+ '''
1710
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12interchangecontrolheaders.html#cfn-b2bi-partnership-x12interchangecontrolheaders-repetitionseparator
1711
+ '''
1712
+ result = self._values.get("repetition_separator")
1713
+ return typing.cast(typing.Optional[builtins.str], result)
1714
+
1715
+ @builtins.property
1716
+ def sender_id(self) -> typing.Optional[builtins.str]:
1717
+ '''
1718
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12interchangecontrolheaders.html#cfn-b2bi-partnership-x12interchangecontrolheaders-senderid
1719
+ '''
1720
+ result = self._values.get("sender_id")
1721
+ return typing.cast(typing.Optional[builtins.str], result)
1722
+
1723
+ @builtins.property
1724
+ def sender_id_qualifier(self) -> typing.Optional[builtins.str]:
1725
+ '''
1726
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12interchangecontrolheaders.html#cfn-b2bi-partnership-x12interchangecontrolheaders-senderidqualifier
1727
+ '''
1728
+ result = self._values.get("sender_id_qualifier")
1729
+ return typing.cast(typing.Optional[builtins.str], result)
1730
+
1731
+ @builtins.property
1732
+ def usage_indicator_code(self) -> typing.Optional[builtins.str]:
1733
+ '''
1734
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12interchangecontrolheaders.html#cfn-b2bi-partnership-x12interchangecontrolheaders-usageindicatorcode
1735
+ '''
1736
+ result = self._values.get("usage_indicator_code")
1737
+ return typing.cast(typing.Optional[builtins.str], result)
1738
+
1739
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1740
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1741
+
1742
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1743
+ return not (rhs == self)
1744
+
1745
+ def __repr__(self) -> str:
1746
+ return "X12InterchangeControlHeadersProperty(%s)" % ", ".join(
1747
+ k + "=" + repr(v) for k, v in self._values.items()
1748
+ )
1749
+
1750
+ @jsii.data_type(
1751
+ jsii_type="aws-cdk-lib.aws_b2bi.CfnPartnership.X12OutboundEdiHeadersProperty",
1752
+ jsii_struct_bases=[],
1753
+ name_mapping={
1754
+ "delimiters": "delimiters",
1755
+ "functional_group_headers": "functionalGroupHeaders",
1756
+ "interchange_control_headers": "interchangeControlHeaders",
1757
+ "validate_edi": "validateEdi",
1758
+ },
1759
+ )
1760
+ class X12OutboundEdiHeadersProperty:
1761
+ def __init__(
1762
+ self,
1763
+ *,
1764
+ delimiters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPartnership.X12DelimitersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1765
+ functional_group_headers: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPartnership.X12FunctionalGroupHeadersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1766
+ interchange_control_headers: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPartnership.X12InterchangeControlHeadersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1767
+ validate_edi: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1768
+ ) -> None:
1769
+ '''
1770
+ :param delimiters:
1771
+ :param functional_group_headers:
1772
+ :param interchange_control_headers:
1773
+ :param validate_edi:
1774
+
1775
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12outboundediheaders.html
1776
+ :exampleMetadata: fixture=_generated
1777
+
1778
+ Example::
1779
+
1780
+ # The code below shows an example of how to instantiate this type.
1781
+ # The values are placeholders you should change.
1782
+ from aws_cdk import aws_b2bi as b2bi
1783
+
1784
+ x12_outbound_edi_headers_property = b2bi.CfnPartnership.X12OutboundEdiHeadersProperty(
1785
+ delimiters=b2bi.CfnPartnership.X12DelimitersProperty(
1786
+ component_separator="componentSeparator",
1787
+ data_element_separator="dataElementSeparator",
1788
+ segment_terminator="segmentTerminator"
1789
+ ),
1790
+ functional_group_headers=b2bi.CfnPartnership.X12FunctionalGroupHeadersProperty(
1791
+ application_receiver_code="applicationReceiverCode",
1792
+ application_sender_code="applicationSenderCode",
1793
+ responsible_agency_code="responsibleAgencyCode"
1794
+ ),
1795
+ interchange_control_headers=b2bi.CfnPartnership.X12InterchangeControlHeadersProperty(
1796
+ acknowledgment_requested_code="acknowledgmentRequestedCode",
1797
+ receiver_id="receiverId",
1798
+ receiver_id_qualifier="receiverIdQualifier",
1799
+ repetition_separator="repetitionSeparator",
1800
+ sender_id="senderId",
1801
+ sender_id_qualifier="senderIdQualifier",
1802
+ usage_indicator_code="usageIndicatorCode"
1803
+ ),
1804
+ validate_edi=False
1805
+ )
1806
+ '''
1807
+ if __debug__:
1808
+ type_hints = typing.get_type_hints(_typecheckingstub__8e80431a1b65f39f118b4a0b397a523502dcc49a5197848bd82eff40dc153d1c)
1809
+ check_type(argname="argument delimiters", value=delimiters, expected_type=type_hints["delimiters"])
1810
+ check_type(argname="argument functional_group_headers", value=functional_group_headers, expected_type=type_hints["functional_group_headers"])
1811
+ check_type(argname="argument interchange_control_headers", value=interchange_control_headers, expected_type=type_hints["interchange_control_headers"])
1812
+ check_type(argname="argument validate_edi", value=validate_edi, expected_type=type_hints["validate_edi"])
1813
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
1814
+ if delimiters is not None:
1815
+ self._values["delimiters"] = delimiters
1816
+ if functional_group_headers is not None:
1817
+ self._values["functional_group_headers"] = functional_group_headers
1818
+ if interchange_control_headers is not None:
1819
+ self._values["interchange_control_headers"] = interchange_control_headers
1820
+ if validate_edi is not None:
1821
+ self._values["validate_edi"] = validate_edi
1822
+
1823
+ @builtins.property
1824
+ def delimiters(
1825
+ self,
1826
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPartnership.X12DelimitersProperty"]]:
1827
+ '''
1828
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12outboundediheaders.html#cfn-b2bi-partnership-x12outboundediheaders-delimiters
1829
+ '''
1830
+ result = self._values.get("delimiters")
1831
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPartnership.X12DelimitersProperty"]], result)
1832
+
1833
+ @builtins.property
1834
+ def functional_group_headers(
1835
+ self,
1836
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPartnership.X12FunctionalGroupHeadersProperty"]]:
1837
+ '''
1838
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12outboundediheaders.html#cfn-b2bi-partnership-x12outboundediheaders-functionalgroupheaders
1839
+ '''
1840
+ result = self._values.get("functional_group_headers")
1841
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPartnership.X12FunctionalGroupHeadersProperty"]], result)
1842
+
1843
+ @builtins.property
1844
+ def interchange_control_headers(
1845
+ self,
1846
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPartnership.X12InterchangeControlHeadersProperty"]]:
1847
+ '''
1848
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12outboundediheaders.html#cfn-b2bi-partnership-x12outboundediheaders-interchangecontrolheaders
1849
+ '''
1850
+ result = self._values.get("interchange_control_headers")
1851
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPartnership.X12InterchangeControlHeadersProperty"]], result)
1852
+
1853
+ @builtins.property
1854
+ def validate_edi(
1855
+ self,
1856
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
1857
+ '''
1858
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12outboundediheaders.html#cfn-b2bi-partnership-x12outboundediheaders-validateedi
1859
+ '''
1860
+ result = self._values.get("validate_edi")
1861
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
1862
+
1863
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1864
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1865
+
1866
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1867
+ return not (rhs == self)
1868
+
1869
+ def __repr__(self) -> str:
1870
+ return "X12OutboundEdiHeadersProperty(%s)" % ", ".join(
1871
+ k + "=" + repr(v) for k, v in self._values.items()
1872
+ )
1873
+
1874
+
1875
+ @jsii.data_type(
1876
+ jsii_type="aws-cdk-lib.aws_b2bi.CfnPartnershipProps",
1877
+ jsii_struct_bases=[],
1878
+ name_mapping={
1879
+ "capabilities": "capabilities",
1880
+ "email": "email",
1881
+ "name": "name",
1882
+ "profile_id": "profileId",
1883
+ "capability_options": "capabilityOptions",
1884
+ "phone": "phone",
1885
+ "tags": "tags",
1886
+ },
1887
+ )
1888
+ class CfnPartnershipProps:
1889
+ def __init__(
1890
+ self,
1891
+ *,
1892
+ capabilities: typing.Sequence[builtins.str],
1893
+ email: builtins.str,
1894
+ name: builtins.str,
1895
+ profile_id: builtins.str,
1896
+ capability_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPartnership.CapabilityOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1897
+ phone: typing.Optional[builtins.str] = None,
1898
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1899
+ ) -> None:
1900
+ '''Properties for defining a ``CfnPartnership``.
1901
+
1902
+ :param capabilities: Returns one or more capabilities associated with this partnership.
1903
+ :param email:
1904
+ :param name: Returns the name of the partnership.
1905
+ :param profile_id: Returns the unique, system-generated identifier for the profile connected to this partnership.
1906
+ :param capability_options:
1907
+ :param phone:
1908
+ :param tags: A key-value pair for a specific partnership. Tags are metadata that you can use to search for and group capabilities for various purposes.
1909
+
1910
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-partnership.html
1911
+ :exampleMetadata: fixture=_generated
1912
+
1913
+ Example::
1914
+
1915
+ # The code below shows an example of how to instantiate this type.
1916
+ # The values are placeholders you should change.
1917
+ from aws_cdk import aws_b2bi as b2bi
1918
+
1919
+ cfn_partnership_props = b2bi.CfnPartnershipProps(
1920
+ capabilities=["capabilities"],
1921
+ email="email",
1922
+ name="name",
1923
+ profile_id="profileId",
1924
+
1925
+ # the properties below are optional
1926
+ capability_options=b2bi.CfnPartnership.CapabilityOptionsProperty(
1927
+ outbound_edi=b2bi.CfnPartnership.OutboundEdiOptionsProperty(
1928
+ x12=b2bi.CfnPartnership.X12EnvelopeProperty(
1929
+ common=b2bi.CfnPartnership.X12OutboundEdiHeadersProperty(
1930
+ delimiters=b2bi.CfnPartnership.X12DelimitersProperty(
1931
+ component_separator="componentSeparator",
1932
+ data_element_separator="dataElementSeparator",
1933
+ segment_terminator="segmentTerminator"
1934
+ ),
1935
+ functional_group_headers=b2bi.CfnPartnership.X12FunctionalGroupHeadersProperty(
1936
+ application_receiver_code="applicationReceiverCode",
1937
+ application_sender_code="applicationSenderCode",
1938
+ responsible_agency_code="responsibleAgencyCode"
1939
+ ),
1940
+ interchange_control_headers=b2bi.CfnPartnership.X12InterchangeControlHeadersProperty(
1941
+ acknowledgment_requested_code="acknowledgmentRequestedCode",
1942
+ receiver_id="receiverId",
1943
+ receiver_id_qualifier="receiverIdQualifier",
1944
+ repetition_separator="repetitionSeparator",
1945
+ sender_id="senderId",
1946
+ sender_id_qualifier="senderIdQualifier",
1947
+ usage_indicator_code="usageIndicatorCode"
1948
+ ),
1949
+ validate_edi=False
1950
+ )
1951
+ )
1952
+ )
1953
+ ),
1954
+ phone="phone",
1955
+ tags=[CfnTag(
1956
+ key="key",
1957
+ value="value"
1958
+ )]
1959
+ )
1960
+ '''
1961
+ if __debug__:
1962
+ type_hints = typing.get_type_hints(_typecheckingstub__18d814bec885d4c9defe3c391c4892f53df8f0ca2dd0011baaccd4959105a243)
1963
+ check_type(argname="argument capabilities", value=capabilities, expected_type=type_hints["capabilities"])
1964
+ check_type(argname="argument email", value=email, expected_type=type_hints["email"])
1965
+ check_type(argname="argument name", value=name, expected_type=type_hints["name"])
1966
+ check_type(argname="argument profile_id", value=profile_id, expected_type=type_hints["profile_id"])
1967
+ check_type(argname="argument capability_options", value=capability_options, expected_type=type_hints["capability_options"])
1968
+ check_type(argname="argument phone", value=phone, expected_type=type_hints["phone"])
1969
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
1970
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1971
+ "capabilities": capabilities,
1972
+ "email": email,
1973
+ "name": name,
1974
+ "profile_id": profile_id,
1975
+ }
1976
+ if capability_options is not None:
1977
+ self._values["capability_options"] = capability_options
1978
+ if phone is not None:
1979
+ self._values["phone"] = phone
1980
+ if tags is not None:
1981
+ self._values["tags"] = tags
1982
+
1983
+ @builtins.property
1984
+ def capabilities(self) -> typing.List[builtins.str]:
1985
+ '''Returns one or more capabilities associated with this partnership.
1986
+
1987
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-partnership.html#cfn-b2bi-partnership-capabilities
1988
+ '''
1989
+ result = self._values.get("capabilities")
1990
+ assert result is not None, "Required property 'capabilities' is missing"
1991
+ return typing.cast(typing.List[builtins.str], result)
1992
+
1993
+ @builtins.property
1994
+ def email(self) -> builtins.str:
1995
+ '''
1996
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-partnership.html#cfn-b2bi-partnership-email
1997
+ '''
1998
+ result = self._values.get("email")
1999
+ assert result is not None, "Required property 'email' is missing"
2000
+ return typing.cast(builtins.str, result)
2001
+
2002
+ @builtins.property
2003
+ def name(self) -> builtins.str:
2004
+ '''Returns the name of the partnership.
2005
+
2006
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-partnership.html#cfn-b2bi-partnership-name
2007
+ '''
2008
+ result = self._values.get("name")
2009
+ assert result is not None, "Required property 'name' is missing"
2010
+ return typing.cast(builtins.str, result)
2011
+
2012
+ @builtins.property
2013
+ def profile_id(self) -> builtins.str:
2014
+ '''Returns the unique, system-generated identifier for the profile connected to this partnership.
2015
+
2016
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-partnership.html#cfn-b2bi-partnership-profileid
2017
+ '''
2018
+ result = self._values.get("profile_id")
2019
+ assert result is not None, "Required property 'profile_id' is missing"
2020
+ return typing.cast(builtins.str, result)
2021
+
2022
+ @builtins.property
2023
+ def capability_options(
2024
+ self,
2025
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPartnership.CapabilityOptionsProperty]]:
2026
+ '''
2027
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-partnership.html#cfn-b2bi-partnership-capabilityoptions
2028
+ '''
2029
+ result = self._values.get("capability_options")
2030
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPartnership.CapabilityOptionsProperty]], result)
2031
+
2032
+ @builtins.property
2033
+ def phone(self) -> typing.Optional[builtins.str]:
2034
+ '''
2035
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-partnership.html#cfn-b2bi-partnership-phone
2036
+ '''
2037
+ result = self._values.get("phone")
2038
+ return typing.cast(typing.Optional[builtins.str], result)
2039
+
2040
+ @builtins.property
2041
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
2042
+ '''A key-value pair for a specific partnership.
2043
+
2044
+ Tags are metadata that you can use to search for and group capabilities for various purposes.
2045
+
2046
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-partnership.html#cfn-b2bi-partnership-tags
2047
+ '''
2048
+ result = self._values.get("tags")
2049
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
2050
+
2051
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
2052
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
2053
+
2054
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
2055
+ return not (rhs == self)
2056
+
2057
+ def __repr__(self) -> str:
2058
+ return "CfnPartnershipProps(%s)" % ", ".join(
2059
+ k + "=" + repr(v) for k, v in self._values.items()
2060
+ )
2061
+
2062
+
2063
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
2064
+ class CfnProfile(
2065
+ _CfnResource_9df397a6,
2066
+ metaclass=jsii.JSIIMeta,
1275
2067
  jsii_type="aws-cdk-lib.aws_b2bi.CfnProfile",
1276
2068
  ):
1277
- '''Creates a customer profile.
2069
+ '''Creates a customer profile.
2070
+
2071
+ You can have up to five customer profiles, each representing a distinct private network. A profile is the mechanism used to create the concept of a private network.
2072
+
2073
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-profile.html
2074
+ :cloudformationResource: AWS::B2BI::Profile
2075
+ :exampleMetadata: fixture=_generated
2076
+
2077
+ Example::
2078
+
2079
+ # The code below shows an example of how to instantiate this type.
2080
+ # The values are placeholders you should change.
2081
+ from aws_cdk import aws_b2bi as b2bi
2082
+
2083
+ cfn_profile = b2bi.CfnProfile(self, "MyCfnProfile",
2084
+ business_name="businessName",
2085
+ logging="logging",
2086
+ name="name",
2087
+ phone="phone",
2088
+
2089
+ # the properties below are optional
2090
+ email="email",
2091
+ tags=[CfnTag(
2092
+ key="key",
2093
+ value="value"
2094
+ )]
2095
+ )
2096
+ '''
2097
+
2098
+ def __init__(
2099
+ self,
2100
+ scope: _constructs_77d1e7e8.Construct,
2101
+ id: builtins.str,
2102
+ *,
2103
+ business_name: builtins.str,
2104
+ logging: builtins.str,
2105
+ name: builtins.str,
2106
+ phone: builtins.str,
2107
+ email: typing.Optional[builtins.str] = None,
2108
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
2109
+ ) -> None:
2110
+ '''
2111
+ :param scope: Scope in which this resource is defined.
2112
+ :param id: Construct identifier for this resource (unique in its scope).
2113
+ :param business_name: Returns the name for the business associated with this profile.
2114
+ :param logging: Specifies whether or not logging is enabled for this profile.
2115
+ :param name: Returns the display name for profile.
2116
+ :param phone:
2117
+ :param email:
2118
+ :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.
2119
+ '''
2120
+ if __debug__:
2121
+ type_hints = typing.get_type_hints(_typecheckingstub__6e54fea50428e19dd273372ef5650a89d4610c6422804677c9be788a76aadf8a)
2122
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
2123
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
2124
+ props = CfnProfileProps(
2125
+ business_name=business_name,
2126
+ logging=logging,
2127
+ name=name,
2128
+ phone=phone,
2129
+ email=email,
2130
+ tags=tags,
2131
+ )
2132
+
2133
+ jsii.create(self.__class__, self, [scope, id, props])
2134
+
2135
+ @jsii.member(jsii_name="inspect")
2136
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
2137
+ '''Examines the CloudFormation resource and discloses attributes.
2138
+
2139
+ :param inspector: tree inspector to collect and process attributes.
2140
+ '''
2141
+ if __debug__:
2142
+ type_hints = typing.get_type_hints(_typecheckingstub__5271088abc585a3db11af1eacb47274605ad9acc14f75da9da9239d3a3697541)
2143
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
2144
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
2145
+
2146
+ @jsii.member(jsii_name="renderProperties")
2147
+ def _render_properties(
2148
+ self,
2149
+ props: typing.Mapping[builtins.str, typing.Any],
2150
+ ) -> typing.Mapping[builtins.str, typing.Any]:
2151
+ '''
2152
+ :param props: -
2153
+ '''
2154
+ if __debug__:
2155
+ type_hints = typing.get_type_hints(_typecheckingstub__a829f83cb367edec2f2e051795937696b3dcb1d1ab356574e9c6ad4badf3ce17)
2156
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
2157
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
2158
+
2159
+ @jsii.python.classproperty
2160
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
2161
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
2162
+ '''The CloudFormation resource type name for this resource class.'''
2163
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
2164
+
2165
+ @builtins.property
2166
+ @jsii.member(jsii_name="attrCreatedAt")
2167
+ def attr_created_at(self) -> builtins.str:
2168
+ '''Returns the timestamp for creation date and time of the profile.
2169
+
2170
+ :cloudformationAttribute: CreatedAt
2171
+ '''
2172
+ return typing.cast(builtins.str, jsii.get(self, "attrCreatedAt"))
2173
+
2174
+ @builtins.property
2175
+ @jsii.member(jsii_name="attrLogGroupName")
2176
+ def attr_log_group_name(self) -> builtins.str:
2177
+ '''Returns the name of the logging group.
2178
+
2179
+ :cloudformationAttribute: LogGroupName
2180
+ '''
2181
+ return typing.cast(builtins.str, jsii.get(self, "attrLogGroupName"))
2182
+
2183
+ @builtins.property
2184
+ @jsii.member(jsii_name="attrModifiedAt")
2185
+ def attr_modified_at(self) -> builtins.str:
2186
+ '''Returns the timestamp that identifies the most recent date and time that the profile was modified.
2187
+
2188
+ :cloudformationAttribute: ModifiedAt
2189
+ '''
2190
+ return typing.cast(builtins.str, jsii.get(self, "attrModifiedAt"))
2191
+
2192
+ @builtins.property
2193
+ @jsii.member(jsii_name="attrProfileArn")
2194
+ def attr_profile_arn(self) -> builtins.str:
2195
+ '''Returns an Amazon Resource Name (ARN) for the profile.
2196
+
2197
+ :cloudformationAttribute: ProfileArn
2198
+ '''
2199
+ return typing.cast(builtins.str, jsii.get(self, "attrProfileArn"))
2200
+
2201
+ @builtins.property
2202
+ @jsii.member(jsii_name="attrProfileId")
2203
+ def attr_profile_id(self) -> builtins.str:
2204
+ '''
2205
+ :cloudformationAttribute: ProfileId
2206
+ '''
2207
+ return typing.cast(builtins.str, jsii.get(self, "attrProfileId"))
2208
+
2209
+ @builtins.property
2210
+ @jsii.member(jsii_name="cdkTagManager")
2211
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
2212
+ '''Tag Manager which manages the tags for this resource.'''
2213
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
2214
+
2215
+ @builtins.property
2216
+ @jsii.member(jsii_name="cfnProperties")
2217
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
2218
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
2219
+
2220
+ @builtins.property
2221
+ @jsii.member(jsii_name="businessName")
2222
+ def business_name(self) -> builtins.str:
2223
+ '''Returns the name for the business associated with this profile.'''
2224
+ return typing.cast(builtins.str, jsii.get(self, "businessName"))
2225
+
2226
+ @business_name.setter
2227
+ def business_name(self, value: builtins.str) -> None:
2228
+ if __debug__:
2229
+ type_hints = typing.get_type_hints(_typecheckingstub__504646617c098f5bad7128cc7a515f70f2c86e5d34b43f63aa27a2ad543b4e01)
2230
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2231
+ jsii.set(self, "businessName", value) # pyright: ignore[reportArgumentType]
2232
+
2233
+ @builtins.property
2234
+ @jsii.member(jsii_name="logging")
2235
+ def logging(self) -> builtins.str:
2236
+ '''Specifies whether or not logging is enabled for this profile.'''
2237
+ return typing.cast(builtins.str, jsii.get(self, "logging"))
2238
+
2239
+ @logging.setter
2240
+ def logging(self, value: builtins.str) -> None:
2241
+ if __debug__:
2242
+ type_hints = typing.get_type_hints(_typecheckingstub__127f59e663824bfd0cc39ab3ed6020d41d54a2b30e31fc71b46ce48e510ff366)
2243
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2244
+ jsii.set(self, "logging", value) # pyright: ignore[reportArgumentType]
2245
+
2246
+ @builtins.property
2247
+ @jsii.member(jsii_name="name")
2248
+ def name(self) -> builtins.str:
2249
+ '''Returns the display name for profile.'''
2250
+ return typing.cast(builtins.str, jsii.get(self, "name"))
2251
+
2252
+ @name.setter
2253
+ def name(self, value: builtins.str) -> None:
2254
+ if __debug__:
2255
+ type_hints = typing.get_type_hints(_typecheckingstub__978cb41c2583c736d786df05be25dfaaa254556b513af9850f95c4f5f7999380)
2256
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2257
+ jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
2258
+
2259
+ @builtins.property
2260
+ @jsii.member(jsii_name="phone")
2261
+ def phone(self) -> builtins.str:
2262
+ return typing.cast(builtins.str, jsii.get(self, "phone"))
2263
+
2264
+ @phone.setter
2265
+ def phone(self, value: builtins.str) -> None:
2266
+ if __debug__:
2267
+ type_hints = typing.get_type_hints(_typecheckingstub__5aa6ce25bb49d6882927fd231d1e147e27ba9905d54248c88718171a9e0fdd5e)
2268
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2269
+ jsii.set(self, "phone", value) # pyright: ignore[reportArgumentType]
2270
+
2271
+ @builtins.property
2272
+ @jsii.member(jsii_name="email")
2273
+ def email(self) -> typing.Optional[builtins.str]:
2274
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "email"))
2275
+
2276
+ @email.setter
2277
+ def email(self, value: typing.Optional[builtins.str]) -> None:
2278
+ if __debug__:
2279
+ type_hints = typing.get_type_hints(_typecheckingstub__e0936f8c78a965c88641d39b7a6e2d4e7ad2bd7f48de6870270d842ba0ccdc34)
2280
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2281
+ jsii.set(self, "email", value) # pyright: ignore[reportArgumentType]
2282
+
2283
+ @builtins.property
2284
+ @jsii.member(jsii_name="tags")
2285
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
2286
+ '''A key-value pair for a specific profile.'''
2287
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
2288
+
2289
+ @tags.setter
2290
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
2291
+ if __debug__:
2292
+ type_hints = typing.get_type_hints(_typecheckingstub__8b70ada00d6d35989093b4f1b185f6deaa1f9c1404a82bc792e6f4dc53684b45)
2293
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2294
+ jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
2295
+
2296
+
2297
+ @jsii.data_type(
2298
+ jsii_type="aws-cdk-lib.aws_b2bi.CfnProfileProps",
2299
+ jsii_struct_bases=[],
2300
+ name_mapping={
2301
+ "business_name": "businessName",
2302
+ "logging": "logging",
2303
+ "name": "name",
2304
+ "phone": "phone",
2305
+ "email": "email",
2306
+ "tags": "tags",
2307
+ },
2308
+ )
2309
+ class CfnProfileProps:
2310
+ def __init__(
2311
+ self,
2312
+ *,
2313
+ business_name: builtins.str,
2314
+ logging: builtins.str,
2315
+ name: builtins.str,
2316
+ phone: builtins.str,
2317
+ email: typing.Optional[builtins.str] = None,
2318
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
2319
+ ) -> None:
2320
+ '''Properties for defining a ``CfnProfile``.
2321
+
2322
+ :param business_name: Returns the name for the business associated with this profile.
2323
+ :param logging: Specifies whether or not logging is enabled for this profile.
2324
+ :param name: Returns the display name for profile.
2325
+ :param phone:
2326
+ :param email:
2327
+ :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.
2328
+
2329
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-profile.html
2330
+ :exampleMetadata: fixture=_generated
2331
+
2332
+ Example::
2333
+
2334
+ # The code below shows an example of how to instantiate this type.
2335
+ # The values are placeholders you should change.
2336
+ from aws_cdk import aws_b2bi as b2bi
2337
+
2338
+ cfn_profile_props = b2bi.CfnProfileProps(
2339
+ business_name="businessName",
2340
+ logging="logging",
2341
+ name="name",
2342
+ phone="phone",
2343
+
2344
+ # the properties below are optional
2345
+ email="email",
2346
+ tags=[CfnTag(
2347
+ key="key",
2348
+ value="value"
2349
+ )]
2350
+ )
2351
+ '''
2352
+ if __debug__:
2353
+ type_hints = typing.get_type_hints(_typecheckingstub__85c233c5836835af7c38d9812c75649ec2fc027fa20a2af7be215694f4d322e4)
2354
+ check_type(argname="argument business_name", value=business_name, expected_type=type_hints["business_name"])
2355
+ check_type(argname="argument logging", value=logging, expected_type=type_hints["logging"])
2356
+ check_type(argname="argument name", value=name, expected_type=type_hints["name"])
2357
+ check_type(argname="argument phone", value=phone, expected_type=type_hints["phone"])
2358
+ check_type(argname="argument email", value=email, expected_type=type_hints["email"])
2359
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
2360
+ self._values: typing.Dict[builtins.str, typing.Any] = {
2361
+ "business_name": business_name,
2362
+ "logging": logging,
2363
+ "name": name,
2364
+ "phone": phone,
2365
+ }
2366
+ if email is not None:
2367
+ self._values["email"] = email
2368
+ if tags is not None:
2369
+ self._values["tags"] = tags
2370
+
2371
+ @builtins.property
2372
+ def business_name(self) -> builtins.str:
2373
+ '''Returns the name for the business associated with this profile.
2374
+
2375
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-profile.html#cfn-b2bi-profile-businessname
2376
+ '''
2377
+ result = self._values.get("business_name")
2378
+ assert result is not None, "Required property 'business_name' is missing"
2379
+ return typing.cast(builtins.str, result)
2380
+
2381
+ @builtins.property
2382
+ def logging(self) -> builtins.str:
2383
+ '''Specifies whether or not logging is enabled for this profile.
2384
+
2385
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-profile.html#cfn-b2bi-profile-logging
2386
+ '''
2387
+ result = self._values.get("logging")
2388
+ assert result is not None, "Required property 'logging' is missing"
2389
+ return typing.cast(builtins.str, result)
2390
+
2391
+ @builtins.property
2392
+ def name(self) -> builtins.str:
2393
+ '''Returns the display name for profile.
2394
+
2395
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-profile.html#cfn-b2bi-profile-name
2396
+ '''
2397
+ result = self._values.get("name")
2398
+ assert result is not None, "Required property 'name' is missing"
2399
+ return typing.cast(builtins.str, result)
2400
+
2401
+ @builtins.property
2402
+ def phone(self) -> builtins.str:
2403
+ '''
2404
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-profile.html#cfn-b2bi-profile-phone
2405
+ '''
2406
+ result = self._values.get("phone")
2407
+ assert result is not None, "Required property 'phone' is missing"
2408
+ return typing.cast(builtins.str, result)
2409
+
2410
+ @builtins.property
2411
+ def email(self) -> typing.Optional[builtins.str]:
2412
+ '''
2413
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-profile.html#cfn-b2bi-profile-email
2414
+ '''
2415
+ result = self._values.get("email")
2416
+ return typing.cast(typing.Optional[builtins.str], result)
2417
+
2418
+ @builtins.property
2419
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
2420
+ '''A key-value pair for a specific profile.
2421
+
2422
+ Tags are metadata that you can use to search for and group capabilities for various purposes.
2423
+
2424
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-profile.html#cfn-b2bi-profile-tags
2425
+ '''
2426
+ result = self._values.get("tags")
2427
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
2428
+
2429
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
2430
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
2431
+
2432
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
2433
+ return not (rhs == self)
2434
+
2435
+ def __repr__(self) -> str:
2436
+ return "CfnProfileProps(%s)" % ", ".join(
2437
+ k + "=" + repr(v) for k, v in self._values.items()
2438
+ )
2439
+
2440
+
2441
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
2442
+ class CfnTransformer(
2443
+ _CfnResource_9df397a6,
2444
+ metaclass=jsii.JSIIMeta,
2445
+ jsii_type="aws-cdk-lib.aws_b2bi.CfnTransformer",
2446
+ ):
2447
+ '''Creates a transformer.
1278
2448
 
1279
- You can have up to five customer profiles, each representing a distinct private network. A profile is the mechanism used to create the concept of a private network.
2449
+ A transformer describes how to process the incoming EDI documents and extract the necessary information to the output file.
1280
2450
 
1281
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-profile.html
1282
- :cloudformationResource: AWS::B2BI::Profile
2451
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html
2452
+ :cloudformationResource: AWS::B2BI::Transformer
1283
2453
  :exampleMetadata: fixture=_generated
1284
2454
 
1285
2455
  Example::
@@ -1287,15 +2457,56 @@ class CfnProfile(
1287
2457
  # The code below shows an example of how to instantiate this type.
1288
2458
  # The values are placeholders you should change.
1289
2459
  from aws_cdk import aws_b2bi as b2bi
1290
-
1291
- cfn_profile = b2bi.CfnProfile(self, "MyCfnProfile",
1292
- business_name="businessName",
1293
- logging="logging",
2460
+
2461
+ cfn_transformer = b2bi.CfnTransformer(self, "MyCfnTransformer",
1294
2462
  name="name",
1295
- phone="phone",
2463
+ status="status",
1296
2464
 
1297
2465
  # the properties below are optional
1298
- email="email",
2466
+ edi_type=b2bi.CfnTransformer.EdiTypeProperty(
2467
+ x12_details=b2bi.CfnTransformer.X12DetailsProperty(
2468
+ transaction_set="transactionSet",
2469
+ version="version"
2470
+ )
2471
+ ),
2472
+ file_format="fileFormat",
2473
+ input_conversion=b2bi.CfnTransformer.InputConversionProperty(
2474
+ from_format="fromFormat",
2475
+
2476
+ # the properties below are optional
2477
+ format_options=b2bi.CfnTransformer.FormatOptionsProperty(
2478
+ x12=b2bi.CfnTransformer.X12DetailsProperty(
2479
+ transaction_set="transactionSet",
2480
+ version="version"
2481
+ )
2482
+ )
2483
+ ),
2484
+ mapping=b2bi.CfnTransformer.MappingProperty(
2485
+ template_language="templateLanguage",
2486
+
2487
+ # the properties below are optional
2488
+ template="template"
2489
+ ),
2490
+ mapping_template="mappingTemplate",
2491
+ output_conversion=b2bi.CfnTransformer.OutputConversionProperty(
2492
+ to_format="toFormat",
2493
+
2494
+ # the properties below are optional
2495
+ format_options=b2bi.CfnTransformer.FormatOptionsProperty(
2496
+ x12=b2bi.CfnTransformer.X12DetailsProperty(
2497
+ transaction_set="transactionSet",
2498
+ version="version"
2499
+ )
2500
+ )
2501
+ ),
2502
+ sample_document="sampleDocument",
2503
+ sample_documents=b2bi.CfnTransformer.SampleDocumentsProperty(
2504
+ bucket_name="bucketName",
2505
+ keys=[b2bi.CfnTransformer.SampleDocumentKeysProperty(
2506
+ input="input",
2507
+ output="output"
2508
+ )]
2509
+ ),
1299
2510
  tags=[CfnTag(
1300
2511
  key="key",
1301
2512
  value="value"
@@ -1308,33 +2519,48 @@ class CfnProfile(
1308
2519
  scope: _constructs_77d1e7e8.Construct,
1309
2520
  id: builtins.str,
1310
2521
  *,
1311
- business_name: builtins.str,
1312
- logging: builtins.str,
1313
2522
  name: builtins.str,
1314
- phone: builtins.str,
1315
- email: typing.Optional[builtins.str] = None,
2523
+ status: builtins.str,
2524
+ edi_type: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTransformer.EdiTypeProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
2525
+ file_format: typing.Optional[builtins.str] = None,
2526
+ input_conversion: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTransformer.InputConversionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
2527
+ mapping: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTransformer.MappingProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
2528
+ mapping_template: typing.Optional[builtins.str] = None,
2529
+ output_conversion: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTransformer.OutputConversionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
2530
+ sample_document: typing.Optional[builtins.str] = None,
2531
+ sample_documents: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTransformer.SampleDocumentsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1316
2532
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1317
2533
  ) -> None:
1318
2534
  '''
1319
2535
  :param scope: Scope in which this resource is defined.
1320
2536
  :param id: Construct identifier for this resource (unique in its scope).
1321
- :param business_name: Returns the name for the business associated with this profile.
1322
- :param logging: Specifies whether or not logging is enabled for this profile.
1323
- :param name: Returns the display name for profile.
1324
- :param phone:
1325
- :param email:
1326
- :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.
2537
+ :param name: Returns the descriptive name for the transformer.
2538
+ :param status: Returns the state of the newly created transformer. The transformer can be either ``active`` or ``inactive`` . For the transformer to be used in a capability, its status must ``active`` .
2539
+ :param edi_type: (deprecated) Returns the details for the EDI standard that is being used for the transformer. Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.
2540
+ :param file_format: (deprecated) Returns that the currently supported file formats for EDI transformations are ``JSON`` and ``XML`` .
2541
+ :param input_conversion:
2542
+ :param mapping:
2543
+ :param mapping_template: (deprecated) Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.
2544
+ :param output_conversion:
2545
+ :param sample_document: (deprecated) Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.
2546
+ :param sample_documents:
2547
+ :param tags: A key-value pair for a specific transformer. Tags are metadata that you can use to search for and group capabilities for various purposes.
1327
2548
  '''
1328
2549
  if __debug__:
1329
- type_hints = typing.get_type_hints(_typecheckingstub__6e54fea50428e19dd273372ef5650a89d4610c6422804677c9be788a76aadf8a)
2550
+ type_hints = typing.get_type_hints(_typecheckingstub__fb0d6d0f8083b8bc38eb61c54d65c6e72d668ba067f31569d0213bf7dafff2c9)
1330
2551
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
1331
2552
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
1332
- props = CfnProfileProps(
1333
- business_name=business_name,
1334
- logging=logging,
2553
+ props = CfnTransformerProps(
1335
2554
  name=name,
1336
- phone=phone,
1337
- email=email,
2555
+ status=status,
2556
+ edi_type=edi_type,
2557
+ file_format=file_format,
2558
+ input_conversion=input_conversion,
2559
+ mapping=mapping,
2560
+ mapping_template=mapping_template,
2561
+ output_conversion=output_conversion,
2562
+ sample_document=sample_document,
2563
+ sample_documents=sample_documents,
1338
2564
  tags=tags,
1339
2565
  )
1340
2566
 
@@ -1347,7 +2573,7 @@ class CfnProfile(
1347
2573
  :param inspector: tree inspector to collect and process attributes.
1348
2574
  '''
1349
2575
  if __debug__:
1350
- type_hints = typing.get_type_hints(_typecheckingstub__5271088abc585a3db11af1eacb47274605ad9acc14f75da9da9239d3a3697541)
2576
+ type_hints = typing.get_type_hints(_typecheckingstub__cd0b05118fb2d551f3054a5c85d10fe283c5ca2b9e830ef5a31a1eb7e66fce63)
1351
2577
  check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
1352
2578
  return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
1353
2579
 
@@ -1360,7 +2586,7 @@ class CfnProfile(
1360
2586
  :param props: -
1361
2587
  '''
1362
2588
  if __debug__:
1363
- type_hints = typing.get_type_hints(_typecheckingstub__a829f83cb367edec2f2e051795937696b3dcb1d1ab356574e9c6ad4badf3ce17)
2589
+ type_hints = typing.get_type_hints(_typecheckingstub__8de580bfd50f433c0cd75e13649e7f911981404484637058415a594dac3eea03)
1364
2590
  check_type(argname="argument props", value=props, expected_type=type_hints["props"])
1365
2591
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
1366
2592
 
@@ -1373,46 +2599,40 @@ class CfnProfile(
1373
2599
  @builtins.property
1374
2600
  @jsii.member(jsii_name="attrCreatedAt")
1375
2601
  def attr_created_at(self) -> builtins.str:
1376
- '''Returns the timestamp for creation date and time of the profile.
2602
+ '''Returns a timestamp indicating when the transformer was created.
2603
+
2604
+ For example, ``2023-07-20T19:58:44.624Z`` .
1377
2605
 
1378
2606
  :cloudformationAttribute: CreatedAt
1379
2607
  '''
1380
2608
  return typing.cast(builtins.str, jsii.get(self, "attrCreatedAt"))
1381
2609
 
1382
- @builtins.property
1383
- @jsii.member(jsii_name="attrLogGroupName")
1384
- def attr_log_group_name(self) -> builtins.str:
1385
- '''Returns the name of the logging group.
1386
-
1387
- :cloudformationAttribute: LogGroupName
1388
- '''
1389
- return typing.cast(builtins.str, jsii.get(self, "attrLogGroupName"))
1390
-
1391
2610
  @builtins.property
1392
2611
  @jsii.member(jsii_name="attrModifiedAt")
1393
2612
  def attr_modified_at(self) -> builtins.str:
1394
- '''Returns the timestamp that identifies the most recent date and time that the profile was modified.
2613
+ '''Returns a timestamp representing the date and time for the most recent change for the transformer object.
1395
2614
 
1396
2615
  :cloudformationAttribute: ModifiedAt
1397
2616
  '''
1398
2617
  return typing.cast(builtins.str, jsii.get(self, "attrModifiedAt"))
1399
2618
 
1400
2619
  @builtins.property
1401
- @jsii.member(jsii_name="attrProfileArn")
1402
- def attr_profile_arn(self) -> builtins.str:
1403
- '''Returns an Amazon Resource Name (ARN) for the profile.
2620
+ @jsii.member(jsii_name="attrTransformerArn")
2621
+ def attr_transformer_arn(self) -> builtins.str:
2622
+ '''Returns an Amazon Resource Name (ARN) for a specific transformer.
1404
2623
 
1405
- :cloudformationAttribute: ProfileArn
2624
+ :cloudformationAttribute: TransformerArn
1406
2625
  '''
1407
- return typing.cast(builtins.str, jsii.get(self, "attrProfileArn"))
2626
+ return typing.cast(builtins.str, jsii.get(self, "attrTransformerArn"))
1408
2627
 
1409
2628
  @builtins.property
1410
- @jsii.member(jsii_name="attrProfileId")
1411
- def attr_profile_id(self) -> builtins.str:
1412
- '''
1413
- :cloudformationAttribute: ProfileId
2629
+ @jsii.member(jsii_name="attrTransformerId")
2630
+ def attr_transformer_id(self) -> builtins.str:
2631
+ '''The system-assigned unique identifier for the transformer.
2632
+
2633
+ :cloudformationAttribute: TransformerId
1414
2634
  '''
1415
- return typing.cast(builtins.str, jsii.get(self, "attrProfileId"))
2635
+ return typing.cast(builtins.str, jsii.get(self, "attrTransformerId"))
1416
2636
 
1417
2637
  @builtins.property
1418
2638
  @jsii.member(jsii_name="cdkTagManager")
@@ -1425,501 +2645,622 @@ class CfnProfile(
1425
2645
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
1426
2646
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
1427
2647
 
1428
- @builtins.property
1429
- @jsii.member(jsii_name="businessName")
1430
- def business_name(self) -> builtins.str:
1431
- '''Returns the name for the business associated with this profile.'''
1432
- return typing.cast(builtins.str, jsii.get(self, "businessName"))
1433
-
1434
- @business_name.setter
1435
- def business_name(self, value: builtins.str) -> None:
1436
- if __debug__:
1437
- type_hints = typing.get_type_hints(_typecheckingstub__504646617c098f5bad7128cc7a515f70f2c86e5d34b43f63aa27a2ad543b4e01)
1438
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1439
- jsii.set(self, "businessName", value) # pyright: ignore[reportArgumentType]
1440
-
1441
- @builtins.property
1442
- @jsii.member(jsii_name="logging")
1443
- def logging(self) -> builtins.str:
1444
- '''Specifies whether or not logging is enabled for this profile.'''
1445
- return typing.cast(builtins.str, jsii.get(self, "logging"))
1446
-
1447
- @logging.setter
1448
- def logging(self, value: builtins.str) -> None:
1449
- if __debug__:
1450
- type_hints = typing.get_type_hints(_typecheckingstub__127f59e663824bfd0cc39ab3ed6020d41d54a2b30e31fc71b46ce48e510ff366)
1451
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1452
- jsii.set(self, "logging", value) # pyright: ignore[reportArgumentType]
1453
-
1454
2648
  @builtins.property
1455
2649
  @jsii.member(jsii_name="name")
1456
2650
  def name(self) -> builtins.str:
1457
- '''Returns the display name for profile.'''
2651
+ '''Returns the descriptive name for the transformer.'''
1458
2652
  return typing.cast(builtins.str, jsii.get(self, "name"))
1459
2653
 
1460
2654
  @name.setter
1461
2655
  def name(self, value: builtins.str) -> None:
1462
2656
  if __debug__:
1463
- type_hints = typing.get_type_hints(_typecheckingstub__978cb41c2583c736d786df05be25dfaaa254556b513af9850f95c4f5f7999380)
2657
+ type_hints = typing.get_type_hints(_typecheckingstub__1302a1da7c175d27a541e2b1a5f25f80a4dac4f0a966ee8cddf6d1014ea81395)
1464
2658
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1465
2659
  jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
1466
2660
 
1467
2661
  @builtins.property
1468
- @jsii.member(jsii_name="phone")
1469
- def phone(self) -> builtins.str:
1470
- return typing.cast(builtins.str, jsii.get(self, "phone"))
2662
+ @jsii.member(jsii_name="status")
2663
+ def status(self) -> builtins.str:
2664
+ '''Returns the state of the newly created transformer.'''
2665
+ return typing.cast(builtins.str, jsii.get(self, "status"))
1471
2666
 
1472
- @phone.setter
1473
- def phone(self, value: builtins.str) -> None:
2667
+ @status.setter
2668
+ def status(self, value: builtins.str) -> None:
1474
2669
  if __debug__:
1475
- type_hints = typing.get_type_hints(_typecheckingstub__5aa6ce25bb49d6882927fd231d1e147e27ba9905d54248c88718171a9e0fdd5e)
2670
+ type_hints = typing.get_type_hints(_typecheckingstub__fa8b2ecdc80ffc3d3b7ddf2cc4493b19df8fa02a3f0dbcf2ea74744b53c3b54c)
1476
2671
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1477
- jsii.set(self, "phone", value) # pyright: ignore[reportArgumentType]
2672
+ jsii.set(self, "status", value) # pyright: ignore[reportArgumentType]
1478
2673
 
1479
2674
  @builtins.property
1480
- @jsii.member(jsii_name="email")
1481
- def email(self) -> typing.Optional[builtins.str]:
1482
- return typing.cast(typing.Optional[builtins.str], jsii.get(self, "email"))
2675
+ @jsii.member(jsii_name="ediType")
2676
+ def edi_type(
2677
+ self,
2678
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.EdiTypeProperty"]]:
2679
+ '''(deprecated) Returns the details for the EDI standard that is being used for the transformer.
1483
2680
 
1484
- @email.setter
1485
- def email(self, value: typing.Optional[builtins.str]) -> None:
2681
+ :deprecated: this property has been deprecated
2682
+
2683
+ :stability: deprecated
2684
+ '''
2685
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.EdiTypeProperty"]], jsii.get(self, "ediType"))
2686
+
2687
+ @edi_type.setter
2688
+ def edi_type(
2689
+ self,
2690
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.EdiTypeProperty"]],
2691
+ ) -> None:
1486
2692
  if __debug__:
1487
- type_hints = typing.get_type_hints(_typecheckingstub__e0936f8c78a965c88641d39b7a6e2d4e7ad2bd7f48de6870270d842ba0ccdc34)
2693
+ type_hints = typing.get_type_hints(_typecheckingstub__e29c7d30dfbbc72fddf07313c1a9cb2eb14ed42c55e23bc13564603f6928f89c)
1488
2694
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1489
- jsii.set(self, "email", value) # pyright: ignore[reportArgumentType]
2695
+ jsii.set(self, "ediType", value) # pyright: ignore[reportArgumentType]
1490
2696
 
1491
2697
  @builtins.property
1492
- @jsii.member(jsii_name="tags")
1493
- def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
1494
- '''A key-value pair for a specific profile.'''
1495
- return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
2698
+ @jsii.member(jsii_name="fileFormat")
2699
+ def file_format(self) -> typing.Optional[builtins.str]:
2700
+ '''(deprecated) Returns that the currently supported file formats for EDI transformations are ``JSON`` and ``XML`` .
1496
2701
 
1497
- @tags.setter
1498
- def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
2702
+ :deprecated: this property has been deprecated
2703
+
2704
+ :stability: deprecated
2705
+ '''
2706
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "fileFormat"))
2707
+
2708
+ @file_format.setter
2709
+ def file_format(self, value: typing.Optional[builtins.str]) -> None:
1499
2710
  if __debug__:
1500
- type_hints = typing.get_type_hints(_typecheckingstub__8b70ada00d6d35989093b4f1b185f6deaa1f9c1404a82bc792e6f4dc53684b45)
2711
+ type_hints = typing.get_type_hints(_typecheckingstub__f2fb21eeda84a5b3d95ee7d5d0e82a546522729b7fd5930fd6ed068055475615)
1501
2712
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1502
- jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
2713
+ jsii.set(self, "fileFormat", value) # pyright: ignore[reportArgumentType]
1503
2714
 
2715
+ @builtins.property
2716
+ @jsii.member(jsii_name="inputConversion")
2717
+ def input_conversion(
2718
+ self,
2719
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.InputConversionProperty"]]:
2720
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.InputConversionProperty"]], jsii.get(self, "inputConversion"))
1504
2721
 
1505
- @jsii.data_type(
1506
- jsii_type="aws-cdk-lib.aws_b2bi.CfnProfileProps",
1507
- jsii_struct_bases=[],
1508
- name_mapping={
1509
- "business_name": "businessName",
1510
- "logging": "logging",
1511
- "name": "name",
1512
- "phone": "phone",
1513
- "email": "email",
1514
- "tags": "tags",
1515
- },
1516
- )
1517
- class CfnProfileProps:
1518
- def __init__(
2722
+ @input_conversion.setter
2723
+ def input_conversion(
1519
2724
  self,
1520
- *,
1521
- business_name: builtins.str,
1522
- logging: builtins.str,
1523
- name: builtins.str,
1524
- phone: builtins.str,
1525
- email: typing.Optional[builtins.str] = None,
1526
- tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
2725
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.InputConversionProperty"]],
1527
2726
  ) -> None:
1528
- '''Properties for defining a ``CfnProfile``.
1529
-
1530
- :param business_name: Returns the name for the business associated with this profile.
1531
- :param logging: Specifies whether or not logging is enabled for this profile.
1532
- :param name: Returns the display name for profile.
1533
- :param phone:
1534
- :param email:
1535
- :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.
1536
-
1537
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-profile.html
1538
- :exampleMetadata: fixture=_generated
2727
+ if __debug__:
2728
+ type_hints = typing.get_type_hints(_typecheckingstub__056cb33326d8ab962996a430d43268cf524779e42269f6fd11778cc6ada79b5f)
2729
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2730
+ jsii.set(self, "inputConversion", value) # pyright: ignore[reportArgumentType]
1539
2731
 
1540
- Example::
2732
+ @builtins.property
2733
+ @jsii.member(jsii_name="mapping")
2734
+ def mapping(
2735
+ self,
2736
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.MappingProperty"]]:
2737
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.MappingProperty"]], jsii.get(self, "mapping"))
1541
2738
 
1542
- # The code below shows an example of how to instantiate this type.
1543
- # The values are placeholders you should change.
1544
- from aws_cdk import aws_b2bi as b2bi
1545
-
1546
- cfn_profile_props = b2bi.CfnProfileProps(
1547
- business_name="businessName",
1548
- logging="logging",
1549
- name="name",
1550
- phone="phone",
1551
-
1552
- # the properties below are optional
1553
- email="email",
1554
- tags=[CfnTag(
1555
- key="key",
1556
- value="value"
1557
- )]
1558
- )
1559
- '''
1560
- if __debug__:
1561
- type_hints = typing.get_type_hints(_typecheckingstub__85c233c5836835af7c38d9812c75649ec2fc027fa20a2af7be215694f4d322e4)
1562
- check_type(argname="argument business_name", value=business_name, expected_type=type_hints["business_name"])
1563
- check_type(argname="argument logging", value=logging, expected_type=type_hints["logging"])
1564
- check_type(argname="argument name", value=name, expected_type=type_hints["name"])
1565
- check_type(argname="argument phone", value=phone, expected_type=type_hints["phone"])
1566
- check_type(argname="argument email", value=email, expected_type=type_hints["email"])
1567
- check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
1568
- self._values: typing.Dict[builtins.str, typing.Any] = {
1569
- "business_name": business_name,
1570
- "logging": logging,
1571
- "name": name,
1572
- "phone": phone,
1573
- }
1574
- if email is not None:
1575
- self._values["email"] = email
1576
- if tags is not None:
1577
- self._values["tags"] = tags
2739
+ @mapping.setter
2740
+ def mapping(
2741
+ self,
2742
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.MappingProperty"]],
2743
+ ) -> None:
2744
+ if __debug__:
2745
+ type_hints = typing.get_type_hints(_typecheckingstub__e387342b420c26f3bab05e439e7cdb6476c7ca408b9af77f2e83cd5901615494)
2746
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2747
+ jsii.set(self, "mapping", value) # pyright: ignore[reportArgumentType]
1578
2748
 
1579
2749
  @builtins.property
1580
- def business_name(self) -> builtins.str:
1581
- '''Returns the name for the business associated with this profile.
2750
+ @jsii.member(jsii_name="mappingTemplate")
2751
+ def mapping_template(self) -> typing.Optional[builtins.str]:
2752
+ '''(deprecated) Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.
1582
2753
 
1583
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-profile.html#cfn-b2bi-profile-businessname
2754
+ :deprecated: this property has been deprecated
2755
+
2756
+ :stability: deprecated
1584
2757
  '''
1585
- result = self._values.get("business_name")
1586
- assert result is not None, "Required property 'business_name' is missing"
1587
- return typing.cast(builtins.str, result)
2758
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "mappingTemplate"))
2759
+
2760
+ @mapping_template.setter
2761
+ def mapping_template(self, value: typing.Optional[builtins.str]) -> None:
2762
+ if __debug__:
2763
+ type_hints = typing.get_type_hints(_typecheckingstub__685af615cb66c99ad9251a37e75e2851545a2603e7b07280b617d52d744fdf10)
2764
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2765
+ jsii.set(self, "mappingTemplate", value) # pyright: ignore[reportArgumentType]
1588
2766
 
1589
2767
  @builtins.property
1590
- def logging(self) -> builtins.str:
1591
- '''Specifies whether or not logging is enabled for this profile.
2768
+ @jsii.member(jsii_name="outputConversion")
2769
+ def output_conversion(
2770
+ self,
2771
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.OutputConversionProperty"]]:
2772
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.OutputConversionProperty"]], jsii.get(self, "outputConversion"))
1592
2773
 
1593
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-profile.html#cfn-b2bi-profile-logging
1594
- '''
1595
- result = self._values.get("logging")
1596
- assert result is not None, "Required property 'logging' is missing"
1597
- return typing.cast(builtins.str, result)
2774
+ @output_conversion.setter
2775
+ def output_conversion(
2776
+ self,
2777
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.OutputConversionProperty"]],
2778
+ ) -> None:
2779
+ if __debug__:
2780
+ type_hints = typing.get_type_hints(_typecheckingstub__7557543c524bd85a7f46e69222077c401410694a495823c77e5acfd9862974c8)
2781
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2782
+ jsii.set(self, "outputConversion", value) # pyright: ignore[reportArgumentType]
1598
2783
 
1599
2784
  @builtins.property
1600
- def name(self) -> builtins.str:
1601
- '''Returns the display name for profile.
2785
+ @jsii.member(jsii_name="sampleDocument")
2786
+ def sample_document(self) -> typing.Optional[builtins.str]:
2787
+ '''(deprecated) Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.
1602
2788
 
1603
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-profile.html#cfn-b2bi-profile-name
1604
- '''
1605
- result = self._values.get("name")
1606
- assert result is not None, "Required property 'name' is missing"
1607
- return typing.cast(builtins.str, result)
2789
+ :deprecated: this property has been deprecated
1608
2790
 
1609
- @builtins.property
1610
- def phone(self) -> builtins.str:
1611
- '''
1612
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-profile.html#cfn-b2bi-profile-phone
2791
+ :stability: deprecated
1613
2792
  '''
1614
- result = self._values.get("phone")
1615
- assert result is not None, "Required property 'phone' is missing"
1616
- return typing.cast(builtins.str, result)
2793
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "sampleDocument"))
2794
+
2795
+ @sample_document.setter
2796
+ def sample_document(self, value: typing.Optional[builtins.str]) -> None:
2797
+ if __debug__:
2798
+ type_hints = typing.get_type_hints(_typecheckingstub__3c2214b3717f190a30ff1cc1b45298208906824b8d93bfb181ad552ca17e7a7d)
2799
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2800
+ jsii.set(self, "sampleDocument", value) # pyright: ignore[reportArgumentType]
1617
2801
 
1618
2802
  @builtins.property
1619
- def email(self) -> typing.Optional[builtins.str]:
1620
- '''
1621
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-profile.html#cfn-b2bi-profile-email
1622
- '''
1623
- result = self._values.get("email")
1624
- return typing.cast(typing.Optional[builtins.str], result)
2803
+ @jsii.member(jsii_name="sampleDocuments")
2804
+ def sample_documents(
2805
+ self,
2806
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.SampleDocumentsProperty"]]:
2807
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.SampleDocumentsProperty"]], jsii.get(self, "sampleDocuments"))
2808
+
2809
+ @sample_documents.setter
2810
+ def sample_documents(
2811
+ self,
2812
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.SampleDocumentsProperty"]],
2813
+ ) -> None:
2814
+ if __debug__:
2815
+ type_hints = typing.get_type_hints(_typecheckingstub__57efa3bbcc026952ce89a7f735c98632dc48e0c850f121c3bdc93c2fe4983d66)
2816
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2817
+ jsii.set(self, "sampleDocuments", value) # pyright: ignore[reportArgumentType]
1625
2818
 
1626
2819
  @builtins.property
2820
+ @jsii.member(jsii_name="tags")
1627
2821
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
1628
- '''A key-value pair for a specific profile.
2822
+ '''A key-value pair for a specific transformer.'''
2823
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
1629
2824
 
1630
- Tags are metadata that you can use to search for and group capabilities for various purposes.
2825
+ @tags.setter
2826
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
2827
+ if __debug__:
2828
+ type_hints = typing.get_type_hints(_typecheckingstub__d4ec179f77fa2da856518d97a9b83e88d0c96784ca483f80c070b398e5655b89)
2829
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2830
+ jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
1631
2831
 
1632
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-profile.html#cfn-b2bi-profile-tags
1633
- '''
1634
- result = self._values.get("tags")
1635
- return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
2832
+ @jsii.data_type(
2833
+ jsii_type="aws-cdk-lib.aws_b2bi.CfnTransformer.EdiTypeProperty",
2834
+ jsii_struct_bases=[],
2835
+ name_mapping={"x12_details": "x12Details"},
2836
+ )
2837
+ class EdiTypeProperty:
2838
+ def __init__(
2839
+ self,
2840
+ *,
2841
+ x12_details: typing.Union[_IResolvable_da3f097b, typing.Union["CfnTransformer.X12DetailsProperty", typing.Dict[builtins.str, typing.Any]]],
2842
+ ) -> None:
2843
+ '''Specifies the details for the EDI standard that is being used for the transformer.
1636
2844
 
1637
- def __eq__(self, rhs: typing.Any) -> builtins.bool:
1638
- return isinstance(rhs, self.__class__) and rhs._values == self._values
2845
+ Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.
1639
2846
 
1640
- def __ne__(self, rhs: typing.Any) -> builtins.bool:
1641
- return not (rhs == self)
2847
+ :param x12_details: Returns the details for the EDI standard that is being used for the transformer. Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.
1642
2848
 
1643
- def __repr__(self) -> str:
1644
- return "CfnProfileProps(%s)" % ", ".join(
1645
- k + "=" + repr(v) for k, v in self._values.items()
1646
- )
2849
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-editype.html
2850
+ :exampleMetadata: fixture=_generated
1647
2851
 
2852
+ Example::
1648
2853
 
1649
- @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
1650
- class CfnTransformer(
1651
- _CfnResource_9df397a6,
1652
- metaclass=jsii.JSIIMeta,
1653
- jsii_type="aws-cdk-lib.aws_b2bi.CfnTransformer",
1654
- ):
1655
- '''Creates a transformer.
2854
+ # The code below shows an example of how to instantiate this type.
2855
+ # The values are placeholders you should change.
2856
+ from aws_cdk import aws_b2bi as b2bi
2857
+
2858
+ edi_type_property = b2bi.CfnTransformer.EdiTypeProperty(
2859
+ x12_details=b2bi.CfnTransformer.X12DetailsProperty(
2860
+ transaction_set="transactionSet",
2861
+ version="version"
2862
+ )
2863
+ )
2864
+ '''
2865
+ if __debug__:
2866
+ type_hints = typing.get_type_hints(_typecheckingstub__0a90856b523d4a63e08c58604f08df0cd4ca6647b6d8b2bf4c0c6238831a179a)
2867
+ check_type(argname="argument x12_details", value=x12_details, expected_type=type_hints["x12_details"])
2868
+ self._values: typing.Dict[builtins.str, typing.Any] = {
2869
+ "x12_details": x12_details,
2870
+ }
1656
2871
 
1657
- A transformer describes how to process the incoming EDI documents and extract the necessary information to the output file.
2872
+ @builtins.property
2873
+ def x12_details(
2874
+ self,
2875
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnTransformer.X12DetailsProperty"]:
2876
+ '''Returns the details for the EDI standard that is being used for the transformer.
1658
2877
 
1659
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html
1660
- :cloudformationResource: AWS::B2BI::Transformer
1661
- :exampleMetadata: fixture=_generated
2878
+ Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.
1662
2879
 
1663
- Example::
2880
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-editype.html#cfn-b2bi-transformer-editype-x12details
2881
+ '''
2882
+ result = self._values.get("x12_details")
2883
+ assert result is not None, "Required property 'x12_details' is missing"
2884
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnTransformer.X12DetailsProperty"], result)
1664
2885
 
1665
- # The code below shows an example of how to instantiate this type.
1666
- # The values are placeholders you should change.
1667
- from aws_cdk import aws_b2bi as b2bi
1668
-
1669
- cfn_transformer = b2bi.CfnTransformer(self, "MyCfnTransformer",
1670
- edi_type=b2bi.CfnTransformer.EdiTypeProperty(
1671
- x12_details=b2bi.CfnTransformer.X12DetailsProperty(
1672
- transaction_set="transactionSet",
1673
- version="version"
2886
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
2887
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
2888
+
2889
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
2890
+ return not (rhs == self)
2891
+
2892
+ def __repr__(self) -> str:
2893
+ return "EdiTypeProperty(%s)" % ", ".join(
2894
+ k + "=" + repr(v) for k, v in self._values.items()
2895
+ )
2896
+
2897
+ @jsii.data_type(
2898
+ jsii_type="aws-cdk-lib.aws_b2bi.CfnTransformer.FormatOptionsProperty",
2899
+ jsii_struct_bases=[],
2900
+ name_mapping={"x12": "x12"},
2901
+ )
2902
+ class FormatOptionsProperty:
2903
+ def __init__(
2904
+ self,
2905
+ *,
2906
+ x12: typing.Union[_IResolvable_da3f097b, typing.Union["CfnTransformer.X12DetailsProperty", typing.Dict[builtins.str, typing.Any]]],
2907
+ ) -> None:
2908
+ '''
2909
+ :param x12:
2910
+
2911
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-formatoptions.html
2912
+ :exampleMetadata: fixture=_generated
2913
+
2914
+ Example::
2915
+
2916
+ # The code below shows an example of how to instantiate this type.
2917
+ # The values are placeholders you should change.
2918
+ from aws_cdk import aws_b2bi as b2bi
2919
+
2920
+ format_options_property = b2bi.CfnTransformer.FormatOptionsProperty(
2921
+ x12=b2bi.CfnTransformer.X12DetailsProperty(
2922
+ transaction_set="transactionSet",
2923
+ version="version"
2924
+ )
1674
2925
  )
1675
- ),
1676
- file_format="fileFormat",
1677
- mapping_template="mappingTemplate",
1678
- name="name",
1679
- status="status",
1680
-
1681
- # the properties below are optional
1682
- sample_document="sampleDocument",
1683
- tags=[CfnTag(
1684
- key="key",
1685
- value="value"
1686
- )]
1687
- )
1688
- '''
2926
+ '''
2927
+ if __debug__:
2928
+ type_hints = typing.get_type_hints(_typecheckingstub__4fd1bb8229a0f694482eb19adf96ad49a74295bc6d7acb9ae073773371f3b26e)
2929
+ check_type(argname="argument x12", value=x12, expected_type=type_hints["x12"])
2930
+ self._values: typing.Dict[builtins.str, typing.Any] = {
2931
+ "x12": x12,
2932
+ }
1689
2933
 
1690
- def __init__(
1691
- self,
1692
- scope: _constructs_77d1e7e8.Construct,
1693
- id: builtins.str,
1694
- *,
1695
- edi_type: typing.Union[_IResolvable_da3f097b, typing.Union["CfnTransformer.EdiTypeProperty", typing.Dict[builtins.str, typing.Any]]],
1696
- file_format: builtins.str,
1697
- mapping_template: builtins.str,
1698
- name: builtins.str,
1699
- status: builtins.str,
1700
- sample_document: typing.Optional[builtins.str] = None,
1701
- tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1702
- ) -> None:
1703
- '''
1704
- :param scope: Scope in which this resource is defined.
1705
- :param id: Construct identifier for this resource (unique in its scope).
1706
- :param edi_type: Returns the details for the EDI standard that is being used for the transformer. Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.
1707
- :param file_format: Returns that the currently supported file formats for EDI transformations are ``JSON`` and ``XML`` .
1708
- :param mapping_template: Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.
1709
- :param name: Returns the descriptive name for the transformer.
1710
- :param status: Returns the state of the newly created transformer. The transformer can be either ``active`` or ``inactive`` . For the transformer to be used in a capability, its status must ``active`` .
1711
- :param sample_document: Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.
1712
- :param tags: A key-value pair for a specific transformer. Tags are metadata that you can use to search for and group capabilities for various purposes.
1713
- '''
1714
- if __debug__:
1715
- type_hints = typing.get_type_hints(_typecheckingstub__fb0d6d0f8083b8bc38eb61c54d65c6e72d668ba067f31569d0213bf7dafff2c9)
1716
- check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
1717
- check_type(argname="argument id", value=id, expected_type=type_hints["id"])
1718
- props = CfnTransformerProps(
1719
- edi_type=edi_type,
1720
- file_format=file_format,
1721
- mapping_template=mapping_template,
1722
- name=name,
1723
- status=status,
1724
- sample_document=sample_document,
1725
- tags=tags,
1726
- )
2934
+ @builtins.property
2935
+ def x12(
2936
+ self,
2937
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnTransformer.X12DetailsProperty"]:
2938
+ '''
2939
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-formatoptions.html#cfn-b2bi-transformer-formatoptions-x12
2940
+ '''
2941
+ result = self._values.get("x12")
2942
+ assert result is not None, "Required property 'x12' is missing"
2943
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnTransformer.X12DetailsProperty"], result)
2944
+
2945
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
2946
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
2947
+
2948
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
2949
+ return not (rhs == self)
2950
+
2951
+ def __repr__(self) -> str:
2952
+ return "FormatOptionsProperty(%s)" % ", ".join(
2953
+ k + "=" + repr(v) for k, v in self._values.items()
2954
+ )
2955
+
2956
+ @jsii.data_type(
2957
+ jsii_type="aws-cdk-lib.aws_b2bi.CfnTransformer.InputConversionProperty",
2958
+ jsii_struct_bases=[],
2959
+ name_mapping={"from_format": "fromFormat", "format_options": "formatOptions"},
2960
+ )
2961
+ class InputConversionProperty:
2962
+ def __init__(
2963
+ self,
2964
+ *,
2965
+ from_format: builtins.str,
2966
+ format_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTransformer.FormatOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
2967
+ ) -> None:
2968
+ '''
2969
+ :param from_format:
2970
+ :param format_options:
1727
2971
 
1728
- jsii.create(self.__class__, self, [scope, id, props])
2972
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-inputconversion.html
2973
+ :exampleMetadata: fixture=_generated
1729
2974
 
1730
- @jsii.member(jsii_name="inspect")
1731
- def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
1732
- '''Examines the CloudFormation resource and discloses attributes.
2975
+ Example::
1733
2976
 
1734
- :param inspector: tree inspector to collect and process attributes.
1735
- '''
1736
- if __debug__:
1737
- type_hints = typing.get_type_hints(_typecheckingstub__cd0b05118fb2d551f3054a5c85d10fe283c5ca2b9e830ef5a31a1eb7e66fce63)
1738
- check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
1739
- return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
2977
+ # The code below shows an example of how to instantiate this type.
2978
+ # The values are placeholders you should change.
2979
+ from aws_cdk import aws_b2bi as b2bi
2980
+
2981
+ input_conversion_property = b2bi.CfnTransformer.InputConversionProperty(
2982
+ from_format="fromFormat",
2983
+
2984
+ # the properties below are optional
2985
+ format_options=b2bi.CfnTransformer.FormatOptionsProperty(
2986
+ x12=b2bi.CfnTransformer.X12DetailsProperty(
2987
+ transaction_set="transactionSet",
2988
+ version="version"
2989
+ )
2990
+ )
2991
+ )
2992
+ '''
2993
+ if __debug__:
2994
+ type_hints = typing.get_type_hints(_typecheckingstub__26660093b7b88e1d4689618f27b43e1e286cfcdb3adbc4c515c4b29513332a12)
2995
+ check_type(argname="argument from_format", value=from_format, expected_type=type_hints["from_format"])
2996
+ check_type(argname="argument format_options", value=format_options, expected_type=type_hints["format_options"])
2997
+ self._values: typing.Dict[builtins.str, typing.Any] = {
2998
+ "from_format": from_format,
2999
+ }
3000
+ if format_options is not None:
3001
+ self._values["format_options"] = format_options
1740
3002
 
1741
- @jsii.member(jsii_name="renderProperties")
1742
- def _render_properties(
1743
- self,
1744
- props: typing.Mapping[builtins.str, typing.Any],
1745
- ) -> typing.Mapping[builtins.str, typing.Any]:
1746
- '''
1747
- :param props: -
1748
- '''
1749
- if __debug__:
1750
- type_hints = typing.get_type_hints(_typecheckingstub__8de580bfd50f433c0cd75e13649e7f911981404484637058415a594dac3eea03)
1751
- check_type(argname="argument props", value=props, expected_type=type_hints["props"])
1752
- return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
3003
+ @builtins.property
3004
+ def from_format(self) -> builtins.str:
3005
+ '''
3006
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-inputconversion.html#cfn-b2bi-transformer-inputconversion-fromformat
3007
+ '''
3008
+ result = self._values.get("from_format")
3009
+ assert result is not None, "Required property 'from_format' is missing"
3010
+ return typing.cast(builtins.str, result)
1753
3011
 
1754
- @jsii.python.classproperty
1755
- @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
1756
- def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
1757
- '''The CloudFormation resource type name for this resource class.'''
1758
- return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
3012
+ @builtins.property
3013
+ def format_options(
3014
+ self,
3015
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.FormatOptionsProperty"]]:
3016
+ '''
3017
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-inputconversion.html#cfn-b2bi-transformer-inputconversion-formatoptions
3018
+ '''
3019
+ result = self._values.get("format_options")
3020
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.FormatOptionsProperty"]], result)
1759
3021
 
1760
- @builtins.property
1761
- @jsii.member(jsii_name="attrCreatedAt")
1762
- def attr_created_at(self) -> builtins.str:
1763
- '''Returns a timestamp indicating when the transformer was created.
3022
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
3023
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1764
3024
 
1765
- For example, ``2023-07-20T19:58:44.624Z`` .
3025
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
3026
+ return not (rhs == self)
1766
3027
 
1767
- :cloudformationAttribute: CreatedAt
1768
- '''
1769
- return typing.cast(builtins.str, jsii.get(self, "attrCreatedAt"))
3028
+ def __repr__(self) -> str:
3029
+ return "InputConversionProperty(%s)" % ", ".join(
3030
+ k + "=" + repr(v) for k, v in self._values.items()
3031
+ )
1770
3032
 
1771
- @builtins.property
1772
- @jsii.member(jsii_name="attrModifiedAt")
1773
- def attr_modified_at(self) -> builtins.str:
1774
- '''Returns a timestamp representing the date and time for the most recent change for the transformer object.
3033
+ @jsii.data_type(
3034
+ jsii_type="aws-cdk-lib.aws_b2bi.CfnTransformer.MappingProperty",
3035
+ jsii_struct_bases=[],
3036
+ name_mapping={"template_language": "templateLanguage", "template": "template"},
3037
+ )
3038
+ class MappingProperty:
3039
+ def __init__(
3040
+ self,
3041
+ *,
3042
+ template_language: builtins.str,
3043
+ template: typing.Optional[builtins.str] = None,
3044
+ ) -> None:
3045
+ '''
3046
+ :param template_language:
3047
+ :param template:
1775
3048
 
1776
- :cloudformationAttribute: ModifiedAt
1777
- '''
1778
- return typing.cast(builtins.str, jsii.get(self, "attrModifiedAt"))
3049
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-mapping.html
3050
+ :exampleMetadata: fixture=_generated
1779
3051
 
1780
- @builtins.property
1781
- @jsii.member(jsii_name="attrTransformerArn")
1782
- def attr_transformer_arn(self) -> builtins.str:
1783
- '''Returns an Amazon Resource Name (ARN) for a specific transformer.
3052
+ Example::
1784
3053
 
1785
- :cloudformationAttribute: TransformerArn
1786
- '''
1787
- return typing.cast(builtins.str, jsii.get(self, "attrTransformerArn"))
3054
+ # The code below shows an example of how to instantiate this type.
3055
+ # The values are placeholders you should change.
3056
+ from aws_cdk import aws_b2bi as b2bi
3057
+
3058
+ mapping_property = b2bi.CfnTransformer.MappingProperty(
3059
+ template_language="templateLanguage",
3060
+
3061
+ # the properties below are optional
3062
+ template="template"
3063
+ )
3064
+ '''
3065
+ if __debug__:
3066
+ type_hints = typing.get_type_hints(_typecheckingstub__0ab01eed6892d54284d211380c1147d43f8287b1d284d94cfbe020e4733c0c53)
3067
+ check_type(argname="argument template_language", value=template_language, expected_type=type_hints["template_language"])
3068
+ check_type(argname="argument template", value=template, expected_type=type_hints["template"])
3069
+ self._values: typing.Dict[builtins.str, typing.Any] = {
3070
+ "template_language": template_language,
3071
+ }
3072
+ if template is not None:
3073
+ self._values["template"] = template
1788
3074
 
1789
- @builtins.property
1790
- @jsii.member(jsii_name="attrTransformerId")
1791
- def attr_transformer_id(self) -> builtins.str:
1792
- '''The system-assigned unique identifier for the transformer.
3075
+ @builtins.property
3076
+ def template_language(self) -> builtins.str:
3077
+ '''
3078
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-mapping.html#cfn-b2bi-transformer-mapping-templatelanguage
3079
+ '''
3080
+ result = self._values.get("template_language")
3081
+ assert result is not None, "Required property 'template_language' is missing"
3082
+ return typing.cast(builtins.str, result)
1793
3083
 
1794
- :cloudformationAttribute: TransformerId
1795
- '''
1796
- return typing.cast(builtins.str, jsii.get(self, "attrTransformerId"))
3084
+ @builtins.property
3085
+ def template(self) -> typing.Optional[builtins.str]:
3086
+ '''
3087
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-mapping.html#cfn-b2bi-transformer-mapping-template
3088
+ '''
3089
+ result = self._values.get("template")
3090
+ return typing.cast(typing.Optional[builtins.str], result)
1797
3091
 
1798
- @builtins.property
1799
- @jsii.member(jsii_name="cdkTagManager")
1800
- def cdk_tag_manager(self) -> _TagManager_0a598cb3:
1801
- '''Tag Manager which manages the tags for this resource.'''
1802
- return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
3092
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
3093
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1803
3094
 
1804
- @builtins.property
1805
- @jsii.member(jsii_name="cfnProperties")
1806
- def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
1807
- return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
3095
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
3096
+ return not (rhs == self)
1808
3097
 
1809
- @builtins.property
1810
- @jsii.member(jsii_name="ediType")
1811
- def edi_type(
1812
- self,
1813
- ) -> typing.Union[_IResolvable_da3f097b, "CfnTransformer.EdiTypeProperty"]:
1814
- '''Returns the details for the EDI standard that is being used for the transformer.'''
1815
- return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnTransformer.EdiTypeProperty"], jsii.get(self, "ediType"))
3098
+ def __repr__(self) -> str:
3099
+ return "MappingProperty(%s)" % ", ".join(
3100
+ k + "=" + repr(v) for k, v in self._values.items()
3101
+ )
1816
3102
 
1817
- @edi_type.setter
1818
- def edi_type(
1819
- self,
1820
- value: typing.Union[_IResolvable_da3f097b, "CfnTransformer.EdiTypeProperty"],
1821
- ) -> None:
1822
- if __debug__:
1823
- type_hints = typing.get_type_hints(_typecheckingstub__e29c7d30dfbbc72fddf07313c1a9cb2eb14ed42c55e23bc13564603f6928f89c)
1824
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1825
- jsii.set(self, "ediType", value) # pyright: ignore[reportArgumentType]
3103
+ @jsii.data_type(
3104
+ jsii_type="aws-cdk-lib.aws_b2bi.CfnTransformer.OutputConversionProperty",
3105
+ jsii_struct_bases=[],
3106
+ name_mapping={"to_format": "toFormat", "format_options": "formatOptions"},
3107
+ )
3108
+ class OutputConversionProperty:
3109
+ def __init__(
3110
+ self,
3111
+ *,
3112
+ to_format: builtins.str,
3113
+ format_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTransformer.FormatOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
3114
+ ) -> None:
3115
+ '''
3116
+ :param to_format:
3117
+ :param format_options:
1826
3118
 
1827
- @builtins.property
1828
- @jsii.member(jsii_name="fileFormat")
1829
- def file_format(self) -> builtins.str:
1830
- '''Returns that the currently supported file formats for EDI transformations are ``JSON`` and ``XML`` .'''
1831
- return typing.cast(builtins.str, jsii.get(self, "fileFormat"))
3119
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-outputconversion.html
3120
+ :exampleMetadata: fixture=_generated
1832
3121
 
1833
- @file_format.setter
1834
- def file_format(self, value: builtins.str) -> None:
1835
- if __debug__:
1836
- type_hints = typing.get_type_hints(_typecheckingstub__f2fb21eeda84a5b3d95ee7d5d0e82a546522729b7fd5930fd6ed068055475615)
1837
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1838
- jsii.set(self, "fileFormat", value) # pyright: ignore[reportArgumentType]
3122
+ Example::
1839
3123
 
1840
- @builtins.property
1841
- @jsii.member(jsii_name="mappingTemplate")
1842
- def mapping_template(self) -> builtins.str:
1843
- '''Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.'''
1844
- return typing.cast(builtins.str, jsii.get(self, "mappingTemplate"))
3124
+ # The code below shows an example of how to instantiate this type.
3125
+ # The values are placeholders you should change.
3126
+ from aws_cdk import aws_b2bi as b2bi
3127
+
3128
+ output_conversion_property = b2bi.CfnTransformer.OutputConversionProperty(
3129
+ to_format="toFormat",
3130
+
3131
+ # the properties below are optional
3132
+ format_options=b2bi.CfnTransformer.FormatOptionsProperty(
3133
+ x12=b2bi.CfnTransformer.X12DetailsProperty(
3134
+ transaction_set="transactionSet",
3135
+ version="version"
3136
+ )
3137
+ )
3138
+ )
3139
+ '''
3140
+ if __debug__:
3141
+ type_hints = typing.get_type_hints(_typecheckingstub__dba363199b2c0b97d3ba296b1d26754261d2515646da5bce6b98f57eff2c1d59)
3142
+ check_type(argname="argument to_format", value=to_format, expected_type=type_hints["to_format"])
3143
+ check_type(argname="argument format_options", value=format_options, expected_type=type_hints["format_options"])
3144
+ self._values: typing.Dict[builtins.str, typing.Any] = {
3145
+ "to_format": to_format,
3146
+ }
3147
+ if format_options is not None:
3148
+ self._values["format_options"] = format_options
1845
3149
 
1846
- @mapping_template.setter
1847
- def mapping_template(self, value: builtins.str) -> None:
1848
- if __debug__:
1849
- type_hints = typing.get_type_hints(_typecheckingstub__685af615cb66c99ad9251a37e75e2851545a2603e7b07280b617d52d744fdf10)
1850
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1851
- jsii.set(self, "mappingTemplate", value) # pyright: ignore[reportArgumentType]
3150
+ @builtins.property
3151
+ def to_format(self) -> builtins.str:
3152
+ '''
3153
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-outputconversion.html#cfn-b2bi-transformer-outputconversion-toformat
3154
+ '''
3155
+ result = self._values.get("to_format")
3156
+ assert result is not None, "Required property 'to_format' is missing"
3157
+ return typing.cast(builtins.str, result)
1852
3158
 
1853
- @builtins.property
1854
- @jsii.member(jsii_name="name")
1855
- def name(self) -> builtins.str:
1856
- '''Returns the descriptive name for the transformer.'''
1857
- return typing.cast(builtins.str, jsii.get(self, "name"))
3159
+ @builtins.property
3160
+ def format_options(
3161
+ self,
3162
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.FormatOptionsProperty"]]:
3163
+ '''
3164
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-outputconversion.html#cfn-b2bi-transformer-outputconversion-formatoptions
3165
+ '''
3166
+ result = self._values.get("format_options")
3167
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTransformer.FormatOptionsProperty"]], result)
1858
3168
 
1859
- @name.setter
1860
- def name(self, value: builtins.str) -> None:
1861
- if __debug__:
1862
- type_hints = typing.get_type_hints(_typecheckingstub__1302a1da7c175d27a541e2b1a5f25f80a4dac4f0a966ee8cddf6d1014ea81395)
1863
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1864
- jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
3169
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
3170
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1865
3171
 
1866
- @builtins.property
1867
- @jsii.member(jsii_name="status")
1868
- def status(self) -> builtins.str:
1869
- '''Returns the state of the newly created transformer.'''
1870
- return typing.cast(builtins.str, jsii.get(self, "status"))
3172
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
3173
+ return not (rhs == self)
1871
3174
 
1872
- @status.setter
1873
- def status(self, value: builtins.str) -> None:
1874
- if __debug__:
1875
- type_hints = typing.get_type_hints(_typecheckingstub__fa8b2ecdc80ffc3d3b7ddf2cc4493b19df8fa02a3f0dbcf2ea74744b53c3b54c)
1876
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1877
- jsii.set(self, "status", value) # pyright: ignore[reportArgumentType]
3175
+ def __repr__(self) -> str:
3176
+ return "OutputConversionProperty(%s)" % ", ".join(
3177
+ k + "=" + repr(v) for k, v in self._values.items()
3178
+ )
1878
3179
 
1879
- @builtins.property
1880
- @jsii.member(jsii_name="sampleDocument")
1881
- def sample_document(self) -> typing.Optional[builtins.str]:
1882
- '''Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.'''
1883
- return typing.cast(typing.Optional[builtins.str], jsii.get(self, "sampleDocument"))
3180
+ @jsii.data_type(
3181
+ jsii_type="aws-cdk-lib.aws_b2bi.CfnTransformer.SampleDocumentKeysProperty",
3182
+ jsii_struct_bases=[],
3183
+ name_mapping={"input": "input", "output": "output"},
3184
+ )
3185
+ class SampleDocumentKeysProperty:
3186
+ def __init__(
3187
+ self,
3188
+ *,
3189
+ input: typing.Optional[builtins.str] = None,
3190
+ output: typing.Optional[builtins.str] = None,
3191
+ ) -> None:
3192
+ '''
3193
+ :param input:
3194
+ :param output:
3195
+
3196
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-sampledocumentkeys.html
3197
+ :exampleMetadata: fixture=_generated
3198
+
3199
+ Example::
3200
+
3201
+ # The code below shows an example of how to instantiate this type.
3202
+ # The values are placeholders you should change.
3203
+ from aws_cdk import aws_b2bi as b2bi
3204
+
3205
+ sample_document_keys_property = b2bi.CfnTransformer.SampleDocumentKeysProperty(
3206
+ input="input",
3207
+ output="output"
3208
+ )
3209
+ '''
3210
+ if __debug__:
3211
+ type_hints = typing.get_type_hints(_typecheckingstub__4a55402dd251ebf996fa89475f3a74890134f31b512e9f6a30126f32b8dc1195)
3212
+ check_type(argname="argument input", value=input, expected_type=type_hints["input"])
3213
+ check_type(argname="argument output", value=output, expected_type=type_hints["output"])
3214
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
3215
+ if input is not None:
3216
+ self._values["input"] = input
3217
+ if output is not None:
3218
+ self._values["output"] = output
3219
+
3220
+ @builtins.property
3221
+ def input(self) -> typing.Optional[builtins.str]:
3222
+ '''
3223
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-sampledocumentkeys.html#cfn-b2bi-transformer-sampledocumentkeys-input
3224
+ '''
3225
+ result = self._values.get("input")
3226
+ return typing.cast(typing.Optional[builtins.str], result)
3227
+
3228
+ @builtins.property
3229
+ def output(self) -> typing.Optional[builtins.str]:
3230
+ '''
3231
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-sampledocumentkeys.html#cfn-b2bi-transformer-sampledocumentkeys-output
3232
+ '''
3233
+ result = self._values.get("output")
3234
+ return typing.cast(typing.Optional[builtins.str], result)
1884
3235
 
1885
- @sample_document.setter
1886
- def sample_document(self, value: typing.Optional[builtins.str]) -> None:
1887
- if __debug__:
1888
- type_hints = typing.get_type_hints(_typecheckingstub__3c2214b3717f190a30ff1cc1b45298208906824b8d93bfb181ad552ca17e7a7d)
1889
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1890
- jsii.set(self, "sampleDocument", value) # pyright: ignore[reportArgumentType]
3236
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
3237
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1891
3238
 
1892
- @builtins.property
1893
- @jsii.member(jsii_name="tags")
1894
- def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
1895
- '''A key-value pair for a specific transformer.'''
1896
- return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
3239
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
3240
+ return not (rhs == self)
1897
3241
 
1898
- @tags.setter
1899
- def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
1900
- if __debug__:
1901
- type_hints = typing.get_type_hints(_typecheckingstub__d4ec179f77fa2da856518d97a9b83e88d0c96784ca483f80c070b398e5655b89)
1902
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1903
- jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
3242
+ def __repr__(self) -> str:
3243
+ return "SampleDocumentKeysProperty(%s)" % ", ".join(
3244
+ k + "=" + repr(v) for k, v in self._values.items()
3245
+ )
1904
3246
 
1905
3247
  @jsii.data_type(
1906
- jsii_type="aws-cdk-lib.aws_b2bi.CfnTransformer.EdiTypeProperty",
3248
+ jsii_type="aws-cdk-lib.aws_b2bi.CfnTransformer.SampleDocumentsProperty",
1907
3249
  jsii_struct_bases=[],
1908
- name_mapping={"x12_details": "x12Details"},
3250
+ name_mapping={"bucket_name": "bucketName", "keys": "keys"},
1909
3251
  )
1910
- class EdiTypeProperty:
3252
+ class SampleDocumentsProperty:
1911
3253
  def __init__(
1912
3254
  self,
1913
3255
  *,
1914
- x12_details: typing.Union[_IResolvable_da3f097b, typing.Union["CfnTransformer.X12DetailsProperty", typing.Dict[builtins.str, typing.Any]]],
3256
+ bucket_name: builtins.str,
3257
+ keys: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTransformer.SampleDocumentKeysProperty", typing.Dict[builtins.str, typing.Any]]]]],
1915
3258
  ) -> None:
1916
- '''Specifies the details for the EDI standard that is being used for the transformer.
1917
-
1918
- Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.
1919
-
1920
- :param x12_details: Returns the details for the EDI standard that is being used for the transformer. Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.
3259
+ '''
3260
+ :param bucket_name:
3261
+ :param keys:
1921
3262
 
1922
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-editype.html
3263
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-sampledocuments.html
1923
3264
  :exampleMetadata: fixture=_generated
1924
3265
 
1925
3266
  Example::
@@ -1928,33 +3269,42 @@ class CfnTransformer(
1928
3269
  # The values are placeholders you should change.
1929
3270
  from aws_cdk import aws_b2bi as b2bi
1930
3271
 
1931
- edi_type_property = b2bi.CfnTransformer.EdiTypeProperty(
1932
- x12_details=b2bi.CfnTransformer.X12DetailsProperty(
1933
- transaction_set="transactionSet",
1934
- version="version"
1935
- )
3272
+ sample_documents_property = b2bi.CfnTransformer.SampleDocumentsProperty(
3273
+ bucket_name="bucketName",
3274
+ keys=[b2bi.CfnTransformer.SampleDocumentKeysProperty(
3275
+ input="input",
3276
+ output="output"
3277
+ )]
1936
3278
  )
1937
3279
  '''
1938
3280
  if __debug__:
1939
- type_hints = typing.get_type_hints(_typecheckingstub__0a90856b523d4a63e08c58604f08df0cd4ca6647b6d8b2bf4c0c6238831a179a)
1940
- check_type(argname="argument x12_details", value=x12_details, expected_type=type_hints["x12_details"])
3281
+ type_hints = typing.get_type_hints(_typecheckingstub__f6b7e60975e30fa176cbce1116829b7ea73143bc6b12e63afdd39fa252357221)
3282
+ check_type(argname="argument bucket_name", value=bucket_name, expected_type=type_hints["bucket_name"])
3283
+ check_type(argname="argument keys", value=keys, expected_type=type_hints["keys"])
1941
3284
  self._values: typing.Dict[builtins.str, typing.Any] = {
1942
- "x12_details": x12_details,
3285
+ "bucket_name": bucket_name,
3286
+ "keys": keys,
1943
3287
  }
1944
3288
 
1945
3289
  @builtins.property
1946
- def x12_details(
1947
- self,
1948
- ) -> typing.Union[_IResolvable_da3f097b, "CfnTransformer.X12DetailsProperty"]:
1949
- '''Returns the details for the EDI standard that is being used for the transformer.
1950
-
1951
- Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.
3290
+ def bucket_name(self) -> builtins.str:
3291
+ '''
3292
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-sampledocuments.html#cfn-b2bi-transformer-sampledocuments-bucketname
3293
+ '''
3294
+ result = self._values.get("bucket_name")
3295
+ assert result is not None, "Required property 'bucket_name' is missing"
3296
+ return typing.cast(builtins.str, result)
1952
3297
 
1953
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-editype.html#cfn-b2bi-transformer-editype-x12details
3298
+ @builtins.property
3299
+ def keys(
3300
+ self,
3301
+ ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnTransformer.SampleDocumentKeysProperty"]]]:
1954
3302
  '''
1955
- result = self._values.get("x12_details")
1956
- assert result is not None, "Required property 'x12_details' is missing"
1957
- return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnTransformer.X12DetailsProperty"], result)
3303
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-sampledocuments.html#cfn-b2bi-transformer-sampledocuments-keys
3304
+ '''
3305
+ result = self._values.get("keys")
3306
+ assert result is not None, "Required property 'keys' is missing"
3307
+ return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnTransformer.SampleDocumentKeysProperty"]]], result)
1958
3308
 
1959
3309
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
1960
3310
  return isinstance(rhs, self.__class__) and rhs._values == self._values
@@ -1963,7 +3313,7 @@ class CfnTransformer(
1963
3313
  return not (rhs == self)
1964
3314
 
1965
3315
  def __repr__(self) -> str:
1966
- return "EdiTypeProperty(%s)" % ", ".join(
3316
+ return "SampleDocumentsProperty(%s)" % ", ".join(
1967
3317
  k + "=" + repr(v) for k, v in self._values.items()
1968
3318
  )
1969
3319
 
@@ -2049,12 +3399,16 @@ class CfnTransformer(
2049
3399
  jsii_type="aws-cdk-lib.aws_b2bi.CfnTransformerProps",
2050
3400
  jsii_struct_bases=[],
2051
3401
  name_mapping={
3402
+ "name": "name",
3403
+ "status": "status",
2052
3404
  "edi_type": "ediType",
2053
3405
  "file_format": "fileFormat",
3406
+ "input_conversion": "inputConversion",
3407
+ "mapping": "mapping",
2054
3408
  "mapping_template": "mappingTemplate",
2055
- "name": "name",
2056
- "status": "status",
3409
+ "output_conversion": "outputConversion",
2057
3410
  "sample_document": "sampleDocument",
3411
+ "sample_documents": "sampleDocuments",
2058
3412
  "tags": "tags",
2059
3413
  },
2060
3414
  )
@@ -2062,22 +3416,30 @@ class CfnTransformerProps:
2062
3416
  def __init__(
2063
3417
  self,
2064
3418
  *,
2065
- edi_type: typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.EdiTypeProperty, typing.Dict[builtins.str, typing.Any]]],
2066
- file_format: builtins.str,
2067
- mapping_template: builtins.str,
2068
3419
  name: builtins.str,
2069
3420
  status: builtins.str,
3421
+ edi_type: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.EdiTypeProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3422
+ file_format: typing.Optional[builtins.str] = None,
3423
+ input_conversion: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.InputConversionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3424
+ mapping: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.MappingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3425
+ mapping_template: typing.Optional[builtins.str] = None,
3426
+ output_conversion: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.OutputConversionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2070
3427
  sample_document: typing.Optional[builtins.str] = None,
3428
+ sample_documents: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.SampleDocumentsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2071
3429
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
2072
3430
  ) -> None:
2073
3431
  '''Properties for defining a ``CfnTransformer``.
2074
3432
 
2075
- :param edi_type: Returns the details for the EDI standard that is being used for the transformer. Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.
2076
- :param file_format: Returns that the currently supported file formats for EDI transformations are ``JSON`` and ``XML`` .
2077
- :param mapping_template: Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.
2078
3433
  :param name: Returns the descriptive name for the transformer.
2079
3434
  :param status: Returns the state of the newly created transformer. The transformer can be either ``active`` or ``inactive`` . For the transformer to be used in a capability, its status must ``active`` .
2080
- :param sample_document: Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.
3435
+ :param edi_type: (deprecated) Returns the details for the EDI standard that is being used for the transformer. Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.
3436
+ :param file_format: (deprecated) Returns that the currently supported file formats for EDI transformations are ``JSON`` and ``XML`` .
3437
+ :param input_conversion:
3438
+ :param mapping:
3439
+ :param mapping_template: (deprecated) Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.
3440
+ :param output_conversion:
3441
+ :param sample_document: (deprecated) Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.
3442
+ :param sample_documents:
2081
3443
  :param tags: A key-value pair for a specific transformer. Tags are metadata that you can use to search for and group capabilities for various purposes.
2082
3444
 
2083
3445
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html
@@ -2090,6 +3452,10 @@ class CfnTransformerProps:
2090
3452
  from aws_cdk import aws_b2bi as b2bi
2091
3453
 
2092
3454
  cfn_transformer_props = b2bi.CfnTransformerProps(
3455
+ name="name",
3456
+ status="status",
3457
+
3458
+ # the properties below are optional
2093
3459
  edi_type=b2bi.CfnTransformer.EdiTypeProperty(
2094
3460
  x12_details=b2bi.CfnTransformer.X12DetailsProperty(
2095
3461
  transaction_set="transactionSet",
@@ -2097,12 +3463,43 @@ class CfnTransformerProps:
2097
3463
  )
2098
3464
  ),
2099
3465
  file_format="fileFormat",
3466
+ input_conversion=b2bi.CfnTransformer.InputConversionProperty(
3467
+ from_format="fromFormat",
3468
+
3469
+ # the properties below are optional
3470
+ format_options=b2bi.CfnTransformer.FormatOptionsProperty(
3471
+ x12=b2bi.CfnTransformer.X12DetailsProperty(
3472
+ transaction_set="transactionSet",
3473
+ version="version"
3474
+ )
3475
+ )
3476
+ ),
3477
+ mapping=b2bi.CfnTransformer.MappingProperty(
3478
+ template_language="templateLanguage",
3479
+
3480
+ # the properties below are optional
3481
+ template="template"
3482
+ ),
2100
3483
  mapping_template="mappingTemplate",
2101
- name="name",
2102
- status="status",
3484
+ output_conversion=b2bi.CfnTransformer.OutputConversionProperty(
3485
+ to_format="toFormat",
2103
3486
 
2104
- # the properties below are optional
3487
+ # the properties below are optional
3488
+ format_options=b2bi.CfnTransformer.FormatOptionsProperty(
3489
+ x12=b2bi.CfnTransformer.X12DetailsProperty(
3490
+ transaction_set="transactionSet",
3491
+ version="version"
3492
+ )
3493
+ )
3494
+ ),
2105
3495
  sample_document="sampleDocument",
3496
+ sample_documents=b2bi.CfnTransformer.SampleDocumentsProperty(
3497
+ bucket_name="bucketName",
3498
+ keys=[b2bi.CfnTransformer.SampleDocumentKeysProperty(
3499
+ input="input",
3500
+ output="output"
3501
+ )]
3502
+ ),
2106
3503
  tags=[CfnTag(
2107
3504
  key="key",
2108
3505
  value="value"
@@ -2111,90 +3508,154 @@ class CfnTransformerProps:
2111
3508
  '''
2112
3509
  if __debug__:
2113
3510
  type_hints = typing.get_type_hints(_typecheckingstub__69e342f03b6075725a81423ccb4db79ba04bb935c9a3fd129f49fd2954e7cc21)
3511
+ check_type(argname="argument name", value=name, expected_type=type_hints["name"])
3512
+ check_type(argname="argument status", value=status, expected_type=type_hints["status"])
2114
3513
  check_type(argname="argument edi_type", value=edi_type, expected_type=type_hints["edi_type"])
2115
3514
  check_type(argname="argument file_format", value=file_format, expected_type=type_hints["file_format"])
3515
+ check_type(argname="argument input_conversion", value=input_conversion, expected_type=type_hints["input_conversion"])
3516
+ check_type(argname="argument mapping", value=mapping, expected_type=type_hints["mapping"])
2116
3517
  check_type(argname="argument mapping_template", value=mapping_template, expected_type=type_hints["mapping_template"])
2117
- check_type(argname="argument name", value=name, expected_type=type_hints["name"])
2118
- check_type(argname="argument status", value=status, expected_type=type_hints["status"])
3518
+ check_type(argname="argument output_conversion", value=output_conversion, expected_type=type_hints["output_conversion"])
2119
3519
  check_type(argname="argument sample_document", value=sample_document, expected_type=type_hints["sample_document"])
3520
+ check_type(argname="argument sample_documents", value=sample_documents, expected_type=type_hints["sample_documents"])
2120
3521
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
2121
3522
  self._values: typing.Dict[builtins.str, typing.Any] = {
2122
- "edi_type": edi_type,
2123
- "file_format": file_format,
2124
- "mapping_template": mapping_template,
2125
3523
  "name": name,
2126
3524
  "status": status,
2127
3525
  }
3526
+ if edi_type is not None:
3527
+ self._values["edi_type"] = edi_type
3528
+ if file_format is not None:
3529
+ self._values["file_format"] = file_format
3530
+ if input_conversion is not None:
3531
+ self._values["input_conversion"] = input_conversion
3532
+ if mapping is not None:
3533
+ self._values["mapping"] = mapping
3534
+ if mapping_template is not None:
3535
+ self._values["mapping_template"] = mapping_template
3536
+ if output_conversion is not None:
3537
+ self._values["output_conversion"] = output_conversion
2128
3538
  if sample_document is not None:
2129
3539
  self._values["sample_document"] = sample_document
3540
+ if sample_documents is not None:
3541
+ self._values["sample_documents"] = sample_documents
2130
3542
  if tags is not None:
2131
3543
  self._values["tags"] = tags
2132
3544
 
3545
+ @builtins.property
3546
+ def name(self) -> builtins.str:
3547
+ '''Returns the descriptive name for the transformer.
3548
+
3549
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html#cfn-b2bi-transformer-name
3550
+ '''
3551
+ result = self._values.get("name")
3552
+ assert result is not None, "Required property 'name' is missing"
3553
+ return typing.cast(builtins.str, result)
3554
+
3555
+ @builtins.property
3556
+ def status(self) -> builtins.str:
3557
+ '''Returns the state of the newly created transformer.
3558
+
3559
+ The transformer can be either ``active`` or ``inactive`` . For the transformer to be used in a capability, its status must ``active`` .
3560
+
3561
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html#cfn-b2bi-transformer-status
3562
+ '''
3563
+ result = self._values.get("status")
3564
+ assert result is not None, "Required property 'status' is missing"
3565
+ return typing.cast(builtins.str, result)
3566
+
2133
3567
  @builtins.property
2134
3568
  def edi_type(
2135
3569
  self,
2136
- ) -> typing.Union[_IResolvable_da3f097b, CfnTransformer.EdiTypeProperty]:
2137
- '''Returns the details for the EDI standard that is being used for the transformer.
3570
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTransformer.EdiTypeProperty]]:
3571
+ '''(deprecated) Returns the details for the EDI standard that is being used for the transformer.
2138
3572
 
2139
3573
  Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.
2140
3574
 
3575
+ :deprecated: this property has been deprecated
3576
+
2141
3577
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html#cfn-b2bi-transformer-editype
3578
+ :stability: deprecated
2142
3579
  '''
2143
3580
  result = self._values.get("edi_type")
2144
- assert result is not None, "Required property 'edi_type' is missing"
2145
- return typing.cast(typing.Union[_IResolvable_da3f097b, CfnTransformer.EdiTypeProperty], result)
3581
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTransformer.EdiTypeProperty]], result)
2146
3582
 
2147
3583
  @builtins.property
2148
- def file_format(self) -> builtins.str:
2149
- '''Returns that the currently supported file formats for EDI transformations are ``JSON`` and ``XML`` .
3584
+ def file_format(self) -> typing.Optional[builtins.str]:
3585
+ '''(deprecated) Returns that the currently supported file formats for EDI transformations are ``JSON`` and ``XML`` .
3586
+
3587
+ :deprecated: this property has been deprecated
2150
3588
 
2151
3589
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html#cfn-b2bi-transformer-fileformat
3590
+ :stability: deprecated
2152
3591
  '''
2153
3592
  result = self._values.get("file_format")
2154
- assert result is not None, "Required property 'file_format' is missing"
2155
- return typing.cast(builtins.str, result)
3593
+ return typing.cast(typing.Optional[builtins.str], result)
2156
3594
 
2157
3595
  @builtins.property
2158
- def mapping_template(self) -> builtins.str:
2159
- '''Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.
2160
-
2161
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html#cfn-b2bi-transformer-mappingtemplate
3596
+ def input_conversion(
3597
+ self,
3598
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTransformer.InputConversionProperty]]:
2162
3599
  '''
2163
- result = self._values.get("mapping_template")
2164
- assert result is not None, "Required property 'mapping_template' is missing"
2165
- return typing.cast(builtins.str, result)
3600
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html#cfn-b2bi-transformer-inputconversion
3601
+ '''
3602
+ result = self._values.get("input_conversion")
3603
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTransformer.InputConversionProperty]], result)
2166
3604
 
2167
3605
  @builtins.property
2168
- def name(self) -> builtins.str:
2169
- '''Returns the descriptive name for the transformer.
2170
-
2171
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html#cfn-b2bi-transformer-name
3606
+ def mapping(
3607
+ self,
3608
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTransformer.MappingProperty]]:
2172
3609
  '''
2173
- result = self._values.get("name")
2174
- assert result is not None, "Required property 'name' is missing"
2175
- return typing.cast(builtins.str, result)
3610
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html#cfn-b2bi-transformer-mapping
3611
+ '''
3612
+ result = self._values.get("mapping")
3613
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTransformer.MappingProperty]], result)
2176
3614
 
2177
3615
  @builtins.property
2178
- def status(self) -> builtins.str:
2179
- '''Returns the state of the newly created transformer.
3616
+ def mapping_template(self) -> typing.Optional[builtins.str]:
3617
+ '''(deprecated) Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.
2180
3618
 
2181
- The transformer can be either ``active`` or ``inactive`` . For the transformer to be used in a capability, its status must ``active`` .
3619
+ :deprecated: this property has been deprecated
2182
3620
 
2183
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html#cfn-b2bi-transformer-status
3621
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html#cfn-b2bi-transformer-mappingtemplate
3622
+ :stability: deprecated
2184
3623
  '''
2185
- result = self._values.get("status")
2186
- assert result is not None, "Required property 'status' is missing"
2187
- return typing.cast(builtins.str, result)
3624
+ result = self._values.get("mapping_template")
3625
+ return typing.cast(typing.Optional[builtins.str], result)
3626
+
3627
+ @builtins.property
3628
+ def output_conversion(
3629
+ self,
3630
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTransformer.OutputConversionProperty]]:
3631
+ '''
3632
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html#cfn-b2bi-transformer-outputconversion
3633
+ '''
3634
+ result = self._values.get("output_conversion")
3635
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTransformer.OutputConversionProperty]], result)
2188
3636
 
2189
3637
  @builtins.property
2190
3638
  def sample_document(self) -> typing.Optional[builtins.str]:
2191
- '''Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.
3639
+ '''(deprecated) Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.
3640
+
3641
+ :deprecated: this property has been deprecated
2192
3642
 
2193
3643
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html#cfn-b2bi-transformer-sampledocument
3644
+ :stability: deprecated
2194
3645
  '''
2195
3646
  result = self._values.get("sample_document")
2196
3647
  return typing.cast(typing.Optional[builtins.str], result)
2197
3648
 
3649
+ @builtins.property
3650
+ def sample_documents(
3651
+ self,
3652
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTransformer.SampleDocumentsProperty]]:
3653
+ '''
3654
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html#cfn-b2bi-transformer-sampledocuments
3655
+ '''
3656
+ result = self._values.get("sample_documents")
3657
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTransformer.SampleDocumentsProperty]], result)
3658
+
2198
3659
  @builtins.property
2199
3660
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
2200
3661
  '''A key-value pair for a specific transformer.
@@ -2299,6 +3760,7 @@ def _typecheckingstub__6057bec99d8a1adeb15f82ebd6a5c206f528d80ccf6eaebcc8e44d83d
2299
3760
  output_location: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCapability.S3LocationProperty, typing.Dict[builtins.str, typing.Any]]],
2300
3761
  transformer_id: builtins.str,
2301
3762
  type: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCapability.EdiTypeProperty, typing.Dict[builtins.str, typing.Any]]],
3763
+ capability_direction: typing.Optional[builtins.str] = None,
2302
3764
  ) -> None:
2303
3765
  """Type checking stubs"""
2304
3766
  pass
@@ -2341,10 +3803,11 @@ def _typecheckingstub__187ce4b824b0d27162e457adfee9761451ebc9ba1fbb31b215de741e2
2341
3803
  scope: _constructs_77d1e7e8.Construct,
2342
3804
  id: builtins.str,
2343
3805
  *,
3806
+ capabilities: typing.Sequence[builtins.str],
2344
3807
  email: builtins.str,
2345
3808
  name: builtins.str,
2346
3809
  profile_id: builtins.str,
2347
- capabilities: typing.Optional[typing.Sequence[builtins.str]] = None,
3810
+ capability_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPartnership.CapabilityOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2348
3811
  phone: typing.Optional[builtins.str] = None,
2349
3812
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
2350
3813
  ) -> None:
@@ -2363,6 +3826,12 @@ def _typecheckingstub__97e66f59482a5e62e1d52e1f96109cae79dc6c60b4b84b9ac971718f6
2363
3826
  """Type checking stubs"""
2364
3827
  pass
2365
3828
 
3829
+ def _typecheckingstub__0980f94d13e92ad52bd4f6a10906045804439d25bf3126b627f3a97eb79eb594(
3830
+ value: typing.List[builtins.str],
3831
+ ) -> None:
3832
+ """Type checking stubs"""
3833
+ pass
3834
+
2366
3835
  def _typecheckingstub__2873a98dfd303be4e91fec1a674c6ab1a7382e5563610406e047403b795f1a06(
2367
3836
  value: builtins.str,
2368
3837
  ) -> None:
@@ -2381,8 +3850,8 @@ def _typecheckingstub__126b2c043f2647e2a052eca52ec8432ea60287721a3e645fe4dd65583
2381
3850
  """Type checking stubs"""
2382
3851
  pass
2383
3852
 
2384
- def _typecheckingstub__0980f94d13e92ad52bd4f6a10906045804439d25bf3126b627f3a97eb79eb594(
2385
- value: typing.Optional[typing.List[builtins.str]],
3853
+ def _typecheckingstub__d35bf90164602b28a7873c9bbcf2cebf61f26952d369e2a905926b650b1a22e9(
3854
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPartnership.CapabilityOptionsProperty]],
2386
3855
  ) -> None:
2387
3856
  """Type checking stubs"""
2388
3857
  pass
@@ -2399,12 +3868,75 @@ def _typecheckingstub__fc0c0a6e8431d11899a318046b450bc4efc00486d9f20286940067c7f
2399
3868
  """Type checking stubs"""
2400
3869
  pass
2401
3870
 
3871
+ def _typecheckingstub__489c8d62d1ea0d603790b535b3f02b6d30eee2c7a02cd1b1d2a497a7f9f54c2b(
3872
+ *,
3873
+ outbound_edi: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPartnership.OutboundEdiOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3874
+ ) -> None:
3875
+ """Type checking stubs"""
3876
+ pass
3877
+
3878
+ def _typecheckingstub__32687b2a777cf504a9e11c6386b8aa7795645f807660aecf3f5bdddf1b953268(
3879
+ *,
3880
+ x12: typing.Union[_IResolvable_da3f097b, typing.Union[CfnPartnership.X12EnvelopeProperty, typing.Dict[builtins.str, typing.Any]]],
3881
+ ) -> None:
3882
+ """Type checking stubs"""
3883
+ pass
3884
+
3885
+ def _typecheckingstub__1c64e6cc29ab2abf7a0ebb687d8309174a673c2096776d261df47c9bb5f6044b(
3886
+ *,
3887
+ component_separator: typing.Optional[builtins.str] = None,
3888
+ data_element_separator: typing.Optional[builtins.str] = None,
3889
+ segment_terminator: typing.Optional[builtins.str] = None,
3890
+ ) -> None:
3891
+ """Type checking stubs"""
3892
+ pass
3893
+
3894
+ def _typecheckingstub__30e9a528379ffdff1b0693f52a617de66a178b919d5d3ddc1c68309cc0a86afc(
3895
+ *,
3896
+ common: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPartnership.X12OutboundEdiHeadersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3897
+ ) -> None:
3898
+ """Type checking stubs"""
3899
+ pass
3900
+
3901
+ def _typecheckingstub__0b107041a5b51efd672a9b2f3b5bb8ce2f8376a1dc4cddc6a58a089e0fc49b53(
3902
+ *,
3903
+ application_receiver_code: typing.Optional[builtins.str] = None,
3904
+ application_sender_code: typing.Optional[builtins.str] = None,
3905
+ responsible_agency_code: typing.Optional[builtins.str] = None,
3906
+ ) -> None:
3907
+ """Type checking stubs"""
3908
+ pass
3909
+
3910
+ def _typecheckingstub__2cd06c107bbc9de62cfdd484dd7527f5641c4d03e973675f4638b3441dcb2630(
3911
+ *,
3912
+ acknowledgment_requested_code: typing.Optional[builtins.str] = None,
3913
+ receiver_id: typing.Optional[builtins.str] = None,
3914
+ receiver_id_qualifier: typing.Optional[builtins.str] = None,
3915
+ repetition_separator: typing.Optional[builtins.str] = None,
3916
+ sender_id: typing.Optional[builtins.str] = None,
3917
+ sender_id_qualifier: typing.Optional[builtins.str] = None,
3918
+ usage_indicator_code: typing.Optional[builtins.str] = None,
3919
+ ) -> None:
3920
+ """Type checking stubs"""
3921
+ pass
3922
+
3923
+ def _typecheckingstub__8e80431a1b65f39f118b4a0b397a523502dcc49a5197848bd82eff40dc153d1c(
3924
+ *,
3925
+ delimiters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPartnership.X12DelimitersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3926
+ functional_group_headers: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPartnership.X12FunctionalGroupHeadersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3927
+ interchange_control_headers: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPartnership.X12InterchangeControlHeadersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3928
+ validate_edi: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
3929
+ ) -> None:
3930
+ """Type checking stubs"""
3931
+ pass
3932
+
2402
3933
  def _typecheckingstub__18d814bec885d4c9defe3c391c4892f53df8f0ca2dd0011baaccd4959105a243(
2403
3934
  *,
3935
+ capabilities: typing.Sequence[builtins.str],
2404
3936
  email: builtins.str,
2405
3937
  name: builtins.str,
2406
3938
  profile_id: builtins.str,
2407
- capabilities: typing.Optional[typing.Sequence[builtins.str]] = None,
3939
+ capability_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPartnership.CapabilityOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2408
3940
  phone: typing.Optional[builtins.str] = None,
2409
3941
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
2410
3942
  ) -> None:
@@ -2489,12 +4021,16 @@ def _typecheckingstub__fb0d6d0f8083b8bc38eb61c54d65c6e72d668ba067f31569d0213bf7d
2489
4021
  scope: _constructs_77d1e7e8.Construct,
2490
4022
  id: builtins.str,
2491
4023
  *,
2492
- edi_type: typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.EdiTypeProperty, typing.Dict[builtins.str, typing.Any]]],
2493
- file_format: builtins.str,
2494
- mapping_template: builtins.str,
2495
4024
  name: builtins.str,
2496
4025
  status: builtins.str,
4026
+ edi_type: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.EdiTypeProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4027
+ file_format: typing.Optional[builtins.str] = None,
4028
+ input_conversion: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.InputConversionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4029
+ mapping: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.MappingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4030
+ mapping_template: typing.Optional[builtins.str] = None,
4031
+ output_conversion: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.OutputConversionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2497
4032
  sample_document: typing.Optional[builtins.str] = None,
4033
+ sample_documents: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.SampleDocumentsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2498
4034
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
2499
4035
  ) -> None:
2500
4036
  """Type checking stubs"""
@@ -2512,32 +4048,50 @@ def _typecheckingstub__8de580bfd50f433c0cd75e13649e7f911981404484637058415a594da
2512
4048
  """Type checking stubs"""
2513
4049
  pass
2514
4050
 
4051
+ def _typecheckingstub__1302a1da7c175d27a541e2b1a5f25f80a4dac4f0a966ee8cddf6d1014ea81395(
4052
+ value: builtins.str,
4053
+ ) -> None:
4054
+ """Type checking stubs"""
4055
+ pass
4056
+
4057
+ def _typecheckingstub__fa8b2ecdc80ffc3d3b7ddf2cc4493b19df8fa02a3f0dbcf2ea74744b53c3b54c(
4058
+ value: builtins.str,
4059
+ ) -> None:
4060
+ """Type checking stubs"""
4061
+ pass
4062
+
2515
4063
  def _typecheckingstub__e29c7d30dfbbc72fddf07313c1a9cb2eb14ed42c55e23bc13564603f6928f89c(
2516
- value: typing.Union[_IResolvable_da3f097b, CfnTransformer.EdiTypeProperty],
4064
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTransformer.EdiTypeProperty]],
2517
4065
  ) -> None:
2518
4066
  """Type checking stubs"""
2519
4067
  pass
2520
4068
 
2521
4069
  def _typecheckingstub__f2fb21eeda84a5b3d95ee7d5d0e82a546522729b7fd5930fd6ed068055475615(
2522
- value: builtins.str,
4070
+ value: typing.Optional[builtins.str],
2523
4071
  ) -> None:
2524
4072
  """Type checking stubs"""
2525
4073
  pass
2526
4074
 
2527
- def _typecheckingstub__685af615cb66c99ad9251a37e75e2851545a2603e7b07280b617d52d744fdf10(
2528
- value: builtins.str,
4075
+ def _typecheckingstub__056cb33326d8ab962996a430d43268cf524779e42269f6fd11778cc6ada79b5f(
4076
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTransformer.InputConversionProperty]],
2529
4077
  ) -> None:
2530
4078
  """Type checking stubs"""
2531
4079
  pass
2532
4080
 
2533
- def _typecheckingstub__1302a1da7c175d27a541e2b1a5f25f80a4dac4f0a966ee8cddf6d1014ea81395(
2534
- value: builtins.str,
4081
+ def _typecheckingstub__e387342b420c26f3bab05e439e7cdb6476c7ca408b9af77f2e83cd5901615494(
4082
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTransformer.MappingProperty]],
2535
4083
  ) -> None:
2536
4084
  """Type checking stubs"""
2537
4085
  pass
2538
4086
 
2539
- def _typecheckingstub__fa8b2ecdc80ffc3d3b7ddf2cc4493b19df8fa02a3f0dbcf2ea74744b53c3b54c(
2540
- value: builtins.str,
4087
+ def _typecheckingstub__685af615cb66c99ad9251a37e75e2851545a2603e7b07280b617d52d744fdf10(
4088
+ value: typing.Optional[builtins.str],
4089
+ ) -> None:
4090
+ """Type checking stubs"""
4091
+ pass
4092
+
4093
+ def _typecheckingstub__7557543c524bd85a7f46e69222077c401410694a495823c77e5acfd9862974c8(
4094
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTransformer.OutputConversionProperty]],
2541
4095
  ) -> None:
2542
4096
  """Type checking stubs"""
2543
4097
  pass
@@ -2548,6 +4102,12 @@ def _typecheckingstub__3c2214b3717f190a30ff1cc1b45298208906824b8d93bfb181ad552ca
2548
4102
  """Type checking stubs"""
2549
4103
  pass
2550
4104
 
4105
+ def _typecheckingstub__57efa3bbcc026952ce89a7f735c98632dc48e0c850f121c3bdc93c2fe4983d66(
4106
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTransformer.SampleDocumentsProperty]],
4107
+ ) -> None:
4108
+ """Type checking stubs"""
4109
+ pass
4110
+
2551
4111
  def _typecheckingstub__d4ec179f77fa2da856518d97a9b83e88d0c96784ca483f80c070b398e5655b89(
2552
4112
  value: typing.Optional[typing.List[_CfnTag_f6864754]],
2553
4113
  ) -> None:
@@ -2561,6 +4121,53 @@ def _typecheckingstub__0a90856b523d4a63e08c58604f08df0cd4ca6647b6d8b2bf4c0c62388
2561
4121
  """Type checking stubs"""
2562
4122
  pass
2563
4123
 
4124
+ def _typecheckingstub__4fd1bb8229a0f694482eb19adf96ad49a74295bc6d7acb9ae073773371f3b26e(
4125
+ *,
4126
+ x12: typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.X12DetailsProperty, typing.Dict[builtins.str, typing.Any]]],
4127
+ ) -> None:
4128
+ """Type checking stubs"""
4129
+ pass
4130
+
4131
+ def _typecheckingstub__26660093b7b88e1d4689618f27b43e1e286cfcdb3adbc4c515c4b29513332a12(
4132
+ *,
4133
+ from_format: builtins.str,
4134
+ format_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.FormatOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4135
+ ) -> None:
4136
+ """Type checking stubs"""
4137
+ pass
4138
+
4139
+ def _typecheckingstub__0ab01eed6892d54284d211380c1147d43f8287b1d284d94cfbe020e4733c0c53(
4140
+ *,
4141
+ template_language: builtins.str,
4142
+ template: typing.Optional[builtins.str] = None,
4143
+ ) -> None:
4144
+ """Type checking stubs"""
4145
+ pass
4146
+
4147
+ def _typecheckingstub__dba363199b2c0b97d3ba296b1d26754261d2515646da5bce6b98f57eff2c1d59(
4148
+ *,
4149
+ to_format: builtins.str,
4150
+ format_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.FormatOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4151
+ ) -> None:
4152
+ """Type checking stubs"""
4153
+ pass
4154
+
4155
+ def _typecheckingstub__4a55402dd251ebf996fa89475f3a74890134f31b512e9f6a30126f32b8dc1195(
4156
+ *,
4157
+ input: typing.Optional[builtins.str] = None,
4158
+ output: typing.Optional[builtins.str] = None,
4159
+ ) -> None:
4160
+ """Type checking stubs"""
4161
+ pass
4162
+
4163
+ def _typecheckingstub__f6b7e60975e30fa176cbce1116829b7ea73143bc6b12e63afdd39fa252357221(
4164
+ *,
4165
+ bucket_name: builtins.str,
4166
+ keys: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.SampleDocumentKeysProperty, typing.Dict[builtins.str, typing.Any]]]]],
4167
+ ) -> None:
4168
+ """Type checking stubs"""
4169
+ pass
4170
+
2564
4171
  def _typecheckingstub__6c52ecd7c7c399e4bebfaf5bf8793e65928fdad0c0133ff1ce55c05683b44ac7(
2565
4172
  *,
2566
4173
  transaction_set: typing.Optional[builtins.str] = None,
@@ -2571,12 +4178,16 @@ def _typecheckingstub__6c52ecd7c7c399e4bebfaf5bf8793e65928fdad0c0133ff1ce55c0568
2571
4178
 
2572
4179
  def _typecheckingstub__69e342f03b6075725a81423ccb4db79ba04bb935c9a3fd129f49fd2954e7cc21(
2573
4180
  *,
2574
- edi_type: typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.EdiTypeProperty, typing.Dict[builtins.str, typing.Any]]],
2575
- file_format: builtins.str,
2576
- mapping_template: builtins.str,
2577
4181
  name: builtins.str,
2578
4182
  status: builtins.str,
4183
+ edi_type: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.EdiTypeProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4184
+ file_format: typing.Optional[builtins.str] = None,
4185
+ input_conversion: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.InputConversionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4186
+ mapping: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.MappingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4187
+ mapping_template: typing.Optional[builtins.str] = None,
4188
+ output_conversion: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.OutputConversionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2579
4189
  sample_document: typing.Optional[builtins.str] = None,
4190
+ sample_documents: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTransformer.SampleDocumentsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2580
4191
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
2581
4192
  ) -> None:
2582
4193
  """Type checking stubs"""