aws-cdk-lib 2.177.0__py3-none-any.whl → 2.178.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 +95 -61
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.177.0.jsii.tgz → aws-cdk-lib@2.178.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplifyuibuilder/__init__.py +8 -8
- aws_cdk/aws_apigateway/__init__.py +97 -97
- aws_cdk/aws_apigatewayv2/__init__.py +35 -10
- aws_cdk/aws_appconfig/__init__.py +10 -10
- aws_cdk/aws_appflow/__init__.py +20 -20
- aws_cdk/aws_applicationsignals/__init__.py +8 -8
- aws_cdk/aws_appmesh/__init__.py +8 -8
- aws_cdk/aws_appsync/__init__.py +10383 -7035
- aws_cdk/aws_apptest/__init__.py +4 -4
- aws_cdk/aws_aps/__init__.py +135 -0
- aws_cdk/aws_athena/__init__.py +10 -10
- aws_cdk/aws_backup/__init__.py +14 -14
- aws_cdk/aws_batch/__init__.py +185 -22
- aws_cdk/aws_bcmdataexports/__init__.py +4 -4
- aws_cdk/aws_bedrock/__init__.py +266 -177
- aws_cdk/aws_certificatemanager/__init__.py +15 -14
- aws_cdk/aws_chatbot/__init__.py +4 -4
- aws_cdk/aws_cloudformation/__init__.py +22 -18
- aws_cdk/aws_cloudfront/__init__.py +674 -7
- aws_cdk/aws_cloudfront_origins/__init__.py +40 -0
- aws_cdk/aws_cloudtrail/__init__.py +4 -4
- aws_cdk/aws_cloudwatch/__init__.py +53 -53
- aws_cdk/aws_codedeploy/__init__.py +2 -2
- aws_cdk/aws_codepipeline/__init__.py +24 -6
- aws_cdk/aws_codepipeline_actions/__init__.py +2 -2
- aws_cdk/aws_cognito/__init__.py +42 -20
- aws_cdk/aws_connect/__init__.py +4 -4
- aws_cdk/aws_customerprofiles/__init__.py +3 -1
- aws_cdk/aws_databrew/__init__.py +16 -16
- aws_cdk/aws_datasync/__init__.py +14 -11
- aws_cdk/aws_datazone/__init__.py +5 -5
- aws_cdk/aws_dms/__init__.py +4 -4
- aws_cdk/aws_dynamodb/__init__.py +267 -25
- aws_cdk/aws_ec2/__init__.py +1137 -181
- aws_cdk/aws_ecs/__init__.py +740 -116
- aws_cdk/aws_ecs_patterns/__init__.py +49 -0
- aws_cdk/aws_efs/__init__.py +3 -3
- aws_cdk/aws_eks/__init__.py +31 -32
- aws_cdk/aws_elasticache/__init__.py +10 -10
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +47 -18
- aws_cdk/aws_elasticsearch/__init__.py +10 -10
- aws_cdk/aws_emr/__init__.py +16 -16
- aws_cdk/aws_emrserverless/__init__.py +12 -9
- aws_cdk/aws_entityresolution/__init__.py +31 -17
- aws_cdk/aws_events/__init__.py +12 -12
- aws_cdk/aws_fis/__init__.py +16 -16
- aws_cdk/aws_fms/__init__.py +7 -3
- aws_cdk/aws_glue/__init__.py +1326 -7
- aws_cdk/aws_greengrassv2/__init__.py +8 -8
- aws_cdk/aws_guardduty/__init__.py +521 -0
- aws_cdk/aws_healthlake/__init__.py +10 -2
- aws_cdk/aws_imagebuilder/__init__.py +26 -26
- aws_cdk/aws_iot/__init__.py +40 -40
- aws_cdk/aws_iotanalytics/__init__.py +4 -4
- aws_cdk/aws_iotfleetwise/__init__.py +424 -10
- aws_cdk/aws_iotsitewise/__init__.py +84 -13
- aws_cdk/aws_iottwinmaker/__init__.py +18 -18
- aws_cdk/aws_iotwireless/__init__.py +4 -4
- aws_cdk/aws_kafkaconnect/__init__.py +10 -10
- aws_cdk/aws_kendra/__init__.py +0 -10
- aws_cdk/aws_kinesisanalytics/__init__.py +4 -4
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +4 -4
- aws_cdk/aws_kinesisfirehose/__init__.py +4544 -183
- aws_cdk/aws_kms/__init__.py +11 -10
- aws_cdk/aws_lambda/__init__.py +34 -4
- aws_cdk/aws_lambda_nodejs/__init__.py +24 -5
- aws_cdk/aws_launchwizard/__init__.py +10 -10
- aws_cdk/aws_logs/__init__.py +19 -15
- aws_cdk/aws_mediaconnect/__init__.py +509 -12
- aws_cdk/aws_medialive/__init__.py +16 -16
- aws_cdk/aws_mediatailor/__init__.py +10 -10
- aws_cdk/aws_networkfirewall/__init__.py +12 -12
- aws_cdk/aws_notifications/__init__.py +602 -65
- aws_cdk/aws_omics/__init__.py +4 -4
- aws_cdk/aws_opensearchservice/__init__.py +10 -10
- aws_cdk/aws_opsworks/__init__.py +58 -58
- aws_cdk/aws_personalize/__init__.py +8 -8
- aws_cdk/aws_pipes/__init__.py +20 -20
- aws_cdk/aws_qbusiness/__init__.py +119 -0
- aws_cdk/aws_quicksight/__init__.py +247 -92
- aws_cdk/aws_rds/__init__.py +21 -15
- aws_cdk/aws_redshift/__init__.py +10 -10
- aws_cdk/aws_resiliencehub/__init__.py +0 -41
- aws_cdk/aws_route53/__init__.py +6 -0
- aws_cdk/aws_rum/__init__.py +4 -4
- aws_cdk/aws_s3/__init__.py +12 -2
- aws_cdk/aws_sagemaker/__init__.py +84 -60
- aws_cdk/aws_sam/__init__.py +48 -48
- aws_cdk/aws_secretsmanager/__init__.py +30 -14
- aws_cdk/aws_securityhub/__init__.py +12 -12
- aws_cdk/aws_sns/__init__.py +101 -15
- aws_cdk/aws_ssmquicksetup/__init__.py +10 -10
- aws_cdk/aws_stepfunctions/__init__.py +13207 -4740
- aws_cdk/aws_stepfunctions_tasks/__init__.py +77615 -22817
- aws_cdk/aws_synthetics/__init__.py +4 -4
- aws_cdk/aws_timestream/__init__.py +41 -0
- aws_cdk/aws_transfer/__init__.py +9 -10
- aws_cdk/aws_wafv2/__init__.py +24 -22
- aws_cdk/aws_wisdom/__init__.py +8 -8
- aws_cdk/aws_workspacesweb/__init__.py +60 -60
- aws_cdk/aws_xray/__init__.py +8 -8
- aws_cdk/cx_api/__init__.py +18 -0
- {aws_cdk_lib-2.177.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.177.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/RECORD +111 -111
- {aws_cdk_lib-2.177.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.177.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.177.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.177.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_apptest/__init__.py
CHANGED
|
@@ -406,7 +406,7 @@ class CfnTestCase(
|
|
|
406
406
|
self,
|
|
407
407
|
*,
|
|
408
408
|
batch_job_name: builtins.str,
|
|
409
|
-
batch_job_parameters: typing.Optional[typing.Union[
|
|
409
|
+
batch_job_parameters: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
410
410
|
export_data_set_names: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
411
411
|
) -> None:
|
|
412
412
|
'''Defines a batch.
|
|
@@ -460,13 +460,13 @@ class CfnTestCase(
|
|
|
460
460
|
@builtins.property
|
|
461
461
|
def batch_job_parameters(
|
|
462
462
|
self,
|
|
463
|
-
) -> typing.Optional[typing.Union[
|
|
463
|
+
) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
|
|
464
464
|
'''The batch job parameters of the batch.
|
|
465
465
|
|
|
466
466
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-batch.html#cfn-apptest-testcase-batch-batchjobparameters
|
|
467
467
|
'''
|
|
468
468
|
result = self._values.get("batch_job_parameters")
|
|
469
|
-
return typing.cast(typing.Optional[typing.Union[
|
|
469
|
+
return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], result)
|
|
470
470
|
|
|
471
471
|
@builtins.property
|
|
472
472
|
def export_data_set_names(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
@@ -2851,7 +2851,7 @@ def _typecheckingstub__6e8acfd7d3d54fa56bbe1ab5b9bc79609eaccb189083fe4b8cc7217ad
|
|
|
2851
2851
|
def _typecheckingstub__22fbc9e8380b6b0f7acb2ff9ce8665660f1341dbe513e19f269854edf36bf947(
|
|
2852
2852
|
*,
|
|
2853
2853
|
batch_job_name: builtins.str,
|
|
2854
|
-
batch_job_parameters: typing.Optional[typing.Union[
|
|
2854
|
+
batch_job_parameters: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
2855
2855
|
export_data_set_names: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2856
2856
|
) -> None:
|
|
2857
2857
|
"""Type checking stubs"""
|
aws_cdk/aws_aps/__init__.py
CHANGED
|
@@ -398,6 +398,10 @@ class CfnScraper(
|
|
|
398
398
|
|
|
399
399
|
# the properties below are optional
|
|
400
400
|
alias="alias",
|
|
401
|
+
role_configuration=aps.CfnScraper.RoleConfigurationProperty(
|
|
402
|
+
source_role_arn="sourceRoleArn",
|
|
403
|
+
target_role_arn="targetRoleArn"
|
|
404
|
+
),
|
|
401
405
|
tags=[CfnTag(
|
|
402
406
|
key="key",
|
|
403
407
|
value="value"
|
|
@@ -414,6 +418,7 @@ class CfnScraper(
|
|
|
414
418
|
scrape_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnScraper.ScrapeConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
415
419
|
source: typing.Union[_IResolvable_da3f097b, typing.Union["CfnScraper.SourceProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
416
420
|
alias: typing.Optional[builtins.str] = None,
|
|
421
|
+
role_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnScraper.RoleConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
417
422
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
418
423
|
) -> None:
|
|
419
424
|
'''
|
|
@@ -423,6 +428,7 @@ class CfnScraper(
|
|
|
423
428
|
:param scrape_configuration: The configuration in use by the scraper.
|
|
424
429
|
:param source: The Amazon EKS cluster from which the scraper collects metrics.
|
|
425
430
|
:param alias: An optional user-assigned scraper alias.
|
|
431
|
+
:param role_configuration: Role configuration.
|
|
426
432
|
:param tags: (Optional) The list of tag keys and values associated with the scraper.
|
|
427
433
|
'''
|
|
428
434
|
if __debug__:
|
|
@@ -434,6 +440,7 @@ class CfnScraper(
|
|
|
434
440
|
scrape_configuration=scrape_configuration,
|
|
435
441
|
source=source,
|
|
436
442
|
alias=alias,
|
|
443
|
+
role_configuration=role_configuration,
|
|
437
444
|
tags=tags,
|
|
438
445
|
)
|
|
439
446
|
|
|
@@ -580,6 +587,24 @@ class CfnScraper(
|
|
|
580
587
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
581
588
|
jsii.set(self, "alias", value) # pyright: ignore[reportArgumentType]
|
|
582
589
|
|
|
590
|
+
@builtins.property
|
|
591
|
+
@jsii.member(jsii_name="roleConfiguration")
|
|
592
|
+
def role_configuration(
|
|
593
|
+
self,
|
|
594
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScraper.RoleConfigurationProperty"]]:
|
|
595
|
+
'''Role configuration.'''
|
|
596
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScraper.RoleConfigurationProperty"]], jsii.get(self, "roleConfiguration"))
|
|
597
|
+
|
|
598
|
+
@role_configuration.setter
|
|
599
|
+
def role_configuration(
|
|
600
|
+
self,
|
|
601
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScraper.RoleConfigurationProperty"]],
|
|
602
|
+
) -> None:
|
|
603
|
+
if __debug__:
|
|
604
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a8492f7c00f66de3309f136730786a3ad81d27f787146130fdb2b6191464e92c)
|
|
605
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
606
|
+
jsii.set(self, "roleConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
607
|
+
|
|
583
608
|
@builtins.property
|
|
584
609
|
@jsii.member(jsii_name="tags")
|
|
585
610
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
@@ -797,6 +822,79 @@ class CfnScraper(
|
|
|
797
822
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
798
823
|
)
|
|
799
824
|
|
|
825
|
+
@jsii.data_type(
|
|
826
|
+
jsii_type="aws-cdk-lib.aws_aps.CfnScraper.RoleConfigurationProperty",
|
|
827
|
+
jsii_struct_bases=[],
|
|
828
|
+
name_mapping={
|
|
829
|
+
"source_role_arn": "sourceRoleArn",
|
|
830
|
+
"target_role_arn": "targetRoleArn",
|
|
831
|
+
},
|
|
832
|
+
)
|
|
833
|
+
class RoleConfigurationProperty:
|
|
834
|
+
def __init__(
|
|
835
|
+
self,
|
|
836
|
+
*,
|
|
837
|
+
source_role_arn: typing.Optional[builtins.str] = None,
|
|
838
|
+
target_role_arn: typing.Optional[builtins.str] = None,
|
|
839
|
+
) -> None:
|
|
840
|
+
'''Role configuration.
|
|
841
|
+
|
|
842
|
+
:param source_role_arn: IAM Role in source account.
|
|
843
|
+
:param target_role_arn: IAM Role in the target account.
|
|
844
|
+
|
|
845
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-roleconfiguration.html
|
|
846
|
+
:exampleMetadata: fixture=_generated
|
|
847
|
+
|
|
848
|
+
Example::
|
|
849
|
+
|
|
850
|
+
# The code below shows an example of how to instantiate this type.
|
|
851
|
+
# The values are placeholders you should change.
|
|
852
|
+
from aws_cdk import aws_aps as aps
|
|
853
|
+
|
|
854
|
+
role_configuration_property = aps.CfnScraper.RoleConfigurationProperty(
|
|
855
|
+
source_role_arn="sourceRoleArn",
|
|
856
|
+
target_role_arn="targetRoleArn"
|
|
857
|
+
)
|
|
858
|
+
'''
|
|
859
|
+
if __debug__:
|
|
860
|
+
type_hints = typing.get_type_hints(_typecheckingstub__86bf03aa28256ae3502c8e0745b810c6f1fe11b530f463788b7c7ffd32d996d1)
|
|
861
|
+
check_type(argname="argument source_role_arn", value=source_role_arn, expected_type=type_hints["source_role_arn"])
|
|
862
|
+
check_type(argname="argument target_role_arn", value=target_role_arn, expected_type=type_hints["target_role_arn"])
|
|
863
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
864
|
+
if source_role_arn is not None:
|
|
865
|
+
self._values["source_role_arn"] = source_role_arn
|
|
866
|
+
if target_role_arn is not None:
|
|
867
|
+
self._values["target_role_arn"] = target_role_arn
|
|
868
|
+
|
|
869
|
+
@builtins.property
|
|
870
|
+
def source_role_arn(self) -> typing.Optional[builtins.str]:
|
|
871
|
+
'''IAM Role in source account.
|
|
872
|
+
|
|
873
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-roleconfiguration.html#cfn-aps-scraper-roleconfiguration-sourcerolearn
|
|
874
|
+
'''
|
|
875
|
+
result = self._values.get("source_role_arn")
|
|
876
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
877
|
+
|
|
878
|
+
@builtins.property
|
|
879
|
+
def target_role_arn(self) -> typing.Optional[builtins.str]:
|
|
880
|
+
'''IAM Role in the target account.
|
|
881
|
+
|
|
882
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-roleconfiguration.html#cfn-aps-scraper-roleconfiguration-targetrolearn
|
|
883
|
+
'''
|
|
884
|
+
result = self._values.get("target_role_arn")
|
|
885
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
886
|
+
|
|
887
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
888
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
889
|
+
|
|
890
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
891
|
+
return not (rhs == self)
|
|
892
|
+
|
|
893
|
+
def __repr__(self) -> str:
|
|
894
|
+
return "RoleConfigurationProperty(%s)" % ", ".join(
|
|
895
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
896
|
+
)
|
|
897
|
+
|
|
800
898
|
@jsii.data_type(
|
|
801
899
|
jsii_type="aws-cdk-lib.aws_aps.CfnScraper.ScrapeConfigurationProperty",
|
|
802
900
|
jsii_struct_bases=[],
|
|
@@ -924,6 +1022,7 @@ class CfnScraper(
|
|
|
924
1022
|
"scrape_configuration": "scrapeConfiguration",
|
|
925
1023
|
"source": "source",
|
|
926
1024
|
"alias": "alias",
|
|
1025
|
+
"role_configuration": "roleConfiguration",
|
|
927
1026
|
"tags": "tags",
|
|
928
1027
|
},
|
|
929
1028
|
)
|
|
@@ -935,6 +1034,7 @@ class CfnScraperProps:
|
|
|
935
1034
|
scrape_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.ScrapeConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
936
1035
|
source: typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.SourceProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
937
1036
|
alias: typing.Optional[builtins.str] = None,
|
|
1037
|
+
role_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.RoleConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
938
1038
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
939
1039
|
) -> None:
|
|
940
1040
|
'''Properties for defining a ``CfnScraper``.
|
|
@@ -943,6 +1043,7 @@ class CfnScraperProps:
|
|
|
943
1043
|
:param scrape_configuration: The configuration in use by the scraper.
|
|
944
1044
|
:param source: The Amazon EKS cluster from which the scraper collects metrics.
|
|
945
1045
|
:param alias: An optional user-assigned scraper alias.
|
|
1046
|
+
:param role_configuration: Role configuration.
|
|
946
1047
|
:param tags: (Optional) The list of tag keys and values associated with the scraper.
|
|
947
1048
|
|
|
948
1049
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html
|
|
@@ -975,6 +1076,10 @@ class CfnScraperProps:
|
|
|
975
1076
|
|
|
976
1077
|
# the properties below are optional
|
|
977
1078
|
alias="alias",
|
|
1079
|
+
role_configuration=aps.CfnScraper.RoleConfigurationProperty(
|
|
1080
|
+
source_role_arn="sourceRoleArn",
|
|
1081
|
+
target_role_arn="targetRoleArn"
|
|
1082
|
+
),
|
|
978
1083
|
tags=[CfnTag(
|
|
979
1084
|
key="key",
|
|
980
1085
|
value="value"
|
|
@@ -987,6 +1092,7 @@ class CfnScraperProps:
|
|
|
987
1092
|
check_type(argname="argument scrape_configuration", value=scrape_configuration, expected_type=type_hints["scrape_configuration"])
|
|
988
1093
|
check_type(argname="argument source", value=source, expected_type=type_hints["source"])
|
|
989
1094
|
check_type(argname="argument alias", value=alias, expected_type=type_hints["alias"])
|
|
1095
|
+
check_type(argname="argument role_configuration", value=role_configuration, expected_type=type_hints["role_configuration"])
|
|
990
1096
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
991
1097
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
992
1098
|
"destination": destination,
|
|
@@ -995,6 +1101,8 @@ class CfnScraperProps:
|
|
|
995
1101
|
}
|
|
996
1102
|
if alias is not None:
|
|
997
1103
|
self._values["alias"] = alias
|
|
1104
|
+
if role_configuration is not None:
|
|
1105
|
+
self._values["role_configuration"] = role_configuration
|
|
998
1106
|
if tags is not None:
|
|
999
1107
|
self._values["tags"] = tags
|
|
1000
1108
|
|
|
@@ -1041,6 +1149,17 @@ class CfnScraperProps:
|
|
|
1041
1149
|
result = self._values.get("alias")
|
|
1042
1150
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1043
1151
|
|
|
1152
|
+
@builtins.property
|
|
1153
|
+
def role_configuration(
|
|
1154
|
+
self,
|
|
1155
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnScraper.RoleConfigurationProperty]]:
|
|
1156
|
+
'''Role configuration.
|
|
1157
|
+
|
|
1158
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html#cfn-aps-scraper-roleconfiguration
|
|
1159
|
+
'''
|
|
1160
|
+
result = self._values.get("role_configuration")
|
|
1161
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnScraper.RoleConfigurationProperty]], result)
|
|
1162
|
+
|
|
1044
1163
|
@builtins.property
|
|
1045
1164
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
1046
1165
|
'''(Optional) The list of tag keys and values associated with the scraper.
|
|
@@ -1546,6 +1665,7 @@ def _typecheckingstub__4d4cb1653b22b80f73c5fa4972418519c1d58f8ac033d22184f1b74ee
|
|
|
1546
1665
|
scrape_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.ScrapeConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1547
1666
|
source: typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.SourceProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1548
1667
|
alias: typing.Optional[builtins.str] = None,
|
|
1668
|
+
role_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.RoleConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1549
1669
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1550
1670
|
) -> None:
|
|
1551
1671
|
"""Type checking stubs"""
|
|
@@ -1587,6 +1707,12 @@ def _typecheckingstub__36b98e11e4ea8701c0469eb24a036fb1452c2573d264405f3d5237c10
|
|
|
1587
1707
|
"""Type checking stubs"""
|
|
1588
1708
|
pass
|
|
1589
1709
|
|
|
1710
|
+
def _typecheckingstub__a8492f7c00f66de3309f136730786a3ad81d27f787146130fdb2b6191464e92c(
|
|
1711
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnScraper.RoleConfigurationProperty]],
|
|
1712
|
+
) -> None:
|
|
1713
|
+
"""Type checking stubs"""
|
|
1714
|
+
pass
|
|
1715
|
+
|
|
1590
1716
|
def _typecheckingstub__265ada3fe1d3014c11a5af4d87c8e4b691d29a917e8643b804a82b7c3223573f(
|
|
1591
1717
|
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
1592
1718
|
) -> None:
|
|
@@ -1616,6 +1742,14 @@ def _typecheckingstub__d84c728405d664f762d3c86aae8f989f77a50273eb74e76dce90e3e03
|
|
|
1616
1742
|
"""Type checking stubs"""
|
|
1617
1743
|
pass
|
|
1618
1744
|
|
|
1745
|
+
def _typecheckingstub__86bf03aa28256ae3502c8e0745b810c6f1fe11b530f463788b7c7ffd32d996d1(
|
|
1746
|
+
*,
|
|
1747
|
+
source_role_arn: typing.Optional[builtins.str] = None,
|
|
1748
|
+
target_role_arn: typing.Optional[builtins.str] = None,
|
|
1749
|
+
) -> None:
|
|
1750
|
+
"""Type checking stubs"""
|
|
1751
|
+
pass
|
|
1752
|
+
|
|
1619
1753
|
def _typecheckingstub__61507a1463486662c27c8fec99a5cb181f22e5f346b7bb6d10823ad9b7102b72(
|
|
1620
1754
|
*,
|
|
1621
1755
|
configuration_blob: builtins.str,
|
|
@@ -1636,6 +1770,7 @@ def _typecheckingstub__f302dfc2aa92636b313e32f5d91a0ccfd79ebde0259b977f6291d4c83
|
|
|
1636
1770
|
scrape_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.ScrapeConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1637
1771
|
source: typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.SourceProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1638
1772
|
alias: typing.Optional[builtins.str] = None,
|
|
1773
|
+
role_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.RoleConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1639
1774
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1640
1775
|
) -> None:
|
|
1641
1776
|
"""Type checking stubs"""
|
aws_cdk/aws_athena/__init__.py
CHANGED
|
@@ -560,7 +560,7 @@ class CfnDataCatalog(
|
|
|
560
560
|
name: builtins.str,
|
|
561
561
|
type: builtins.str,
|
|
562
562
|
description: typing.Optional[builtins.str] = None,
|
|
563
|
-
parameters: typing.Optional[typing.Union[
|
|
563
|
+
parameters: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
564
564
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
565
565
|
) -> None:
|
|
566
566
|
'''
|
|
@@ -670,14 +670,14 @@ class CfnDataCatalog(
|
|
|
670
670
|
@jsii.member(jsii_name="parameters")
|
|
671
671
|
def parameters(
|
|
672
672
|
self,
|
|
673
|
-
) -> typing.Optional[typing.Union[
|
|
673
|
+
) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
|
|
674
674
|
'''Specifies the Lambda function or functions to use for the data catalog.'''
|
|
675
|
-
return typing.cast(typing.Optional[typing.Union[
|
|
675
|
+
return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], jsii.get(self, "parameters"))
|
|
676
676
|
|
|
677
677
|
@parameters.setter
|
|
678
678
|
def parameters(
|
|
679
679
|
self,
|
|
680
|
-
value: typing.Optional[typing.Union[
|
|
680
|
+
value: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]],
|
|
681
681
|
) -> None:
|
|
682
682
|
if __debug__:
|
|
683
683
|
type_hints = typing.get_type_hints(_typecheckingstub__2c7bec0cee9cc93380a50923dfa0015a801db986ded37e98f7318cd85af887ed)
|
|
@@ -716,7 +716,7 @@ class CfnDataCatalogProps:
|
|
|
716
716
|
name: builtins.str,
|
|
717
717
|
type: builtins.str,
|
|
718
718
|
description: typing.Optional[builtins.str] = None,
|
|
719
|
-
parameters: typing.Optional[typing.Union[
|
|
719
|
+
parameters: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
720
720
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
721
721
|
) -> None:
|
|
722
722
|
'''Properties for defining a ``CfnDataCatalog``.
|
|
@@ -803,7 +803,7 @@ class CfnDataCatalogProps:
|
|
|
803
803
|
@builtins.property
|
|
804
804
|
def parameters(
|
|
805
805
|
self,
|
|
806
|
-
) -> typing.Optional[typing.Union[
|
|
806
|
+
) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
|
|
807
807
|
'''Specifies the Lambda function or functions to use for the data catalog.
|
|
808
808
|
|
|
809
809
|
The mapping used depends on the catalog type.
|
|
@@ -830,7 +830,7 @@ class CfnDataCatalogProps:
|
|
|
830
830
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-datacatalog.html#cfn-athena-datacatalog-parameters
|
|
831
831
|
'''
|
|
832
832
|
result = self._values.get("parameters")
|
|
833
|
-
return typing.cast(typing.Optional[typing.Union[
|
|
833
|
+
return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], result)
|
|
834
834
|
|
|
835
835
|
@builtins.property
|
|
836
836
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
@@ -3142,7 +3142,7 @@ def _typecheckingstub__05023d61a95576869568bc095d9889b971a9d8c061cba5833a71f4423
|
|
|
3142
3142
|
name: builtins.str,
|
|
3143
3143
|
type: builtins.str,
|
|
3144
3144
|
description: typing.Optional[builtins.str] = None,
|
|
3145
|
-
parameters: typing.Optional[typing.Union[
|
|
3145
|
+
parameters: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
3146
3146
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3147
3147
|
) -> None:
|
|
3148
3148
|
"""Type checking stubs"""
|
|
@@ -3179,7 +3179,7 @@ def _typecheckingstub__da91751e350be071e1bcad20db12b8878ad53b907a7422a55f53fa395
|
|
|
3179
3179
|
pass
|
|
3180
3180
|
|
|
3181
3181
|
def _typecheckingstub__2c7bec0cee9cc93380a50923dfa0015a801db986ded37e98f7318cd85af887ed(
|
|
3182
|
-
value: typing.Optional[typing.Union[
|
|
3182
|
+
value: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]],
|
|
3183
3183
|
) -> None:
|
|
3184
3184
|
"""Type checking stubs"""
|
|
3185
3185
|
pass
|
|
@@ -3195,7 +3195,7 @@ def _typecheckingstub__d2151d2fd30be9f56cebbd5adb97d92e074856a6590b6970f5a1cb707
|
|
|
3195
3195
|
name: builtins.str,
|
|
3196
3196
|
type: builtins.str,
|
|
3197
3197
|
description: typing.Optional[builtins.str] = None,
|
|
3198
|
-
parameters: typing.Optional[typing.Union[
|
|
3198
|
+
parameters: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
3199
3199
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3200
3200
|
) -> None:
|
|
3201
3201
|
"""Type checking stubs"""
|
aws_cdk/aws_backup/__init__.py
CHANGED
|
@@ -2163,7 +2163,7 @@ class CfnBackupPlan(
|
|
|
2163
2163
|
copy_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBackupPlan.CopyActionResourceTypeProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2164
2164
|
enable_continuous_backup: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2165
2165
|
lifecycle: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBackupPlan.LifecycleResourceTypeProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2166
|
-
recovery_point_tags: typing.Optional[typing.Union[
|
|
2166
|
+
recovery_point_tags: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
2167
2167
|
schedule_expression: typing.Optional[builtins.str] = None,
|
|
2168
2168
|
schedule_expression_timezone: typing.Optional[builtins.str] = None,
|
|
2169
2169
|
start_window_minutes: typing.Optional[jsii.Number] = None,
|
|
@@ -2322,13 +2322,13 @@ class CfnBackupPlan(
|
|
|
2322
2322
|
@builtins.property
|
|
2323
2323
|
def recovery_point_tags(
|
|
2324
2324
|
self,
|
|
2325
|
-
) -> typing.Optional[typing.Union[
|
|
2325
|
+
) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
|
|
2326
2326
|
'''The tags to assign to the resources.
|
|
2327
2327
|
|
|
2328
2328
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-backupruleresourcetype.html#cfn-backup-backupplan-backupruleresourcetype-recoverypointtags
|
|
2329
2329
|
'''
|
|
2330
2330
|
result = self._values.get("recovery_point_tags")
|
|
2331
|
-
return typing.cast(typing.Optional[typing.Union[
|
|
2331
|
+
return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], result)
|
|
2332
2332
|
|
|
2333
2333
|
@builtins.property
|
|
2334
2334
|
def schedule_expression(self) -> typing.Optional[builtins.str]:
|
|
@@ -6286,7 +6286,7 @@ class CfnRestoreTestingSelection(
|
|
|
6286
6286
|
restore_testing_selection_name: builtins.str,
|
|
6287
6287
|
protected_resource_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
6288
6288
|
protected_resource_conditions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnRestoreTestingSelection.ProtectedResourceConditionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6289
|
-
restore_metadata_overrides: typing.Optional[typing.Union[
|
|
6289
|
+
restore_metadata_overrides: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
6290
6290
|
validation_window_hours: typing.Optional[jsii.Number] = None,
|
|
6291
6291
|
) -> None:
|
|
6292
6292
|
'''
|
|
@@ -6443,14 +6443,14 @@ class CfnRestoreTestingSelection(
|
|
|
6443
6443
|
@jsii.member(jsii_name="restoreMetadataOverrides")
|
|
6444
6444
|
def restore_metadata_overrides(
|
|
6445
6445
|
self,
|
|
6446
|
-
) -> typing.Optional[typing.Union[
|
|
6446
|
+
) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
|
|
6447
6447
|
'''You can override certain restore metadata keys by including the parameter ``RestoreMetadataOverrides`` in the body of ``RestoreTestingSelection`` .'''
|
|
6448
|
-
return typing.cast(typing.Optional[typing.Union[
|
|
6448
|
+
return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], jsii.get(self, "restoreMetadataOverrides"))
|
|
6449
6449
|
|
|
6450
6450
|
@restore_metadata_overrides.setter
|
|
6451
6451
|
def restore_metadata_overrides(
|
|
6452
6452
|
self,
|
|
6453
|
-
value: typing.Optional[typing.Union[
|
|
6453
|
+
value: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]],
|
|
6454
6454
|
) -> None:
|
|
6455
6455
|
if __debug__:
|
|
6456
6456
|
type_hints = typing.get_type_hints(_typecheckingstub__9afb00368be90e46cf02ec2498547553cd056db449734f0be5d5877e388c4af5)
|
|
@@ -6650,7 +6650,7 @@ class CfnRestoreTestingSelectionProps:
|
|
|
6650
6650
|
restore_testing_selection_name: builtins.str,
|
|
6651
6651
|
protected_resource_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
6652
6652
|
protected_resource_conditions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnRestoreTestingSelection.ProtectedResourceConditionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6653
|
-
restore_metadata_overrides: typing.Optional[typing.Union[
|
|
6653
|
+
restore_metadata_overrides: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
6654
6654
|
validation_window_hours: typing.Optional[jsii.Number] = None,
|
|
6655
6655
|
) -> None:
|
|
6656
6656
|
'''Properties for defining a ``CfnRestoreTestingSelection``.
|
|
@@ -6791,7 +6791,7 @@ class CfnRestoreTestingSelectionProps:
|
|
|
6791
6791
|
@builtins.property
|
|
6792
6792
|
def restore_metadata_overrides(
|
|
6793
6793
|
self,
|
|
6794
|
-
) -> typing.Optional[typing.Union[
|
|
6794
|
+
) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
|
|
6795
6795
|
'''You can override certain restore metadata keys by including the parameter ``RestoreMetadataOverrides`` in the body of ``RestoreTestingSelection`` .
|
|
6796
6796
|
|
|
6797
6797
|
Key values are not case sensitive.
|
|
@@ -6801,7 +6801,7 @@ class CfnRestoreTestingSelectionProps:
|
|
|
6801
6801
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-restoretestingselection.html#cfn-backup-restoretestingselection-restoremetadataoverrides
|
|
6802
6802
|
'''
|
|
6803
6803
|
result = self._values.get("restore_metadata_overrides")
|
|
6804
|
-
return typing.cast(typing.Optional[typing.Union[
|
|
6804
|
+
return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], result)
|
|
6805
6805
|
|
|
6806
6806
|
@builtins.property
|
|
6807
6807
|
def validation_window_hours(self) -> typing.Optional[jsii.Number]:
|
|
@@ -7804,7 +7804,7 @@ def _typecheckingstub__a15d5028e47f5757a8c2319a31ccf993bd398f0a4476991c75f1e1c3b
|
|
|
7804
7804
|
copy_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBackupPlan.CopyActionResourceTypeProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
7805
7805
|
enable_continuous_backup: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
7806
7806
|
lifecycle: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBackupPlan.LifecycleResourceTypeProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7807
|
-
recovery_point_tags: typing.Optional[typing.Union[
|
|
7807
|
+
recovery_point_tags: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
7808
7808
|
schedule_expression: typing.Optional[builtins.str] = None,
|
|
7809
7809
|
schedule_expression_timezone: typing.Optional[builtins.str] = None,
|
|
7810
7810
|
start_window_minutes: typing.Optional[jsii.Number] = None,
|
|
@@ -8364,7 +8364,7 @@ def _typecheckingstub__fcf5b783f910e19031573c45aeb82865ab4fa2145dd36242b383df442
|
|
|
8364
8364
|
restore_testing_selection_name: builtins.str,
|
|
8365
8365
|
protected_resource_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8366
8366
|
protected_resource_conditions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnRestoreTestingSelection.ProtectedResourceConditionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8367
|
-
restore_metadata_overrides: typing.Optional[typing.Union[
|
|
8367
|
+
restore_metadata_overrides: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
8368
8368
|
validation_window_hours: typing.Optional[jsii.Number] = None,
|
|
8369
8369
|
) -> None:
|
|
8370
8370
|
"""Type checking stubs"""
|
|
@@ -8419,7 +8419,7 @@ def _typecheckingstub__1bca09c3c518b6d44e5cb2086f38f9235f25ef7744e3c6cfba7d01b48
|
|
|
8419
8419
|
pass
|
|
8420
8420
|
|
|
8421
8421
|
def _typecheckingstub__9afb00368be90e46cf02ec2498547553cd056db449734f0be5d5877e388c4af5(
|
|
8422
|
-
value: typing.Optional[typing.Union[
|
|
8422
|
+
value: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]],
|
|
8423
8423
|
) -> None:
|
|
8424
8424
|
"""Type checking stubs"""
|
|
8425
8425
|
pass
|
|
@@ -8454,7 +8454,7 @@ def _typecheckingstub__fd755bb9b5c3f12e065d4bb10b1805bc3571946724f1d8f52794cc549
|
|
|
8454
8454
|
restore_testing_selection_name: builtins.str,
|
|
8455
8455
|
protected_resource_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8456
8456
|
protected_resource_conditions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnRestoreTestingSelection.ProtectedResourceConditionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8457
|
-
restore_metadata_overrides: typing.Optional[typing.Union[
|
|
8457
|
+
restore_metadata_overrides: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
8458
8458
|
validation_window_hours: typing.Optional[jsii.Number] = None,
|
|
8459
8459
|
) -> None:
|
|
8460
8460
|
"""Type checking stubs"""
|