aws-cdk-lib 2.156.0__py3-none-any.whl → 2.158.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 +42 -23
- aws_cdk/_jsii/__init__.py +17 -2
- aws_cdk/_jsii/{aws-cdk-lib@2.156.0.jsii.tgz → aws-cdk-lib@2.158.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +16 -1
- aws_cdk/assertions/__init__.py +16 -1
- aws_cdk/aws_accessanalyzer/__init__.py +16 -1
- aws_cdk/aws_acmpca/__init__.py +26 -76
- aws_cdk/aws_amazonmq/__init__.py +16 -1
- aws_cdk/aws_amplify/__init__.py +122 -1
- aws_cdk/aws_amplifyuibuilder/__init__.py +16 -1
- aws_cdk/aws_apigateway/__init__.py +16 -1
- aws_cdk/aws_apigatewayv2/__init__.py +97 -14
- aws_cdk/aws_apigatewayv2_authorizers/__init__.py +16 -1
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +16 -1
- aws_cdk/aws_appconfig/__init__.py +16 -1
- aws_cdk/aws_appflow/__init__.py +16 -1
- aws_cdk/aws_appintegrations/__init__.py +30 -15
- aws_cdk/aws_applicationautoscaling/__init__.py +16 -1
- aws_cdk/aws_applicationinsights/__init__.py +16 -1
- aws_cdk/aws_applicationsignals/__init__.py +766 -2
- aws_cdk/aws_appmesh/__init__.py +16 -1
- aws_cdk/aws_apprunner/__init__.py +16 -1
- aws_cdk/aws_appstream/__init__.py +16 -1
- aws_cdk/aws_appsync/__init__.py +66 -19
- aws_cdk/aws_apptest/__init__.py +16 -1
- aws_cdk/aws_aps/__init__.py +16 -1
- aws_cdk/aws_arczonalshift/__init__.py +16 -1
- aws_cdk/aws_athena/__init__.py +16 -1
- aws_cdk/aws_auditmanager/__init__.py +16 -1
- aws_cdk/aws_autoscaling/__init__.py +22 -7
- aws_cdk/aws_autoscaling_common/__init__.py +16 -1
- aws_cdk/aws_autoscaling_hooktargets/__init__.py +16 -1
- aws_cdk/aws_autoscalingplans/__init__.py +16 -1
- aws_cdk/aws_b2bi/__init__.py +16 -1
- aws_cdk/aws_backup/__init__.py +55 -1
- aws_cdk/aws_backupgateway/__init__.py +16 -1
- aws_cdk/aws_batch/__init__.py +57 -1
- aws_cdk/aws_bcmdataexports/__init__.py +16 -1
- aws_cdk/aws_bedrock/__init__.py +1529 -95
- aws_cdk/aws_billingconductor/__init__.py +16 -1
- aws_cdk/aws_budgets/__init__.py +16 -1
- aws_cdk/aws_cassandra/__init__.py +16 -1
- aws_cdk/aws_ce/__init__.py +16 -1
- aws_cdk/aws_certificatemanager/__init__.py +16 -1
- aws_cdk/aws_chatbot/__init__.py +22 -7
- aws_cdk/aws_cleanrooms/__init__.py +16 -1
- aws_cdk/aws_cleanroomsml/__init__.py +16 -1
- aws_cdk/aws_cloud9/__init__.py +16 -1
- aws_cdk/aws_cloudformation/__init__.py +38 -23
- aws_cdk/aws_cloudfront/__init__.py +16 -1
- aws_cdk/aws_cloudfront/experimental/__init__.py +46 -4
- aws_cdk/aws_cloudfront_origins/__init__.py +16 -1
- aws_cdk/aws_cloudtrail/__init__.py +16 -1
- aws_cdk/aws_cloudwatch/__init__.py +16 -1
- aws_cdk/aws_cloudwatch_actions/__init__.py +16 -1
- aws_cdk/aws_codeartifact/__init__.py +16 -1
- aws_cdk/aws_codebuild/__init__.py +16 -1
- aws_cdk/aws_codecommit/__init__.py +16 -1
- aws_cdk/aws_codeconnections/__init__.py +16 -1
- aws_cdk/aws_codedeploy/__init__.py +16 -1
- aws_cdk/aws_codeguruprofiler/__init__.py +16 -1
- aws_cdk/aws_codegurureviewer/__init__.py +16 -1
- aws_cdk/aws_codepipeline/__init__.py +16 -1
- aws_cdk/aws_codepipeline_actions/__init__.py +16 -1
- aws_cdk/aws_codestar/__init__.py +16 -1
- aws_cdk/aws_codestarconnections/__init__.py +16 -1
- aws_cdk/aws_codestarnotifications/__init__.py +16 -1
- aws_cdk/aws_cognito/__init__.py +16 -1
- aws_cdk/aws_comprehend/__init__.py +16 -1
- aws_cdk/aws_config/__init__.py +16 -1
- aws_cdk/aws_connect/__init__.py +16 -1
- aws_cdk/aws_connectcampaigns/__init__.py +16 -1
- aws_cdk/aws_controltower/__init__.py +16 -1
- aws_cdk/aws_cur/__init__.py +16 -1
- aws_cdk/aws_customerprofiles/__init__.py +16 -1
- aws_cdk/aws_databrew/__init__.py +16 -1
- aws_cdk/aws_datapipeline/__init__.py +16 -1
- aws_cdk/aws_datasync/__init__.py +56 -30
- aws_cdk/aws_datazone/__init__.py +16 -1
- aws_cdk/aws_dax/__init__.py +16 -1
- aws_cdk/aws_deadline/__init__.py +16 -1
- aws_cdk/aws_detective/__init__.py +16 -1
- aws_cdk/aws_devicefarm/__init__.py +16 -1
- aws_cdk/aws_devopsguru/__init__.py +16 -1
- aws_cdk/aws_directoryservice/__init__.py +16 -1
- aws_cdk/aws_dlm/__init__.py +16 -1
- aws_cdk/aws_dms/__init__.py +16 -1
- aws_cdk/aws_docdb/__init__.py +16 -1
- aws_cdk/aws_docdbelastic/__init__.py +16 -1
- aws_cdk/aws_dynamodb/__init__.py +16 -1
- aws_cdk/aws_ec2/__init__.py +389 -50
- aws_cdk/aws_ecr/__init__.py +16 -1
- aws_cdk/aws_ecr_assets/__init__.py +16 -1
- aws_cdk/aws_ecs/__init__.py +269 -88
- aws_cdk/aws_ecs_patterns/__init__.py +16 -1
- aws_cdk/aws_efs/__init__.py +16 -1
- aws_cdk/aws_eks/__init__.py +16 -1
- aws_cdk/aws_elasticache/__init__.py +16 -1
- aws_cdk/aws_elasticbeanstalk/__init__.py +16 -1
- aws_cdk/aws_elasticloadbalancing/__init__.py +16 -1
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +20 -5
- aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +16 -1
- aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +16 -1
- aws_cdk/aws_elasticsearch/__init__.py +16 -1
- aws_cdk/aws_emr/__init__.py +16 -1
- aws_cdk/aws_emrcontainers/__init__.py +16 -1
- aws_cdk/aws_emrserverless/__init__.py +16 -1
- aws_cdk/aws_entityresolution/__init__.py +133 -5
- aws_cdk/aws_events/__init__.py +16 -1
- aws_cdk/aws_events_targets/__init__.py +16 -1
- aws_cdk/aws_eventschemas/__init__.py +16 -1
- aws_cdk/aws_evidently/__init__.py +16 -1
- aws_cdk/aws_finspace/__init__.py +16 -1
- aws_cdk/aws_fis/__init__.py +16 -1
- aws_cdk/aws_fms/__init__.py +16 -1
- aws_cdk/aws_forecast/__init__.py +16 -1
- aws_cdk/aws_frauddetector/__init__.py +16 -1
- aws_cdk/aws_fsx/__init__.py +16 -1
- aws_cdk/aws_gamelift/__init__.py +16 -1
- aws_cdk/aws_globalaccelerator/__init__.py +16 -1
- aws_cdk/aws_globalaccelerator_endpoints/__init__.py +16 -1
- aws_cdk/aws_glue/__init__.py +16 -9
- aws_cdk/aws_grafana/__init__.py +16 -1
- aws_cdk/aws_greengrass/__init__.py +16 -1
- aws_cdk/aws_greengrassv2/__init__.py +16 -1
- aws_cdk/aws_groundstation/__init__.py +43 -17
- aws_cdk/aws_guardduty/__init__.py +42 -15
- aws_cdk/aws_healthimaging/__init__.py +16 -1
- aws_cdk/aws_healthlake/__init__.py +16 -1
- aws_cdk/aws_iam/__init__.py +16 -1
- aws_cdk/aws_identitystore/__init__.py +16 -1
- aws_cdk/aws_imagebuilder/__init__.py +16 -1
- aws_cdk/aws_inspector/__init__.py +16 -1
- aws_cdk/aws_inspectorv2/__init__.py +16 -1
- aws_cdk/aws_internetmonitor/__init__.py +16 -1
- aws_cdk/aws_iot/__init__.py +16 -1
- aws_cdk/aws_iot1click/__init__.py +16 -1
- aws_cdk/aws_iotanalytics/__init__.py +16 -1
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +16 -1
- aws_cdk/aws_iotevents/__init__.py +16 -1
- aws_cdk/aws_iotfleethub/__init__.py +16 -1
- aws_cdk/aws_iotfleetwise/__init__.py +124 -1
- aws_cdk/aws_iotsitewise/__init__.py +16 -1
- aws_cdk/aws_iotthingsgraph/__init__.py +16 -1
- aws_cdk/aws_iottwinmaker/__init__.py +16 -1
- aws_cdk/aws_iotwireless/__init__.py +16 -1
- aws_cdk/aws_ivs/__init__.py +16 -1
- aws_cdk/aws_ivschat/__init__.py +16 -1
- aws_cdk/aws_kafkaconnect/__init__.py +16 -1
- aws_cdk/aws_kendra/__init__.py +16 -1
- aws_cdk/aws_kendraranking/__init__.py +16 -1
- aws_cdk/aws_kinesis/__init__.py +16 -1
- aws_cdk/aws_kinesisanalytics/__init__.py +16 -1
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +16 -1
- aws_cdk/aws_kinesisfirehose/__init__.py +16 -1
- aws_cdk/aws_kinesisvideo/__init__.py +16 -1
- aws_cdk/aws_kms/__init__.py +16 -1
- aws_cdk/aws_lakeformation/__init__.py +16 -1
- aws_cdk/aws_lambda/__init__.py +163 -18
- aws_cdk/aws_lambda_destinations/__init__.py +16 -1
- aws_cdk/aws_lambda_event_sources/__init__.py +16 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +46 -4
- aws_cdk/aws_launchwizard/__init__.py +16 -1
- aws_cdk/aws_lex/__init__.py +16 -1
- aws_cdk/aws_licensemanager/__init__.py +16 -1
- aws_cdk/aws_lightsail/__init__.py +16 -1
- aws_cdk/aws_location/__init__.py +16 -1
- aws_cdk/aws_logs/__init__.py +16 -1
- aws_cdk/aws_logs_destinations/__init__.py +16 -1
- aws_cdk/aws_lookoutequipment/__init__.py +16 -1
- aws_cdk/aws_lookoutmetrics/__init__.py +16 -1
- aws_cdk/aws_lookoutvision/__init__.py +16 -1
- aws_cdk/aws_m2/__init__.py +16 -1
- aws_cdk/aws_macie/__init__.py +20 -5
- aws_cdk/aws_managedblockchain/__init__.py +16 -1
- aws_cdk/aws_mediaconnect/__init__.py +16 -1
- aws_cdk/aws_mediaconvert/__init__.py +16 -1
- aws_cdk/aws_medialive/__init__.py +364 -1
- aws_cdk/aws_mediapackage/__init__.py +16 -1
- aws_cdk/aws_mediapackagev2/__init__.py +54 -39
- aws_cdk/aws_mediastore/__init__.py +16 -1
- aws_cdk/aws_mediatailor/__init__.py +16 -1
- aws_cdk/aws_memorydb/__init__.py +16 -1
- aws_cdk/aws_msk/__init__.py +16 -1
- aws_cdk/aws_mwaa/__init__.py +16 -1
- aws_cdk/aws_neptune/__init__.py +30 -9
- aws_cdk/aws_neptunegraph/__init__.py +16 -1
- aws_cdk/aws_networkfirewall/__init__.py +16 -1
- aws_cdk/aws_networkmanager/__init__.py +16 -1
- aws_cdk/aws_nimblestudio/__init__.py +16 -1
- aws_cdk/aws_oam/__init__.py +16 -1
- aws_cdk/aws_omics/__init__.py +16 -1
- aws_cdk/aws_opensearchserverless/__init__.py +16 -1
- aws_cdk/aws_opensearchservice/__init__.py +210 -1
- aws_cdk/aws_opsworks/__init__.py +16 -1
- aws_cdk/aws_opsworkscm/__init__.py +16 -1
- aws_cdk/aws_organizations/__init__.py +16 -1
- aws_cdk/aws_osis/__init__.py +16 -1
- aws_cdk/aws_panorama/__init__.py +16 -1
- aws_cdk/aws_paymentcryptography/__init__.py +16 -1
- aws_cdk/aws_pcaconnectorad/__init__.py +16 -1
- aws_cdk/aws_pcaconnectorscep/__init__.py +899 -0
- aws_cdk/aws_personalize/__init__.py +18 -3
- aws_cdk/aws_pinpoint/__init__.py +16 -1
- aws_cdk/aws_pinpointemail/__init__.py +16 -1
- aws_cdk/aws_pipes/__init__.py +38 -23
- aws_cdk/aws_proton/__init__.py +16 -1
- aws_cdk/aws_qbusiness/__init__.py +691 -7
- aws_cdk/aws_qldb/__init__.py +16 -1
- aws_cdk/aws_quicksight/__init__.py +3301 -1
- aws_cdk/aws_ram/__init__.py +16 -1
- aws_cdk/aws_rds/__init__.py +58 -5
- aws_cdk/aws_redshift/__init__.py +16 -1
- aws_cdk/aws_redshiftserverless/__init__.py +16 -1
- aws_cdk/aws_refactorspaces/__init__.py +16 -1
- aws_cdk/aws_rekognition/__init__.py +16 -1
- aws_cdk/aws_resiliencehub/__init__.py +16 -1
- aws_cdk/aws_resourceexplorer2/__init__.py +16 -1
- aws_cdk/aws_resourcegroups/__init__.py +16 -1
- aws_cdk/aws_robomaker/__init__.py +16 -1
- aws_cdk/aws_rolesanywhere/__init__.py +16 -1
- aws_cdk/aws_route53/__init__.py +16 -1
- aws_cdk/aws_route53_patterns/__init__.py +16 -1
- aws_cdk/aws_route53_targets/__init__.py +16 -1
- aws_cdk/aws_route53profiles/__init__.py +16 -1
- aws_cdk/aws_route53recoverycontrol/__init__.py +16 -1
- aws_cdk/aws_route53recoveryreadiness/__init__.py +16 -1
- aws_cdk/aws_route53resolver/__init__.py +16 -1
- aws_cdk/aws_rum/__init__.py +16 -1
- aws_cdk/aws_s3/__init__.py +16 -1
- aws_cdk/aws_s3_assets/__init__.py +16 -1
- aws_cdk/aws_s3_deployment/__init__.py +16 -1
- aws_cdk/aws_s3_notifications/__init__.py +16 -1
- aws_cdk/aws_s3express/__init__.py +16 -1
- aws_cdk/aws_s3objectlambda/__init__.py +16 -1
- aws_cdk/aws_s3outposts/__init__.py +16 -1
- aws_cdk/aws_sagemaker/__init__.py +1183 -1
- aws_cdk/aws_sam/__init__.py +16 -1
- aws_cdk/aws_scheduler/__init__.py +16 -1
- aws_cdk/aws_sdb/__init__.py +16 -1
- aws_cdk/aws_secretsmanager/__init__.py +18 -4
- aws_cdk/aws_securityhub/__init__.py +124 -104
- aws_cdk/aws_securitylake/__init__.py +16 -1
- aws_cdk/aws_servicecatalog/__init__.py +16 -1
- aws_cdk/aws_servicecatalogappregistry/__init__.py +16 -1
- aws_cdk/aws_servicediscovery/__init__.py +16 -1
- aws_cdk/aws_ses/__init__.py +47 -1
- aws_cdk/aws_ses_actions/__init__.py +16 -1
- aws_cdk/aws_shield/__init__.py +16 -1
- aws_cdk/aws_signer/__init__.py +16 -1
- aws_cdk/aws_simspaceweaver/__init__.py +16 -1
- aws_cdk/aws_sns/__init__.py +35 -14
- aws_cdk/aws_sns_subscriptions/__init__.py +16 -1
- aws_cdk/aws_sqs/__init__.py +16 -1
- aws_cdk/aws_ssm/__init__.py +26 -7
- aws_cdk/aws_ssmcontacts/__init__.py +16 -1
- aws_cdk/aws_ssmincidents/__init__.py +16 -1
- aws_cdk/aws_ssmquicksetup/__init__.py +982 -0
- aws_cdk/aws_sso/__init__.py +16 -1
- aws_cdk/aws_stepfunctions/__init__.py +16 -1
- aws_cdk/aws_stepfunctions_tasks/__init__.py +20 -5
- aws_cdk/aws_supportapp/__init__.py +16 -1
- aws_cdk/aws_synthetics/__init__.py +16 -1
- aws_cdk/aws_systemsmanagersap/__init__.py +16 -1
- aws_cdk/aws_timestream/__init__.py +16 -1
- aws_cdk/aws_transfer/__init__.py +16 -1
- aws_cdk/aws_verifiedpermissions/__init__.py +16 -1
- aws_cdk/aws_voiceid/__init__.py +16 -1
- aws_cdk/aws_vpclattice/__init__.py +16 -1
- aws_cdk/aws_waf/__init__.py +16 -1
- aws_cdk/aws_wafregional/__init__.py +16 -1
- aws_cdk/aws_wafv2/__init__.py +16 -1
- aws_cdk/aws_wisdom/__init__.py +16 -1
- aws_cdk/aws_workspaces/__init__.py +16 -1
- aws_cdk/aws_workspacesthinclient/__init__.py +16 -1
- aws_cdk/aws_workspacesweb/__init__.py +16 -1
- aws_cdk/aws_xray/__init__.py +16 -1
- aws_cdk/cloud_assembly_schema/__init__.py +16 -1
- aws_cdk/cloudformation_include/__init__.py +16 -1
- aws_cdk/custom_resources/__init__.py +16 -1
- aws_cdk/cx_api/__init__.py +16 -1
- aws_cdk/lambda_layer_awscli/__init__.py +16 -1
- aws_cdk/lambda_layer_kubectl/__init__.py +16 -1
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +16 -1
- aws_cdk/pipelines/__init__.py +16 -1
- aws_cdk/region_info/__init__.py +16 -1
- aws_cdk/triggers/__init__.py +46 -4
- {aws_cdk_lib-2.156.0.dist-info → aws_cdk_lib-2.158.0.dist-info}/METADATA +5 -5
- {aws_cdk_lib-2.156.0.dist-info → aws_cdk_lib-2.158.0.dist-info}/NOTICE +27 -8
- aws_cdk_lib-2.158.0.dist-info/RECORD +294 -0
- aws_cdk_lib-2.156.0.dist-info/RECORD +0 -292
- {aws_cdk_lib-2.156.0.dist-info → aws_cdk_lib-2.158.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.156.0.dist-info → aws_cdk_lib-2.158.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.156.0.dist-info → aws_cdk_lib-2.158.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_amazonmq/__init__.py
CHANGED
|
@@ -38,7 +38,22 @@ import jsii
|
|
|
38
38
|
import publication
|
|
39
39
|
import typing_extensions
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
import typeguard
|
|
42
|
+
from importlib.metadata import version as _metadata_package_version
|
|
43
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
44
|
+
|
|
45
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
46
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
47
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
48
|
+
else:
|
|
49
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
50
|
+
pass
|
|
51
|
+
else:
|
|
52
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
53
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
54
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
55
|
+
else:
|
|
56
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
42
57
|
|
|
43
58
|
from .._jsii import *
|
|
44
59
|
|
aws_cdk/aws_amplify/__init__.py
CHANGED
|
@@ -43,7 +43,22 @@ import jsii
|
|
|
43
43
|
import publication
|
|
44
44
|
import typing_extensions
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
import typeguard
|
|
47
|
+
from importlib.metadata import version as _metadata_package_version
|
|
48
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
49
|
+
|
|
50
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
51
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
52
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
53
|
+
else:
|
|
54
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
55
|
+
pass
|
|
56
|
+
else:
|
|
57
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
58
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
59
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
60
|
+
else:
|
|
61
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
47
62
|
|
|
48
63
|
from .._jsii import *
|
|
49
64
|
|
|
@@ -110,6 +125,9 @@ class CfnApp(
|
|
|
110
125
|
username="username"
|
|
111
126
|
),
|
|
112
127
|
build_spec="buildSpec",
|
|
128
|
+
cache_config=amplify.CfnApp.CacheConfigProperty(
|
|
129
|
+
type="type"
|
|
130
|
+
),
|
|
113
131
|
custom_headers="customHeaders",
|
|
114
132
|
custom_rules=[amplify.CfnApp.CustomRuleProperty(
|
|
115
133
|
source="source",
|
|
@@ -146,6 +164,7 @@ class CfnApp(
|
|
|
146
164
|
auto_branch_creation_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApp.AutoBranchCreationConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
147
165
|
basic_auth_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApp.BasicAuthConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
148
166
|
build_spec: typing.Optional[builtins.str] = None,
|
|
167
|
+
cache_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApp.CacheConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
149
168
|
custom_headers: typing.Optional[builtins.str] = None,
|
|
150
169
|
custom_rules: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApp.CustomRuleProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
151
170
|
description: typing.Optional[builtins.str] = None,
|
|
@@ -165,6 +184,7 @@ class CfnApp(
|
|
|
165
184
|
:param auto_branch_creation_config: Sets the configuration for your automatic branch creation.
|
|
166
185
|
:param basic_auth_config: The credentials for basic authorization for an Amplify app. You must base64-encode the authorization credentials and provide them in the format ``user:password`` .
|
|
167
186
|
:param build_spec: The build specification (build spec) for an Amplify app.
|
|
187
|
+
:param cache_config:
|
|
168
188
|
:param custom_headers: The custom HTTP headers for an Amplify app.
|
|
169
189
|
:param custom_rules: The custom rewrite and redirect rules for an Amplify app.
|
|
170
190
|
:param description: The description of the Amplify app.
|
|
@@ -186,6 +206,7 @@ class CfnApp(
|
|
|
186
206
|
auto_branch_creation_config=auto_branch_creation_config,
|
|
187
207
|
basic_auth_config=basic_auth_config,
|
|
188
208
|
build_spec=build_spec,
|
|
209
|
+
cache_config=cache_config,
|
|
189
210
|
custom_headers=custom_headers,
|
|
190
211
|
custom_rules=custom_rules,
|
|
191
212
|
description=description,
|
|
@@ -352,6 +373,23 @@ class CfnApp(
|
|
|
352
373
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
353
374
|
jsii.set(self, "buildSpec", value) # pyright: ignore[reportArgumentType]
|
|
354
375
|
|
|
376
|
+
@builtins.property
|
|
377
|
+
@jsii.member(jsii_name="cacheConfig")
|
|
378
|
+
def cache_config(
|
|
379
|
+
self,
|
|
380
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApp.CacheConfigProperty"]]:
|
|
381
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApp.CacheConfigProperty"]], jsii.get(self, "cacheConfig"))
|
|
382
|
+
|
|
383
|
+
@cache_config.setter
|
|
384
|
+
def cache_config(
|
|
385
|
+
self,
|
|
386
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApp.CacheConfigProperty"]],
|
|
387
|
+
) -> None:
|
|
388
|
+
if __debug__:
|
|
389
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1e0b47cf174f09e141957cc84bc0f442ba70bbfa96a59aad74b66dab16335177)
|
|
390
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
391
|
+
jsii.set(self, "cacheConfig", value) # pyright: ignore[reportArgumentType]
|
|
392
|
+
|
|
355
393
|
@builtins.property
|
|
356
394
|
@jsii.member(jsii_name="customHeaders")
|
|
357
395
|
def custom_headers(self) -> typing.Optional[builtins.str]:
|
|
@@ -842,6 +880,55 @@ class CfnApp(
|
|
|
842
880
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
843
881
|
)
|
|
844
882
|
|
|
883
|
+
@jsii.data_type(
|
|
884
|
+
jsii_type="aws-cdk-lib.aws_amplify.CfnApp.CacheConfigProperty",
|
|
885
|
+
jsii_struct_bases=[],
|
|
886
|
+
name_mapping={"type": "type"},
|
|
887
|
+
)
|
|
888
|
+
class CacheConfigProperty:
|
|
889
|
+
def __init__(self, *, type: typing.Optional[builtins.str] = None) -> None:
|
|
890
|
+
'''
|
|
891
|
+
:param type:
|
|
892
|
+
|
|
893
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-cacheconfig.html
|
|
894
|
+
:exampleMetadata: fixture=_generated
|
|
895
|
+
|
|
896
|
+
Example::
|
|
897
|
+
|
|
898
|
+
# The code below shows an example of how to instantiate this type.
|
|
899
|
+
# The values are placeholders you should change.
|
|
900
|
+
from aws_cdk import aws_amplify as amplify
|
|
901
|
+
|
|
902
|
+
cache_config_property = amplify.CfnApp.CacheConfigProperty(
|
|
903
|
+
type="type"
|
|
904
|
+
)
|
|
905
|
+
'''
|
|
906
|
+
if __debug__:
|
|
907
|
+
type_hints = typing.get_type_hints(_typecheckingstub__28dc09b5ae7365b5ffa5ce3f2d7ac4209800260d1a02305b42bd567bd53fe0d0)
|
|
908
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
909
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
910
|
+
if type is not None:
|
|
911
|
+
self._values["type"] = type
|
|
912
|
+
|
|
913
|
+
@builtins.property
|
|
914
|
+
def type(self) -> typing.Optional[builtins.str]:
|
|
915
|
+
'''
|
|
916
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-cacheconfig.html#cfn-amplify-app-cacheconfig-type
|
|
917
|
+
'''
|
|
918
|
+
result = self._values.get("type")
|
|
919
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
920
|
+
|
|
921
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
922
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
923
|
+
|
|
924
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
925
|
+
return not (rhs == self)
|
|
926
|
+
|
|
927
|
+
def __repr__(self) -> str:
|
|
928
|
+
return "CacheConfigProperty(%s)" % ", ".join(
|
|
929
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
930
|
+
)
|
|
931
|
+
|
|
845
932
|
@jsii.data_type(
|
|
846
933
|
jsii_type="aws-cdk-lib.aws_amplify.CfnApp.CustomRuleProperty",
|
|
847
934
|
jsii_struct_bases=[],
|
|
@@ -1036,6 +1123,7 @@ class CfnApp(
|
|
|
1036
1123
|
"auto_branch_creation_config": "autoBranchCreationConfig",
|
|
1037
1124
|
"basic_auth_config": "basicAuthConfig",
|
|
1038
1125
|
"build_spec": "buildSpec",
|
|
1126
|
+
"cache_config": "cacheConfig",
|
|
1039
1127
|
"custom_headers": "customHeaders",
|
|
1040
1128
|
"custom_rules": "customRules",
|
|
1041
1129
|
"description": "description",
|
|
@@ -1057,6 +1145,7 @@ class CfnAppProps:
|
|
|
1057
1145
|
auto_branch_creation_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.AutoBranchCreationConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1058
1146
|
basic_auth_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.BasicAuthConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1059
1147
|
build_spec: typing.Optional[builtins.str] = None,
|
|
1148
|
+
cache_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.CacheConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1060
1149
|
custom_headers: typing.Optional[builtins.str] = None,
|
|
1061
1150
|
custom_rules: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.CustomRuleProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1062
1151
|
description: typing.Optional[builtins.str] = None,
|
|
@@ -1075,6 +1164,7 @@ class CfnAppProps:
|
|
|
1075
1164
|
:param auto_branch_creation_config: Sets the configuration for your automatic branch creation.
|
|
1076
1165
|
:param basic_auth_config: The credentials for basic authorization for an Amplify app. You must base64-encode the authorization credentials and provide them in the format ``user:password`` .
|
|
1077
1166
|
:param build_spec: The build specification (build spec) for an Amplify app.
|
|
1167
|
+
:param cache_config:
|
|
1078
1168
|
:param custom_headers: The custom HTTP headers for an Amplify app.
|
|
1079
1169
|
:param custom_rules: The custom rewrite and redirect rules for an Amplify app.
|
|
1080
1170
|
:param description: The description of the Amplify app.
|
|
@@ -1126,6 +1216,9 @@ class CfnAppProps:
|
|
|
1126
1216
|
username="username"
|
|
1127
1217
|
),
|
|
1128
1218
|
build_spec="buildSpec",
|
|
1219
|
+
cache_config=amplify.CfnApp.CacheConfigProperty(
|
|
1220
|
+
type="type"
|
|
1221
|
+
),
|
|
1129
1222
|
custom_headers="customHeaders",
|
|
1130
1223
|
custom_rules=[amplify.CfnApp.CustomRuleProperty(
|
|
1131
1224
|
source="source",
|
|
@@ -1158,6 +1251,7 @@ class CfnAppProps:
|
|
|
1158
1251
|
check_type(argname="argument auto_branch_creation_config", value=auto_branch_creation_config, expected_type=type_hints["auto_branch_creation_config"])
|
|
1159
1252
|
check_type(argname="argument basic_auth_config", value=basic_auth_config, expected_type=type_hints["basic_auth_config"])
|
|
1160
1253
|
check_type(argname="argument build_spec", value=build_spec, expected_type=type_hints["build_spec"])
|
|
1254
|
+
check_type(argname="argument cache_config", value=cache_config, expected_type=type_hints["cache_config"])
|
|
1161
1255
|
check_type(argname="argument custom_headers", value=custom_headers, expected_type=type_hints["custom_headers"])
|
|
1162
1256
|
check_type(argname="argument custom_rules", value=custom_rules, expected_type=type_hints["custom_rules"])
|
|
1163
1257
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
@@ -1179,6 +1273,8 @@ class CfnAppProps:
|
|
|
1179
1273
|
self._values["basic_auth_config"] = basic_auth_config
|
|
1180
1274
|
if build_spec is not None:
|
|
1181
1275
|
self._values["build_spec"] = build_spec
|
|
1276
|
+
if cache_config is not None:
|
|
1277
|
+
self._values["cache_config"] = cache_config
|
|
1182
1278
|
if custom_headers is not None:
|
|
1183
1279
|
self._values["custom_headers"] = custom_headers
|
|
1184
1280
|
if custom_rules is not None:
|
|
@@ -1260,6 +1356,16 @@ class CfnAppProps:
|
|
|
1260
1356
|
result = self._values.get("build_spec")
|
|
1261
1357
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1262
1358
|
|
|
1359
|
+
@builtins.property
|
|
1360
|
+
def cache_config(
|
|
1361
|
+
self,
|
|
1362
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApp.CacheConfigProperty]]:
|
|
1363
|
+
'''
|
|
1364
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-cacheconfig
|
|
1365
|
+
'''
|
|
1366
|
+
result = self._values.get("cache_config")
|
|
1367
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApp.CacheConfigProperty]], result)
|
|
1368
|
+
|
|
1263
1369
|
@builtins.property
|
|
1264
1370
|
def custom_headers(self) -> typing.Optional[builtins.str]:
|
|
1265
1371
|
'''The custom HTTP headers for an Amplify app.
|
|
@@ -3066,6 +3172,7 @@ def _typecheckingstub__8dc8d772047a068d22a76d907b344356448c6a26d23e419ed69cc622d
|
|
|
3066
3172
|
auto_branch_creation_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.AutoBranchCreationConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3067
3173
|
basic_auth_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.BasicAuthConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3068
3174
|
build_spec: typing.Optional[builtins.str] = None,
|
|
3175
|
+
cache_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.CacheConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3069
3176
|
custom_headers: typing.Optional[builtins.str] = None,
|
|
3070
3177
|
custom_rules: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.CustomRuleProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3071
3178
|
description: typing.Optional[builtins.str] = None,
|
|
@@ -3122,6 +3229,12 @@ def _typecheckingstub__f8d9c326dc2b610757cecc45608945b716d8ea6af4111bd656fb2927a
|
|
|
3122
3229
|
"""Type checking stubs"""
|
|
3123
3230
|
pass
|
|
3124
3231
|
|
|
3232
|
+
def _typecheckingstub__1e0b47cf174f09e141957cc84bc0f442ba70bbfa96a59aad74b66dab16335177(
|
|
3233
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApp.CacheConfigProperty]],
|
|
3234
|
+
) -> None:
|
|
3235
|
+
"""Type checking stubs"""
|
|
3236
|
+
pass
|
|
3237
|
+
|
|
3125
3238
|
def _typecheckingstub__623b6d97b6b1967c76a0782c9ba61b276ee5ff570dad9ab0003baf0626317805(
|
|
3126
3239
|
value: typing.Optional[builtins.str],
|
|
3127
3240
|
) -> None:
|
|
@@ -3208,6 +3321,13 @@ def _typecheckingstub__44bbd6c7457829d13279657590a4d74f5306d440e4549b9168c72df5c
|
|
|
3208
3321
|
"""Type checking stubs"""
|
|
3209
3322
|
pass
|
|
3210
3323
|
|
|
3324
|
+
def _typecheckingstub__28dc09b5ae7365b5ffa5ce3f2d7ac4209800260d1a02305b42bd567bd53fe0d0(
|
|
3325
|
+
*,
|
|
3326
|
+
type: typing.Optional[builtins.str] = None,
|
|
3327
|
+
) -> None:
|
|
3328
|
+
"""Type checking stubs"""
|
|
3329
|
+
pass
|
|
3330
|
+
|
|
3211
3331
|
def _typecheckingstub__ca2210b3c179b77af8d9da860b10e6e93aafae9d4e268f8999f6ce252c3f2363(
|
|
3212
3332
|
*,
|
|
3213
3333
|
source: builtins.str,
|
|
@@ -3233,6 +3353,7 @@ def _typecheckingstub__cfa8f09e6d42b5d6d1122d3e9214ec780302e9c3fda48d7ca044dd076
|
|
|
3233
3353
|
auto_branch_creation_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.AutoBranchCreationConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3234
3354
|
basic_auth_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.BasicAuthConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3235
3355
|
build_spec: typing.Optional[builtins.str] = None,
|
|
3356
|
+
cache_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.CacheConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3236
3357
|
custom_headers: typing.Optional[builtins.str] = None,
|
|
3237
3358
|
custom_rules: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.CustomRuleProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3238
3359
|
description: typing.Optional[builtins.str] = None,
|
|
@@ -38,7 +38,22 @@ import jsii
|
|
|
38
38
|
import publication
|
|
39
39
|
import typing_extensions
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
import typeguard
|
|
42
|
+
from importlib.metadata import version as _metadata_package_version
|
|
43
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
44
|
+
|
|
45
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
46
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
47
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
48
|
+
else:
|
|
49
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
50
|
+
pass
|
|
51
|
+
else:
|
|
52
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
53
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
54
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
55
|
+
else:
|
|
56
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
42
57
|
|
|
43
58
|
from .._jsii import *
|
|
44
59
|
|
|
@@ -1857,7 +1857,22 @@ import jsii
|
|
|
1857
1857
|
import publication
|
|
1858
1858
|
import typing_extensions
|
|
1859
1859
|
|
|
1860
|
-
|
|
1860
|
+
import typeguard
|
|
1861
|
+
from importlib.metadata import version as _metadata_package_version
|
|
1862
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
1863
|
+
|
|
1864
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
1865
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
1866
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
1867
|
+
else:
|
|
1868
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
1869
|
+
pass
|
|
1870
|
+
else:
|
|
1871
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
1872
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
1873
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
1874
|
+
else:
|
|
1875
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
1861
1876
|
|
|
1862
1877
|
from .._jsii import *
|
|
1863
1878
|
|
|
@@ -493,7 +493,22 @@ import jsii
|
|
|
493
493
|
import publication
|
|
494
494
|
import typing_extensions
|
|
495
495
|
|
|
496
|
-
|
|
496
|
+
import typeguard
|
|
497
|
+
from importlib.metadata import version as _metadata_package_version
|
|
498
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
499
|
+
|
|
500
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
501
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
502
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
503
|
+
else:
|
|
504
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
505
|
+
pass
|
|
506
|
+
else:
|
|
507
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
508
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
509
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
510
|
+
else:
|
|
511
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
497
512
|
|
|
498
513
|
from .._jsii import *
|
|
499
514
|
|
|
@@ -4583,6 +4598,15 @@ class CfnIntegration(
|
|
|
4583
4598
|
'''The CloudFormation resource type name for this resource class.'''
|
|
4584
4599
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
4585
4600
|
|
|
4601
|
+
@builtins.property
|
|
4602
|
+
@jsii.member(jsii_name="attrId")
|
|
4603
|
+
def attr_id(self) -> builtins.str:
|
|
4604
|
+
'''The identifier.
|
|
4605
|
+
|
|
4606
|
+
:cloudformationAttribute: Id
|
|
4607
|
+
'''
|
|
4608
|
+
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
4609
|
+
|
|
4586
4610
|
@builtins.property
|
|
4587
4611
|
@jsii.member(jsii_name="attrIntegrationId")
|
|
4588
4612
|
def attr_integration_id(self) -> builtins.str:
|
|
@@ -4900,6 +4924,66 @@ class CfnIntegration(
|
|
|
4900
4924
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
4901
4925
|
)
|
|
4902
4926
|
|
|
4927
|
+
@jsii.data_type(
|
|
4928
|
+
jsii_type="aws-cdk-lib.aws_apigatewayv2.CfnIntegration.ResponseParameterMapProperty",
|
|
4929
|
+
jsii_struct_bases=[],
|
|
4930
|
+
name_mapping={"response_parameters": "responseParameters"},
|
|
4931
|
+
)
|
|
4932
|
+
class ResponseParameterMapProperty:
|
|
4933
|
+
def __init__(
|
|
4934
|
+
self,
|
|
4935
|
+
*,
|
|
4936
|
+
response_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnIntegration.ResponseParameterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
4937
|
+
) -> None:
|
|
4938
|
+
'''map of response parameter lists.
|
|
4939
|
+
|
|
4940
|
+
:param response_parameters: list of response parameters.
|
|
4941
|
+
|
|
4942
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-responseparametermap.html
|
|
4943
|
+
:exampleMetadata: fixture=_generated
|
|
4944
|
+
|
|
4945
|
+
Example::
|
|
4946
|
+
|
|
4947
|
+
# The code below shows an example of how to instantiate this type.
|
|
4948
|
+
# The values are placeholders you should change.
|
|
4949
|
+
from aws_cdk import aws_apigatewayv2 as apigatewayv2
|
|
4950
|
+
|
|
4951
|
+
response_parameter_map_property = apigatewayv2.CfnIntegration.ResponseParameterMapProperty(
|
|
4952
|
+
response_parameters=[apigatewayv2.CfnIntegration.ResponseParameterProperty(
|
|
4953
|
+
destination="destination",
|
|
4954
|
+
source="source"
|
|
4955
|
+
)]
|
|
4956
|
+
)
|
|
4957
|
+
'''
|
|
4958
|
+
if __debug__:
|
|
4959
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a6cac6169061d7770be03694b0c77fa19c91e859b7716ba9e522ca5a666dec27)
|
|
4960
|
+
check_type(argname="argument response_parameters", value=response_parameters, expected_type=type_hints["response_parameters"])
|
|
4961
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
4962
|
+
if response_parameters is not None:
|
|
4963
|
+
self._values["response_parameters"] = response_parameters
|
|
4964
|
+
|
|
4965
|
+
@builtins.property
|
|
4966
|
+
def response_parameters(
|
|
4967
|
+
self,
|
|
4968
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnIntegration.ResponseParameterProperty"]]]]:
|
|
4969
|
+
'''list of response parameters.
|
|
4970
|
+
|
|
4971
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-responseparametermap.html#cfn-apigatewayv2-integration-responseparametermap-responseparameters
|
|
4972
|
+
'''
|
|
4973
|
+
result = self._values.get("response_parameters")
|
|
4974
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnIntegration.ResponseParameterProperty"]]]], result)
|
|
4975
|
+
|
|
4976
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4977
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4978
|
+
|
|
4979
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4980
|
+
return not (rhs == self)
|
|
4981
|
+
|
|
4982
|
+
def __repr__(self) -> str:
|
|
4983
|
+
return "ResponseParameterMapProperty(%s)" % ", ".join(
|
|
4984
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4985
|
+
)
|
|
4986
|
+
|
|
4903
4987
|
@jsii.data_type(
|
|
4904
4988
|
jsii_type="aws-cdk-lib.aws_apigatewayv2.CfnIntegration.ResponseParameterProperty",
|
|
4905
4989
|
jsii_struct_bases=[],
|
|
@@ -4912,12 +4996,10 @@ class CfnIntegration(
|
|
|
4912
4996
|
destination: typing.Optional[builtins.str] = None,
|
|
4913
4997
|
source: typing.Optional[builtins.str] = None,
|
|
4914
4998
|
) -> None:
|
|
4915
|
-
'''
|
|
4999
|
+
'''response parameter.
|
|
4916
5000
|
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
:param destination: Specifies the location of the response to modify, and how to modify it. To learn more, see `Transforming API requests and responses <https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html>`_ .
|
|
4920
|
-
:param source: Specifies the data to update the parameter with. To learn more, see `Transforming API requests and responses <https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html>`_ .
|
|
5001
|
+
:param destination:
|
|
5002
|
+
:param source:
|
|
4921
5003
|
|
|
4922
5004
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-responseparameter.html
|
|
4923
5005
|
:exampleMetadata: fixture=_generated
|
|
@@ -4945,10 +5027,7 @@ class CfnIntegration(
|
|
|
4945
5027
|
|
|
4946
5028
|
@builtins.property
|
|
4947
5029
|
def destination(self) -> typing.Optional[builtins.str]:
|
|
4948
|
-
'''
|
|
4949
|
-
|
|
4950
|
-
To learn more, see `Transforming API requests and responses <https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html>`_ .
|
|
4951
|
-
|
|
5030
|
+
'''
|
|
4952
5031
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-responseparameter.html#cfn-apigatewayv2-integration-responseparameter-destination
|
|
4953
5032
|
'''
|
|
4954
5033
|
result = self._values.get("destination")
|
|
@@ -4956,10 +5035,7 @@ class CfnIntegration(
|
|
|
4956
5035
|
|
|
4957
5036
|
@builtins.property
|
|
4958
5037
|
def source(self) -> typing.Optional[builtins.str]:
|
|
4959
|
-
'''
|
|
4960
|
-
|
|
4961
|
-
To learn more, see `Transforming API requests and responses <https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html>`_ .
|
|
4962
|
-
|
|
5038
|
+
'''
|
|
4963
5039
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-responseparameter.html#cfn-apigatewayv2-integration-responseparameter-source
|
|
4964
5040
|
'''
|
|
4965
5041
|
result = self._values.get("source")
|
|
@@ -19065,6 +19141,13 @@ def _typecheckingstub__3dbe4af6ef419f3fca35eeefa87a09cafa7177216b644e69571fe9d05
|
|
|
19065
19141
|
"""Type checking stubs"""
|
|
19066
19142
|
pass
|
|
19067
19143
|
|
|
19144
|
+
def _typecheckingstub__a6cac6169061d7770be03694b0c77fa19c91e859b7716ba9e522ca5a666dec27(
|
|
19145
|
+
*,
|
|
19146
|
+
response_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIntegration.ResponseParameterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
19147
|
+
) -> None:
|
|
19148
|
+
"""Type checking stubs"""
|
|
19149
|
+
pass
|
|
19150
|
+
|
|
19068
19151
|
def _typecheckingstub__fe5d304364e2ba9a1fee328297e69bcc2440350e01f210541d4decfd2aff9755(
|
|
19069
19152
|
*,
|
|
19070
19153
|
destination: typing.Optional[builtins.str] = None,
|
|
@@ -328,7 +328,22 @@ import jsii
|
|
|
328
328
|
import publication
|
|
329
329
|
import typing_extensions
|
|
330
330
|
|
|
331
|
-
|
|
331
|
+
import typeguard
|
|
332
|
+
from importlib.metadata import version as _metadata_package_version
|
|
333
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
334
|
+
|
|
335
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
336
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
337
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
338
|
+
else:
|
|
339
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
340
|
+
pass
|
|
341
|
+
else:
|
|
342
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
343
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
344
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
345
|
+
else:
|
|
346
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
332
347
|
|
|
333
348
|
from .._jsii import *
|
|
334
349
|
|
|
@@ -358,7 +358,22 @@ import jsii
|
|
|
358
358
|
import publication
|
|
359
359
|
import typing_extensions
|
|
360
360
|
|
|
361
|
-
|
|
361
|
+
import typeguard
|
|
362
|
+
from importlib.metadata import version as _metadata_package_version
|
|
363
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
364
|
+
|
|
365
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
366
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
367
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
368
|
+
else:
|
|
369
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
370
|
+
pass
|
|
371
|
+
else:
|
|
372
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
373
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
374
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
375
|
+
else:
|
|
376
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
362
377
|
|
|
363
378
|
from .._jsii import *
|
|
364
379
|
|
|
@@ -675,7 +675,22 @@ import jsii
|
|
|
675
675
|
import publication
|
|
676
676
|
import typing_extensions
|
|
677
677
|
|
|
678
|
-
|
|
678
|
+
import typeguard
|
|
679
|
+
from importlib.metadata import version as _metadata_package_version
|
|
680
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
681
|
+
|
|
682
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
683
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
684
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
685
|
+
else:
|
|
686
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
687
|
+
pass
|
|
688
|
+
else:
|
|
689
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
690
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
691
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
692
|
+
else:
|
|
693
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
679
694
|
|
|
680
695
|
from .._jsii import *
|
|
681
696
|
|
aws_cdk/aws_appflow/__init__.py
CHANGED
|
@@ -38,7 +38,22 @@ import jsii
|
|
|
38
38
|
import publication
|
|
39
39
|
import typing_extensions
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
import typeguard
|
|
42
|
+
from importlib.metadata import version as _metadata_package_version
|
|
43
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
44
|
+
|
|
45
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
46
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
47
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
48
|
+
else:
|
|
49
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
50
|
+
pass
|
|
51
|
+
else:
|
|
52
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
53
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
54
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
55
|
+
else:
|
|
56
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
42
57
|
|
|
43
58
|
from .._jsii import *
|
|
44
59
|
|