aws-cdk-lib 2.90.0__py3-none-any.whl → 2.92.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.
- aws_cdk/__init__.py +22 -4
- aws_cdk/_jsii/__init__.py +2 -2
- aws_cdk/_jsii/{aws-cdk-lib@2.90.0.jsii.tgz → aws-cdk-lib@2.92.0.jsii.tgz} +0 -0
- aws_cdk/aws_appstream/__init__.py +3 -3
- aws_cdk/aws_batch/__init__.py +39 -18
- aws_cdk/aws_billingconductor/__init__.py +44 -13
- aws_cdk/aws_cleanrooms/__init__.py +2 -4
- aws_cdk/aws_cloudtrail/__init__.py +35 -10
- aws_cdk/aws_cloudwatch/__init__.py +3 -3
- aws_cdk/aws_codebuild/__init__.py +7 -7
- aws_cdk/aws_cognito/__init__.py +8 -8
- aws_cdk/aws_config/__init__.py +220 -0
- aws_cdk/aws_datasync/__init__.py +22 -35
- aws_cdk/aws_dms/__init__.py +909 -4
- aws_cdk/aws_dynamodb/__init__.py +0 -1
- aws_cdk/aws_ec2/__init__.py +59 -21
- aws_cdk/aws_ecs/__init__.py +45 -21
- aws_cdk/aws_evidently/__init__.py +3 -3
- aws_cdk/aws_fsx/__init__.py +6 -5
- aws_cdk/aws_glue/__init__.py +438 -10
- aws_cdk/aws_guardduty/__init__.py +60 -17
- aws_cdk/aws_iam/__init__.py +8 -9
- aws_cdk/aws_iot/__init__.py +5 -1
- aws_cdk/aws_kms/__init__.py +95 -47
- aws_cdk/aws_lambda/__init__.py +4 -2
- aws_cdk/aws_lambda_nodejs/__init__.py +3 -3
- aws_cdk/aws_mediatailor/__init__.py +2902 -892
- aws_cdk/aws_mwaa/__init__.py +13 -8
- aws_cdk/aws_neptune/__init__.py +50 -2
- aws_cdk/aws_omics/__init__.py +80 -0
- aws_cdk/aws_opensearchserverless/__init__.py +3 -3
- aws_cdk/aws_opensearchservice/__init__.py +247 -14
- aws_cdk/aws_organizations/__init__.py +17 -17
- aws_cdk/aws_personalize/__init__.py +41 -25
- aws_cdk/aws_rds/__init__.py +24 -10
- aws_cdk/aws_resiliencehub/__init__.py +22 -22
- aws_cdk/aws_rolesanywhere/__init__.py +58 -74
- aws_cdk/aws_route53/__init__.py +3 -1
- aws_cdk/aws_s3/__init__.py +17 -7
- aws_cdk/aws_sagemaker/__init__.py +396 -5
- aws_cdk/aws_sns/__init__.py +8 -8
- aws_cdk/aws_sqs/__init__.py +231 -4
- aws_cdk/aws_ssm/__init__.py +6 -28
- aws_cdk/aws_stepfunctions/__init__.py +7 -7
- aws_cdk/aws_timestream/__init__.py +243 -0
- aws_cdk/aws_transfer/__init__.py +250 -52
- aws_cdk/aws_vpclattice/__init__.py +10 -6
- aws_cdk/aws_wafv2/__init__.py +7517 -5036
- aws_cdk/custom_resources/__init__.py +18 -30
- {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/METADATA +8 -8
- {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/RECORD +55 -55
- {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/WHEEL +1 -1
- {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/top_level.txt +0 -0
|
@@ -125,7 +125,7 @@ class CfnDataset(
|
|
|
125
125
|
:param dataset_type: One of the following values:. - Interactions - Items - Users
|
|
126
126
|
:param name: The name of the dataset.
|
|
127
127
|
:param schema_arn: The ARN of the associated schema.
|
|
128
|
-
:param dataset_import_job: Describes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset.
|
|
128
|
+
:param dataset_import_job: Describes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset. If you specify a dataset import job as part of a dataset, all dataset import job fields are required.
|
|
129
129
|
'''
|
|
130
130
|
if __debug__:
|
|
131
131
|
type_hints = typing.get_type_hints(_typecheckingstub__8515dadec60af65aa740f35c8bee6bc85dafa7634c6b2270232bfa824452ebce)
|
|
@@ -266,9 +266,9 @@ class CfnDataset(
|
|
|
266
266
|
*,
|
|
267
267
|
data_location: typing.Optional[builtins.str] = None,
|
|
268
268
|
) -> None:
|
|
269
|
-
'''
|
|
269
|
+
'''Describes the data source that contains the data to upload to a dataset.
|
|
270
270
|
|
|
271
|
-
:param data_location: The path to the Amazon S3 bucket where the data that you want to upload to your dataset is stored.
|
|
271
|
+
:param data_location: The path to the Amazon S3 bucket where the data that you want to upload to your dataset is stored. For example: ``s3://bucket-name/folder-name/``
|
|
272
272
|
|
|
273
273
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-personalize-dataset-datasource.html
|
|
274
274
|
:exampleMetadata: fixture=_generated
|
|
@@ -294,6 +294,10 @@ class CfnDataset(
|
|
|
294
294
|
def data_location(self) -> typing.Optional[builtins.str]:
|
|
295
295
|
'''The path to the Amazon S3 bucket where the data that you want to upload to your dataset is stored.
|
|
296
296
|
|
|
297
|
+
For example:
|
|
298
|
+
|
|
299
|
+
``s3://bucket-name/folder-name/``
|
|
300
|
+
|
|
297
301
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-personalize-dataset-datasource.html#cfn-personalize-dataset-datasource-datalocation
|
|
298
302
|
'''
|
|
299
303
|
result = self._values.get("data_location")
|
|
@@ -333,12 +337,12 @@ class CfnDataset(
|
|
|
333
337
|
) -> None:
|
|
334
338
|
'''Describes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset.
|
|
335
339
|
|
|
336
|
-
For more information, see `CreateDatasetImportJob <https://docs.aws.amazon.com/personalize/latest/dg/API_CreateDatasetImportJob.html>`_ .
|
|
337
|
-
|
|
338
340
|
A dataset import job can be in one of the following states:
|
|
339
341
|
|
|
340
342
|
- CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
|
|
341
343
|
|
|
344
|
+
If you specify a dataset import job as part of a dataset, all dataset import job fields are required.
|
|
345
|
+
|
|
342
346
|
:param dataset_arn: The Amazon Resource Name (ARN) of the dataset that receives the imported data.
|
|
343
347
|
:param dataset_import_job_arn: The ARN of the dataset import job.
|
|
344
348
|
:param data_source: The Amazon S3 bucket that contains the training data to import.
|
|
@@ -732,7 +736,7 @@ class CfnDatasetProps:
|
|
|
732
736
|
:param dataset_type: One of the following values:. - Interactions - Items - Users
|
|
733
737
|
:param name: The name of the dataset.
|
|
734
738
|
:param schema_arn: The ARN of the associated schema.
|
|
735
|
-
:param dataset_import_job: Describes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset.
|
|
739
|
+
:param dataset_import_job: Describes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset. If you specify a dataset import job as part of a dataset, all dataset import job fields are required.
|
|
736
740
|
|
|
737
741
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-dataset.html
|
|
738
742
|
:exampleMetadata: fixture=_generated
|
|
@@ -827,6 +831,8 @@ class CfnDatasetProps:
|
|
|
827
831
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDataset.DatasetImportJobProperty]]:
|
|
828
832
|
'''Describes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset.
|
|
829
833
|
|
|
834
|
+
If you specify a dataset import job as part of a dataset, all dataset import job fields are required.
|
|
835
|
+
|
|
830
836
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-dataset.html#cfn-personalize-dataset-datasetimportjob
|
|
831
837
|
'''
|
|
832
838
|
result = self._values.get("dataset_import_job")
|
|
@@ -1332,11 +1338,13 @@ class CfnSolution(
|
|
|
1332
1338
|
continuous_hyper_parameter_ranges: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSolution.ContinuousHyperParameterRangeProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1333
1339
|
integer_hyper_parameter_ranges: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSolution.IntegerHyperParameterRangeProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1334
1340
|
) -> None:
|
|
1335
|
-
'''
|
|
1341
|
+
'''Specifies the hyperparameters and their ranges.
|
|
1342
|
+
|
|
1343
|
+
Hyperparameters can be categorical, continuous, or integer-valued.
|
|
1336
1344
|
|
|
1337
|
-
:param categorical_hyper_parameter_ranges:
|
|
1338
|
-
:param continuous_hyper_parameter_ranges:
|
|
1339
|
-
:param integer_hyper_parameter_ranges:
|
|
1345
|
+
:param categorical_hyper_parameter_ranges: Provides the name and range of a categorical hyperparameter.
|
|
1346
|
+
:param continuous_hyper_parameter_ranges: Provides the name and range of a continuous hyperparameter.
|
|
1347
|
+
:param integer_hyper_parameter_ranges: Provides the name and range of an integer-valued hyperparameter.
|
|
1340
1348
|
|
|
1341
1349
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-personalize-solution-algorithmhyperparameterranges.html
|
|
1342
1350
|
:exampleMetadata: fixture=_generated
|
|
@@ -1381,7 +1389,7 @@ class CfnSolution(
|
|
|
1381
1389
|
def categorical_hyper_parameter_ranges(
|
|
1382
1390
|
self,
|
|
1383
1391
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSolution.CategoricalHyperParameterRangeProperty"]]]]:
|
|
1384
|
-
'''
|
|
1392
|
+
'''Provides the name and range of a categorical hyperparameter.
|
|
1385
1393
|
|
|
1386
1394
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-personalize-solution-algorithmhyperparameterranges.html#cfn-personalize-solution-algorithmhyperparameterranges-categoricalhyperparameterranges
|
|
1387
1395
|
'''
|
|
@@ -1392,7 +1400,7 @@ class CfnSolution(
|
|
|
1392
1400
|
def continuous_hyper_parameter_ranges(
|
|
1393
1401
|
self,
|
|
1394
1402
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSolution.ContinuousHyperParameterRangeProperty"]]]]:
|
|
1395
|
-
'''
|
|
1403
|
+
'''Provides the name and range of a continuous hyperparameter.
|
|
1396
1404
|
|
|
1397
1405
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-personalize-solution-algorithmhyperparameterranges.html#cfn-personalize-solution-algorithmhyperparameterranges-continuoushyperparameterranges
|
|
1398
1406
|
'''
|
|
@@ -1403,7 +1411,7 @@ class CfnSolution(
|
|
|
1403
1411
|
def integer_hyper_parameter_ranges(
|
|
1404
1412
|
self,
|
|
1405
1413
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSolution.IntegerHyperParameterRangeProperty"]]]]:
|
|
1406
|
-
'''
|
|
1414
|
+
'''Provides the name and range of an integer-valued hyperparameter.
|
|
1407
1415
|
|
|
1408
1416
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-personalize-solution-algorithmhyperparameterranges.html#cfn-personalize-solution-algorithmhyperparameterranges-integerhyperparameterranges
|
|
1409
1417
|
'''
|
|
@@ -1433,7 +1441,7 @@ class CfnSolution(
|
|
|
1433
1441
|
metric_name: typing.Optional[builtins.str] = None,
|
|
1434
1442
|
recipe_list: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1435
1443
|
) -> None:
|
|
1436
|
-
'''
|
|
1444
|
+
'''When the solution performs AutoML ( ``performAutoML`` is true in `CreateSolution <https://docs.aws.amazon.com/personalize/latest/dg/API_CreateSolution.html>`_ ), Amazon Personalize determines which recipe, from the specified list, optimizes the given metric. Amazon Personalize then uses that recipe for the solution.
|
|
1437
1445
|
|
|
1438
1446
|
:param metric_name: The metric to optimize.
|
|
1439
1447
|
:param recipe_list: The list of candidate recipes.
|
|
@@ -1503,7 +1511,7 @@ class CfnSolution(
|
|
|
1503
1511
|
name: typing.Optional[builtins.str] = None,
|
|
1504
1512
|
values: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1505
1513
|
) -> None:
|
|
1506
|
-
'''Provides the name and
|
|
1514
|
+
'''Provides the name and range of a categorical hyperparameter.
|
|
1507
1515
|
|
|
1508
1516
|
:param name: The name of the hyperparameter.
|
|
1509
1517
|
:param values: A list of the categories for the hyperparameter.
|
|
@@ -1670,8 +1678,8 @@ class CfnSolution(
|
|
|
1670
1678
|
'''Describes the properties for hyperparameter optimization (HPO).
|
|
1671
1679
|
|
|
1672
1680
|
:param algorithm_hyper_parameter_ranges: The hyperparameters and their allowable ranges.
|
|
1673
|
-
:param hpo_objective: The metric to optimize during HPO.
|
|
1674
|
-
:param hpo_resource_config: Describes the resource configuration for
|
|
1681
|
+
:param hpo_objective: The metric to optimize during HPO. .. epigraph:: Amazon Personalize doesn't support configuring the ``hpoObjective`` at this time.
|
|
1682
|
+
:param hpo_resource_config: Describes the resource configuration for HPO.
|
|
1675
1683
|
|
|
1676
1684
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-personalize-solution-hpoconfig.html
|
|
1677
1685
|
:exampleMetadata: fixture=_generated
|
|
@@ -1740,6 +1748,10 @@ class CfnSolution(
|
|
|
1740
1748
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSolution.HpoObjectiveProperty"]]:
|
|
1741
1749
|
'''The metric to optimize during HPO.
|
|
1742
1750
|
|
|
1751
|
+
.. epigraph::
|
|
1752
|
+
|
|
1753
|
+
Amazon Personalize doesn't support configuring the ``hpoObjective`` at this time.
|
|
1754
|
+
|
|
1743
1755
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-personalize-solution-hpoconfig.html#cfn-personalize-solution-hpoconfig-hpoobjective
|
|
1744
1756
|
'''
|
|
1745
1757
|
result = self._values.get("hpo_objective")
|
|
@@ -1749,7 +1761,7 @@ class CfnSolution(
|
|
|
1749
1761
|
def hpo_resource_config(
|
|
1750
1762
|
self,
|
|
1751
1763
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSolution.HpoResourceConfigProperty"]]:
|
|
1752
|
-
'''Describes the resource configuration for
|
|
1764
|
+
'''Describes the resource configuration for HPO.
|
|
1753
1765
|
|
|
1754
1766
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-personalize-solution-hpoconfig.html#cfn-personalize-solution-hpoconfig-hporesourceconfig
|
|
1755
1767
|
'''
|
|
@@ -1784,11 +1796,15 @@ class CfnSolution(
|
|
|
1784
1796
|
metric_regex: typing.Optional[builtins.str] = None,
|
|
1785
1797
|
type: typing.Optional[builtins.str] = None,
|
|
1786
1798
|
) -> None:
|
|
1787
|
-
'''The metric to optimize during HPO.
|
|
1799
|
+
'''The metric to optimize during hyperparameter optimization (HPO).
|
|
1800
|
+
|
|
1801
|
+
.. epigraph::
|
|
1802
|
+
|
|
1803
|
+
Amazon Personalize doesn't support configuring the ``hpoObjective`` at this time.
|
|
1788
1804
|
|
|
1789
1805
|
:param metric_name: The name of the metric.
|
|
1790
1806
|
:param metric_regex: A regular expression for finding the metric in the training job logs.
|
|
1791
|
-
:param type: The type of the metric. Valid values are Maximize and Minimize.
|
|
1807
|
+
:param type: The type of the metric. Valid values are ``Maximize`` and ``Minimize`` .
|
|
1792
1808
|
|
|
1793
1809
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-personalize-solution-hpoobjective.html
|
|
1794
1810
|
:exampleMetadata: fixture=_generated
|
|
@@ -1840,7 +1856,7 @@ class CfnSolution(
|
|
|
1840
1856
|
def type(self) -> typing.Optional[builtins.str]:
|
|
1841
1857
|
'''The type of the metric.
|
|
1842
1858
|
|
|
1843
|
-
Valid values are Maximize and Minimize.
|
|
1859
|
+
Valid values are ``Maximize`` and ``Minimize`` .
|
|
1844
1860
|
|
|
1845
1861
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-personalize-solution-hpoobjective.html#cfn-personalize-solution-hpoobjective-type
|
|
1846
1862
|
'''
|
|
@@ -1875,8 +1891,8 @@ class CfnSolution(
|
|
|
1875
1891
|
) -> None:
|
|
1876
1892
|
'''Describes the resource configuration for hyperparameter optimization (HPO).
|
|
1877
1893
|
|
|
1878
|
-
:param max_number_of_training_jobs: The maximum number of training jobs when you create a solution version. The maximum value for maxNumberOfTrainingJobs is 40.
|
|
1879
|
-
:param max_parallel_training_jobs: The maximum number of parallel training jobs when you create a solution version. The maximum value for maxParallelTrainingJobs is 10.
|
|
1894
|
+
:param max_number_of_training_jobs: The maximum number of training jobs when you create a solution version. The maximum value for ``maxNumberOfTrainingJobs`` is ``40`` .
|
|
1895
|
+
:param max_parallel_training_jobs: The maximum number of parallel training jobs when you create a solution version. The maximum value for ``maxParallelTrainingJobs`` is ``10`` .
|
|
1880
1896
|
|
|
1881
1897
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-personalize-solution-hporesourceconfig.html
|
|
1882
1898
|
:exampleMetadata: fixture=_generated
|
|
@@ -1906,7 +1922,7 @@ class CfnSolution(
|
|
|
1906
1922
|
def max_number_of_training_jobs(self) -> typing.Optional[builtins.str]:
|
|
1907
1923
|
'''The maximum number of training jobs when you create a solution version.
|
|
1908
1924
|
|
|
1909
|
-
The maximum value for maxNumberOfTrainingJobs is 40.
|
|
1925
|
+
The maximum value for ``maxNumberOfTrainingJobs`` is ``40`` .
|
|
1910
1926
|
|
|
1911
1927
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-personalize-solution-hporesourceconfig.html#cfn-personalize-solution-hporesourceconfig-maxnumberoftrainingjobs
|
|
1912
1928
|
'''
|
|
@@ -1917,7 +1933,7 @@ class CfnSolution(
|
|
|
1917
1933
|
def max_parallel_training_jobs(self) -> typing.Optional[builtins.str]:
|
|
1918
1934
|
'''The maximum number of parallel training jobs when you create a solution version.
|
|
1919
1935
|
|
|
1920
|
-
The maximum value for maxParallelTrainingJobs is 10.
|
|
1936
|
+
The maximum value for ``maxParallelTrainingJobs`` is ``10`` .
|
|
1921
1937
|
|
|
1922
1938
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-personalize-solution-hporesourceconfig.html#cfn-personalize-solution-hporesourceconfig-maxparalleltrainingjobs
|
|
1923
1939
|
'''
|
aws_cdk/aws_rds/__init__.py
CHANGED
|
@@ -2036,6 +2036,12 @@ class AuroraMysqlEngineVersion(
|
|
|
2036
2036
|
'''Version "8.0.mysql_aurora.3.03.1".'''
|
|
2037
2037
|
return typing.cast("AuroraMysqlEngineVersion", jsii.sget(cls, "VER_3_03_1"))
|
|
2038
2038
|
|
|
2039
|
+
@jsii.python.classproperty
|
|
2040
|
+
@jsii.member(jsii_name="VER_3_04_0")
|
|
2041
|
+
def VER_3_04_0(cls) -> "AuroraMysqlEngineVersion":
|
|
2042
|
+
'''Version "8.0.mysql_aurora.3.04.0".'''
|
|
2043
|
+
return typing.cast("AuroraMysqlEngineVersion", jsii.sget(cls, "VER_3_04_0"))
|
|
2044
|
+
|
|
2039
2045
|
@jsii.python.classproperty
|
|
2040
2046
|
@jsii.member(jsii_name="VER_5_7_12")
|
|
2041
2047
|
def VER_5_7_12(cls) -> "AuroraMysqlEngineVersion":
|
|
@@ -7052,7 +7058,7 @@ class CfnDBInstance(
|
|
|
7052
7058
|
:param source_db_instance_identifier: If you want to create a read replica DB instance, specify the ID of the source DB instance. Each DB instance can have a limited number of read replicas. For more information, see `Working with Read Replicas <https://docs.aws.amazon.com/AmazonRDS/latest/DeveloperGuide/USER_ReadRepl.html>`_ in the *Amazon RDS User Guide* . For information about constraints that apply to DB instance identifiers, see `Naming constraints in Amazon RDS <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints>`_ in the *Amazon RDS User Guide* . The ``SourceDBInstanceIdentifier`` property determines whether a DB instance is a read replica. If you remove the ``SourceDBInstanceIdentifier`` property from your template and then update your stack, AWS CloudFormation promotes the Read Replica to a standalone DB instance. .. epigraph:: - If you specify a source DB instance that uses VPC security groups, we recommend that you specify the ``VPCSecurityGroups`` property. If you don't specify the property, the read replica inherits the value of the ``VPCSecurityGroups`` property from the source DB when you create the replica. However, if you update the stack, AWS CloudFormation reverts the replica's ``VPCSecurityGroups`` property to the default value because it's not defined in the stack's template. This change might cause unexpected issues. - Read replicas don't support deletion policies. AWS CloudFormation ignores any deletion policy that's associated with a read replica. - If you specify ``SourceDBInstanceIdentifier`` , don't specify the ``DBSnapshotIdentifier`` property. You can't create a read replica from a snapshot. - Don't set the ``BackupRetentionPeriod`` , ``DBName`` , ``MasterUsername`` , ``MasterUserPassword`` , and ``PreferredBackupWindow`` properties. The database attributes are inherited from the source DB instance, and backups are disabled for read replicas. - If the source DB instance is in a different region than the read replica, specify the source region in ``SourceRegion`` , and specify an ARN for a valid DB instance in ``SourceDBInstanceIdentifier`` . For more information, see `Constructing a Amazon RDS Amazon Resource Name (ARN) <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html#USER_Tagging.ARN>`_ in the *Amazon RDS User Guide* . - For DB instances in Amazon Aurora clusters, don't specify this property. Amazon RDS automatically assigns writer and reader DB instances.
|
|
7053
7059
|
:param source_dbi_resource_id: The resource ID of the source DB instance from which to restore.
|
|
7054
7060
|
:param source_region: The ID of the region that contains the source DB instance for the read replica.
|
|
7055
|
-
:param storage_encrypted: A value that indicates whether the DB instance is encrypted. By default, it isn't encrypted. If you specify the ``KmsKeyId`` property, then you must enable encryption. If you specify the ``SourceDBInstanceIdentifier`` property, don't specify this property. The value is inherited from the source DB instance, and if the DB instance is encrypted, the specified ``KmsKeyId`` property is used. If you specify the ``
|
|
7061
|
+
:param storage_encrypted: A value that indicates whether the DB instance is encrypted. By default, it isn't encrypted. If you specify the ``KmsKeyId`` property, then you must enable encryption. If you specify the ``SourceDBInstanceIdentifier`` property, don't specify this property. The value is inherited from the source DB instance, and if the DB instance is encrypted, the specified ``KmsKeyId`` property is used. If you specify the ``DBSnapshotIdentifier`` and the specified snapshot is encrypted, don't specify this property. The value is inherited from the snapshot, and the specified ``KmsKeyId`` property is used. If you specify the ``DBSnapshotIdentifier`` and the specified snapshot isn't encrypted, you can use this property to specify that the restored DB instance is encrypted. Specify the ``KmsKeyId`` property for the KMS key to use for encryption. If you don't want the restored DB instance to be encrypted, then don't set this property or set it to ``false`` . *Amazon Aurora* Not applicable. The encryption for DB instances is managed by the DB cluster.
|
|
7056
7062
|
:param storage_throughput: Specifies the storage throughput value for the DB instance. This setting applies only to the ``gp3`` storage type. This setting doesn't apply to RDS Custom or Amazon Aurora.
|
|
7057
7063
|
:param storage_type: Specifies the storage type to be associated with the DB instance. Valid values: ``gp2 | gp3 | io1 | standard`` The ``standard`` value is also known as magnetic. If you specify ``io1`` or ``gp3`` , you must also include a value for the ``Iops`` parameter. Default: ``io1`` if the ``Iops`` parameter is specified, otherwise ``gp2`` For more information, see `Amazon RDS DB Instance Storage <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html>`_ in the *Amazon RDS User Guide* . *Amazon Aurora* Not applicable. Aurora data is stored in the cluster volume, which is a single, virtual volume that uses solid state drives (SSDs).
|
|
7058
7064
|
:param tags: An optional array of key-value pairs to apply to this DB instance.
|
|
@@ -8930,7 +8936,7 @@ class CfnDBInstanceProps:
|
|
|
8930
8936
|
:param source_db_instance_identifier: If you want to create a read replica DB instance, specify the ID of the source DB instance. Each DB instance can have a limited number of read replicas. For more information, see `Working with Read Replicas <https://docs.aws.amazon.com/AmazonRDS/latest/DeveloperGuide/USER_ReadRepl.html>`_ in the *Amazon RDS User Guide* . For information about constraints that apply to DB instance identifiers, see `Naming constraints in Amazon RDS <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints>`_ in the *Amazon RDS User Guide* . The ``SourceDBInstanceIdentifier`` property determines whether a DB instance is a read replica. If you remove the ``SourceDBInstanceIdentifier`` property from your template and then update your stack, AWS CloudFormation promotes the Read Replica to a standalone DB instance. .. epigraph:: - If you specify a source DB instance that uses VPC security groups, we recommend that you specify the ``VPCSecurityGroups`` property. If you don't specify the property, the read replica inherits the value of the ``VPCSecurityGroups`` property from the source DB when you create the replica. However, if you update the stack, AWS CloudFormation reverts the replica's ``VPCSecurityGroups`` property to the default value because it's not defined in the stack's template. This change might cause unexpected issues. - Read replicas don't support deletion policies. AWS CloudFormation ignores any deletion policy that's associated with a read replica. - If you specify ``SourceDBInstanceIdentifier`` , don't specify the ``DBSnapshotIdentifier`` property. You can't create a read replica from a snapshot. - Don't set the ``BackupRetentionPeriod`` , ``DBName`` , ``MasterUsername`` , ``MasterUserPassword`` , and ``PreferredBackupWindow`` properties. The database attributes are inherited from the source DB instance, and backups are disabled for read replicas. - If the source DB instance is in a different region than the read replica, specify the source region in ``SourceRegion`` , and specify an ARN for a valid DB instance in ``SourceDBInstanceIdentifier`` . For more information, see `Constructing a Amazon RDS Amazon Resource Name (ARN) <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html#USER_Tagging.ARN>`_ in the *Amazon RDS User Guide* . - For DB instances in Amazon Aurora clusters, don't specify this property. Amazon RDS automatically assigns writer and reader DB instances.
|
|
8931
8937
|
:param source_dbi_resource_id: The resource ID of the source DB instance from which to restore.
|
|
8932
8938
|
:param source_region: The ID of the region that contains the source DB instance for the read replica.
|
|
8933
|
-
:param storage_encrypted: A value that indicates whether the DB instance is encrypted. By default, it isn't encrypted. If you specify the ``KmsKeyId`` property, then you must enable encryption. If you specify the ``SourceDBInstanceIdentifier`` property, don't specify this property. The value is inherited from the source DB instance, and if the DB instance is encrypted, the specified ``KmsKeyId`` property is used. If you specify the ``
|
|
8939
|
+
:param storage_encrypted: A value that indicates whether the DB instance is encrypted. By default, it isn't encrypted. If you specify the ``KmsKeyId`` property, then you must enable encryption. If you specify the ``SourceDBInstanceIdentifier`` property, don't specify this property. The value is inherited from the source DB instance, and if the DB instance is encrypted, the specified ``KmsKeyId`` property is used. If you specify the ``DBSnapshotIdentifier`` and the specified snapshot is encrypted, don't specify this property. The value is inherited from the snapshot, and the specified ``KmsKeyId`` property is used. If you specify the ``DBSnapshotIdentifier`` and the specified snapshot isn't encrypted, you can use this property to specify that the restored DB instance is encrypted. Specify the ``KmsKeyId`` property for the KMS key to use for encryption. If you don't want the restored DB instance to be encrypted, then don't set this property or set it to ``false`` . *Amazon Aurora* Not applicable. The encryption for DB instances is managed by the DB cluster.
|
|
8934
8940
|
:param storage_throughput: Specifies the storage throughput value for the DB instance. This setting applies only to the ``gp3`` storage type. This setting doesn't apply to RDS Custom or Amazon Aurora.
|
|
8935
8941
|
:param storage_type: Specifies the storage type to be associated with the DB instance. Valid values: ``gp2 | gp3 | io1 | standard`` The ``standard`` value is also known as magnetic. If you specify ``io1`` or ``gp3`` , you must also include a value for the ``Iops`` parameter. Default: ``io1`` if the ``Iops`` parameter is specified, otherwise ``gp2`` For more information, see `Amazon RDS DB Instance Storage <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html>`_ in the *Amazon RDS User Guide* . *Amazon Aurora* Not applicable. Aurora data is stored in the cluster volume, which is a single, virtual volume that uses solid state drives (SSDs).
|
|
8936
8942
|
:param tags: An optional array of key-value pairs to apply to this DB instance.
|
|
@@ -10500,9 +10506,9 @@ class CfnDBInstanceProps:
|
|
|
10500
10506
|
|
|
10501
10507
|
If you specify the ``SourceDBInstanceIdentifier`` property, don't specify this property. The value is inherited from the source DB instance, and if the DB instance is encrypted, the specified ``KmsKeyId`` property is used.
|
|
10502
10508
|
|
|
10503
|
-
If you specify the ``
|
|
10509
|
+
If you specify the ``DBSnapshotIdentifier`` and the specified snapshot is encrypted, don't specify this property. The value is inherited from the snapshot, and the specified ``KmsKeyId`` property is used.
|
|
10504
10510
|
|
|
10505
|
-
If you specify the ``
|
|
10511
|
+
If you specify the ``DBSnapshotIdentifier`` and the specified snapshot isn't encrypted, you can use this property to specify that the restored DB instance is encrypted. Specify the ``KmsKeyId`` property for the KMS key to use for encryption. If you don't want the restored DB instance to be encrypted, then don't set this property or set it to ``false`` .
|
|
10506
10512
|
|
|
10507
10513
|
*Amazon Aurora*
|
|
10508
10514
|
|
|
@@ -27125,6 +27131,12 @@ class MysqlEngineVersion(
|
|
|
27125
27131
|
'''Version "5.7.42".'''
|
|
27126
27132
|
return typing.cast("MysqlEngineVersion", jsii.sget(cls, "VER_5_7_42"))
|
|
27127
27133
|
|
|
27134
|
+
@jsii.python.classproperty
|
|
27135
|
+
@jsii.member(jsii_name="VER_5_7_43")
|
|
27136
|
+
def VER_5_7_43(cls) -> "MysqlEngineVersion":
|
|
27137
|
+
'''Version "5.7.43".'''
|
|
27138
|
+
return typing.cast("MysqlEngineVersion", jsii.sget(cls, "VER_5_7_43"))
|
|
27139
|
+
|
|
27128
27140
|
@jsii.python.classproperty
|
|
27129
27141
|
@jsii.member(jsii_name="VER_8_0")
|
|
27130
27142
|
def VER_8_0(cls) -> "MysqlEngineVersion":
|
|
@@ -27233,6 +27245,12 @@ class MysqlEngineVersion(
|
|
|
27233
27245
|
'''Version "8.0.33".'''
|
|
27234
27246
|
return typing.cast("MysqlEngineVersion", jsii.sget(cls, "VER_8_0_33"))
|
|
27235
27247
|
|
|
27248
|
+
@jsii.python.classproperty
|
|
27249
|
+
@jsii.member(jsii_name="VER_8_0_34")
|
|
27250
|
+
def VER_8_0_34(cls) -> "MysqlEngineVersion":
|
|
27251
|
+
'''Version "8.0.34".'''
|
|
27252
|
+
return typing.cast("MysqlEngineVersion", jsii.sget(cls, "VER_8_0_34"))
|
|
27253
|
+
|
|
27236
27254
|
@builtins.property
|
|
27237
27255
|
@jsii.member(jsii_name="mysqlFullVersion")
|
|
27238
27256
|
def mysql_full_version(self) -> builtins.str:
|
|
@@ -36036,9 +36054,7 @@ class DatabaseInstanceFromSnapshot(
|
|
|
36036
36054
|
'''Grant the given identity connection access to the database.
|
|
36037
36055
|
|
|
36038
36056
|
:param grantee: the Principal to grant the permissions to.
|
|
36039
|
-
:param db_user: the name of the database user to allow connecting as to the db instance.
|
|
36040
|
-
|
|
36041
|
-
:default: the default user, obtained from the Secret
|
|
36057
|
+
:param db_user: the name of the database user to allow connecting as to the db instance, or the default database user, obtained from the Secret, if not specified.
|
|
36042
36058
|
'''
|
|
36043
36059
|
if __debug__:
|
|
36044
36060
|
type_hints = typing.get_type_hints(_typecheckingstub__dbd2aa9817c34a5f6d36e4d0e6b870a3be88fa8ad2897fa830588c198983ab92)
|
|
@@ -39335,9 +39351,7 @@ class DatabaseInstance(
|
|
|
39335
39351
|
'''Grant the given identity connection access to the database.
|
|
39336
39352
|
|
|
39337
39353
|
:param grantee: the Principal to grant the permissions to.
|
|
39338
|
-
:param db_user: the name of the database user to allow connecting as to the db instance.
|
|
39339
|
-
|
|
39340
|
-
:default: the default user, obtained from the Secret
|
|
39354
|
+
:param db_user: the name of the database user to allow connecting as to the db instance, or the default database user, obtained from the Secret, if not specified.
|
|
39341
39355
|
'''
|
|
39342
39356
|
if __debug__:
|
|
39343
39357
|
type_hints = typing.get_type_hints(_typecheckingstub__09072f248828e95dccb09fe6723aecd466e1768368d87e2eb12a3d0a2bc2be5d)
|
|
@@ -119,12 +119,12 @@ class CfnApp(
|
|
|
119
119
|
:param scope: Scope in which this resource is defined.
|
|
120
120
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
121
121
|
:param app_template_body: A JSON string that provides information about your application structure. To learn more about the ``appTemplateBody`` template, see the sample template provided in the *Examples* section. The ``appTemplateBody`` JSON string has the following structure: - *``resources``* The list of logical resources that needs to be included in the AWS Resilience Hub application. Type: Array .. epigraph:: Don't add the resources that you want to exclude. Each ``resources`` array item includes the following fields: - *``logicalResourceId``* The logical identifier of the resource. Type: Object Each ``logicalResourceId`` object includes the following fields: - ``identifier`` The identifier of the resource. Type: String - ``logicalStackName`` The name of the AWS CloudFormation stack this resource belongs to. Type: String - ``resourceGroupName`` The name of the resource group this resource belongs to. Type: String - ``terraformSourceName`` The name of the Terraform S3 state file this resource belongs to. Type: String - ``eksSourceName`` The name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to. .. epigraph:: This parameter accepts values in "eks-cluster/namespace" format. Type: String - *``type``* The type of resource. Type: string - *``name``* The name of the resource. Type: String - ``additionalInfo`` Additional configuration parameters for an AWS Resilience Hub application. If you want to implement ``additionalInfo`` through the AWS Resilience Hub console rather than using an API call, see `Configure the application configuration parameters <https://docs.aws.amazon.com//resilience-hub/latest/userguide/app-config-param.html>`_ . .. epigraph:: Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account. Key: ``"failover-regions"`` Value: ``"[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"`` - *``appComponents``* The list of Application Components (AppComponent) that this resource belongs to. If an AppComponent is not part of the AWS Resilience Hub application, it will be added. Type: Array Each ``appComponents`` array item includes the following fields: - ``name`` The name of the AppComponent. Type: String - ``type`` The type of AppComponent. For more information about the types of AppComponent, see `Grouping resources in an AppComponent <https://docs.aws.amazon.com/resilience-hub/latest/userguide/AppComponent.grouping.html>`_ . Type: String - ``resourceNames`` The list of included resources that are assigned to the AppComponent. Type: Array of strings - ``additionalInfo`` Additional configuration parameters for an AWS Resilience Hub application. If you want to implement ``additionalInfo`` through the AWS Resilience Hub console rather than using an API call, see `Configure the application configuration parameters <https://docs.aws.amazon.com//resilience-hub/latest/userguide/app-config-param.html>`_ . .. epigraph:: Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account. Key: ``"failover-regions"`` Value: ``"[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"`` - *``excludedResources``* The list of logical resource identifiers to be excluded from the application. Type: Array .. epigraph:: Don't add the resources that you want to include. Each ``excludedResources`` array item includes the following fields: - *``logicalResourceIds``* The logical identifier of the resource. Type: Object .. epigraph:: You can configure only one of the following fields: - ``logicalStackName`` - ``resourceGroupName`` - ``terraformSourceName`` - ``eksSourceName`` Each ``logicalResourceIds`` object includes the following fields: - ``identifier`` The identifier of the resource. Type: String - ``logicalStackName`` The name of the AWS CloudFormation stack this resource belongs to. Type: String - ``resourceGroupName`` The name of the resource group this resource belongs to. Type: String - ``terraformSourceName`` The name of the Terraform S3 state file this resource belongs to. Type: String - ``eksSourceName`` The name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to. .. epigraph:: This parameter accepts values in "eks-cluster/namespace" format. Type: String - *``version``* The AWS Resilience Hub application version. - ``additionalInfo`` Additional configuration parameters for an AWS Resilience Hub application. If you want to implement ``additionalInfo`` through the AWS Resilience Hub console rather than using an API call, see `Configure the application configuration parameters <https://docs.aws.amazon.com//resilience-hub/latest/userguide/app-config-param.html>`_ . .. epigraph:: Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account. Key: ``"failover-regions"`` Value: ``"[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"``
|
|
122
|
-
:param name:
|
|
122
|
+
:param name: Name for the application.
|
|
123
123
|
:param resource_mappings: An array of ResourceMapping objects.
|
|
124
124
|
:param app_assessment_schedule: Assessment execution schedule with 'Daily' or 'Disabled' values.
|
|
125
|
-
:param description:
|
|
125
|
+
:param description: Optional description for an application.
|
|
126
126
|
:param resiliency_policy_arn: The Amazon Resource Name (ARN) of the resiliency policy.
|
|
127
|
-
:param tags:
|
|
127
|
+
:param tags: Tags assigned to the resource. A tag is a label that you assign to an AWS resource. Each tag consists of a key/value pair.
|
|
128
128
|
'''
|
|
129
129
|
if __debug__:
|
|
130
130
|
type_hints = typing.get_type_hints(_typecheckingstub__303e76fc3650422653be00dea7484c071f68688b86b0b136d647cee7306c7958)
|
|
@@ -208,7 +208,7 @@ class CfnApp(
|
|
|
208
208
|
@builtins.property
|
|
209
209
|
@jsii.member(jsii_name="name")
|
|
210
210
|
def name(self) -> builtins.str:
|
|
211
|
-
'''
|
|
211
|
+
'''Name for the application.'''
|
|
212
212
|
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
213
213
|
|
|
214
214
|
@name.setter
|
|
@@ -252,7 +252,7 @@ class CfnApp(
|
|
|
252
252
|
@builtins.property
|
|
253
253
|
@jsii.member(jsii_name="description")
|
|
254
254
|
def description(self) -> typing.Optional[builtins.str]:
|
|
255
|
-
'''
|
|
255
|
+
'''Optional description for an application.'''
|
|
256
256
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
257
257
|
|
|
258
258
|
@description.setter
|
|
@@ -278,7 +278,7 @@ class CfnApp(
|
|
|
278
278
|
@builtins.property
|
|
279
279
|
@jsii.member(jsii_name="tagsRaw")
|
|
280
280
|
def tags_raw(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
281
|
-
'''
|
|
281
|
+
'''Tags assigned to the resource.'''
|
|
282
282
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "tagsRaw"))
|
|
283
283
|
|
|
284
284
|
@tags_raw.setter
|
|
@@ -312,7 +312,7 @@ class CfnApp(
|
|
|
312
312
|
) -> None:
|
|
313
313
|
'''Defines a physical resource identifier.
|
|
314
314
|
|
|
315
|
-
:param identifier:
|
|
315
|
+
:param identifier: Identifier of the physical resource.
|
|
316
316
|
:param type: Specifies the type of physical resource identifier. - **Arn** - The resource identifier is an Amazon Resource Name (ARN) and it can identify the following list of resources: - ``AWS::ECS::Service`` - ``AWS::EFS::FileSystem`` - ``AWS::ElasticLoadBalancingV2::LoadBalancer`` - ``AWS::Lambda::Function`` - ``AWS::SNS::Topic`` - **Native** - The resource identifier is an AWS Resilience Hub -native identifier and it can identify the following list of resources: - ``AWS::ApiGateway::RestApi`` - ``AWS::ApiGatewayV2::Api`` - ``AWS::AutoScaling::AutoScalingGroup`` - ``AWS::DocDB::DBCluster`` - ``AWS::DocDB::DBGlobalCluster`` - ``AWS::DocDB::DBInstance`` - ``AWS::DynamoDB::GlobalTable`` - ``AWS::DynamoDB::Table`` - ``AWS::EC2::EC2Fleet`` - ``AWS::EC2::Instance`` - ``AWS::EC2::NatGateway`` - ``AWS::EC2::Volume`` - ``AWS::ElasticLoadBalancing::LoadBalancer`` - ``AWS::RDS::DBCluster`` - ``AWS::RDS::DBInstance`` - ``AWS::RDS::GlobalCluster`` - ``AWS::Route53::RecordSet`` - ``AWS::S3::Bucket`` - ``AWS::SQS::Queue``
|
|
317
317
|
:param aws_account_id: The AWS account that owns the physical resource.
|
|
318
318
|
:param aws_region: The AWS Region that the physical resource is located in.
|
|
@@ -352,7 +352,7 @@ class CfnApp(
|
|
|
352
352
|
|
|
353
353
|
@builtins.property
|
|
354
354
|
def identifier(self) -> builtins.str:
|
|
355
|
-
'''
|
|
355
|
+
'''Identifier of the physical resource.
|
|
356
356
|
|
|
357
357
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-app-physicalresourceid.html#cfn-resiliencehub-app-physicalresourceid-identifier
|
|
358
358
|
'''
|
|
@@ -452,10 +452,10 @@ class CfnApp(
|
|
|
452
452
|
'''Defines a resource mapping.
|
|
453
453
|
|
|
454
454
|
:param mapping_type: Specifies the type of resource mapping. Valid Values: CfnStack | Resource | AppRegistryApp | ResourceGroup | Terraform - **AppRegistryApp** - The resource is mapped to another application. The name of the application is contained in the ``appRegistryAppName`` property. - **CfnStack** - The resource is mapped to a CloudFormation stack. The name of the CloudFormation stack is contained in the ``logicalStackName`` property. - **Resource** - The resource is mapped to another resource. The name of the resource is contained in the ``resourceName`` property. - **ResourceGroup** - The resource is mapped to a resource group. The name of the resource group is contained in the ``resourceGroupName`` property.
|
|
455
|
-
:param physical_resource_id:
|
|
455
|
+
:param physical_resource_id: Identifier of the physical resource.
|
|
456
456
|
:param eks_source_name:
|
|
457
457
|
:param logical_stack_name: The name of the CloudFormation stack this resource is mapped to.
|
|
458
|
-
:param resource_name:
|
|
458
|
+
:param resource_name: Name of the resource that the resource is mapped to.
|
|
459
459
|
:param terraform_source_name: The short name of the Terraform source.
|
|
460
460
|
|
|
461
461
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-app-resourcemapping.html
|
|
@@ -527,7 +527,7 @@ class CfnApp(
|
|
|
527
527
|
def physical_resource_id(
|
|
528
528
|
self,
|
|
529
529
|
) -> typing.Union[_IResolvable_da3f097b, "CfnApp.PhysicalResourceIdProperty"]:
|
|
530
|
-
'''
|
|
530
|
+
'''Identifier of the physical resource.
|
|
531
531
|
|
|
532
532
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-app-resourcemapping.html#cfn-resiliencehub-app-resourcemapping-physicalresourceid
|
|
533
533
|
'''
|
|
@@ -554,7 +554,7 @@ class CfnApp(
|
|
|
554
554
|
|
|
555
555
|
@builtins.property
|
|
556
556
|
def resource_name(self) -> typing.Optional[builtins.str]:
|
|
557
|
-
'''
|
|
557
|
+
'''Name of the resource that the resource is mapped to.
|
|
558
558
|
|
|
559
559
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-app-resourcemapping.html#cfn-resiliencehub-app-resourcemapping-resourcename
|
|
560
560
|
'''
|
|
@@ -610,12 +610,12 @@ class CfnAppProps:
|
|
|
610
610
|
'''Properties for defining a ``CfnApp``.
|
|
611
611
|
|
|
612
612
|
:param app_template_body: A JSON string that provides information about your application structure. To learn more about the ``appTemplateBody`` template, see the sample template provided in the *Examples* section. The ``appTemplateBody`` JSON string has the following structure: - *``resources``* The list of logical resources that needs to be included in the AWS Resilience Hub application. Type: Array .. epigraph:: Don't add the resources that you want to exclude. Each ``resources`` array item includes the following fields: - *``logicalResourceId``* The logical identifier of the resource. Type: Object Each ``logicalResourceId`` object includes the following fields: - ``identifier`` The identifier of the resource. Type: String - ``logicalStackName`` The name of the AWS CloudFormation stack this resource belongs to. Type: String - ``resourceGroupName`` The name of the resource group this resource belongs to. Type: String - ``terraformSourceName`` The name of the Terraform S3 state file this resource belongs to. Type: String - ``eksSourceName`` The name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to. .. epigraph:: This parameter accepts values in "eks-cluster/namespace" format. Type: String - *``type``* The type of resource. Type: string - *``name``* The name of the resource. Type: String - ``additionalInfo`` Additional configuration parameters for an AWS Resilience Hub application. If you want to implement ``additionalInfo`` through the AWS Resilience Hub console rather than using an API call, see `Configure the application configuration parameters <https://docs.aws.amazon.com//resilience-hub/latest/userguide/app-config-param.html>`_ . .. epigraph:: Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account. Key: ``"failover-regions"`` Value: ``"[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"`` - *``appComponents``* The list of Application Components (AppComponent) that this resource belongs to. If an AppComponent is not part of the AWS Resilience Hub application, it will be added. Type: Array Each ``appComponents`` array item includes the following fields: - ``name`` The name of the AppComponent. Type: String - ``type`` The type of AppComponent. For more information about the types of AppComponent, see `Grouping resources in an AppComponent <https://docs.aws.amazon.com/resilience-hub/latest/userguide/AppComponent.grouping.html>`_ . Type: String - ``resourceNames`` The list of included resources that are assigned to the AppComponent. Type: Array of strings - ``additionalInfo`` Additional configuration parameters for an AWS Resilience Hub application. If you want to implement ``additionalInfo`` through the AWS Resilience Hub console rather than using an API call, see `Configure the application configuration parameters <https://docs.aws.amazon.com//resilience-hub/latest/userguide/app-config-param.html>`_ . .. epigraph:: Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account. Key: ``"failover-regions"`` Value: ``"[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"`` - *``excludedResources``* The list of logical resource identifiers to be excluded from the application. Type: Array .. epigraph:: Don't add the resources that you want to include. Each ``excludedResources`` array item includes the following fields: - *``logicalResourceIds``* The logical identifier of the resource. Type: Object .. epigraph:: You can configure only one of the following fields: - ``logicalStackName`` - ``resourceGroupName`` - ``terraformSourceName`` - ``eksSourceName`` Each ``logicalResourceIds`` object includes the following fields: - ``identifier`` The identifier of the resource. Type: String - ``logicalStackName`` The name of the AWS CloudFormation stack this resource belongs to. Type: String - ``resourceGroupName`` The name of the resource group this resource belongs to. Type: String - ``terraformSourceName`` The name of the Terraform S3 state file this resource belongs to. Type: String - ``eksSourceName`` The name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to. .. epigraph:: This parameter accepts values in "eks-cluster/namespace" format. Type: String - *``version``* The AWS Resilience Hub application version. - ``additionalInfo`` Additional configuration parameters for an AWS Resilience Hub application. If you want to implement ``additionalInfo`` through the AWS Resilience Hub console rather than using an API call, see `Configure the application configuration parameters <https://docs.aws.amazon.com//resilience-hub/latest/userguide/app-config-param.html>`_ . .. epigraph:: Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account. Key: ``"failover-regions"`` Value: ``"[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"``
|
|
613
|
-
:param name:
|
|
613
|
+
:param name: Name for the application.
|
|
614
614
|
:param resource_mappings: An array of ResourceMapping objects.
|
|
615
615
|
:param app_assessment_schedule: Assessment execution schedule with 'Daily' or 'Disabled' values.
|
|
616
|
-
:param description:
|
|
616
|
+
:param description: Optional description for an application.
|
|
617
617
|
:param resiliency_policy_arn: The Amazon Resource Name (ARN) of the resiliency policy.
|
|
618
|
-
:param tags:
|
|
618
|
+
:param tags: Tags assigned to the resource. A tag is a label that you assign to an AWS resource. Each tag consists of a key/value pair.
|
|
619
619
|
|
|
620
620
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-app.html
|
|
621
621
|
:exampleMetadata: fixture=_generated
|
|
@@ -882,7 +882,7 @@ class CfnAppProps:
|
|
|
882
882
|
|
|
883
883
|
@builtins.property
|
|
884
884
|
def name(self) -> builtins.str:
|
|
885
|
-
'''
|
|
885
|
+
'''Name for the application.
|
|
886
886
|
|
|
887
887
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-app.html#cfn-resiliencehub-app-name
|
|
888
888
|
'''
|
|
@@ -913,7 +913,7 @@ class CfnAppProps:
|
|
|
913
913
|
|
|
914
914
|
@builtins.property
|
|
915
915
|
def description(self) -> typing.Optional[builtins.str]:
|
|
916
|
-
'''
|
|
916
|
+
'''Optional description for an application.
|
|
917
917
|
|
|
918
918
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-app.html#cfn-resiliencehub-app-description
|
|
919
919
|
'''
|
|
@@ -931,7 +931,7 @@ class CfnAppProps:
|
|
|
931
931
|
|
|
932
932
|
@builtins.property
|
|
933
933
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
934
|
-
'''
|
|
934
|
+
'''Tags assigned to the resource.
|
|
935
935
|
|
|
936
936
|
A tag is a label that you assign to an AWS resource. Each tag consists of a key/value pair.
|
|
937
937
|
|
|
@@ -1008,7 +1008,7 @@ class CfnResiliencyPolicy(
|
|
|
1008
1008
|
:param tier: The tier for this resiliency policy, ranging from the highest severity ( ``MissionCritical`` ) to lowest ( ``NonCritical`` ).
|
|
1009
1009
|
:param data_location_constraint: Specifies a high-level geographical location constraint for where your resilience policy data can be stored.
|
|
1010
1010
|
:param policy_description: The description for the policy.
|
|
1011
|
-
:param tags:
|
|
1011
|
+
:param tags: Tags assigned to the resource. A tag is a label that you assign to an AWS resource. Each tag consists of a key/value pair.
|
|
1012
1012
|
'''
|
|
1013
1013
|
if __debug__:
|
|
1014
1014
|
type_hints = typing.get_type_hints(_typecheckingstub__1ca523154c6ed6b81a708c52b134ad763abb59cc66e6b7fc33cf2c8de8bda28b)
|
|
@@ -1148,7 +1148,7 @@ class CfnResiliencyPolicy(
|
|
|
1148
1148
|
@builtins.property
|
|
1149
1149
|
@jsii.member(jsii_name="tagsRaw")
|
|
1150
1150
|
def tags_raw(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1151
|
-
'''
|
|
1151
|
+
'''Tags assigned to the resource.'''
|
|
1152
1152
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "tagsRaw"))
|
|
1153
1153
|
|
|
1154
1154
|
@tags_raw.setter
|
|
@@ -1263,7 +1263,7 @@ class CfnResiliencyPolicyProps:
|
|
|
1263
1263
|
:param tier: The tier for this resiliency policy, ranging from the highest severity ( ``MissionCritical`` ) to lowest ( ``NonCritical`` ).
|
|
1264
1264
|
:param data_location_constraint: Specifies a high-level geographical location constraint for where your resilience policy data can be stored.
|
|
1265
1265
|
:param policy_description: The description for the policy.
|
|
1266
|
-
:param tags:
|
|
1266
|
+
:param tags: Tags assigned to the resource. A tag is a label that you assign to an AWS resource. Each tag consists of a key/value pair.
|
|
1267
1267
|
|
|
1268
1268
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-resiliencypolicy.html
|
|
1269
1269
|
:exampleMetadata: fixture=_generated
|
|
@@ -1364,7 +1364,7 @@ class CfnResiliencyPolicyProps:
|
|
|
1364
1364
|
|
|
1365
1365
|
@builtins.property
|
|
1366
1366
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1367
|
-
'''
|
|
1367
|
+
'''Tags assigned to the resource.
|
|
1368
1368
|
|
|
1369
1369
|
A tag is a label that you assign to an AWS resource. Each tag consists of a key/value pair.
|
|
1370
1370
|
|