aws-cdk-lib 2.167.2__py3-none-any.whl → 2.169.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 (60) hide show
  1. aws_cdk/__init__.py +2083 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.167.2.jsii.tgz → aws-cdk-lib@2.169.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_accessanalyzer/__init__.py +244 -13
  5. aws_cdk/aws_applicationautoscaling/__init__.py +1691 -95
  6. aws_cdk/aws_applicationinsights/__init__.py +41 -0
  7. aws_cdk/aws_applicationsignals/__init__.py +124 -0
  8. aws_cdk/aws_autoscaling/__init__.py +743 -7
  9. aws_cdk/aws_batch/__init__.py +202 -5
  10. aws_cdk/aws_bedrock/__init__.py +12 -12
  11. aws_cdk/aws_cleanrooms/__init__.py +17 -8
  12. aws_cdk/aws_cloudformation/__init__.py +2571 -492
  13. aws_cdk/aws_cloudfront/__init__.py +281 -0
  14. aws_cdk/aws_cloudfront/experimental/__init__.py +5 -0
  15. aws_cdk/aws_cloudfront_origins/__init__.py +714 -132
  16. aws_cdk/aws_cloudtrail/__init__.py +52 -14
  17. aws_cdk/aws_codebuild/__init__.py +670 -4
  18. aws_cdk/aws_connect/__init__.py +378 -0
  19. aws_cdk/aws_connectcampaignsv2/__init__.py +3376 -0
  20. aws_cdk/aws_customerprofiles/__init__.py +44 -0
  21. aws_cdk/aws_deadline/__init__.py +299 -6
  22. aws_cdk/aws_dynamodb/__init__.py +359 -16
  23. aws_cdk/aws_ec2/__init__.py +19 -6
  24. aws_cdk/aws_ecs/__init__.py +231 -12
  25. aws_cdk/aws_efs/__init__.py +61 -4
  26. aws_cdk/aws_eks/__init__.py +116 -0
  27. aws_cdk/aws_elasticloadbalancingv2/__init__.py +160 -11
  28. aws_cdk/aws_fis/__init__.py +495 -0
  29. aws_cdk/aws_gamelift/__init__.py +3204 -1104
  30. aws_cdk/aws_iot/__init__.py +209 -0
  31. aws_cdk/aws_iotfleetwise/__init__.py +550 -0
  32. aws_cdk/aws_iotsitewise/__init__.py +6 -3
  33. aws_cdk/aws_ivs/__init__.py +458 -0
  34. aws_cdk/aws_kinesisfirehose/__init__.py +756 -8
  35. aws_cdk/aws_lambda/__init__.py +634 -259
  36. aws_cdk/aws_lambda_destinations/__init__.py +73 -0
  37. aws_cdk/aws_lambda_event_sources/__init__.py +102 -2
  38. aws_cdk/aws_location/__init__.py +18 -18
  39. aws_cdk/aws_mediastore/__init__.py +22 -10
  40. aws_cdk/aws_opensearchservice/__init__.py +6 -0
  41. aws_cdk/aws_quicksight/__init__.py +35 -19
  42. aws_cdk/aws_rbin/__init__.py +902 -0
  43. aws_cdk/aws_rds/__init__.py +166 -3
  44. aws_cdk/aws_route53resolver/__init__.py +76 -19
  45. aws_cdk/aws_sagemaker/__init__.py +32 -0
  46. aws_cdk/aws_securityhub/__init__.py +11 -14
  47. aws_cdk/aws_ses/__init__.py +58 -5
  48. aws_cdk/aws_sns/__init__.py +593 -8
  49. aws_cdk/aws_sns_subscriptions/__init__.py +68 -22
  50. aws_cdk/aws_stepfunctions_tasks/__init__.py +1601 -8
  51. aws_cdk/aws_synthetics/__init__.py +46 -0
  52. aws_cdk/aws_transfer/__init__.py +0 -8
  53. aws_cdk/aws_vpclattice/__init__.py +157 -2
  54. aws_cdk/aws_wisdom/__init__.py +113 -69
  55. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/METADATA +1 -1
  56. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/RECORD +60 -58
  57. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/LICENSE +0 -0
  58. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/NOTICE +0 -0
  59. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/WHEEL +0 -0
  60. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/top_level.txt +0 -0
@@ -1286,6 +1286,7 @@ class CfnCanary(
1286
1286
  ),
1287
1287
  delete_lambda_resources_on_canary_deletion=False,
1288
1288
  failure_retention_period=123,
1289
+ provisioned_resource_cleanup="provisionedResourceCleanup",
1289
1290
  resources_to_replicate_tags=["resourcesToReplicateTags"],
