aws-cdk-lib 2.166.0__py3-none-any.whl → 2.167.1__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 (38) hide show
  1. aws_cdk/__init__.py +1 -1
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.166.0.jsii.tgz → aws-cdk-lib@2.167.1.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigateway/__init__.py +9 -0
  5. aws_cdk/aws_appsync/__init__.py +209 -79
  6. aws_cdk/aws_bedrock/__init__.py +51 -45
  7. aws_cdk/aws_cleanrooms/__init__.py +66 -5
  8. aws_cdk/aws_cloudfront/__init__.py +21 -3
  9. aws_cdk/aws_cloudfront/experimental/__init__.py +3 -3
  10. aws_cdk/aws_codebuild/__init__.py +59 -29
  11. aws_cdk/aws_datasync/__init__.py +51 -0
  12. aws_cdk/aws_ec2/__init__.py +305 -9
  13. aws_cdk/aws_ecs/__init__.py +37 -34
  14. aws_cdk/aws_elasticache/__init__.py +5 -3
  15. aws_cdk/aws_elasticloadbalancingv2/__init__.py +73 -46
  16. aws_cdk/aws_gamelift/__init__.py +52 -40
  17. aws_cdk/aws_inspectorv2/__init__.py +6 -12
  18. aws_cdk/aws_kms/__init__.py +2 -0
  19. aws_cdk/aws_lambda/__init__.py +336 -19
  20. aws_cdk/aws_lambda_nodejs/__init__.py +3 -3
  21. aws_cdk/aws_logs/__init__.py +214 -0
  22. aws_cdk/aws_nimblestudio/__init__.py +6 -103
  23. aws_cdk/aws_quicksight/__init__.py +481 -10
  24. aws_cdk/aws_rds/__init__.py +602 -0
  25. aws_cdk/aws_s3_assets/__init__.py +37 -0
  26. aws_cdk/aws_s3_deployment/__init__.py +5 -0
  27. aws_cdk/aws_servicecatalog/__init__.py +52 -4
  28. aws_cdk/aws_ses/__init__.py +5 -3
  29. aws_cdk/aws_stepfunctions/__init__.py +8 -0
  30. aws_cdk/aws_synthetics/__init__.py +12 -1
  31. aws_cdk/aws_wisdom/__init__.py +344 -24
  32. aws_cdk/triggers/__init__.py +3 -3
  33. {aws_cdk_lib-2.166.0.dist-info → aws_cdk_lib-2.167.1.dist-info}/METADATA +1 -1
  34. {aws_cdk_lib-2.166.0.dist-info → aws_cdk_lib-2.167.1.dist-info}/RECORD +38 -38
  35. {aws_cdk_lib-2.166.0.dist-info → aws_cdk_lib-2.167.1.dist-info}/WHEEL +1 -1
  36. {aws_cdk_lib-2.166.0.dist-info → aws_cdk_lib-2.167.1.dist-info}/LICENSE +0 -0
  37. {aws_cdk_lib-2.166.0.dist-info → aws_cdk_lib-2.167.1.dist-info}/NOTICE +0 -0
  38. {aws_cdk_lib-2.166.0.dist-info → aws_cdk_lib-2.167.1.dist-info}/top_level.txt +0 -0
