aws-cdk-lib 2.173.4__py3-none-any.whl → 2.174.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 (91) hide show
  1. aws_cdk/__init__.py +210 -181
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.173.4.jsii.tgz → aws-cdk-lib@2.174.1.jsii.tgz} +0 -0
  4. aws_cdk/aws_amazonmq/__init__.py +18 -0
  5. aws_cdk/aws_apigateway/__init__.py +127 -168
  6. aws_cdk/aws_appconfig/__init__.py +498 -1
  7. aws_cdk/aws_applicationautoscaling/__init__.py +4 -1
  8. aws_cdk/aws_appsync/__init__.py +4 -0
  9. aws_cdk/aws_autoscaling/__init__.py +96 -0
  10. aws_cdk/aws_batch/__init__.py +662 -237
  11. aws_cdk/aws_bedrock/__init__.py +2122 -181
  12. aws_cdk/aws_cassandra/__init__.py +476 -4
  13. aws_cdk/aws_cleanrooms/__init__.py +1227 -20
  14. aws_cdk/aws_cloudformation/__init__.py +172 -169
  15. aws_cdk/aws_cloudfront/__init__.py +773 -26
  16. aws_cdk/aws_cloudtrail/__init__.py +8 -2
  17. aws_cdk/aws_codebuild/__init__.py +83 -0
  18. aws_cdk/aws_codepipeline/__init__.py +2 -1
  19. aws_cdk/aws_cognito/__init__.py +232 -200
  20. aws_cdk/aws_connect/__init__.py +187 -36
  21. aws_cdk/aws_connectcampaignsv2/__init__.py +106 -12
  22. aws_cdk/aws_databrew/__init__.py +69 -1
  23. aws_cdk/aws_datasync/__init__.py +33 -28
  24. aws_cdk/aws_datazone/__init__.py +141 -41
  25. aws_cdk/aws_dlm/__init__.py +20 -10
  26. aws_cdk/aws_dms/__init__.py +736 -22
  27. aws_cdk/aws_docdb/__init__.py +134 -0
  28. aws_cdk/aws_dynamodb/__init__.py +76 -4
  29. aws_cdk/aws_ec2/__init__.py +1233 -65
  30. aws_cdk/aws_ecr/__init__.py +31 -0
  31. aws_cdk/aws_ecr_assets/__init__.py +5 -0
  32. aws_cdk/aws_ecs/__init__.py +88 -11
  33. aws_cdk/aws_efs/__init__.py +15 -8
  34. aws_cdk/aws_eks/__init__.py +114 -45
  35. aws_cdk/aws_elasticloadbalancingv2/__init__.py +2 -2
  36. aws_cdk/aws_emrserverless/__init__.py +143 -0
  37. aws_cdk/aws_events/__init__.py +50 -30
  38. aws_cdk/aws_fis/__init__.py +33 -33
  39. aws_cdk/aws_fsx/__init__.py +20 -10
  40. aws_cdk/aws_glue/__init__.py +34 -11
  41. aws_cdk/aws_greengrass/__init__.py +8 -8
  42. aws_cdk/aws_guardduty/__init__.py +1 -1
  43. aws_cdk/aws_imagebuilder/__init__.py +45 -47
  44. aws_cdk/aws_internetmonitor/__init__.py +3 -3
  45. aws_cdk/aws_invoicing/__init__.py +55 -30
  46. aws_cdk/aws_iot/__init__.py +1117 -4
  47. aws_cdk/aws_iot1click/__init__.py +17 -7
  48. aws_cdk/aws_kendra/__init__.py +4 -6
  49. aws_cdk/aws_lambda/__init__.py +15 -1
  50. aws_cdk/aws_logs/__init__.py +4011 -86
  51. aws_cdk/aws_m2/__init__.py +41 -0
  52. aws_cdk/aws_mediaconnect/__init__.py +202 -7
  53. aws_cdk/aws_mediaconvert/__init__.py +39 -0
  54. aws_cdk/aws_memorydb/__init__.py +22 -22
  55. aws_cdk/aws_networkmanager/__init__.py +758 -0
  56. aws_cdk/aws_opensearchservice/__init__.py +222 -0
  57. aws_cdk/aws_organizations/__init__.py +5 -3
  58. aws_cdk/aws_pcs/__init__.py +3038 -0
  59. aws_cdk/aws_pipes/__init__.py +10 -10
  60. aws_cdk/aws_qbusiness/__init__.py +415 -140
  61. aws_cdk/aws_quicksight/__init__.py +59795 -49748
  62. aws_cdk/aws_ram/__init__.py +5 -11
  63. aws_cdk/aws_rbin/__init__.py +28 -16
  64. aws_cdk/aws_rds/__init__.py +186 -31
  65. aws_cdk/aws_redshiftserverless/__init__.py +156 -0
  66. aws_cdk/aws_resiliencehub/__init__.py +2 -1
  67. aws_cdk/aws_route53_targets/__init__.py +5 -5
  68. aws_cdk/aws_s3/__init__.py +25 -15
  69. aws_cdk/aws_s3express/__init__.py +7 -7
  70. aws_cdk/aws_s3tables/__init__.py +683 -0
  71. aws_cdk/aws_sagemaker/__init__.py +580 -195
  72. aws_cdk/aws_secretsmanager/__init__.py +2 -0
  73. aws_cdk/aws_securityhub/__init__.py +41 -165
  74. aws_cdk/aws_servicediscovery/__init__.py +10 -3
  75. aws_cdk/aws_ses/__init__.py +190 -5
  76. aws_cdk/aws_sns/__init__.py +7 -3
  77. aws_cdk/aws_synthetics/__init__.py +29 -4
  78. aws_cdk/aws_transfer/__init__.py +8 -0
  79. aws_cdk/aws_vpclattice/__init__.py +147 -77
  80. aws_cdk/aws_wafv2/__init__.py +20 -8
  81. aws_cdk/aws_wisdom/__init__.py +162 -111
  82. aws_cdk/aws_workspaces/__init__.py +10 -4
  83. aws_cdk/cloud_assembly_schema/__init__.py +22 -0
  84. aws_cdk/custom_resources/__init__.py +31 -0
  85. aws_cdk/cx_api/__init__.py +19 -0
  86. {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/LICENSE +1 -1
  87. {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/METADATA +2 -2
  88. {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/NOTICE +1 -1
  89. {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/RECORD +91 -89
  90. {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/WHEEL +0 -0
  91. {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/top_level.txt +0 -0
@@ -155,6 +155,11 @@ class CfnDataSource(
155
155
 
156
156
  # the properties below are optional
157
157
  data_access_role="dataAccessRole"
158
+ ),
159
+ sage_maker_run_configuration=datazone.CfnDataSource.SageMakerRunConfigurationInputProperty(
160
+ tracking_assets={
161
+ "tracking_assets_key": ["trackingAssets"]
162
+ }
158
163
  )
159
164
  ),
160
165
  description="description",
@@ -537,6 +542,7 @@ class CfnDataSource(
537
542
  name_mapping={
538
543
  "glue_run_configuration": "glueRunConfiguration",
539
544
  "redshift_run_configuration": "redshiftRunConfiguration",
545
+ "sage_maker_run_configuration": "sageMakerRunConfiguration",
540
546
  },
541
547
  )
542
548
  class DataSourceConfigurationInputProperty:
@@ -545,11 +551,13 @@ class CfnDataSource(
545
551
  *,
546
552
  glue_run_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataSource.GlueRunConfigurationInputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
547
553
  redshift_run_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataSource.RedshiftRunConfigurationInputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
554
+ sage_maker_run_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataSource.SageMakerRunConfigurationInputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
548
555
  ) -> None:
549
556
  '''The configuration of the data source.
550
557
 
551
558
  :param glue_run_configuration: The configuration of the AWS Glue data source.
552
559
  :param redshift_run_configuration: The configuration of the Amazon Redshift data source.
560
+ :param sage_maker_run_configuration: The configuration details of the Amazon SageMaker data source.
553
561
 
554
562
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-datasource-datasourceconfigurationinput.html
555
563
  :exampleMetadata: fixture=_generated
@@ -602,6 +610,11 @@ class CfnDataSource(
602
610
 
603
611
  # the properties below are optional
604
612
  data_access_role="dataAccessRole"
613
+ ),
614
+ sage_maker_run_configuration=datazone.CfnDataSource.SageMakerRunConfigurationInputProperty(
615
+ tracking_assets={
616
+ "tracking_assets_key": ["trackingAssets"]
617
+ }
605
618
  )
606
619
  )
607
620
  '''
@@ -609,11 +622,14 @@ class CfnDataSource(
609
622
  type_hints = typing.get_type_hints(_typecheckingstub__e9bda82e8d6905101b134276b283067e9b4fc8445ba4e98917ea7cd2937c5828)
610
623
  check_type(argname="argument glue_run_configuration", value=glue_run_configuration, expected_type=type_hints["glue_run_configuration"])
611
624
  check_type(argname="argument redshift_run_configuration", value=redshift_run_configuration, expected_type=type_hints["redshift_run_configuration"])
625
+ check_type(argname="argument sage_maker_run_configuration", value=sage_maker_run_configuration, expected_type=type_hints["sage_maker_run_configuration"])
612
626
  self._values: typing.Dict[builtins.str, typing.Any] = {}
613
627
  if glue_run_configuration is not None:
614
628
  self._values["glue_run_configuration"] = glue_run_configuration
615
629
  if redshift_run_configuration is not None:
616
630
  self._values["redshift_run_configuration"] = redshift_run_configuration
631
+ if sage_maker_run_configuration is not None:
632
+ self._values["sage_maker_run_configuration"] = sage_maker_run_configuration
617
633
 
618
634
  @builtins.property
619
635
  def glue_run_configuration(
@@ -637,6 +653,17 @@ class CfnDataSource(
637
653
  result = self._values.get("redshift_run_configuration")
638
654
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataSource.RedshiftRunConfigurationInputProperty"]], result)
639
655
 
656
+ @builtins.property
657
+ def sage_maker_run_configuration(
658
+ self,
659
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataSource.SageMakerRunConfigurationInputProperty"]]:
660
+ '''The configuration details of the Amazon SageMaker data source.
661
+
662
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-datasource-datasourceconfigurationinput.html#cfn-datazone-datasource-datasourceconfigurationinput-sagemakerrunconfiguration
663
+ '''
664
+ result = self._values.get("sage_maker_run_configuration")
665
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataSource.SageMakerRunConfigurationInputProperty"]], result)
666
+
640
667
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
641
668
  return isinstance(rhs, self.__class__) and rhs._values == self._values
642
669
 
@@ -1452,6 +1479,66 @@ class CfnDataSource(
1452
1479
  k + "=" + repr(v) for k, v in self._values.items()
1453
1480
  )
1454
1481
 
1482
+ @jsii.data_type(
1483
+ jsii_type="aws-cdk-lib.aws_datazone.CfnDataSource.SageMakerRunConfigurationInputProperty",
1484
+ jsii_struct_bases=[],
1485
+ name_mapping={"tracking_assets": "trackingAssets"},
1486
+ )
1487
+ class SageMakerRunConfigurationInputProperty:
1488
+ def __init__(
1489
+ self,
1490
+ *,
1491
+ tracking_assets: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Sequence[builtins.str]]],
1492
+ ) -> None:
1493
+ '''The configuration details of the Amazon SageMaker data source.
1494
+
1495
+ :param tracking_assets: The tracking assets of the Amazon SageMaker run.
1496
+
1497
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-datasource-sagemakerrunconfigurationinput.html
1498
+ :exampleMetadata: fixture=_generated
1499
+
1500
+ Example::
1501
+
1502
+ # The code below shows an example of how to instantiate this type.
1503
+ # The values are placeholders you should change.
1504
+ from aws_cdk import aws_datazone as datazone
1505
+
1506
+ sage_maker_run_configuration_input_property = datazone.CfnDataSource.SageMakerRunConfigurationInputProperty(
1507
+ tracking_assets={
1508
+ "tracking_assets_key": ["trackingAssets"]
1509
+ }
1510
+ )
1511
+ '''
1512
+ if __debug__:
1513
+ type_hints = typing.get_type_hints(_typecheckingstub__28babf5c4c5363adc4e0e12e10b52800bdefbc80558e5eb5e050bd3e2c484591)
1514
+ check_type(argname="argument tracking_assets", value=tracking_assets, expected_type=type_hints["tracking_assets"])
1515
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1516
+ "tracking_assets": tracking_assets,
1517
+ }
1518
+
1519
+ @builtins.property
1520
+ def tracking_assets(
1521
+ self,
1522
+ ) -> typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.List[builtins.str]]]:
1523
+ '''The tracking assets of the Amazon SageMaker run.
1524
+
1525
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-datasource-sagemakerrunconfigurationinput.html#cfn-datazone-datasource-sagemakerrunconfigurationinput-trackingassets
1526
+ '''
1527
+ result = self._values.get("tracking_assets")
1528
+ assert result is not None, "Required property 'tracking_assets' is missing"
1529
+ return typing.cast(typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.List[builtins.str]]], result)
1530
+
1531
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1532
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1533
+
1534
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1535
+ return not (rhs == self)
1536
+
1537
+ def __repr__(self) -> str:
1538
+ return "SageMakerRunConfigurationInputProperty(%s)" % ", ".join(
1539
+ k + "=" + repr(v) for k, v in self._values.items()
1540
+ )
1541
+
1455
1542
  @jsii.data_type(
1456
1543
  jsii_type="aws-cdk-lib.aws_datazone.CfnDataSource.ScheduleConfigurationProperty",
1457
1544
  jsii_struct_bases=[],
@@ -1640,6 +1727,11 @@ class CfnDataSourceProps:
1640
1727
 
1641
1728
  # the properties below are optional
1642
1729
  data_access_role="dataAccessRole"
1730
+ ),
1731
+ sage_maker_run_configuration=datazone.CfnDataSource.SageMakerRunConfigurationInputProperty(
1732
+ tracking_assets={
1733
+ "tracking_assets_key": ["trackingAssets"]
1734
+ }
1643
1735
  )
1644
1736
  ),
1645
1737
  description="description",
@@ -5280,7 +5372,6 @@ class CfnSubscriptionTarget(
5280
5372
  authorized_principals=["authorizedPrincipals"],
5281
5373
  domain_identifier="domainIdentifier",
5282
5374
  environment_identifier="environmentIdentifier",
5283
- manage_access_role="manageAccessRole",
5284
5375
  name="name",
5285
5376
  subscription_target_config=[datazone.CfnSubscriptionTarget.SubscriptionTargetFormProperty(
5286
5377
  content="content",
@@ -5289,6 +5380,7 @@ class CfnSubscriptionTarget(
5289
5380
  type="type",
5290
5381
 
5291
5382
  # the properties below are optional
5383
+ manage_access_role="manageAccessRole",
5292
5384
  provider="provider"
5293
5385
  )
5294
5386
  '''
@@ -5302,10 +5394,10 @@ class CfnSubscriptionTarget(
5302
5394
  authorized_principals: typing.Sequence[builtins.str],
5303
5395
  domain_identifier: builtins.str,
5304
5396
  environment_identifier: builtins.str,
5305
- manage_access_role: builtins.str,
5306
5397
  name: builtins.str,
5307
5398
  subscription_target_config: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSubscriptionTarget.SubscriptionTargetFormProperty", typing.Dict[builtins.str, typing.Any]]]]],
5308
5399
  type: builtins.str,
5400
+ manage_access_role: typing.Optional[builtins.str] = None,
5309
5401
  provider: typing.Optional[builtins.str] = None,
5310
5402
  ) -> None:
5311
5403
  '''
@@ -5315,10 +5407,10 @@ class CfnSubscriptionTarget(
5315
5407
  :param authorized_principals: The authorized principals included in the subscription target.
5316
5408
  :param domain_identifier: The ID of the Amazon DataZone domain in which subscription target is created.
5317
5409
  :param environment_identifier: The ID of the environment in which subscription target is created.
5318
- :param manage_access_role: The manage access role that is used to create the subscription target.
5319
5410
  :param name: The name of the subscription target.
5320
5411
  :param subscription_target_config: The configuration of the subscription target.
5321
5412
  :param type: The type of the subscription target.
5413
+ :param manage_access_role: The manage access role that is used to create the subscription target.
5322
5414
  :param provider: The provider of the subscription target.
5323
5415
  '''
5324
5416
  if __debug__:
@@ -5330,10 +5422,10 @@ class CfnSubscriptionTarget(
5330
5422
  authorized_principals=authorized_principals,
5331
5423
  domain_identifier=domain_identifier,
5332
5424
  environment_identifier=environment_identifier,
5333
- manage_access_role=manage_access_role,
5334
5425
  name=name,
5335
5426
  subscription_target_config=subscription_target_config,
5336
5427
  type=type,
5428
+ manage_access_role=manage_access_role,
5337
5429
  provider=provider,
5338
5430
  )
5339
5431
 
@@ -5498,19 +5590,6 @@ class CfnSubscriptionTarget(
5498
5590
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
5499
5591
  jsii.set(self, "environmentIdentifier", value) # pyright: ignore[reportArgumentType]
5500
5592
 
5501
- @builtins.property
5502
- @jsii.member(jsii_name="manageAccessRole")
5503
- def manage_access_role(self) -> builtins.str:
5504
- '''The manage access role that is used to create the subscription target.'''
5505
- return typing.cast(builtins.str, jsii.get(self, "manageAccessRole"))
5506
-
5507
- @manage_access_role.setter
5508
- def manage_access_role(self, value: builtins.str) -> None:
5509
- if __debug__:
5510
- type_hints = typing.get_type_hints(_typecheckingstub__83f19af57790aab3ddc6c4e1f64e1f68cf69073e46da8ac997fc9f0c83e93198)
5511
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
5512
- jsii.set(self, "manageAccessRole", value) # pyright: ignore[reportArgumentType]
5513
-
5514
5593
  @builtins.property
5515
5594
  @jsii.member(jsii_name="name")
5516
5595
  def name(self) -> builtins.str:
@@ -5555,6 +5634,19 @@ class CfnSubscriptionTarget(
5555
5634
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
5556
5635
  jsii.set(self, "type", value) # pyright: ignore[reportArgumentType]
5557
5636
 
5637
+ @builtins.property
5638
+ @jsii.member(jsii_name="manageAccessRole")
5639
+ def manage_access_role(self) -> typing.Optional[builtins.str]:
5640
+ '''The manage access role that is used to create the subscription target.'''
5641
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "manageAccessRole"))
5642
+
5643
+ @manage_access_role.setter
5644
+ def manage_access_role(self, value: typing.Optional[builtins.str]) -> None:
5645
+ if __debug__:
5646
+ type_hints = typing.get_type_hints(_typecheckingstub__83f19af57790aab3ddc6c4e1f64e1f68cf69073e46da8ac997fc9f0c83e93198)
5647
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
5648
+ jsii.set(self, "manageAccessRole", value) # pyright: ignore[reportArgumentType]
5649
+
5558
5650
  @builtins.property
5559
5651
  @jsii.member(jsii_name="provider")
5560
5652
  def provider(self) -> typing.Optional[builtins.str]:
@@ -5643,10 +5735,10 @@ class CfnSubscriptionTarget(
5643
5735
  "authorized_principals": "authorizedPrincipals",
5644
5736
  "domain_identifier": "domainIdentifier",
5645
5737
  "environment_identifier": "environmentIdentifier",
5646
- "manage_access_role": "manageAccessRole",
5647
5738
  "name": "name",
5648
5739
  "subscription_target_config": "subscriptionTargetConfig",
5649
5740
  "type": "type",
5741
+ "manage_access_role": "manageAccessRole",
5650
5742
  "provider": "provider",
5651
5743
  },
5652
5744
  )
@@ -5658,10 +5750,10 @@ class CfnSubscriptionTargetProps:
5658
5750
  authorized_principals: typing.Sequence[builtins.str],
5659
5751
  domain_identifier: builtins.str,
5660
5752
  environment_identifier: builtins.str,
5661
- manage_access_role: builtins.str,
5662
5753
  name: builtins.str,
5663
5754
  subscription_target_config: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriptionTarget.SubscriptionTargetFormProperty, typing.Dict[builtins.str, typing.Any]]]]],
5664
5755
  type: builtins.str,
5756
+ manage_access_role: typing.Optional[builtins.str] = None,
5665
5757
  provider: typing.Optional[builtins.str] = None,
5666
5758
  ) -> None:
5667
5759
  '''Properties for defining a ``CfnSubscriptionTarget``.
@@ -5670,10 +5762,10 @@ class CfnSubscriptionTargetProps:
5670
5762
  :param authorized_principals: The authorized principals included in the subscription target.
5671
5763
  :param domain_identifier: The ID of the Amazon DataZone domain in which subscription target is created.
5672
5764
  :param environment_identifier: The ID of the environment in which subscription target is created.
5673
- :param manage_access_role: The manage access role that is used to create the subscription target.
5674
5765
  :param name: The name of the subscription target.
5675
5766
  :param subscription_target_config: The configuration of the subscription target.
5676
5767
  :param type: The type of the subscription target.
5768
+ :param manage_access_role: The manage access role that is used to create the subscription target.
5677
5769
  :param provider: The provider of the subscription target.
5678
5770
 
5679
5771
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-subscriptiontarget.html
@@ -5690,7 +5782,6 @@ class CfnSubscriptionTargetProps:
5690
5782
  authorized_principals=["authorizedPrincipals"],
5691
5783
  domain_identifier="domainIdentifier",
5692
5784
  environment_identifier="environmentIdentifier",
5693
- manage_access_role="manageAccessRole",
5694
5785
  name="name",
5695
5786
  subscription_target_config=[datazone.CfnSubscriptionTarget.SubscriptionTargetFormProperty(
5696
5787
  content="content",
@@ -5699,6 +5790,7 @@ class CfnSubscriptionTargetProps:
5699
5790
  type="type",
5700
5791
 
5701
5792
  # the properties below are optional
5793
+ manage_access_role="manageAccessRole",
5702
5794
  provider="provider"
5703
5795
  )
5704
5796
  '''
@@ -5708,21 +5800,22 @@ class CfnSubscriptionTargetProps:
5708
5800
  check_type(argname="argument authorized_principals", value=authorized_principals, expected_type=type_hints["authorized_principals"])
5709
5801
  check_type(argname="argument domain_identifier", value=domain_identifier, expected_type=type_hints["domain_identifier"])
5710
5802
  check_type(argname="argument environment_identifier", value=environment_identifier, expected_type=type_hints["environment_identifier"])
5711
- check_type(argname="argument manage_access_role", value=manage_access_role, expected_type=type_hints["manage_access_role"])
5712
5803
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
5713
5804
  check_type(argname="argument subscription_target_config", value=subscription_target_config, expected_type=type_hints["subscription_target_config"])
5714
5805
  check_type(argname="argument type", value=type, expected_type=type_hints["type"])
5806
+ check_type(argname="argument manage_access_role", value=manage_access_role, expected_type=type_hints["manage_access_role"])
5715
5807
  check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
5716
5808
  self._values: typing.Dict[builtins.str, typing.Any] = {
5717
5809
  "applicable_asset_types": applicable_asset_types,
5718
5810
  "authorized_principals": authorized_principals,
5719
5811
  "domain_identifier": domain_identifier,
5720
5812
  "environment_identifier": environment_identifier,
5721
- "manage_access_role": manage_access_role,
5722
5813
  "name": name,
5723
5814
  "subscription_target_config": subscription_target_config,
5724
5815
  "type": type,
5725
5816
  }
5817
+ if manage_access_role is not None:
5818
+ self._values["manage_access_role"] = manage_access_role
5726
5819
  if provider is not None:
5727
5820
  self._values["provider"] = provider
5728
5821
 
@@ -5766,16 +5859,6 @@ class CfnSubscriptionTargetProps:
5766
5859
  assert result is not None, "Required property 'environment_identifier' is missing"
5767
5860
  return typing.cast(builtins.str, result)
5768
5861
 
5769
- @builtins.property
5770
- def manage_access_role(self) -> builtins.str:
5771
- '''The manage access role that is used to create the subscription target.
5772
-
5773
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-subscriptiontarget.html#cfn-datazone-subscriptiontarget-manageaccessrole
5774
- '''
5775
- result = self._values.get("manage_access_role")
5776
- assert result is not None, "Required property 'manage_access_role' is missing"
5777
- return typing.cast(builtins.str, result)
5778
-
5779
5862
  @builtins.property
5780
5863
  def name(self) -> builtins.str:
5781
5864
  '''The name of the subscription target.
@@ -5808,6 +5891,15 @@ class CfnSubscriptionTargetProps:
5808
5891
  assert result is not None, "Required property 'type' is missing"
5809
5892
  return typing.cast(builtins.str, result)
5810
5893
 
5894
+ @builtins.property
5895
+ def manage_access_role(self) -> typing.Optional[builtins.str]:
5896
+ '''The manage access role that is used to create the subscription target.
5897
+
5898
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-subscriptiontarget.html#cfn-datazone-subscriptiontarget-manageaccessrole
5899
+ '''
5900
+ result = self._values.get("manage_access_role")
5901
+ return typing.cast(typing.Optional[builtins.str], result)
5902
+
5811
5903
  @builtins.property
5812
5904
  def provider(self) -> typing.Optional[builtins.str]:
5813
5905
  '''The provider of the subscription target.
@@ -6475,6 +6567,7 @@ def _typecheckingstub__e9bda82e8d6905101b134276b283067e9b4fc8445ba4e98917ea7cd29
6475
6567
  *,
6476
6568
  glue_run_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataSource.GlueRunConfigurationInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
6477
6569
  redshift_run_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataSource.RedshiftRunConfigurationInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
6570
+ sage_maker_run_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataSource.SageMakerRunConfigurationInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
6478
6571
  ) -> None:
6479
6572
  """Type checking stubs"""
6480
6573
  pass
@@ -6561,6 +6654,13 @@ def _typecheckingstub__b69950b3dd7224f1119f8c5e6a2c8675594377bc1e5845a101f3b5f21
6561
6654
  """Type checking stubs"""
6562
6655
  pass
6563
6656
 
6657
+ def _typecheckingstub__28babf5c4c5363adc4e0e12e10b52800bdefbc80558e5eb5e050bd3e2c484591(
6658
+ *,
6659
+ tracking_assets: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Sequence[builtins.str]]],
6660
+ ) -> None:
6661
+ """Type checking stubs"""
6662
+ pass
6663
+
6564
6664
  def _typecheckingstub__9fc1ad55dd2850c09e234b6cbea1fb383c32658a6b0f4b3e6c9ec1d67d8ae10c(
6565
6665
  *,
6566
6666
  schedule: typing.Optional[builtins.str] = None,
@@ -7226,10 +7326,10 @@ def _typecheckingstub__c61b5cfe149791a4c62bad0056737a365bdf72f7f99e6e72c71be1058
7226
7326
  authorized_principals: typing.Sequence[builtins.str],
7227
7327
  domain_identifier: builtins.str,
7228
7328
  environment_identifier: builtins.str,
7229
- manage_access_role: builtins.str,
7230
7329
  name: builtins.str,
7231
7330
  subscription_target_config: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriptionTarget.SubscriptionTargetFormProperty, typing.Dict[builtins.str, typing.Any]]]]],
7232
7331
  type: builtins.str,
7332
+ manage_access_role: typing.Optional[builtins.str] = None,
7233
7333
  provider: typing.Optional[builtins.str] = None,
7234
7334
  ) -> None:
7235
7335
  """Type checking stubs"""
@@ -7271,12 +7371,6 @@ def _typecheckingstub__20ed34c3b416019570831200db233eb4c407b91b53464c36e9fbdbdcd
7271
7371
  """Type checking stubs"""
7272
7372
  pass
7273
7373
 
7274
- def _typecheckingstub__83f19af57790aab3ddc6c4e1f64e1f68cf69073e46da8ac997fc9f0c83e93198(
7275
- value: builtins.str,
7276
- ) -> None:
7277
- """Type checking stubs"""
7278
- pass
7279
-
7280
7374
  def _typecheckingstub__bc691c403b67912db7216c5f5fddda4101316ca719bd90e37c92640197c61004(
7281
7375
  value: builtins.str,
7282
7376
  ) -> None:
@@ -7295,6 +7389,12 @@ def _typecheckingstub__8961cb77429dad851472db6b14a76c77606d0bffdc98a0cbb3cffd227
7295
7389
  """Type checking stubs"""
7296
7390
  pass
7297
7391
 
7392
+ def _typecheckingstub__83f19af57790aab3ddc6c4e1f64e1f68cf69073e46da8ac997fc9f0c83e93198(
7393
+ value: typing.Optional[builtins.str],
7394
+ ) -> None:
7395
+ """Type checking stubs"""
7396
+ pass
7397
+
7298
7398
  def _typecheckingstub__a4526f8f71696c8c7bf040cd042cda55182de538f2ebf276253751b5a497c037(
7299
7399
  value: typing.Optional[builtins.str],
7300
7400
  ) -> None:
@@ -7315,10 +7415,10 @@ def _typecheckingstub__0b970b38bc2b99a7ed3ef3830dfa5721ecc9ee442e5d627e01abfdcb2
7315
7415
  authorized_principals: typing.Sequence[builtins.str],
7316
7416
  domain_identifier: builtins.str,
7317
7417
  environment_identifier: builtins.str,
7318
- manage_access_role: builtins.str,
7319
7418
  name: builtins.str,
7320
7419
  subscription_target_config: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriptionTarget.SubscriptionTargetFormProperty, typing.Dict[builtins.str, typing.Any]]]]],
7321
7420
  type: builtins.str,
7421
+ manage_access_role: typing.Optional[builtins.str] = None,
7322
7422
  provider: typing.Optional[builtins.str] = None,
7323
7423
  ) -> None:
7324
7424
  """Type checking stubs"""
@@ -785,7 +785,7 @@ class CfnLifecyclePolicy(
785
785
  :param cron_expression: The schedule, as a Cron expression. The schedule interval must be between 1 hour and 1 year. For more information, see the `Cron expressions reference <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-cron-expressions.html>`_ in the *Amazon EventBridge User Guide* .
786
786
  :param interval: The interval between snapshots. The supported values are 1, 2, 3, 4, 6, 8, 12, and 24.
787
787
  :param interval_unit: The interval unit.
788
- :param location: *[Custom snapshot policies only]* Specifies the destination for snapshots created by the policy. To create snapshots in the same Region as the source resource, specify ``CLOUD`` . To create snapshots on the same Outpost as the source resource, specify ``OUTPOST_LOCAL`` . If you omit this parameter, ``CLOUD`` is used by default. If the policy targets resources in an AWS Region , then you must create snapshots in the same Region as the source resource. If the policy targets resources on an Outpost, then you can create snapshots on the same Outpost as the source resource, or in the Region of that Outpost.
788
+ :param location: *[Custom snapshot policies only]* Specifies the destination for snapshots created by the policy. The allowed destinations depend on the location of the targeted resources. - If the policy targets resources in a Region, then you must create snapshots in the same Region as the source resource. - If the policy targets resources in a Local Zone, you can create snapshots in the same Local Zone or in its parent Region. - If the policy targets resources on an Outpost, then you can create snapshots on the same Outpost or in its parent Region. Specify one of the following values: - To create snapshots in the same Region as the source resource, specify ``CLOUD`` . - To create snapshots in the same Local Zone as the source resource, specify ``LOCAL_ZONE`` . - To create snapshots on the same Outpost as the source resource, specify ``OUTPOST_LOCAL`` . Default: ``CLOUD``
789
789
  :param scripts: *[Custom snapshot policies that target instances only]* Specifies pre and/or post scripts for a snapshot lifecycle policy that targets instances. This is useful for creating application-consistent snapshots, or for performing specific administrative tasks before or after Amazon Data Lifecycle Manager initiates snapshot creation. For more information, see `Automating application-consistent snapshots with pre and post scripts <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/automate-app-consistent-backups.html>`_ .
790
790
  :param times: The time, in UTC, to start the operation. The supported format is hh:mm. The operation occurs within a one-hour window following the specified time. If you do not specify a time, Amazon Data Lifecycle Manager selects a time within the next 24 hours.
791
791
 
@@ -871,9 +871,19 @@ class CfnLifecyclePolicy(
871
871
  def location(self) -> typing.Optional[builtins.str]:
872
872
  '''*[Custom snapshot policies only]* Specifies the destination for snapshots created by the policy.
873
873
 
874
- To create snapshots in the same Region as the source resource, specify ``CLOUD`` . To create snapshots on the same Outpost as the source resource, specify ``OUTPOST_LOCAL`` . If you omit this parameter, ``CLOUD`` is used by default.
874
+ The allowed destinations depend on the location of the targeted resources.
875
875
 
876
- If the policy targets resources in an AWS Region , then you must create snapshots in the same Region as the source resource. If the policy targets resources on an Outpost, then you can create snapshots on the same Outpost as the source resource, or in the Region of that Outpost.
876
+ - If the policy targets resources in a Region, then you must create snapshots in the same Region as the source resource.
877
+ - If the policy targets resources in a Local Zone, you can create snapshots in the same Local Zone or in its parent Region.
878
+ - If the policy targets resources on an Outpost, then you can create snapshots on the same Outpost or in its parent Region.
879
+
880
+ Specify one of the following values:
881
+
882
+ - To create snapshots in the same Region as the source resource, specify ``CLOUD`` .
883
+ - To create snapshots in the same Local Zone as the source resource, specify ``LOCAL_ZONE`` .
884
+ - To create snapshots on the same Outpost as the source resource, specify ``OUTPOST_LOCAL`` .
885
+
886
+ Default: ``CLOUD``
877
887
 
878
888
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-createrule.html#cfn-dlm-lifecyclepolicy-createrule-location
879
889
  '''
@@ -2092,7 +2102,7 @@ class CfnLifecyclePolicy(
2092
2102
  :param parameters: *[Custom snapshot and AMI policies only]* A set of optional parameters for snapshot and AMI lifecycle policies. .. epigraph:: If you are modifying a policy that was created or previously modified using the Amazon Data Lifecycle Manager console, then you must include this parameter and specify either the default values or the new values that you require. You can't omit this parameter or set its values to null.
2093
2103
  :param policy_language: The type of policy to create. Specify one of the following:. - ``SIMPLIFIED`` To create a default policy. - ``STANDARD`` To create a custom policy.
2094
2104
  :param policy_type: The type of policy. Specify ``EBS_SNAPSHOT_MANAGEMENT`` to create a lifecycle policy that manages the lifecycle of Amazon EBS snapshots. Specify ``IMAGE_MANAGEMENT`` to create a lifecycle policy that manages the lifecycle of EBS-backed AMIs. Specify ``EVENT_BASED_POLICY`` to create an event-based policy that performs specific actions when a defined event occurs in your AWS account . The default is ``EBS_SNAPSHOT_MANAGEMENT`` .
2095
- :param resource_locations: *[Custom snapshot and AMI policies only]* The location of the resources to backup. If the source resources are located in an AWS Region , specify ``CLOUD`` . If the source resources are located on an Outpost in your account, specify ``OUTPOST`` . If you specify ``OUTPOST`` , Amazon Data Lifecycle Manager backs up all resources of the specified type with matching target tags across all of the Outposts in your account.
2105
+ :param resource_locations: *[Custom snapshot and AMI policies only]* The location of the resources to backup. - If the source resources are located in a Region, specify ``CLOUD`` . In this case, the policy targets all resources of the specified type with matching target tags across all Availability Zones in the Region. - *[Custom snapshot policies only]* If the source resources are located in a Local Zone, specify ``LOCAL_ZONE`` . In this case, the policy targets all resources of the specified type with matching target tags across all Local Zones in the Region. - If the source resources are located on an Outpost in your account, specify ``OUTPOST`` . In this case, the policy targets all resources of the specified type with matching target tags across all of the Outposts in your account.
2096
2106
  :param resource_type: *[Default policies only]* Specify the type of default policy to create. - To create a default policy for EBS snapshots, that creates snapshots of all volumes in the Region that do not have recent backups, specify ``VOLUME`` . - To create a default policy for EBS-backed AMIs, that creates EBS-backed AMIs from all instances in the Region that do not have recent backups, specify ``INSTANCE`` .
2097
2107
  :param resource_types: *[Custom snapshot policies only]* The target resource type for snapshot and AMI lifecycle policies. Use ``VOLUME`` to create snapshots of individual volumes or use ``INSTANCE`` to create multi-volume snapshots from the volumes for an instance.
2098
2108
  :param retain_interval: *[Default policies only]* Specifies how long the policy should retain snapshots or AMIs before deleting them. The retention period can range from 2 to 14 days, but it must be greater than the creation frequency to ensure that the policy retains at least 1 snapshot or AMI at any given time. If you do not specify a value, the default is 7. Default: 7
@@ -2440,9 +2450,9 @@ class CfnLifecyclePolicy(
2440
2450
  def resource_locations(self) -> typing.Optional[typing.List[builtins.str]]:
2441
2451
  '''*[Custom snapshot and AMI policies only]* The location of the resources to backup.
2442
2452
 
2443
- If the source resources are located in an AWS Region , specify ``CLOUD`` . If the source resources are located on an Outpost in your account, specify ``OUTPOST`` .
2444
-
2445
- If you specify ``OUTPOST`` , Amazon Data Lifecycle Manager backs up all resources of the specified type with matching target tags across all of the Outposts in your account.
2453
+ - If the source resources are located in a Region, specify ``CLOUD`` . In this case, the policy targets all resources of the specified type with matching target tags across all Availability Zones in the Region.
2454
+ - *[Custom snapshot policies only]* If the source resources are located in a Local Zone, specify ``LOCAL_ZONE`` . In this case, the policy targets all resources of the specified type with matching target tags across all Local Zones in the Region.
2455
+ - If the source resources are located on an Outpost in your account, specify ``OUTPOST`` . In this case, the policy targets all resources of the specified type with matching target tags across all of the Outposts in your account.
2446
2456
 
2447
2457
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-policydetails.html#cfn-dlm-lifecyclepolicy-policydetails-resourcelocations
2448
2458
  '''
@@ -2773,7 +2783,7 @@ class CfnLifecyclePolicy(
2773
2783
  :param archive_rule: *[Custom snapshot policies that target volumes only]* The snapshot archiving rule for the schedule. When you specify an archiving rule, snapshots are automatically moved from the standard tier to the archive tier once the schedule's retention threshold is met. Snapshots are then retained in the archive tier for the archive retention period that you specify. For more information about using snapshot archiving, see `Considerations for snapshot lifecycle policies <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-ami-policy.html#dlm-archive>`_ .
2774
2784
  :param copy_tags: Copy all user-defined tags on a source volume to snapshots of the volume created by this policy.
2775
2785
  :param create_rule: The creation rule.
2776
- :param cross_region_copy_rules: Specifies a rule for copying snapshots or AMIs across regions. .. epigraph:: You can't specify cross-Region copy rules for policies that create snapshots on an Outpost. If the policy creates snapshots in a Region, then snapshots can be copied to up to three Regions or Outposts.
2786
+ :param cross_region_copy_rules: Specifies a rule for copying snapshots or AMIs across Regions. .. epigraph:: You can't specify cross-Region copy rules for policies that create snapshots on an Outpost or in a Local Zone. If the policy creates snapshots in a Region, then snapshots can be copied to up to three Regions or Outposts.
2777
2787
  :param deprecate_rule: *[Custom AMI policies only]* The AMI deprecation rule for the schedule.
2778
2788
  :param fast_restore_rule: *[Custom snapshot policies only]* The rule for enabling fast snapshot restore.
2779
2789
  :param name: The name of the schedule.
@@ -2944,11 +2954,11 @@ class CfnLifecyclePolicy(
2944
2954
  def cross_region_copy_rules(
2945
2955
  self,
2946
2956
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnLifecyclePolicy.CrossRegionCopyRuleProperty"]]]]:
2947
- '''Specifies a rule for copying snapshots or AMIs across regions.
2957
+ '''Specifies a rule for copying snapshots or AMIs across Regions.
2948
2958
 
2949
2959
  .. epigraph::
2950
2960
 
2951
- You can't specify cross-Region copy rules for policies that create snapshots on an Outpost. If the policy creates snapshots in a Region, then snapshots can be copied to up to three Regions or Outposts.
2961
+ You can't specify cross-Region copy rules for policies that create snapshots on an Outpost or in a Local Zone. If the policy creates snapshots in a Region, then snapshots can be copied to up to three Regions or Outposts.
2952
2962
 
2953
2963
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-schedule.html#cfn-dlm-lifecyclepolicy-schedule-crossregioncopyrules
2954
2964
  '''