1290
1291
  run_config=synthetics.CfnCanary.RunConfigProperty(
1291
1292
  active_tracing=False,
@@ -1336,6 +1337,7 @@ class CfnCanary(
1336
1337
  artifact_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCanary.ArtifactConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1337
1338
  delete_lambda_resources_on_canary_deletion: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1338
1339
  failure_retention_period: typing.Optional[jsii.Number] = None,
1340
+ provisioned_resource_cleanup: typing.Optional[builtins.str] = None,
1339
1341
  resources_to_replicate_tags: typing.Optional[typing.Sequence[builtins.str]] = None,
1340
1342
  run_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCanary.RunConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1341
1343
  start_canary_after_creation: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
@@ -1356,6 +1358,7 @@ class CfnCanary(
1356
1358
  :param artifact_config: A structure that contains the configuration for canary artifacts, including the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.
1357
1359
  :param delete_lambda_resources_on_canary_deletion: (deprecated) Deletes associated lambda resources created by Synthetics if set to True. Default is False
1358
1360
  :param failure_retention_period: The number of days to retain data about failed runs of this canary. If you omit this field, the default of 31 days is used. The valid range is 1 to 455 days.
1361
+ :param provisioned_resource_cleanup: Setting to control if provisioned resources created by Synthetics are deleted alongside the canary. Default is AUTOMATIC.
1359
1362
  :param resources_to_replicate_tags: To have the tags that you apply to this canary also be applied to the Lambda function that the canary uses, specify this property with the value ``lambda-function`` . If you do this, CloudWatch Synthetics will keep the tags of the canary and the Lambda function synchronized. Any future changes you make to the canary's tags will also be applied to the function.
1360
1363
  :param run_config: A structure that contains input information for a canary run. If you omit this structure, the frequency of the canary is used as canary's timeout value, up to a maximum of 900 seconds.
1361
1364
  :param start_canary_after_creation: Specify TRUE to have the canary start making runs immediately after it is created. A canary that you create using CloudFormation can't be used to monitor the CloudFormation stack that creates the canary or to roll back that stack if there is a failure.
@@ -1378,6 +1381,7 @@ class CfnCanary(
1378
1381
  artifact_config=artifact_config,
1379
1382
  delete_lambda_resources_on_canary_deletion=delete_lambda_resources_on_canary_deletion,
1380
1383
  failure_retention_period=failure_retention_period,
1384
+ provisioned_resource_cleanup=provisioned_resource_cleanup,
1381
1385
  resources_to_replicate_tags=resources_to_replicate_tags,
1382
1386
  run_config=run_config,
1383
1387
  start_canary_after_creation=start_canary_after_creation,
@@ -1599,6 +1603,22 @@ class CfnCanary(
1599
1603
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1600
1604
  jsii.set(self, "failureRetentionPeriod", value) # pyright: ignore[reportArgumentType]
1601
1605
 
1606
+ @builtins.property
1607
+ @jsii.member(jsii_name="provisionedResourceCleanup")
1608
+ def provisioned_resource_cleanup(self) -> typing.Optional[builtins.str]:
1609
+ '''Setting to control if provisioned resources created by Synthetics are deleted alongside the canary.'''
1610
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "provisionedResourceCleanup"))
1611
+
1612
+ @provisioned_resource_cleanup.setter
1613
+ def provisioned_resource_cleanup(
1614
+ self,
1615
+ value: typing.Optional[builtins.str],
1616
+ ) -> None:
1617
+ if __debug__:
1618
+ type_hints = typing.get_type_hints(_typecheckingstub__96109df9d60c71521163998336c5f5484d9c206feb0e627cbb2db11c169128bd)
1619
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1620
+ jsii.set(self, "provisionedResourceCleanup", value) # pyright: ignore[reportArgumentType]
1621
+
1602
1622
  @builtins.property
1603
1623
  @jsii.member(jsii_name="resourcesToReplicateTags")
1604
1624
  def resources_to_replicate_tags(self) -> typing.Optional[typing.List[builtins.str]]:
@@ -2493,6 +2513,7 @@ class CfnCanary(
2493
2513
  "artifact_config": "artifactConfig",
2494
2514
  "delete_lambda_resources_on_canary_deletion": "deleteLambdaResourcesOnCanaryDeletion",
2495
2515
  "failure_retention_period": "failureRetentionPeriod",
2516
+ "provisioned_resource_cleanup": "provisionedResourceCleanup",
2496
2517
  "resources_to_replicate_tags": "resourcesToReplicateTags",
2497
2518
  "run_config": "runConfig",
2498
2519
  "start_canary_after_creation": "startCanaryAfterCreation",
@@ -2515,6 +2536,7 @@ class CfnCanaryProps:
2515
2536
  artifact_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.ArtifactConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2516
2537
  delete_lambda_resources_on_canary_deletion: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2517
2538
  failure_retention_period: typing.Optional[jsii.Number] = None,
2539
+ provisioned_resource_cleanup: typing.Optional[builtins.str] = None,
2518
2540
  resources_to_replicate_tags: typing.Optional[typing.Sequence[builtins.str]] = None,
2519
2541
  run_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.RunConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2520
2542
  start_canary_after_creation: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
@@ -2534,6 +2556,7 @@ class CfnCanaryProps:
2534
2556
  :param artifact_config: A structure that contains the configuration for canary artifacts, including the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.
2535
2557
  :param delete_lambda_resources_on_canary_deletion: (deprecated) Deletes associated lambda resources created by Synthetics if set to True. Default is False
2536
2558
  :param failure_retention_period: The number of days to retain data about failed runs of this canary. If you omit this field, the default of 31 days is used. The valid range is 1 to 455 days.
2559
+ :param provisioned_resource_cleanup: Setting to control if provisioned resources created by Synthetics are deleted alongside the canary. Default is AUTOMATIC.
2537
2560
  :param resources_to_replicate_tags: To have the tags that you apply to this canary also be applied to the Lambda function that the canary uses, specify this property with the value ``lambda-function`` . If you do this, CloudWatch Synthetics will keep the tags of the canary and the Lambda function synchronized. Any future changes you make to the canary's tags will also be applied to the function.
2538
2561
  :param run_config: A structure that contains input information for a canary run. If you omit this structure, the frequency of the canary is used as canary's timeout value, up to a maximum of 900 seconds.
2539
2562
  :param start_canary_after_creation: Specify TRUE to have the canary start making runs immediately after it is created. A canary that you create using CloudFormation can't be used to monitor the CloudFormation stack that creates the canary or to roll back that stack if there is a failure.
@@ -2582,6 +2605,7 @@ class CfnCanaryProps:
2582
2605
  ),
2583
2606
  delete_lambda_resources_on_canary_deletion=False,
2584
2607
  failure_retention_period=123,
2608
+ provisioned_resource_cleanup="provisionedResourceCleanup",
2585
2609
  resources_to_replicate_tags=["resourcesToReplicateTags"],
2586
2610
  run_config=synthetics.CfnCanary.RunConfigProperty(
2587
2611
  active_tracing=False,
@@ -2628,6 +2652,7 @@ class CfnCanaryProps:
2628
2652
  check_type(argname="argument artifact_config", value=artifact_config, expected_type=type_hints["artifact_config"])
2629
2653
  check_type(argname="argument delete_lambda_resources_on_canary_deletion", value=delete_lambda_resources_on_canary_deletion, expected_type=type_hints["delete_lambda_resources_on_canary_deletion"])
2630
2654
  check_type(argname="argument failure_retention_period", value=failure_retention_period, expected_type=type_hints["failure_retention_period"])
2655
+ check_type(argname="argument provisioned_resource_cleanup", value=provisioned_resource_cleanup, expected_type=type_hints["provisioned_resource_cleanup"])
2631
2656
  check_type(argname="argument resources_to_replicate_tags", value=resources_to_replicate_tags, expected_type=type_hints["resources_to_replicate_tags"])
2632
2657
  check_type(argname="argument run_config", value=run_config, expected_type=type_hints["run_config"])
2633
2658
  check_type(argname="argument start_canary_after_creation", value=start_canary_after_creation, expected_type=type_hints["start_canary_after_creation"])
@@ -2649,6 +2674,8 @@ class CfnCanaryProps:
2649
2674
  self._values["delete_lambda_resources_on_canary_deletion"] = delete_lambda_resources_on_canary_deletion
2650
2675
  if failure_retention_period is not None:
2651
2676
  self._values["failure_retention_period"] = failure_retention_period
2677
+ if provisioned_resource_cleanup is not None:
2678
+ self._values["provisioned_resource_cleanup"] = provisioned_resource_cleanup
2652
2679
  if resources_to_replicate_tags is not None:
2653
2680
  self._values["resources_to_replicate_tags"] = resources_to_replicate_tags
2654
2681
  if run_config is not None:
@@ -2784,6 +2811,17 @@ class CfnCanaryProps:
2784
2811
  result = self._values.get("failure_retention_period")
2785
2812
  return typing.cast(typing.Optional[jsii.Number], result)
2786
2813
 
2814
+ @builtins.property
2815
+ def provisioned_resource_cleanup(self) -> typing.Optional[builtins.str]:
2816
+ '''Setting to control if provisioned resources created by Synthetics are deleted alongside the canary.
2817
+
2818
+ Default is AUTOMATIC.
2819
+
2820
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-synthetics-canary.html#cfn-synthetics-canary-provisionedresourcecleanup
2821
+ '''
2822
+ result = self._values.get("provisioned_resource_cleanup")
2823
+ return typing.cast(typing.Optional[builtins.str], result)
2824
+
2787
2825
  @builtins.property
2788
2826
  def resources_to_replicate_tags(self) -> typing.Optional[typing.List[builtins.str]]:
2789
2827
  '''To have the tags that you apply to this canary also be applied to the Lambda function that the canary uses, specify this property with the value ``lambda-function`` .
@@ -4486,6 +4524,7 @@ def _typecheckingstub__b8fcb3f48eca9399b4d1d31a5ef709e22f9fa52ad1e174b75d8313ef2
4486
4524
  artifact_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.ArtifactConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4487
4525
  delete_lambda_resources_on_canary_deletion: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
4488
4526
  failure_retention_period: typing.Optional[jsii.Number] = None,
4527
+ provisioned_resource_cleanup: typing.Optional[builtins.str] = None,
4489
4528
  resources_to_replicate_tags: typing.Optional[typing.Sequence[builtins.str]] = None,
4490
4529
  run_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.RunConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4491
4530
  start_canary_after_creation: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
@@ -4563,6 +4602,12 @@ def _typecheckingstub__02a7e43f45419c4cb8e909f309f8848d4ced91d17b01d14e5ea0b8cec
4563
4602
  """Type checking stubs"""
4564
4603
  pass
4565
4604
 
4605
+ def _typecheckingstub__96109df9d60c71521163998336c5f5484d9c206feb0e627cbb2db11c169128bd(
4606
+ value: typing.Optional[builtins.str],
4607
+ ) -> None:
4608
+ """Type checking stubs"""
4609
+ pass
4610
+
4566
4611
  def _typecheckingstub__97145dbcbdc52baa9bf7a42cbdc47e51d64c8bdad34335923fcf585d09e27978(
4567
4612
  value: typing.Optional[typing.List[builtins.str]],
4568
4613
  ) -> None:
@@ -4686,6 +4731,7 @@ def _typecheckingstub__d869d56ce0d1d2e2add2f80bf39b28abbec2752c719e03194ee540bf1
4686
4731
  artifact_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.ArtifactConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4687
4732
  delete_lambda_resources_on_canary_deletion: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
4688
4733
  failure_retention_period: typing.Optional[jsii.Number] = None,
4734
+ provisioned_resource_cleanup: typing.Optional[builtins.str] = None,
4689
4735
  resources_to_replicate_tags: typing.Optional[typing.Sequence[builtins.str]] = None,
4690
4736
  run_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.RunConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4691
4737
  start_canary_after_creation: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
@@ -3707,14 +3707,6 @@ class CfnUser(
3707
3707
  '''
3708
3708
  return typing.cast(builtins.str, jsii.get(self, "attrArn"))
3709
3709
 
3710
- @builtins.property
3711
- @jsii.member(jsii_name="attrId")
3712
- def attr_id(self) -> builtins.str:
3713
- '''
3714
- :cloudformationAttribute: Id
3715
- '''
3716
- return typing.cast(builtins.str, jsii.get(self, "attrId"))
3717
-
3718
3710
  @builtins.property
3719
3711
  @jsii.member(jsii_name="attrServerId")
3720
3712
  def attr_server_id(self) -> builtins.str:
@@ -94,6 +94,7 @@ class CfnAccessLogSubscription(
94
94
 
95
95
  # the properties below are optional
96
96
  resource_identifier="resourceIdentifier",
97
+ service_network_log_type="serviceNetworkLogType",
97
98
  tags=[CfnTag(
98
99
  key="key",
99
100
  value="value"
@@ -108,6 +109,7 @@ class CfnAccessLogSubscription(
108
109
  *,
109
110
  destination_arn: builtins.str,
110
111
  resource_identifier: typing.Optional[builtins.str] = None,
112
+ service_network_log_type: typing.Optional[builtins.str] = None,
111
113
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
112
114
  ) -> None:
113
115
  '''
@@ -115,6 +117,7 @@ class CfnAccessLogSubscription(
115
117
  :param id: Construct identifier for this resource (unique in its scope).
116
118
  :param destination_arn: The Amazon Resource Name (ARN) of the destination. The supported destination types are CloudWatch Log groups, Kinesis Data Firehose delivery streams, and Amazon S3 buckets.
117
119
  :param resource_identifier: The ID or Amazon Resource Name (ARN) of the service network or service.
120
+ :param service_network_log_type:
118
121
  :param tags: The tags for the access log subscription.
119
122
  '''
120
123
  if __debug__:
@@ -124,6 +127,7 @@ class CfnAccessLogSubscription(
124
127
  props = CfnAccessLogSubscriptionProps(
125
128
  destination_arn=destination_arn,
126
129
  resource_identifier=resource_identifier,
130
+ service_network_log_type=service_network_log_type,
127
131
  tags=tags,
128
132
  )
129
133
 
@@ -232,6 +236,18 @@ class CfnAccessLogSubscription(
232
236
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
233
237
  jsii.set(self, "resourceIdentifier", value) # pyright: ignore[reportArgumentType]
234
238
 
239
+ @builtins.property
240
+ @jsii.member(jsii_name="serviceNetworkLogType")
241
+ def service_network_log_type(self) -> typing.Optional[builtins.str]:
242
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "serviceNetworkLogType"))
243
+
244
+ @service_network_log_type.setter
245
+ def service_network_log_type(self, value: typing.Optional[builtins.str]) -> None:
246
+ if __debug__:
247
+ type_hints = typing.get_type_hints(_typecheckingstub__a6aefb91b2c767c1ad3bd8d1abc157b906edd3e6e2041f588e76852a2d69dfed)
248
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
249
+ jsii.set(self, "serviceNetworkLogType", value) # pyright: ignore[reportArgumentType]
250
+
235
251
  @builtins.property
236
252
  @jsii.member(jsii_name="tagsRaw")
237
253
  def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
@@ -252,6 +268,7 @@ class CfnAccessLogSubscription(
252
268
  name_mapping={
253
269
  "destination_arn": "destinationArn",
254
270
  "resource_identifier": "resourceIdentifier",
271
+ "service_network_log_type": "serviceNetworkLogType",
255
272
  "tags": "tags",
256
273
  },
257
274
  )
@@ -261,12 +278,14 @@ class CfnAccessLogSubscriptionProps:
261
278
  *,
262
279
  destination_arn: builtins.str,
263
280
  resource_identifier: typing.Optional[builtins.str] = None,
281
+ service_network_log_type: typing.Optional[builtins.str] = None,
264
282
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
265
283
  ) -> None:
266
284
  '''Properties for defining a ``CfnAccessLogSubscription``.
267
285
 
268
286
  :param destination_arn: The Amazon Resource Name (ARN) of the destination. The supported destination types are CloudWatch Log groups, Kinesis Data Firehose delivery streams, and Amazon S3 buckets.
269
287
  :param resource_identifier: The ID or Amazon Resource Name (ARN) of the service network or service.
288
+ :param service_network_log_type:
270
289
  :param tags: The tags for the access log subscription.
271
290
 
272
291
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-accesslogsubscription.html
@@ -283,6 +302,7 @@ class CfnAccessLogSubscriptionProps:
283
302
 
284
303
  # the properties below are optional
285
304
  resource_identifier="resourceIdentifier",
305
+ service_network_log_type="serviceNetworkLogType",
286
306
  tags=[CfnTag(
287
307
  key="key",
288
308
  value="value"
@@ -293,12 +313,15 @@ class CfnAccessLogSubscriptionProps:
293
313
  type_hints = typing.get_type_hints(_typecheckingstub__7551e4dc1730a5c7bf48ba5c2eccbe95ed6914a39663f70c2dc1846465e8eb40)
294
314
  check_type(argname="argument destination_arn", value=destination_arn, expected_type=type_hints["destination_arn"])
295
315
  check_type(argname="argument resource_identifier", value=resource_identifier, expected_type=type_hints["resource_identifier"])
316
+ check_type(argname="argument service_network_log_type", value=service_network_log_type, expected_type=type_hints["service_network_log_type"])
296
317
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
297
318
  self._values: typing.Dict[builtins.str, typing.Any] = {
298
319
  "destination_arn": destination_arn,
299
320
  }
300
321
  if resource_identifier is not None:
301
322
  self._values["resource_identifier"] = resource_identifier
323
+ if service_network_log_type is not None:
324
+ self._values["service_network_log_type"] = service_network_log_type
302
325
  if tags is not None:
303
326
  self._values["tags"] = tags
304
327
 
@@ -323,6 +346,14 @@ class CfnAccessLogSubscriptionProps:
323
346
  result = self._values.get("resource_identifier")
324
347
  return typing.cast(typing.Optional[builtins.str], result)
325
348
 
349
+ @builtins.property
350
+ def service_network_log_type(self) -> typing.Optional[builtins.str]:
351
+ '''
352
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-accesslogsubscription.html#cfn-vpclattice-accesslogsubscription-servicenetworklogtype
353
+ '''
354
+ result = self._values.get("service_network_log_type")
355
+ return typing.cast(typing.Optional[builtins.str], result)
356
+
326
357
  @builtins.property
327
358
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
328
359
  '''The tags for the access log subscription.
@@ -3074,6 +3105,9 @@ class CfnServiceNetwork(
3074
3105
  cfn_service_network = vpclattice.CfnServiceNetwork(self, "MyCfnServiceNetwork",
3075
3106
  auth_type="authType",
3076
3107
  name="name",
3108
+ sharing_config=vpclattice.CfnServiceNetwork.SharingConfigProperty(
3109
+ enabled=False
3110
+ ),
3077
3111
  tags=[CfnTag(
3078
3112
  key="key",
3079
3113
  value="value"
@@ -3088,6 +3122,7 @@ class CfnServiceNetwork(
3088
3122
  *,
3089
3123
  auth_type: typing.Optional[builtins.str] = None,
3090
3124
  name: typing.Optional[builtins.str] = None,
3125
+ sharing_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnServiceNetwork.SharingConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
3091
3126
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
3092
3127
  ) -> None:
3093
3128
  '''
@@ -3095,13 +3130,16 @@ class CfnServiceNetwork(
3095
3130
  :param id: Construct identifier for this resource (unique in its scope).
3096
3131
  :param auth_type: The type of IAM policy. - ``NONE`` : The resource does not use an IAM policy. This is the default. - ``AWS_IAM`` : The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required. Default: - "NONE"
3097
3132
  :param name: The name of the service network. The name must be unique to the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen. If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.
3133
+ :param sharing_config:
3098
3134
  :param tags: The tags for the service network.
3099
3135
  '''
3100
3136
  if __debug__:
3101
3137
  type_hints = typing.get_type_hints(_typecheckingstub__656136ed78cebb4875c7f9ba5dbfd3a8474257e368bb831d8f332cd48e509940)
3102
3138
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
3103
3139
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
3104
- props = CfnServiceNetworkProps(auth_type=auth_type, name=name, tags=tags)
3140
+ props = CfnServiceNetworkProps(
3141
+ auth_type=auth_type, name=name, sharing_config=sharing_config, tags=tags
3142
+ )
3105
3143
 
3106
3144
  jsii.create(self.__class__, self, [scope, id, props])
3107
3145
 
@@ -3208,6 +3246,23 @@ class CfnServiceNetwork(
3208
3246
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3209
3247
  jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
3210
3248
 
3249
+ @builtins.property
3250
+ @jsii.member(jsii_name="sharingConfig")
3251
+ def sharing_config(
3252
+ self,
3253
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnServiceNetwork.SharingConfigProperty"]]:
3254
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnServiceNetwork.SharingConfigProperty"]], jsii.get(self, "sharingConfig"))
3255
+
3256
+ @sharing_config.setter
3257
+ def sharing_config(
3258
+ self,
3259
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnServiceNetwork.SharingConfigProperty"]],
3260
+ ) -> None:
3261
+ if __debug__:
3262
+ type_hints = typing.get_type_hints(_typecheckingstub__ddecac5c408d967f992d70c89bd4765bbb82e33176cd3302f38d8583ed3e75cf)
3263
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3264
+ jsii.set(self, "sharingConfig", value) # pyright: ignore[reportArgumentType]
3265
+
3211
3266
  @builtins.property
3212
3267
  @jsii.member(jsii_name="tagsRaw")
3213
3268
  def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
@@ -3221,11 +3276,70 @@ class CfnServiceNetwork(
3221
3276
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3222
3277
  jsii.set(self, "tagsRaw", value) # pyright: ignore[reportArgumentType]
3223
3278
 
3279
+ @jsii.data_type(
3280
+ jsii_type="aws-cdk-lib.aws_vpclattice.CfnServiceNetwork.SharingConfigProperty",
3281
+ jsii_struct_bases=[],
3282
+ name_mapping={"enabled": "enabled"},
3283
+ )
3284
+ class SharingConfigProperty:
3285
+ def __init__(
3286
+ self,
3287
+ *,
3288
+ enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
3289
+ ) -> None:
3290
+ '''
3291
+ :param enabled:
3292
+
3293
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-servicenetwork-sharingconfig.html
3294
+ :exampleMetadata: fixture=_generated
3295
+
3296
+ Example::
3297
+
3298
+ # The code below shows an example of how to instantiate this type.
3299
+ # The values are placeholders you should change.
3300
+ from aws_cdk import aws_vpclattice as vpclattice
3301
+
3302
+ sharing_config_property = vpclattice.CfnServiceNetwork.SharingConfigProperty(
3303
+ enabled=False
3304
+ )
3305
+ '''
3306
+ if __debug__:
3307
+ type_hints = typing.get_type_hints(_typecheckingstub__d90d2c86056b7572da75a2cae1efffd49b95d74362b0b98e1f139911f7f36476)
3308
+ check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
3309
+ self._values: typing.Dict[builtins.str, typing.Any] = {
3310
+ "enabled": enabled,
3311
+ }
3312
+
3313
+ @builtins.property
3314
+ def enabled(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
3315
+ '''
3316
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-servicenetwork-sharingconfig.html#cfn-vpclattice-servicenetwork-sharingconfig-enabled
3317
+ '''
3318
+ result = self._values.get("enabled")
3319
+ assert result is not None, "Required property 'enabled' is missing"
3320
+ return typing.cast(typing.Union[builtins.bool, _IResolvable_da3f097b], result)
3321
+
3322
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
3323
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
3324
+
3325
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
3326
+ return not (rhs == self)
3327
+
3328
+ def __repr__(self) -> str:
3329
+ return "SharingConfigProperty(%s)" % ", ".join(
3330
+ k + "=" + repr(v) for k, v in self._values.items()
3331
+ )
3332
+
3224
3333
 
3225
3334
  @jsii.data_type(
3226
3335
  jsii_type="aws-cdk-lib.aws_vpclattice.CfnServiceNetworkProps",
3227
3336
  jsii_struct_bases=[],
3228
- name_mapping={"auth_type": "authType", "name": "name", "tags": "tags"},
3337
+ name_mapping={
3338
+ "auth_type": "authType",
3339
+ "name": "name",
3340
+ "sharing_config": "sharingConfig",
3341
+ "tags": "tags",
3342
+ },
3229
3343
  )
3230
3344
  class CfnServiceNetworkProps:
3231
3345
  def __init__(
@@ -3233,12 +3347,14 @@ class CfnServiceNetworkProps:
3233
3347
  *,
3234
3348
  auth_type: typing.Optional[builtins.str] = None,
3235
3349
  name: typing.Optional[builtins.str] = None,
3350
+ sharing_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnServiceNetwork.SharingConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3236
3351
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
3237
3352
  ) -> None:
3238
3353
  '''Properties for defining a ``CfnServiceNetwork``.
3239
3354
 
3240
3355
  :param auth_type: The type of IAM policy. - ``NONE`` : The resource does not use an IAM policy. This is the default. - ``AWS_IAM`` : The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required. Default: - "NONE"
3241
3356
  :param name: The name of the service network. The name must be unique to the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen. If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.
3357
+ :param sharing_config:
3242
3358
  :param tags: The tags for the service network.
3243
3359
 
3244
3360
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-servicenetwork.html
@@ -3253,6 +3369,9 @@ class CfnServiceNetworkProps:
3253
3369
  cfn_service_network_props = vpclattice.CfnServiceNetworkProps(
3254
3370
  auth_type="authType",
3255
3371
  name="name",
3372
+ sharing_config=vpclattice.CfnServiceNetwork.SharingConfigProperty(
3373
+ enabled=False
3374
+ ),
3256
3375
  tags=[CfnTag(
3257
3376
  key="key",
3258
3377
  value="value"
@@ -3263,12 +3382,15 @@ class CfnServiceNetworkProps:
3263
3382
  type_hints = typing.get_type_hints(_typecheckingstub__d53f770e586510e575c9248934a04f476ddc52636df2e0e8ad22f5800f529a9b)
3264
3383
  check_type(argname="argument auth_type", value=auth_type, expected_type=type_hints["auth_type"])
3265
3384
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
3385
+ check_type(argname="argument sharing_config", value=sharing_config, expected_type=type_hints["sharing_config"])
3266
3386
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
3267
3387
  self._values: typing.Dict[builtins.str, typing.Any] = {}
3268
3388
  if auth_type is not None:
3269
3389
  self._values["auth_type"] = auth_type
3270
3390
  if name is not None:
3271
3391
  self._values["name"] = name
3392
+ if sharing_config is not None:
3393
+ self._values["sharing_config"] = sharing_config
3272
3394
  if tags is not None:
3273
3395
  self._values["tags"] = tags
3274
3396
 
@@ -3299,6 +3421,16 @@ class CfnServiceNetworkProps:
3299
3421
  result = self._values.get("name")
3300
3422
  return typing.cast(typing.Optional[builtins.str], result)
3301
3423
 
3424
+ @builtins.property
3425
+ def sharing_config(
3426
+ self,
3427
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnServiceNetwork.SharingConfigProperty]]:
3428
+ '''
3429
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-servicenetwork.html#cfn-vpclattice-servicenetwork-sharingconfig
3430
+ '''
3431
+ result = self._values.get("sharing_config")
3432
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnServiceNetwork.SharingConfigProperty]], result)
3433
+
3302
3434
  @builtins.property
3303
3435
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
3304
3436
  '''The tags for the service network.
@@ -5280,6 +5412,7 @@ def _typecheckingstub__5d1e4f257245d8e5be92083145da5c0b7311cde5a905b65c5cb20fb0c
5280
5412
  *,
5281
5413
  destination_arn: builtins.str,
5282
5414
  resource_identifier: typing.Optional[builtins.str] = None,
5415
+ service_network_log_type: typing.Optional[builtins.str] = None,
5283
5416
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
5284
5417
  ) -> None:
5285
5418
  """Type checking stubs"""
@@ -5309,6 +5442,12 @@ def _typecheckingstub__8b93aeac48124e92f9f09dd3e99f9ef8ac5e9d002fe64dea86b3d7700
5309
5442
  """Type checking stubs"""
5310
5443
  pass
5311
5444
 
5445
+ def _typecheckingstub__a6aefb91b2c767c1ad3bd8d1abc157b906edd3e6e2041f588e76852a2d69dfed(
5446
+ value: typing.Optional[builtins.str],
5447
+ ) -> None:
5448
+ """Type checking stubs"""
5449
+ pass
5450
+
5312
5451
  def _typecheckingstub__f88ce1faaa39f21f51b79668a87b932a07532be6cdddad83e4090e05f9de003e(
5313
5452
  value: typing.Optional[typing.List[_CfnTag_f6864754]],
5314
5453
  ) -> None:
@@ -5319,6 +5458,7 @@ def _typecheckingstub__7551e4dc1730a5c7bf48ba5c2eccbe95ed6914a39663f70c2dc184646
5319
5458
  *,
5320
5459
  destination_arn: builtins.str,
5321
5460
  resource_identifier: typing.Optional[builtins.str] = None,
5461
+ service_network_log_type: typing.Optional[builtins.str] = None,
5322
5462
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
5323
5463
  ) -> None:
5324
5464
  """Type checking stubs"""
@@ -5750,6 +5890,7 @@ def _typecheckingstub__656136ed78cebb4875c7f9ba5dbfd3a8474257e368bb831d8f332cd48
5750
5890
  *,
5751
5891
  auth_type: typing.Optional[builtins.str] = None,
5752
5892
  name: typing.Optional[builtins.str] = None,
5893
+ sharing_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnServiceNetwork.SharingConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
5753
5894
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
5754
5895
  ) -> None:
5755
5896
  """Type checking stubs"""
@@ -5779,16 +5920,30 @@ def _typecheckingstub__da1bb59c73b32d0a58bca47ccddf295ff25d18ab46e10146997a37cf9
5779
5920
  """Type checking stubs"""
5780
5921
  pass
5781
5922
 
5923
+ def _typecheckingstub__ddecac5c408d967f992d70c89bd4765bbb82e33176cd3302f38d8583ed3e75cf(
5924
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnServiceNetwork.SharingConfigProperty]],
5925
+ ) -> None:
5926
+ """Type checking stubs"""
5927
+ pass
5928
+
5782
5929
  def _typecheckingstub__7f79b2202986ede0dc063bd10252c9e40fc261092241edb5b4d3a67b64f7b30e(
5783
5930
  value: typing.Optional[typing.List[_CfnTag_f6864754]],
5784
5931
  ) -> None:
5785
5932
  """Type checking stubs"""
5786
5933
  pass
5787
5934
 
5935
+ def _typecheckingstub__d90d2c86056b7572da75a2cae1efffd49b95d74362b0b98e1f139911f7f36476(
5936
+ *,
5937
+ enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
5938
+ ) -> None:
5939
+ """Type checking stubs"""
5940
+ pass
5941
+
5788
5942
  def _typecheckingstub__d53f770e586510e575c9248934a04f476ddc52636df2e0e8ad22f5800f529a9b(
5789
5943
  *,
5790
5944
  auth_type: typing.Optional[builtins.str] = None,
5791
5945
  name: typing.Optional[builtins.str] = None,
5946
+ sharing_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnServiceNetwork.SharingConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
5792
5947
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
5793
5948
  ) -> None:
5794
5949
  """Type checking stubs"""