@@ -1668,7 +1668,7 @@ class NodejsFunction(
1668
1668
  :param role: Lambda execution role. This is the role that will be assumed by the function upon execution. It controls the permissions that the function will have. The Role must be assumable by the 'lambda.amazonaws.com' service principal. The default Role automatically has permissions granted for Lambda execution. If you provide a Role, you must add the relevant AWS managed policies yourself. The relevant managed policies are "service-role/AWSLambdaBasicExecutionRole" and "service-role/AWSLambdaVPCAccessExecutionRole". Default: - A unique role will be generated for this lambda function. Both supplied and generated roles can always be changed by calling ``addToRolePolicy``.
1669
1669
  :param runtime_management_mode: Sets the runtime management configuration for a function's version. Default: Auto
1670
1670
  :param security_groups: The list of security groups to associate with the Lambda's network interfaces. Only used if 'vpc' is supplied. Default: - If the function is placed within a VPC and a security group is not specified, either by this or securityGroup prop, a dedicated security group will be created for this function.
1671
- :param snap_start: Enable SnapStart for Lambda Function. SnapStart is currently supported only for Java 11, 17 runtime Default: - No snapstart
1671
+ :param snap_start: Enable SnapStart for Lambda Function. SnapStart is currently supported for Java 11, Java 17, Python 3.12, Python 3.13, and .NET 8 runtime Default: - No snapstart
1672
1672
  :param system_log_level: (deprecated) Sets the system log level for the function. Default: "INFO"
1673
1673
  :param system_log_level_v2: Sets the system log level for the function. Default: SystemLogLevel.INFO
1674
1674
  :param timeout: The function execution time (in seconds) after which Lambda terminates the function. Because the execution time affects cost, set this value based on the function's expected execution time. Default: Duration.seconds(3)
@@ -1916,7 +1916,7 @@ class NodejsFunctionProps(_FunctionOptions_328f4d39):
1916
1916
  :param role: Lambda execution role. This is the role that will be assumed by the function upon execution. It controls the permissions that the function will have. The Role must be assumable by the 'lambda.amazonaws.com' service principal. The default Role automatically has permissions granted for Lambda execution. If you provide a Role, you must add the relevant AWS managed policies yourself. The relevant managed policies are "service-role/AWSLambdaBasicExecutionRole" and "service-role/AWSLambdaVPCAccessExecutionRole". Default: - A unique role will be generated for this lambda function. Both supplied and generated roles can always be changed by calling ``addToRolePolicy``.
1917
1917
  :param runtime_management_mode: Sets the runtime management configuration for a function's version. Default: Auto
1918
1918
  :param security_groups: The list of security groups to associate with the Lambda's network interfaces. Only used if 'vpc' is supplied. Default: - If the function is placed within a VPC and a security group is not specified, either by this or securityGroup prop, a dedicated security group will be created for this function.
1919
- :param snap_start: Enable SnapStart for Lambda Function. SnapStart is currently supported only for Java 11, 17 runtime Default: - No snapstart
1919
+ :param snap_start: Enable SnapStart for Lambda Function. SnapStart is currently supported for Java 11, Java 17, Python 3.12, Python 3.13, and .NET 8 runtime Default: - No snapstart
1920
1920
  :param system_log_level: (deprecated) Sets the system log level for the function. Default: "INFO"
1921
1921
  :param system_log_level_v2: Sets the system log level for the function. Default: SystemLogLevel.INFO
1922
1922
  :param timeout: The function execution time (in seconds) after which Lambda terminates the function. Because the execution time affects cost, set this value based on the function's expected execution time. Default: Duration.seconds(3)
@@ -2652,7 +2652,7 @@ class NodejsFunctionProps(_FunctionOptions_328f4d39):
2652
2652
  def snap_start(self) -> typing.Optional[_SnapStartConf_2ffaa769]:
2653
2653
  '''Enable SnapStart for Lambda Function.
2654
2654
 
2655
- SnapStart is currently supported only for Java 11, 17 runtime
2655
+ SnapStart is currently supported for Java 11, Java 17, Python 3.12, Python 3.13, and .NET 8 runtime
2656
2656
 
2657
2657
  :default: - No snapstart
2658
2658
  '''
@@ -923,6 +923,10 @@ class CfnDelivery(
923
923
  delivery_source_name="deliverySourceName",
924
924
 
925
925
  # the properties below are optional
926
+ field_delimiter="fieldDelimiter",
927
+ record_fields=["recordFields"],
928
+ s3_enable_hive_compatible_path=False,
929
+ s3_suffix_path="s3SuffixPath",
926
930
  tags=[CfnTag(
927
931
  key="key",
928
932
  value="value"
@@ -937,6 +941,10 @@ class CfnDelivery(
937
941
  *,
938
942
  delivery_destination_arn: builtins.str,
939
943
  delivery_source_name: builtins.str,
944
+ field_delimiter: typing.Optional[builtins.str] = None,
945
+ record_fields: typing.Optional[typing.Sequence[builtins.str]] = None,
946
+ s3_enable_hive_compatible_path: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
947
+ s3_suffix_path: typing.Optional[builtins.str] = None,
940
948
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
941
949
  ) -> None:
942
950
  '''
@@ -944,6 +952,10 @@ class CfnDelivery(
944
952
  :param id: Construct identifier for this resource (unique in its scope).
945
953
  :param delivery_destination_arn: The ARN of the delivery destination that is associated with this delivery.
946
954
  :param delivery_source_name: The name of the delivery source that is associated with this delivery.
955
+ :param field_delimiter: The field delimiter that is used between record fields when the final output format of a delivery is in ``Plain`` , ``W3C`` , or ``Raw`` format.
956
+ :param record_fields: The record fields used in this delivery.
957
+ :param s3_enable_hive_compatible_path: This parameter causes the S3 objects that contain delivered logs to use a prefix structure that allows for integration with Apache Hive.
958
+ :param s3_suffix_path: This string allows re-configuring the S3 object prefix to contain either static or variable sections. The valid variables to use in the suffix path will vary by each log source. See ConfigurationTemplate$allowedSuffixPathFields for more info on what values are supported in the suffix path for each log source.
947
959
  :param tags: The tags that have been assigned to this delivery.
948
960
  '''
949
961
  if __debug__:
@@ -953,6 +965,10 @@ class CfnDelivery(
953
965
  props = CfnDeliveryProps(
954
966
  delivery_destination_arn=delivery_destination_arn,
955
967
  delivery_source_name=delivery_source_name,
968
+ field_delimiter=field_delimiter,
969
+ record_fields=record_fields,
970
+ s3_enable_hive_compatible_path=s3_enable_hive_compatible_path,
971
+ s3_suffix_path=s3_suffix_path,
956
972
  tags=tags,
957
973
  )
958
974
 
@@ -1052,6 +1068,63 @@ class CfnDelivery(
1052
1068
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1053
1069
  jsii.set(self, "deliverySourceName", value) # pyright: ignore[reportArgumentType]
1054
1070
 
1071
+ @builtins.property
1072
+ @jsii.member(jsii_name="fieldDelimiter")
1073
+ def field_delimiter(self) -> typing.Optional[builtins.str]:
1074
+ '''The field delimiter that is used between record fields when the final output format of a delivery is in ``Plain`` , ``W3C`` , or ``Raw`` format.'''
1075
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "fieldDelimiter"))
1076
+
1077
+ @field_delimiter.setter
1078
+ def field_delimiter(self, value: typing.Optional[builtins.str]) -> None:
1079
+ if __debug__:
1080
+ type_hints = typing.get_type_hints(_typecheckingstub__4bd08694e6454ec1e8a7caa24ed3783c9708c421fe32b6506c73b7844a9734e3)
1081
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1082
+ jsii.set(self, "fieldDelimiter", value) # pyright: ignore[reportArgumentType]
1083
+
1084
+ @builtins.property
1085
+ @jsii.member(jsii_name="recordFields")
1086
+ def record_fields(self) -> typing.Optional[typing.List[builtins.str]]:
1087
+ '''The record fields used in this delivery.'''
1088
+ return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "recordFields"))
1089
+
1090
+ @record_fields.setter
1091
+ def record_fields(self, value: typing.Optional[typing.List[builtins.str]]) -> None:
1092
+ if __debug__:
1093
+ type_hints = typing.get_type_hints(_typecheckingstub__c57c7d1aa190b754df4f2f3cfe02326fa2d33aa925f4476a48f1ad8480bd7c58)
1094
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1095
+ jsii.set(self, "recordFields", value) # pyright: ignore[reportArgumentType]
1096
+
1097
+ @builtins.property
1098
+ @jsii.member(jsii_name="s3EnableHiveCompatiblePath")
1099
+ def s3_enable_hive_compatible_path(
1100
+ self,
1101
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
1102
+ '''This parameter causes the S3 objects that contain delivered logs to use a prefix structure that allows for integration with Apache Hive.'''
1103
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "s3EnableHiveCompatiblePath"))
1104
+
1105
+ @s3_enable_hive_compatible_path.setter
1106
+ def s3_enable_hive_compatible_path(
1107
+ self,
1108
+ value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
1109
+ ) -> None:
1110
+ if __debug__:
1111
+ type_hints = typing.get_type_hints(_typecheckingstub__883ead422cb217bb6d7d85bba609b57a45ff8726f927790c48273417346f9faa)
1112
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1113
+ jsii.set(self, "s3EnableHiveCompatiblePath", value) # pyright: ignore[reportArgumentType]
1114
+
1115
+ @builtins.property
1116
+ @jsii.member(jsii_name="s3SuffixPath")
1117
+ def s3_suffix_path(self) -> typing.Optional[builtins.str]:
1118
+ '''This string allows re-configuring the S3 object prefix to contain either static or variable sections.'''
1119
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "s3SuffixPath"))
1120
+
1121
+ @s3_suffix_path.setter
1122
+ def s3_suffix_path(self, value: typing.Optional[builtins.str]) -> None:
1123
+ if __debug__:
1124
+ type_hints = typing.get_type_hints(_typecheckingstub__eb1b6261fa6fe536f7b593af4c257808a0259533f08f144df15cc67bd0293e52)
1125
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1126
+ jsii.set(self, "s3SuffixPath", value) # pyright: ignore[reportArgumentType]
1127
+
1055
1128
  @builtins.property
