aws-cdk-lib 2.164.1__py3-none-any.whl → 2.166.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 (52) hide show
  1. aws_cdk/__init__.py +20 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.164.1.jsii.tgz → aws-cdk-lib@2.166.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_appsync/__init__.py +2163 -375
  5. aws_cdk/aws_autoscaling/__init__.py +145 -8
  6. aws_cdk/aws_backup/__init__.py +627 -3
  7. aws_cdk/aws_bedrock/__init__.py +982 -191
  8. aws_cdk/aws_codebuild/__init__.py +88 -33
  9. aws_cdk/aws_codepipeline/__init__.py +98 -5
  10. aws_cdk/aws_codestar/__init__.py +1 -1
  11. aws_cdk/aws_cognito/__init__.py +656 -102
  12. aws_cdk/aws_connect/__init__.py +1 -1
  13. aws_cdk/aws_datasync/__init__.py +9 -7
  14. aws_cdk/aws_devopsguru/__init__.py +2 -2
  15. aws_cdk/aws_dms/__init__.py +762 -0
  16. aws_cdk/aws_dynamodb/__init__.py +13 -8
  17. aws_cdk/aws_ec2/__init__.py +134 -35
  18. aws_cdk/aws_ecs/__init__.py +41 -31
  19. aws_cdk/aws_eks/__init__.py +10 -12
  20. aws_cdk/aws_elasticache/__init__.py +52 -6
  21. aws_cdk/aws_emrserverless/__init__.py +35 -33
  22. aws_cdk/aws_events/__init__.py +25 -30
  23. aws_cdk/aws_imagebuilder/__init__.py +183 -0
  24. aws_cdk/aws_iot/__init__.py +37 -43
  25. aws_cdk/aws_iotwireless/__init__.py +2 -2
  26. aws_cdk/aws_kinesis/__init__.py +297 -1
  27. aws_cdk/aws_lambda/__init__.py +3 -3
  28. aws_cdk/aws_m2/__init__.py +58 -58
  29. aws_cdk/aws_mediapackagev2/__init__.py +191 -0
  30. aws_cdk/aws_memorydb/__init__.py +41 -0
  31. aws_cdk/aws_networkfirewall/__init__.py +14 -5
  32. aws_cdk/aws_opensearchservice/__init__.py +969 -0
  33. aws_cdk/aws_pipes/__init__.py +1 -1
  34. aws_cdk/aws_qbusiness/__init__.py +23 -14
  35. aws_cdk/aws_rds/__init__.py +187 -48
  36. aws_cdk/aws_redshift/__init__.py +23 -23
  37. aws_cdk/aws_refactorspaces/__init__.py +56 -61
  38. aws_cdk/aws_resiliencehub/__init__.py +4 -4
  39. aws_cdk/aws_route53/__init__.py +37 -9
  40. aws_cdk/aws_s3_deployment/__init__.py +13 -7
  41. aws_cdk/aws_sagemaker/__init__.py +128 -23
  42. aws_cdk/aws_secretsmanager/__init__.py +2 -1
  43. aws_cdk/aws_ses/__init__.py +19 -0
  44. aws_cdk/aws_synthetics/__init__.py +121 -0
  45. aws_cdk/aws_timestream/__init__.py +41 -0
  46. aws_cdk/aws_wisdom/__init__.py +2035 -61
  47. {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/METADATA +6 -6
  48. {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/RECORD +52 -52
  49. {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/LICENSE +0 -0
  50. {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/NOTICE +0 -0
  51. {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/WHEEL +0 -0
  52. {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/top_level.txt +0 -0
@@ -4635,6 +4635,528 @@ class CfnFrameworkProps:
4635
4635
  )
4636
4636
 
4637
4637
 
4638
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
4639
+ class CfnLogicallyAirGappedBackupVault(
4640
+ _CfnResource_9df397a6,
4641
+ metaclass=jsii.JSIIMeta,
4642
+ jsii_type="aws-cdk-lib.aws_backup.CfnLogicallyAirGappedBackupVault",
4643
+ ):
4644
+ '''Creates a logical container to where backups may be copied.
4645
+
4646
+ This request includes a name, the Region, the maximum number of retention days, the minimum number of retention days, and optionally can include tags and a creator request ID.
4647
+ .. epigraph::
4648
+
4649
+ Do not include sensitive data, such as passport numbers, in the name of a backup vault.
4650
+
4651
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-logicallyairgappedbackupvault.html
4652
+ :cloudformationResource: AWS::Backup::LogicallyAirGappedBackupVault
4653
+ :exampleMetadata: fixture=_generated
4654
+
4655
+ Example::
4656
+
4657
+ # The code below shows an example of how to instantiate this type.
4658
+ # The values are placeholders you should change.
4659
+ from aws_cdk import aws_backup as backup
4660
+
4661
+ # access_policy: Any
4662
+
4663
+ cfn_logically_air_gapped_backup_vault = backup.CfnLogicallyAirGappedBackupVault(self, "MyCfnLogicallyAirGappedBackupVault",
4664
+ backup_vault_name="backupVaultName",
4665
+ max_retention_days=123,
4666
+ min_retention_days=123,
4667
+
4668
+ # the properties below are optional
4669
+ access_policy=access_policy,
4670
+ backup_vault_tags={
4671
+ "backup_vault_tags_key": "backupVaultTags"
4672
+ },
4673
+ notifications=backup.CfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty(
4674
+ backup_vault_events=["backupVaultEvents"],
4675
+ sns_topic_arn="snsTopicArn"
4676
+ ),
4677
+ vault_state="vaultState",
4678
+ vault_type="vaultType"
4679
+ )
4680
+ '''
4681
+
4682
+ def __init__(
4683
+ self,
4684
+ scope: _constructs_77d1e7e8.Construct,
4685
+ id: builtins.str,
4686
+ *,
4687
+ backup_vault_name: builtins.str,
4688
+ max_retention_days: jsii.Number,
4689
+ min_retention_days: jsii.Number,
4690
+ access_policy: typing.Any = None,
4691
+ backup_vault_tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4692
+ notifications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
4693
+ vault_state: typing.Optional[builtins.str] = None,
4694
+ vault_type: typing.Optional[builtins.str] = None,
4695
+ ) -> None:
4696
+ '''
4697
+ :param scope: Scope in which this resource is defined.
4698
+ :param id: Construct identifier for this resource (unique in its scope).
4699
+ :param backup_vault_name: The name of a logical container where backups are stored. Logically air-gapped backup vaults are identified by names that are unique to the account used to create them and the Region where they are created.
4700
+ :param max_retention_days: The maximum retention period that the vault retains its recovery points.
4701
+ :param min_retention_days: This setting specifies the minimum retention period that the vault retains its recovery points. The minimum value accepted is 7 days.
4702
+ :param access_policy: The backup vault access policy document in JSON format.
4703
+ :param backup_vault_tags: The tags to assign to the vault.
4704
+ :param notifications: Returns event notifications for the specified backup vault.
4705
+ :param vault_state: The current state of the vault.
4706
+ :param vault_type: The type of vault described.
4707
+ '''
4708
+ if __debug__:
4709
+ type_hints = typing.get_type_hints(_typecheckingstub__f46c2d817c43abec9e204fc8a7211b43dd15b93e11a637e67a9711664c3afd52)
4710
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
4711
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
4712
+ props = CfnLogicallyAirGappedBackupVaultProps(
4713
+ backup_vault_name=backup_vault_name,
4714
+ max_retention_days=max_retention_days,
4715
+ min_retention_days=min_retention_days,
4716
+ access_policy=access_policy,
4717
+ backup_vault_tags=backup_vault_tags,
4718
+ notifications=notifications,
4719
+ vault_state=vault_state,
4720
+ vault_type=vault_type,
4721
+ )
4722
+
4723
+ jsii.create(self.__class__, self, [scope, id, props])
4724
+
4725
+ @jsii.member(jsii_name="inspect")
4726
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
4727
+ '''Examines the CloudFormation resource and discloses attributes.
4728
+
4729
+ :param inspector: tree inspector to collect and process attributes.
4730
+ '''
4731
+ if __debug__:
4732
+ type_hints = typing.get_type_hints(_typecheckingstub__415ff13e64a57b94538bf66464736e9dc201021da09242c46763584700ef7f37)
4733
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
4734
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
4735
+
4736
+ @jsii.member(jsii_name="renderProperties")
4737
+ def _render_properties(
4738
+ self,
4739
+ props: typing.Mapping[builtins.str, typing.Any],
4740
+ ) -> typing.Mapping[builtins.str, typing.Any]:
4741
+ '''
4742
+ :param props: -
4743
+ '''
4744
+ if __debug__:
4745
+ type_hints = typing.get_type_hints(_typecheckingstub__90997f260b8fa85f8252a0ea2359e9f8366602c792a5b68ecfc147eaa74d69d2)
4746
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
4747
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
4748
+
4749
+ @jsii.python.classproperty
4750
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
4751
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
4752
+ '''The CloudFormation resource type name for this resource class.'''
4753
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
4754
+
4755
+ @builtins.property
4756
+ @jsii.member(jsii_name="attrBackupVaultArn")
4757
+ def attr_backup_vault_arn(self) -> builtins.str:
4758
+ '''
4759
+ :cloudformationAttribute: BackupVaultArn
4760
+ '''
4761
+ return typing.cast(builtins.str, jsii.get(self, "attrBackupVaultArn"))
4762
+
4763
+ @builtins.property
4764
+ @jsii.member(jsii_name="attrEncryptionKeyArn")
4765
+ def attr_encryption_key_arn(self) -> builtins.str:
4766
+ '''
4767
+ :cloudformationAttribute: EncryptionKeyArn
4768
+ '''
4769
+ return typing.cast(builtins.str, jsii.get(self, "attrEncryptionKeyArn"))
4770
+
4771
+ @builtins.property
4772
+ @jsii.member(jsii_name="cdkTagManager")
4773
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
4774
+ '''Tag Manager which manages the tags for this resource.'''
4775
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
4776
+
4777
+ @builtins.property
4778
+ @jsii.member(jsii_name="cfnProperties")
4779
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
4780
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
4781
+
4782
+ @builtins.property
4783
+ @jsii.member(jsii_name="backupVaultName")
4784
+ def backup_vault_name(self) -> builtins.str:
4785
+ '''The name of a logical container where backups are stored.'''
4786
+ return typing.cast(builtins.str, jsii.get(self, "backupVaultName"))
4787
+
4788
+ @backup_vault_name.setter
4789
+ def backup_vault_name(self, value: builtins.str) -> None:
4790
+ if __debug__:
4791
+ type_hints = typing.get_type_hints(_typecheckingstub__f39d44e1798aa90edd21caa75b2aedd9a4b35eaeadf66ac9f0915dfc43fc3b75)
4792
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4793
+ jsii.set(self, "backupVaultName", value) # pyright: ignore[reportArgumentType]
4794
+
4795
+ @builtins.property
4796
+ @jsii.member(jsii_name="maxRetentionDays")
4797
+ def max_retention_days(self) -> jsii.Number:
4798
+ '''The maximum retention period that the vault retains its recovery points.'''
4799
+ return typing.cast(jsii.Number, jsii.get(self, "maxRetentionDays"))
4800
+
4801
+ @max_retention_days.setter
4802
+ def max_retention_days(self, value: jsii.Number) -> None:
4803
+ if __debug__:
4804
+ type_hints = typing.get_type_hints(_typecheckingstub__e59d02ebdb1e7c422e3f7f25e255cc0887eb06386383f296e54811f753cfe510)
4805
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4806
+ jsii.set(self, "maxRetentionDays", value) # pyright: ignore[reportArgumentType]
4807
+
4808
+ @builtins.property
4809
+ @jsii.member(jsii_name="minRetentionDays")
4810
+ def min_retention_days(self) -> jsii.Number:
4811
+ '''This setting specifies the minimum retention period that the vault retains its recovery points.'''
4812
+ return typing.cast(jsii.Number, jsii.get(self, "minRetentionDays"))
4813
+
4814
+ @min_retention_days.setter
4815
+ def min_retention_days(self, value: jsii.Number) -> None:
4816
+ if __debug__:
4817
+ type_hints = typing.get_type_hints(_typecheckingstub__dd401ed590d402cdef7b7788713d25bd57d71a2ac64920c48582cd8343c69379)
4818
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4819
+ jsii.set(self, "minRetentionDays", value) # pyright: ignore[reportArgumentType]
4820
+
4821
+ @builtins.property
4822
+ @jsii.member(jsii_name="accessPolicy")
4823
+ def access_policy(self) -> typing.Any:
4824
+ '''The backup vault access policy document in JSON format.'''
4825
+ return typing.cast(typing.Any, jsii.get(self, "accessPolicy"))
4826
+
4827
+ @access_policy.setter
4828
+ def access_policy(self, value: typing.Any) -> None:
4829
+ if __debug__:
4830
+ type_hints = typing.get_type_hints(_typecheckingstub__564f3be2b50608a32bfb4fa605889a2fb38d151207c69e4cc5f6ed3bffc34318)
4831
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4832
+ jsii.set(self, "accessPolicy", value) # pyright: ignore[reportArgumentType]
4833
+
4834
+ @builtins.property
4835
+ @jsii.member(jsii_name="backupVaultTags")
4836
+ def backup_vault_tags(
4837
+ self,
4838
+ ) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
4839
+ '''The tags to assign to the vault.'''
4840
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "backupVaultTags"))
4841
+
4842
+ @backup_vault_tags.setter
4843
+ def backup_vault_tags(
4844
+ self,
4845
+ value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
4846
+ ) -> None:
4847
+ if __debug__:
4848
+ type_hints = typing.get_type_hints(_typecheckingstub__27388048f12fa4b0d6686a7b40795dea7b4219e2f388afdfc5733f7043eef9a5)
4849
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4850
+ jsii.set(self, "backupVaultTags", value) # pyright: ignore[reportArgumentType]
4851
+
4852
+ @builtins.property
4853
+ @jsii.member(jsii_name="notifications")
4854
+ def notifications(
4855
+ self,
4856
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty"]]:
4857
+ '''Returns event notifications for the specified backup vault.'''
4858
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty"]], jsii.get(self, "notifications"))
4859
+
4860
+ @notifications.setter
4861
+ def notifications(
4862
+ self,
4863
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty"]],
4864
+ ) -> None:
4865
+ if __debug__:
4866
+ type_hints = typing.get_type_hints(_typecheckingstub__f1dc991e6a5cd9bb0776543a7419ba117220c8fec8f29ec2587f9a6747b5dcab)
4867
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4868
+ jsii.set(self, "notifications", value) # pyright: ignore[reportArgumentType]
4869
+
4870
+ @builtins.property
4871
+ @jsii.member(jsii_name="vaultState")
4872
+ def vault_state(self) -> typing.Optional[builtins.str]:
4873
+ '''The current state of the vault.'''
4874
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "vaultState"))
4875
+
4876
+ @vault_state.setter
4877
+ def vault_state(self, value: typing.Optional[builtins.str]) -> None:
4878
+ if __debug__:
4879
+ type_hints = typing.get_type_hints(_typecheckingstub__b9497357ce276e248b82d9f2cf472851d2da1fd0eb5463b2a5d4077f02f8dbcd)
4880
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4881
+ jsii.set(self, "vaultState", value) # pyright: ignore[reportArgumentType]
4882
+
4883
+ @builtins.property
4884
+ @jsii.member(jsii_name="vaultType")
4885
+ def vault_type(self) -> typing.Optional[builtins.str]:
4886
+ '''The type of vault described.'''
4887
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "vaultType"))
4888
+
4889
+ @vault_type.setter
4890
+ def vault_type(self, value: typing.Optional[builtins.str]) -> None:
4891
+ if __debug__:
4892
+ type_hints = typing.get_type_hints(_typecheckingstub__8e682fdcee746b5e96b0b5dbd6b5ee449285d647373dce115026158d8424881d)
4893
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4894
+ jsii.set(self, "vaultType", value) # pyright: ignore[reportArgumentType]
4895
+
4896
+ @jsii.data_type(
4897
+ jsii_type="aws-cdk-lib.aws_backup.CfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty",
4898
+ jsii_struct_bases=[],
4899
+ name_mapping={
4900
+ "backup_vault_events": "backupVaultEvents",
4901
+ "sns_topic_arn": "snsTopicArn",
4902
+ },
4903
+ )
4904
+ class NotificationObjectTypeProperty:
4905
+ def __init__(
4906
+ self,
4907
+ *,
4908
+ backup_vault_events: typing.Sequence[builtins.str],
4909
+ sns_topic_arn: builtins.str,
4910
+ ) -> None:
4911
+ '''
4912
+ :param backup_vault_events: An array of events that indicate the status of jobs to back up resources to the backup vault.
4913
+ :param sns_topic_arn: The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events; for example, ``arn:aws:sns:us-west-2:111122223333:MyVaultTopic`` .
4914
+
4915
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-logicallyairgappedbackupvault-notificationobjecttype.html
4916
+ :exampleMetadata: fixture=_generated
4917
+
4918
+ Example::
4919
+
4920
+ # The code below shows an example of how to instantiate this type.
4921
+ # The values are placeholders you should change.
4922
+ from aws_cdk import aws_backup as backup
4923
+
4924
+ notification_object_type_property = backup.CfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty(
4925
+ backup_vault_events=["backupVaultEvents"],
4926
+ sns_topic_arn="snsTopicArn"
4927
+ )
4928
+ '''
4929
+ if __debug__:
4930
+ type_hints = typing.get_type_hints(_typecheckingstub__44eaedb9d731db6382000976b38651ee3871dd8abe22e4171998d7581dc60d48)
4931
+ check_type(argname="argument backup_vault_events", value=backup_vault_events, expected_type=type_hints["backup_vault_events"])
4932
+ check_type(argname="argument sns_topic_arn", value=sns_topic_arn, expected_type=type_hints["sns_topic_arn"])
4933
+ self._values: typing.Dict[builtins.str, typing.Any] = {
4934
+ "backup_vault_events": backup_vault_events,
4935
+ "sns_topic_arn": sns_topic_arn,
4936
+ }
4937
+
4938
+ @builtins.property
4939
+ def backup_vault_events(self) -> typing.List[builtins.str]:
4940
+ '''An array of events that indicate the status of jobs to back up resources to the backup vault.
4941
+
4942
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-logicallyairgappedbackupvault-notificationobjecttype.html#cfn-backup-logicallyairgappedbackupvault-notificationobjecttype-backupvaultevents
4943
+ '''
4944
+ result = self._values.get("backup_vault_events")
4945
+ assert result is not None, "Required property 'backup_vault_events' is missing"
4946
+ return typing.cast(typing.List[builtins.str], result)
4947
+
4948
+ @builtins.property
4949
+ def sns_topic_arn(self) -> builtins.str:
4950
+ '''The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events;
4951
+
4952
+ for example, ``arn:aws:sns:us-west-2:111122223333:MyVaultTopic`` .
4953
+
4954
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-logicallyairgappedbackupvault-notificationobjecttype.html#cfn-backup-logicallyairgappedbackupvault-notificationobjecttype-snstopicarn
4955
+ '''
4956
+ result = self._values.get("sns_topic_arn")
4957
+ assert result is not None, "Required property 'sns_topic_arn' is missing"
4958
+ return typing.cast(builtins.str, result)
4959
+
4960
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
4961
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
4962
+
4963
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
4964
+ return not (rhs == self)
4965
+
4966
+ def __repr__(self) -> str:
4967
+ return "NotificationObjectTypeProperty(%s)" % ", ".join(
4968
+ k + "=" + repr(v) for k, v in self._values.items()
4969
+ )
4970
+
4971
+
4972
+ @jsii.data_type(
4973
+ jsii_type="aws-cdk-lib.aws_backup.CfnLogicallyAirGappedBackupVaultProps",
4974
+ jsii_struct_bases=[],
4975
+ name_mapping={
4976
+ "backup_vault_name": "backupVaultName",
4977
+ "max_retention_days": "maxRetentionDays",
4978
+ "min_retention_days": "minRetentionDays",
4979
+ "access_policy": "accessPolicy",
4980
+ "backup_vault_tags": "backupVaultTags",
4981
+ "notifications": "notifications",
4982
+ "vault_state": "vaultState",
4983
+ "vault_type": "vaultType",
4984
+ },
4985
+ )
4986
+ class CfnLogicallyAirGappedBackupVaultProps:
4987
+ def __init__(
4988
+ self,
4989
+ *,
4990
+ backup_vault_name: builtins.str,
4991
+ max_retention_days: jsii.Number,
4992
+ min_retention_days: jsii.Number,
4993
+ access_policy: typing.Any = None,
4994
+ backup_vault_tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4995
+ notifications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4996
+ vault_state: typing.Optional[builtins.str] = None,
4997
+ vault_type: typing.Optional[builtins.str] = None,
4998
+ ) -> None:
4999
+ '''Properties for defining a ``CfnLogicallyAirGappedBackupVault``.
5000
+
5001
+ :param backup_vault_name: The name of a logical container where backups are stored. Logically air-gapped backup vaults are identified by names that are unique to the account used to create them and the Region where they are created.
5002
+ :param max_retention_days: The maximum retention period that the vault retains its recovery points.
5003
+ :param min_retention_days: This setting specifies the minimum retention period that the vault retains its recovery points. The minimum value accepted is 7 days.
5004
+ :param access_policy: The backup vault access policy document in JSON format.
5005
+ :param backup_vault_tags: The tags to assign to the vault.
5006
+ :param notifications: Returns event notifications for the specified backup vault.
5007
+ :param vault_state: The current state of the vault.
5008
+ :param vault_type: The type of vault described.
5009
+
5010
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-logicallyairgappedbackupvault.html
5011
+ :exampleMetadata: fixture=_generated
5012
+
5013
+ Example::
5014
+
5015
+ # The code below shows an example of how to instantiate this type.
5016
+ # The values are placeholders you should change.
5017
+ from aws_cdk import aws_backup as backup
5018
+
5019
+ # access_policy: Any
5020
+
5021
+ cfn_logically_air_gapped_backup_vault_props = backup.CfnLogicallyAirGappedBackupVaultProps(
5022
+ backup_vault_name="backupVaultName",
5023
+ max_retention_days=123,
5024
+ min_retention_days=123,
5025
+
5026
+ # the properties below are optional
5027
+ access_policy=access_policy,
5028
+ backup_vault_tags={
5029
+ "backup_vault_tags_key": "backupVaultTags"
5030
+ },
5031
+ notifications=backup.CfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty(
5032
+ backup_vault_events=["backupVaultEvents"],
5033
+ sns_topic_arn="snsTopicArn"
5034
+ ),
5035
+ vault_state="vaultState",
5036
+ vault_type="vaultType"
5037
+ )
5038
+ '''
5039
+ if __debug__:
5040
+ type_hints = typing.get_type_hints(_typecheckingstub__5a3b99abcf3e8ad32b3307410738488461421bb759c6f2f630a99abc5f63bb3f)
5041
+ check_type(argname="argument backup_vault_name", value=backup_vault_name, expected_type=type_hints["backup_vault_name"])
5042
+ check_type(argname="argument max_retention_days", value=max_retention_days, expected_type=type_hints["max_retention_days"])
5043
+ check_type(argname="argument min_retention_days", value=min_retention_days, expected_type=type_hints["min_retention_days"])
5044
+ check_type(argname="argument access_policy", value=access_policy, expected_type=type_hints["access_policy"])
5045
+ check_type(argname="argument backup_vault_tags", value=backup_vault_tags, expected_type=type_hints["backup_vault_tags"])
5046
+ check_type(argname="argument notifications", value=notifications, expected_type=type_hints["notifications"])
5047
+ check_type(argname="argument vault_state", value=vault_state, expected_type=type_hints["vault_state"])
5048
+ check_type(argname="argument vault_type", value=vault_type, expected_type=type_hints["vault_type"])
5049
+ self._values: typing.Dict[builtins.str, typing.Any] = {
5050
+ "backup_vault_name": backup_vault_name,
5051
+ "max_retention_days": max_retention_days,
5052
+ "min_retention_days": min_retention_days,
5053
+ }
5054
+ if access_policy is not None:
5055
+ self._values["access_policy"] = access_policy
5056
+ if backup_vault_tags is not None:
5057
+ self._values["backup_vault_tags"] = backup_vault_tags
5058
+ if notifications is not None:
5059
+ self._values["notifications"] = notifications
5060
+ if vault_state is not None:
5061
+ self._values["vault_state"] = vault_state
5062
+ if vault_type is not None:
5063
+ self._values["vault_type"] = vault_type
5064
+
5065
+ @builtins.property
5066
+ def backup_vault_name(self) -> builtins.str:
5067
+ '''The name of a logical container where backups are stored.
5068
+
5069
+ Logically air-gapped backup vaults are identified by names that are unique to the account used to create them and the Region where they are created.
5070
+
5071
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-logicallyairgappedbackupvault.html#cfn-backup-logicallyairgappedbackupvault-backupvaultname
5072
+ '''
5073
+ result = self._values.get("backup_vault_name")
5074
+ assert result is not None, "Required property 'backup_vault_name' is missing"
5075
+ return typing.cast(builtins.str, result)
5076
+
5077
+ @builtins.property
5078
+ def max_retention_days(self) -> jsii.Number:
5079
+ '''The maximum retention period that the vault retains its recovery points.
5080
+
5081
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-logicallyairgappedbackupvault.html#cfn-backup-logicallyairgappedbackupvault-maxretentiondays
5082
+ '''
5083
+ result = self._values.get("max_retention_days")
5084
+ assert result is not None, "Required property 'max_retention_days' is missing"
5085
+ return typing.cast(jsii.Number, result)
5086
+
5087
+ @builtins.property
5088
+ def min_retention_days(self) -> jsii.Number:
5089
+ '''This setting specifies the minimum retention period that the vault retains its recovery points.
5090
+
5091
+ The minimum value accepted is 7 days.
5092
+
5093
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-logicallyairgappedbackupvault.html#cfn-backup-logicallyairgappedbackupvault-minretentiondays
5094
+ '''
5095
+ result = self._values.get("min_retention_days")
5096
+ assert result is not None, "Required property 'min_retention_days' is missing"
5097
+ return typing.cast(jsii.Number, result)
5098
+
5099
+ @builtins.property
5100
+ def access_policy(self) -> typing.Any:
5101
+ '''The backup vault access policy document in JSON format.
5102
+
5103
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-logicallyairgappedbackupvault.html#cfn-backup-logicallyairgappedbackupvault-accesspolicy
5104
+ '''
5105
+ result = self._values.get("access_policy")
5106
+ return typing.cast(typing.Any, result)
5107
+
5108
+ @builtins.property
5109
+ def backup_vault_tags(
5110
+ self,
5111
+ ) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
5112
+ '''The tags to assign to the vault.
5113
+
5114
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-logicallyairgappedbackupvault.html#cfn-backup-logicallyairgappedbackupvault-backupvaulttags
5115
+ '''
5116
+ result = self._values.get("backup_vault_tags")
5117
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
5118
+
5119
+ @builtins.property
5120
+ def notifications(
5121
+ self,
5122
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty]]:
5123
+ '''Returns event notifications for the specified backup vault.
5124
+
5125
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-logicallyairgappedbackupvault.html#cfn-backup-logicallyairgappedbackupvault-notifications
5126
+ '''
5127
+ result = self._values.get("notifications")
5128
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty]], result)
5129
+
5130
+ @builtins.property
5131
+ def vault_state(self) -> typing.Optional[builtins.str]:
5132
+ '''The current state of the vault.
5133
+
5134
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-logicallyairgappedbackupvault.html#cfn-backup-logicallyairgappedbackupvault-vaultstate
5135
+ '''
5136
+ result = self._values.get("vault_state")
5137
+ return typing.cast(typing.Optional[builtins.str], result)
5138
+
5139
+ @builtins.property
5140
+ def vault_type(self) -> typing.Optional[builtins.str]:
5141
+ '''The type of vault described.
5142
+
5143
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-logicallyairgappedbackupvault.html#cfn-backup-logicallyairgappedbackupvault-vaulttype
5144
+ '''
5145
+ result = self._values.get("vault_type")
5146
+ return typing.cast(typing.Optional[builtins.str], result)
5147
+
5148
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
5149
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
5150
+
5151
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
5152
+ return not (rhs == self)
5153
+
5154
+ def __repr__(self) -> str:
5155
+ return "CfnLogicallyAirGappedBackupVaultProps(%s)" % ", ".join(
5156
+ k + "=" + repr(v) for k, v in self._values.items()
5157
+ )
5158
+
5159
+
4638
5160
  @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