1056
1129
  @jsii.member(jsii_name="tags")
1057
1130
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
@@ -1103,6 +1176,7 @@ class CfnDeliveryDestination(
1103
1176
  # the properties below are optional
1104
1177
  delivery_destination_policy=delivery_destination_policy,
1105
1178
  destination_resource_arn="destinationResourceArn",
1179
+ output_format="outputFormat",
1106
1180
  tags=[CfnTag(
1107
1181
  key="key",
1108
1182
  value="value"
@@ -1118,6 +1192,7 @@ class CfnDeliveryDestination(
1118
1192
  name: builtins.str,
1119
1193
  delivery_destination_policy: typing.Any = None,
1120
1194
  destination_resource_arn: typing.Optional[builtins.str] = None,
1195
+ output_format: typing.Optional[builtins.str] = None,
1121
1196
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1122
1197
  ) -> None:
1123
1198
  '''
@@ -1126,6 +1201,7 @@ class CfnDeliveryDestination(
1126
1201
  :param name: The name of this delivery destination.
1127
1202
  :param delivery_destination_policy: A structure that contains information about one delivery destination policy.
1128
1203
  :param destination_resource_arn: The ARN of the AWS destination that this delivery destination represents. That AWS destination can be a log group in CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Firehose.
1204
+ :param output_format: The format of the logs that are sent to this delivery destination.
1129
1205
  :param tags: The tags that have been assigned to this delivery destination.
1130
1206
  '''
1131
1207
  if __debug__:
@@ -1136,6 +1212,7 @@ class CfnDeliveryDestination(
1136
1212
  name=name,
1137
1213
  delivery_destination_policy=delivery_destination_policy,
1138
1214
  destination_resource_arn=destination_resource_arn,
1215
+ output_format=output_format,
1139
1216
  tags=tags,
1140
1217
  )
1141
1218
 
@@ -1239,6 +1316,19 @@ class CfnDeliveryDestination(
1239
1316
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1240
1317
  jsii.set(self, "destinationResourceArn", value) # pyright: ignore[reportArgumentType]
1241
1318
 
1319
+ @builtins.property
1320
+ @jsii.member(jsii_name="outputFormat")
1321
+ def output_format(self) -> typing.Optional[builtins.str]:
1322
+ '''The format of the logs that are sent to this delivery destination.'''
1323
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "outputFormat"))
1324
+
1325
+ @output_format.setter
1326
+ def output_format(self, value: typing.Optional[builtins.str]) -> None:
1327
+ if __debug__:
1328
+ type_hints = typing.get_type_hints(_typecheckingstub__72800638f30c315cbdfab3a9dcdd94e12b62e350f96e85c9fbc816f012ede070)
1329
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1330
+ jsii.set(self, "outputFormat", value) # pyright: ignore[reportArgumentType]
1331
+
1242
1332
  @builtins.property
1243
1333
  @jsii.member(jsii_name="tags")
1244
1334
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
@@ -1260,6 +1350,7 @@ class CfnDeliveryDestination(
1260
1350
  "name": "name",
1261
1351
  "delivery_destination_policy": "deliveryDestinationPolicy",
1262
1352
  "destination_resource_arn": "destinationResourceArn",
1353
+ "output_format": "outputFormat",
1263
1354
  "tags": "tags",
1264
1355
  },
1265
1356
  )
@@ -1270,6 +1361,7 @@ class CfnDeliveryDestinationProps:
1270
1361
  name: builtins.str,
1271
1362
  delivery_destination_policy: typing.Any = None,
1272
1363
  destination_resource_arn: typing.Optional[builtins.str] = None,
1364
+ output_format: typing.Optional[builtins.str] = None,
1273
1365
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1274
1366
  ) -> None:
1275
1367
  '''Properties for defining a ``CfnDeliveryDestination``.
@@ -1277,6 +1369,7 @@ class CfnDeliveryDestinationProps:
1277
1369
  :param name: The name of this delivery destination.
1278
1370
  :param delivery_destination_policy: A structure that contains information about one delivery destination policy.
1279
1371
  :param destination_resource_arn: The ARN of the AWS destination that this delivery destination represents. That AWS destination can be a log group in CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Firehose.
1372
+ :param output_format: The format of the logs that are sent to this delivery destination.
1280
1373
  :param tags: The tags that have been assigned to this delivery destination.
1281
1374
 
1282
1375
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-deliverydestination.html
@@ -1296,6 +1389,7 @@ class CfnDeliveryDestinationProps:
1296
1389
  # the properties below are optional
1297
1390
  delivery_destination_policy=delivery_destination_policy,
1298
1391
  destination_resource_arn="destinationResourceArn",
1392
+ output_format="outputFormat",
1299
1393
  tags=[CfnTag(
1300
1394
  key="key",
1301
1395
  value="value"
@@ -1307,6 +1401,7 @@ class CfnDeliveryDestinationProps:
1307
1401
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
1308
1402
  check_type(argname="argument delivery_destination_policy", value=delivery_destination_policy, expected_type=type_hints["delivery_destination_policy"])
1309
1403
  check_type(argname="argument destination_resource_arn", value=destination_resource_arn, expected_type=type_hints["destination_resource_arn"])
1404
+ check_type(argname="argument output_format", value=output_format, expected_type=type_hints["output_format"])
1310
1405
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
1311
1406
  self._values: typing.Dict[builtins.str, typing.Any] = {
1312
1407
  "name": name,
@@ -1315,6 +1410,8 @@ class CfnDeliveryDestinationProps:
1315
1410
  self._values["delivery_destination_policy"] = delivery_destination_policy
1316
1411
  if destination_resource_arn is not None:
1317
1412
  self._values["destination_resource_arn"] = destination_resource_arn
1413
+ if output_format is not None:
1414
+ self._values["output_format"] = output_format
1318
1415
  if tags is not None:
1319
1416
  self._values["tags"] = tags
1320
1417
 
@@ -1348,6 +1445,15 @@ class CfnDeliveryDestinationProps:
1348
1445
  result = self._values.get("destination_resource_arn")
1349
1446
  return typing.cast(typing.Optional[builtins.str], result)
1350
1447
 
1448
+ @builtins.property
1449
+ def output_format(self) -> typing.Optional[builtins.str]:
1450
+ '''The format of the logs that are sent to this delivery destination.
1451
+
1452
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-deliverydestination.html#cfn-logs-deliverydestination-outputformat
1453
+ '''
1454
+ result = self._values.get("output_format")
1455
+ return typing.cast(typing.Optional[builtins.str], result)
1456
+
1351
1457
  @builtins.property
1352
1458
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
1353
1459
  '''The tags that have been assigned to this delivery destination.