4639
5161
  class CfnReportPlan(
4640
5162
  _CfnResource_9df397a6,
@@ -5259,7 +5781,7 @@ class CfnRestoreTestingPlan(
5259
5781
  :param restore_testing_plan_name: The RestoreTestingPlanName is a unique string that is the name of the restore testing plan. This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores.
5260
5782
  :param schedule_expression: A CRON expression in specified timezone when a restore testing plan is executed.
5261
5783
  :param schedule_expression_timezone: Optional. This is the timezone in which the schedule expression is set. By default, ScheduleExpressions are in UTC. You can modify this to a specified timezone.
5262
- :param schedule_status:
5784
+ :param schedule_status: This parameter is not currently supported.
5263
5785
  :param start_window_hours: Defaults to 24 hours. A value in hours after a restore test is scheduled before a job will be canceled if it doesn't start successfully. This value is optional. If this value is included, this parameter has a maximum value of 168 hours (one week).
5264
5786
  :param tags: Optional tags to include. A tag is a key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters,numbers, spaces, and the following characters: ``+ - = . _ : /.``
5265
5787
  '''
@@ -5392,6 +5914,7 @@ class CfnRestoreTestingPlan(
5392
5914
  @builtins.property
5393
5915
  @jsii.member(jsii_name="scheduleStatus")
5394
5916
  def schedule_status(self) -> typing.Optional[builtins.str]:
5917
+ '''This parameter is not currently supported.'''
5395
5918
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "scheduleStatus"))
5396
5919
 
5397
5920
  @schedule_status.setter
@@ -5599,7 +6122,7 @@ class CfnRestoreTestingPlanProps:
5599
6122
  :param restore_testing_plan_name: The RestoreTestingPlanName is a unique string that is the name of the restore testing plan. This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores.
5600
6123
  :param schedule_expression: A CRON expression in specified timezone when a restore testing plan is executed.
5601
6124
  :param schedule_expression_timezone: Optional. This is the timezone in which the schedule expression is set. By default, ScheduleExpressions are in UTC. You can modify this to a specified timezone.
5602
- :param schedule_status:
6125
+ :param schedule_status: This parameter is not currently supported.
5603
6126
  :param start_window_hours: Defaults to 24 hours. A value in hours after a restore test is scheduled before a job will be canceled if it doesn't start successfully. This value is optional. If this value is included, this parameter has a maximum value of 168 hours (one week).
5604
6127
  :param tags: Optional tags to include. A tag is a key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters,numbers, spaces, and the following characters: ``+ - = . _ : /.``
5605
6128
 
@@ -5705,7 +6228,8 @@ class CfnRestoreTestingPlanProps:
5705
6228
 
5706
6229
  @builtins.property
5707
6230
  def schedule_status(self) -> typing.Optional[builtins.str]:
5708
- '''
6231
+ '''This parameter is not currently supported.
6232
+
5709
6233
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-restoretestingplan.html#cfn-backup-restoretestingplan-schedulestatus
5710
6234
  '''
5711
6235
  result = self._values.get("schedule_status")
@@ -7074,6 +7598,8 @@ __all__ = [
7074
7598
  "CfnBackupVaultProps",
7075
7599
  "CfnFramework",
7076
7600
  "CfnFrameworkProps",
7601
+ "CfnLogicallyAirGappedBackupVault",
7602
+ "CfnLogicallyAirGappedBackupVaultProps",
7077
7603
  "CfnReportPlan",
7078
7604
  "CfnReportPlanProps",
7079
7605
  "CfnRestoreTestingPlan",
@@ -7617,6 +8143,104 @@ def _typecheckingstub__a04013c0cacc7cf95b5f7954572128dbc2c4529bb364b61a38c324e4d
7617
8143
  """Type checking stubs"""
7618
8144
  pass
7619
8145
 
8146
+ def _typecheckingstub__f46c2d817c43abec9e204fc8a7211b43dd15b93e11a637e67a9711664c3afd52(
8147
+ scope: _constructs_77d1e7e8.Construct,
8148
+ id: builtins.str,
8149
+ *,
8150
+ backup_vault_name: builtins.str,
8151
+ max_retention_days: jsii.Number,
8152
+ min_retention_days: jsii.Number,
8153
+ access_policy: typing.Any = None,
8154
+ backup_vault_tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
8155
+ notifications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
8156
+ vault_state: typing.Optional[builtins.str] = None,
8157
+ vault_type: typing.Optional[builtins.str] = None,
8158
+ ) -> None:
8159
+ """Type checking stubs"""
8160
+ pass
8161
+
8162
+ def _typecheckingstub__415ff13e64a57b94538bf66464736e9dc201021da09242c46763584700ef7f37(
8163
+ inspector: _TreeInspector_488e0dd5,
8164
+ ) -> None:
8165
+ """Type checking stubs"""
8166
+ pass
8167
+
8168
+ def _typecheckingstub__90997f260b8fa85f8252a0ea2359e9f8366602c792a5b68ecfc147eaa74d69d2(
8169
+ props: typing.Mapping[builtins.str, typing.Any],
8170
+ ) -> None:
8171
+ """Type checking stubs"""
8172
+ pass
8173
+
8174
+ def _typecheckingstub__f39d44e1798aa90edd21caa75b2aedd9a4b35eaeadf66ac9f0915dfc43fc3b75(
8175
+ value: builtins.str,
8176
+ ) -> None:
8177
+ """Type checking stubs"""
8178
+ pass
8179
+
8180
+ def _typecheckingstub__e59d02ebdb1e7c422e3f7f25e255cc0887eb06386383f296e54811f753cfe510(
8181
+ value: jsii.Number,
8182
+ ) -> None:
8183
+ """Type checking stubs"""
8184
+ pass
8185
+
8186
+ def _typecheckingstub__dd401ed590d402cdef7b7788713d25bd57d71a2ac64920c48582cd8343c69379(
8187
+ value: jsii.Number,
8188
+ ) -> None:
8189
+ """Type checking stubs"""
8190
+ pass
8191
+
8192
+ def _typecheckingstub__564f3be2b50608a32bfb4fa605889a2fb38d151207c69e4cc5f6ed3bffc34318(
8193
+ value: typing.Any,
8194
+ ) -> None:
8195
+ """Type checking stubs"""
8196
+ pass
8197
+
8198
+ def _typecheckingstub__27388048f12fa4b0d6686a7b40795dea7b4219e2f388afdfc5733f7043eef9a5(
8199
+ value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
8200
+ ) -> None:
8201
+ """Type checking stubs"""
8202
+ pass
8203
+
8204
+ def _typecheckingstub__f1dc991e6a5cd9bb0776543a7419ba117220c8fec8f29ec2587f9a6747b5dcab(
8205
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty]],
8206
+ ) -> None:
8207
+ """Type checking stubs"""
8208
+ pass
8209
+
8210
+ def _typecheckingstub__b9497357ce276e248b82d9f2cf472851d2da1fd0eb5463b2a5d4077f02f8dbcd(
8211
+ value: typing.Optional[builtins.str],
8212
+ ) -> None:
8213
+ """Type checking stubs"""
8214
+ pass
8215
+
8216
+ def _typecheckingstub__8e682fdcee746b5e96b0b5dbd6b5ee449285d647373dce115026158d8424881d(
8217
+ value: typing.Optional[builtins.str],
8218
+ ) -> None:
8219
+ """Type checking stubs"""
8220
+ pass
8221
+
8222
+ def _typecheckingstub__44eaedb9d731db6382000976b38651ee3871dd8abe22e4171998d7581dc60d48(
8223
+ *,
8224
+ backup_vault_events: typing.Sequence[builtins.str],
8225
+ sns_topic_arn: builtins.str,
8226
+ ) -> None:
8227
+ """Type checking stubs"""
8228
+ pass
8229
+
8230
+ def _typecheckingstub__5a3b99abcf3e8ad32b3307410738488461421bb759c6f2f630a99abc5f63bb3f(
8231
+ *,
8232
+ backup_vault_name: builtins.str,
8233
+ max_retention_days: jsii.Number,
8234
+ min_retention_days: jsii.Number,
8235
+ access_policy: typing.Any = None,
8236
+ backup_vault_tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
8237
+ notifications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
8238
+ vault_state: typing.Optional[builtins.str] = None,
8239
+ vault_type: typing.Optional[builtins.str] = None,
8240
+ ) -> None:
8241
+ """Type checking stubs"""
8242
+ pass
8243
+
7620
8244
  def _typecheckingstub__5c6528de906751786b24f01244334abf14ddb763be763a416a6d4f3c8b779828(
7621
8245
  scope: _constructs_77d1e7e8.Construct,
7622
8246
  id: builtins.str,