@@ -1375,6 +1481,10 @@ class CfnDeliveryDestinationProps:
1375
1481
  name_mapping={
1376
1482
  "delivery_destination_arn": "deliveryDestinationArn",
1377
1483
  "delivery_source_name": "deliverySourceName",
1484
+ "field_delimiter": "fieldDelimiter",
1485
+ "record_fields": "recordFields",
1486
+ "s3_enable_hive_compatible_path": "s3EnableHiveCompatiblePath",
1487
+ "s3_suffix_path": "s3SuffixPath",
1378
1488
  "tags": "tags",
1379
1489
  },
1380
1490
  )
@@ -1384,12 +1494,20 @@ class CfnDeliveryProps:
1384
1494
  *,
1385
1495
  delivery_destination_arn: builtins.str,
1386
1496
  delivery_source_name: builtins.str,
1497
+ field_delimiter: typing.Optional[builtins.str] = None,
1498
+ record_fields: typing.Optional[typing.Sequence[builtins.str]] = None,
1499
+ s3_enable_hive_compatible_path: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1500
+ s3_suffix_path: typing.Optional[builtins.str] = None,
1387
1501
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1388
1502
  ) -> None:
1389
1503
  '''Properties for defining a ``CfnDelivery``.
1390
1504
 
1391
1505
  :param delivery_destination_arn: The ARN of the delivery destination that is associated with this delivery.
1392
1506
  :param delivery_source_name: The name of the delivery source that is associated with this delivery.
1507
+ :param field_delimiter: The field delimiter that is used between record fields when the final output format of a delivery is in ``Plain`` , ``W3C`` , or ``Raw`` format.
1508
+ :param record_fields: The record fields used in this delivery.
1509
+ :param s3_enable_hive_compatible_path: This parameter causes the S3 objects that contain delivered logs to use a prefix structure that allows for integration with Apache Hive.
1510
+ :param s3_suffix_path: This string allows re-configuring the S3 object prefix to contain either static or variable sections. The valid variables to use in the suffix path will vary by each log source. See ConfigurationTemplate$allowedSuffixPathFields for more info on what values are supported in the suffix path for each log source.
1393
1511
  :param tags: The tags that have been assigned to this delivery.
1394
1512
 
1395
1513
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-delivery.html
@@ -1406,6 +1524,10 @@ class CfnDeliveryProps:
1406
1524
  delivery_source_name="deliverySourceName",
1407
1525
 
1408
1526
  # the properties below are optional
1527
+ field_delimiter="fieldDelimiter",
1528
+ record_fields=["recordFields"],
1529
+ s3_enable_hive_compatible_path=False,
1530
+ s3_suffix_path="s3SuffixPath",
1409
1531
  tags=[CfnTag(
1410
1532
  key="key",
1411
1533
  value="value"
@@ -1416,11 +1538,23 @@ class CfnDeliveryProps:
1416
1538
  type_hints = typing.get_type_hints(_typecheckingstub__b538310aec1f59690c78c4bf171f8ecae0a76d174388a130cf6154213614117c)
1417
1539
  check_type(argname="argument delivery_destination_arn", value=delivery_destination_arn, expected_type=type_hints["delivery_destination_arn"])
1418
1540
  check_type(argname="argument delivery_source_name", value=delivery_source_name, expected_type=type_hints["delivery_source_name"])
1541
+ check_type(argname="argument field_delimiter", value=field_delimiter, expected_type=type_hints["field_delimiter"])
1542
+ check_type(argname="argument record_fields", value=record_fields, expected_type=type_hints["record_fields"])
1543
+ check_type(argname="argument s3_enable_hive_compatible_path", value=s3_enable_hive_compatible_path, expected_type=type_hints["s3_enable_hive_compatible_path"])
1544
+ check_type(argname="argument s3_suffix_path", value=s3_suffix_path, expected_type=type_hints["s3_suffix_path"])
1419
1545
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
1420
1546
  self._values: typing.Dict[builtins.str, typing.Any] = {
1421
1547
  "delivery_destination_arn": delivery_destination_arn,
1422
1548
  "delivery_source_name": delivery_source_name,
1423
1549
  }
1550
+ if field_delimiter is not None:
1551
+ self._values["field_delimiter"] = field_delimiter
1552
+ if record_fields is not None:
1553
+ self._values["record_fields"] = record_fields
1554
+ if s3_enable_hive_compatible_path is not None:
1555
+ self._values["s3_enable_hive_compatible_path"] = s3_enable_hive_compatible_path
1556
+ if s3_suffix_path is not None:
1557
+ self._values["s3_suffix_path"] = s3_suffix_path
1424
1558
  if tags is not None:
1425
1559
  self._values["tags"] = tags
1426
1560
 
@@ -1444,6 +1578,46 @@ class CfnDeliveryProps:
1444
1578
  assert result is not None, "Required property 'delivery_source_name' is missing"
1445
1579
  return typing.cast(builtins.str, result)
1446
1580
 
1581
+ @builtins.property
1582
+ def field_delimiter(self) -> typing.Optional[builtins.str]:
1583
+ '''The field delimiter that is used between record fields when the final output format of a delivery is in ``Plain`` , ``W3C`` , or ``Raw`` format.
1584
+
1585
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-delivery.html#cfn-logs-delivery-fielddelimiter
1586
+ '''
1587
+ result = self._values.get("field_delimiter")
1588
+ return typing.cast(typing.Optional[builtins.str], result)
1589
+
1590
+ @builtins.property
1591
+ def record_fields(self) -> typing.Optional[typing.List[builtins.str]]:
1592
+ '''The record fields used in this delivery.
1593
+
1594
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-delivery.html#cfn-logs-delivery-recordfields
1595
+ '''
1596
+ result = self._values.get("record_fields")
1597
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
1598
+
1599
+ @builtins.property
1600
+ def s3_enable_hive_compatible_path(
1601
+ self,
1602
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
1603
+ '''This parameter causes the S3 objects that contain delivered logs to use a prefix structure that allows for integration with Apache Hive.
1604
+
1605
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-delivery.html#cfn-logs-delivery-s3enablehivecompatiblepath
1606
+ '''
1607
+ result = self._values.get("s3_enable_hive_compatible_path")
1608
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
1609
+
1610
+ @builtins.property
1611
+ def s3_suffix_path(self) -> typing.Optional[builtins.str]:
1612
+ '''This string allows re-configuring the S3 object prefix to contain either static or variable sections.
1613
+
1614
+ The valid variables to use in the suffix path will vary by each log source. See ConfigurationTemplate$allowedSuffixPathFields for more info on what values are supported in the suffix path for each log source.
1615
+
1616
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-delivery.html#cfn-logs-delivery-s3suffixpath
1617
+ '''
1618
+ result = self._values.get("s3_suffix_path")
1619
+ return typing.cast(typing.Optional[builtins.str], result)
1620
+
1447
1621
  @builtins.property
1448
1622
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
1449
1623
  '''The tags that have been assigned to this delivery.
@@ -9397,6 +9571,10 @@ def _typecheckingstub__f9ab4424636fed5b3c6cadfbae9a75acc19c7a49cc86eb71fbcb77cb3
9397
9571
  *,
9398
9572
  delivery_destination_arn: builtins.str,
9399
9573
  delivery_source_name: builtins.str,
9574
+ field_delimiter: typing.Optional[builtins.str] = None,
9575
+ record_fields: typing.Optional[typing.Sequence[builtins.str]] = None,
9576
+ s3_enable_hive_compatible_path: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
9577
+ s3_suffix_path: typing.Optional[builtins.str] = None,
9400
9578
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
9401
9579
  ) -> None:
9402
9580
  """Type checking stubs"""
@@ -9426,6 +9604,30 @@ def _typecheckingstub__f4ec9d68f7c2d7007a4afa644bcc4bc69a917cf74e5a3f6a6be17358a
9426
9604
  """Type checking stubs"""
9427
9605
  pass
9428
9606
 
9607
+ def _typecheckingstub__4bd08694e6454ec1e8a7caa24ed3783c9708c421fe32b6506c73b7844a9734e3(
9608
+ value: typing.Optional[builtins.str],
9609
+ ) -> None:
9610
+ """Type checking stubs"""
9611
+ pass
9612
+
9613
+ def _typecheckingstub__c57c7d1aa190b754df4f2f3cfe02326fa2d33aa925f4476a48f1ad8480bd7c58(
9614
+ value: typing.Optional[typing.List[builtins.str]],
9615
+ ) -> None:
9616
+ """Type checking stubs"""
9617
+ pass
9618
+
9619
+ def _typecheckingstub__883ead422cb217bb6d7d85bba609b57a45ff8726f927790c48273417346f9faa(
9620
+ value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
9621
+ ) -> None:
9622
+ """Type checking stubs"""
9623
+ pass
9624
+
9625
+ def _typecheckingstub__eb1b6261fa6fe536f7b593af4c257808a0259533f08f144df15cc67bd0293e52(
9626
+ value: typing.Optional[builtins.str],
9627
+ ) -> None:
9628
+ """Type checking stubs"""
9629
+ pass
9630
+
9429
9631
  def _typecheckingstub__000a573f2c99f6b1460750af0c01cc2fc0278bcaf6f21b31ed533ebcf516c233(
9430
9632
  value: typing.Optional[typing.List[_CfnTag_f6864754]],
9431
9633
  ) -> None:
@@ -9439,6 +9641,7 @@ def _typecheckingstub__b48efa0b7b05ab2d9f1417a0b1e0cd7f28039825d1520fe16f6f8dca7
9439
9641
  name: builtins.str,
9440
9642
  delivery_destination_policy: typing.Any = None,
9441
9643
  destination_resource_arn: typing.Optional[builtins.str] = None,
9644
+ output_format: typing.Optional[builtins.str] = None,
9442
9645
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
9443
9646
  ) -> None:
9444
9647
  """Type checking stubs"""
@@ -9474,6 +9677,12 @@ def _typecheckingstub__831ddd5c5bd5a90cbf966f9a711dcab92a21ca60debf21106dbe34c3b
9474
9677
  """Type checking stubs"""
9475
9678
  pass
9476
9679
 
9680
+ def _typecheckingstub__72800638f30c315cbdfab3a9dcdd94e12b62e350f96e85c9fbc816f012ede070(
9681
+ value: typing.Optional[builtins.str],
9682
+ ) -> None:
9683
+ """Type checking stubs"""
9684
+ pass
9685
+
9477
9686
  def _typecheckingstub__e4f5227f043e0a8609b64c4a174886ba54b2825ada7e9a1dffe8fd35487fa5af(
9478
9687
  value: typing.Optional[typing.List[_CfnTag_f6864754]],
9479
9688
  ) -> None:
@@ -9485,6 +9694,7 @@ def _typecheckingstub__53bbf04ee2b4b7e83a98258d41a973972fae20f7537731a0fbcda3e7c
9485
9694
  name: builtins.str,
9486
9695
  delivery_destination_policy: typing.Any = None,
9487
9696
  destination_resource_arn: typing.Optional[builtins.str] = None,
9697
+ output_format: typing.Optional[builtins.str] = None,
9488
9698
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
9489
9699
  ) -> None:
9490
9700
  """Type checking stubs"""
@@ -9494,6 +9704,10 @@ def _typecheckingstub__b538310aec1f59690c78c4bf171f8ecae0a76d174388a130cf6154213
9494
9704
  *,
9495
9705
  delivery_destination_arn: builtins.str,
9496
9706
  delivery_source_name: builtins.str,
9707
+ field_delimiter: typing.Optional[builtins.str] = None,
9708
+ record_fields: typing.Optional[typing.Sequence[builtins.str]] = None,
9709
+ s3_enable_hive_compatible_path: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
9710
+ s3_suffix_path: typing.Optional[builtins.str] = None,
9497
9711
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
9498
9712
  ) -> None:
9499
9713
  """Type checking stubs"""