aws-cdk-lib 2.156.0__py3-none-any.whl → 2.157.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 +26 -22
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.156.0.jsii.tgz → aws-cdk-lib@2.157.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +10 -75
- aws_cdk/aws_amplify/__init__.py +106 -0
- aws_cdk/aws_apigatewayv2/__init__.py +81 -13
- aws_cdk/aws_appintegrations/__init__.py +14 -14
- aws_cdk/aws_applicationsignals/__init__.py +750 -1
- aws_cdk/aws_appsync/__init__.py +50 -18
- aws_cdk/aws_autoscaling/__init__.py +6 -6
- aws_cdk/aws_backup/__init__.py +39 -0
- aws_cdk/aws_batch/__init__.py +41 -0
- aws_cdk/aws_bedrock/__init__.py +1513 -94
- aws_cdk/aws_chatbot/__init__.py +6 -6
- aws_cdk/aws_cloudformation/__init__.py +22 -22
- aws_cdk/aws_cloudfront/experimental/__init__.py +30 -3
- aws_cdk/aws_datasync/__init__.py +40 -29
- aws_cdk/aws_ec2/__init__.py +373 -49
- aws_cdk/aws_ecs/__init__.py +253 -87
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +4 -4
- aws_cdk/aws_entityresolution/__init__.py +117 -4
- aws_cdk/aws_glue/__init__.py +0 -8
- aws_cdk/aws_groundstation/__init__.py +27 -16
- aws_cdk/aws_guardduty/__init__.py +26 -14
- aws_cdk/aws_iotfleetwise/__init__.py +108 -0
- aws_cdk/aws_lambda/__init__.py +147 -17
- aws_cdk/aws_lambda_nodejs/__init__.py +30 -3
- aws_cdk/aws_macie/__init__.py +4 -4
- aws_cdk/aws_medialive/__init__.py +348 -0
- aws_cdk/aws_mediapackagev2/__init__.py +38 -38
- aws_cdk/aws_neptune/__init__.py +14 -8
- aws_cdk/aws_opensearchservice/__init__.py +194 -0
- aws_cdk/aws_pcaconnectorscep/__init__.py +884 -0
- aws_cdk/aws_personalize/__init__.py +2 -2
- aws_cdk/aws_pipes/__init__.py +22 -22
- aws_cdk/aws_qbusiness/__init__.py +675 -6
- aws_cdk/aws_quicksight/__init__.py +3285 -0
- aws_cdk/aws_rds/__init__.py +18 -0
- aws_cdk/aws_sagemaker/__init__.py +1167 -0
- aws_cdk/aws_secretsmanager/__init__.py +2 -3
- aws_cdk/aws_securityhub/__init__.py +108 -103
- aws_cdk/aws_ses/__init__.py +31 -0
- aws_cdk/aws_sns/__init__.py +19 -13
- aws_cdk/aws_ssm/__init__.py +10 -6
- aws_cdk/aws_ssmquicksetup/__init__.py +967 -0
- aws_cdk/aws_stepfunctions_tasks/__init__.py +4 -4
- aws_cdk/triggers/__init__.py +30 -3
- {aws_cdk_lib-2.156.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.156.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/RECORD +53 -51
- {aws_cdk_lib-2.156.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.156.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.156.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.156.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_amplify/__init__.py
CHANGED
|
@@ -110,6 +110,9 @@ class CfnApp(
|
|
|
110
110
|
username="username"
|
|
111
111
|
),
|
|
112
112
|
build_spec="buildSpec",
|
|
113
|
+
cache_config=amplify.CfnApp.CacheConfigProperty(
|
|
114
|
+
type="type"
|
|
115
|
+
),
|
|
113
116
|
custom_headers="customHeaders",
|
|
114
117
|
custom_rules=[amplify.CfnApp.CustomRuleProperty(
|
|
115
118
|
source="source",
|
|
@@ -146,6 +149,7 @@ class CfnApp(
|
|
|
146
149
|
auto_branch_creation_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApp.AutoBranchCreationConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
147
150
|
basic_auth_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApp.BasicAuthConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
148
151
|
build_spec: typing.Optional[builtins.str] = None,
|
|
152
|
+
cache_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApp.CacheConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
149
153
|
custom_headers: typing.Optional[builtins.str] = None,
|
|
150
154
|
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
155
|
description: typing.Optional[builtins.str] = None,
|
|
@@ -165,6 +169,7 @@ class CfnApp(
|
|
|
165
169
|
:param auto_branch_creation_config: Sets the configuration for your automatic branch creation.
|
|
166
170
|
: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
171
|
:param build_spec: The build specification (build spec) for an Amplify app.
|
|
172
|
+
:param cache_config:
|
|
168
173
|
:param custom_headers: The custom HTTP headers for an Amplify app.
|
|
169
174
|
:param custom_rules: The custom rewrite and redirect rules for an Amplify app.
|
|
170
175
|
:param description: The description of the Amplify app.
|
|
@@ -186,6 +191,7 @@ class CfnApp(
|
|
|
186
191
|
auto_branch_creation_config=auto_branch_creation_config,
|
|
187
192
|
basic_auth_config=basic_auth_config,
|
|
188
193
|
build_spec=build_spec,
|
|
194
|
+
cache_config=cache_config,
|
|
189
195
|
custom_headers=custom_headers,
|
|
190
196
|
custom_rules=custom_rules,
|
|
191
197
|
description=description,
|
|
@@ -352,6 +358,23 @@ class CfnApp(
|
|
|
352
358
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
353
359
|
jsii.set(self, "buildSpec", value) # pyright: ignore[reportArgumentType]
|
|
354
360
|
|
|
361
|
+
@builtins.property
|
|
362
|
+
@jsii.member(jsii_name="cacheConfig")
|
|
363
|
+
def cache_config(
|
|
364
|
+
self,
|
|
365
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApp.CacheConfigProperty"]]:
|
|
366
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApp.CacheConfigProperty"]], jsii.get(self, "cacheConfig"))
|
|
367
|
+
|
|
368
|
+
@cache_config.setter
|
|
369
|
+
def cache_config(
|
|
370
|
+
self,
|
|
371
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApp.CacheConfigProperty"]],
|
|
372
|
+
) -> None:
|
|
373
|
+
if __debug__:
|
|
374
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1e0b47cf174f09e141957cc84bc0f442ba70bbfa96a59aad74b66dab16335177)
|
|
375
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
376
|
+
jsii.set(self, "cacheConfig", value) # pyright: ignore[reportArgumentType]
|
|
377
|
+
|
|
355
378
|
@builtins.property
|
|
356
379
|
@jsii.member(jsii_name="customHeaders")
|
|
357
380
|
def custom_headers(self) -> typing.Optional[builtins.str]:
|
|
@@ -842,6 +865,55 @@ class CfnApp(
|
|
|
842
865
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
843
866
|
)
|
|
844
867
|
|
|
868
|
+
@jsii.data_type(
|
|
869
|
+
jsii_type="aws-cdk-lib.aws_amplify.CfnApp.CacheConfigProperty",
|
|
870
|
+
jsii_struct_bases=[],
|
|
871
|
+
name_mapping={"type": "type"},
|
|
872
|
+
)
|
|
873
|
+
class CacheConfigProperty:
|
|
874
|
+
def __init__(self, *, type: typing.Optional[builtins.str] = None) -> None:
|
|
875
|
+
'''
|
|
876
|
+
:param type:
|
|
877
|
+
|
|
878
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-cacheconfig.html
|
|
879
|
+
:exampleMetadata: fixture=_generated
|
|
880
|
+
|
|
881
|
+
Example::
|
|
882
|
+
|
|
883
|
+
# The code below shows an example of how to instantiate this type.
|
|
884
|
+
# The values are placeholders you should change.
|
|
885
|
+
from aws_cdk import aws_amplify as amplify
|
|
886
|
+
|
|
887
|
+
cache_config_property = amplify.CfnApp.CacheConfigProperty(
|
|
888
|
+
type="type"
|
|
889
|
+
)
|
|
890
|
+
'''
|
|
891
|
+
if __debug__:
|
|
892
|
+
type_hints = typing.get_type_hints(_typecheckingstub__28dc09b5ae7365b5ffa5ce3f2d7ac4209800260d1a02305b42bd567bd53fe0d0)
|
|
893
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
894
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
895
|
+
if type is not None:
|
|
896
|
+
self._values["type"] = type
|
|
897
|
+
|
|
898
|
+
@builtins.property
|
|
899
|
+
def type(self) -> typing.Optional[builtins.str]:
|
|
900
|
+
'''
|
|
901
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-cacheconfig.html#cfn-amplify-app-cacheconfig-type
|
|
902
|
+
'''
|
|
903
|
+
result = self._values.get("type")
|
|
904
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
905
|
+
|
|
906
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
907
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
908
|
+
|
|
909
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
910
|
+
return not (rhs == self)
|
|
911
|
+
|
|
912
|
+
def __repr__(self) -> str:
|
|
913
|
+
return "CacheConfigProperty(%s)" % ", ".join(
|
|
914
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
915
|
+
)
|
|
916
|
+
|
|
845
917
|
@jsii.data_type(
|
|
846
918
|
jsii_type="aws-cdk-lib.aws_amplify.CfnApp.CustomRuleProperty",
|
|
847
919
|
jsii_struct_bases=[],
|
|
@@ -1036,6 +1108,7 @@ class CfnApp(
|
|
|
1036
1108
|
"auto_branch_creation_config": "autoBranchCreationConfig",
|
|
1037
1109
|
"basic_auth_config": "basicAuthConfig",
|
|
1038
1110
|
"build_spec": "buildSpec",
|
|
1111
|
+
"cache_config": "cacheConfig",
|
|
1039
1112
|
"custom_headers": "customHeaders",
|
|
1040
1113
|
"custom_rules": "customRules",
|
|
1041
1114
|
"description": "description",
|
|
@@ -1057,6 +1130,7 @@ class CfnAppProps:
|
|
|
1057
1130
|
auto_branch_creation_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.AutoBranchCreationConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1058
1131
|
basic_auth_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.BasicAuthConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1059
1132
|
build_spec: typing.Optional[builtins.str] = None,
|
|
1133
|
+
cache_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.CacheConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1060
1134
|
custom_headers: typing.Optional[builtins.str] = None,
|
|
1061
1135
|
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
1136
|
description: typing.Optional[builtins.str] = None,
|
|
@@ -1075,6 +1149,7 @@ class CfnAppProps:
|
|
|
1075
1149
|
:param auto_branch_creation_config: Sets the configuration for your automatic branch creation.
|
|
1076
1150
|
: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
1151
|
:param build_spec: The build specification (build spec) for an Amplify app.
|
|
1152
|
+
:param cache_config:
|
|
1078
1153
|
:param custom_headers: The custom HTTP headers for an Amplify app.
|
|
1079
1154
|
:param custom_rules: The custom rewrite and redirect rules for an Amplify app.
|
|
1080
1155
|
:param description: The description of the Amplify app.
|
|
@@ -1126,6 +1201,9 @@ class CfnAppProps:
|
|
|
1126
1201
|
username="username"
|
|
1127
1202
|
),
|
|
1128
1203
|
build_spec="buildSpec",
|
|
1204
|
+
cache_config=amplify.CfnApp.CacheConfigProperty(
|
|
1205
|
+
type="type"
|
|
1206
|
+
),
|
|
1129
1207
|
custom_headers="customHeaders",
|
|
1130
1208
|
custom_rules=[amplify.CfnApp.CustomRuleProperty(
|
|
1131
1209
|
source="source",
|
|
@@ -1158,6 +1236,7 @@ class CfnAppProps:
|
|
|
1158
1236
|
check_type(argname="argument auto_branch_creation_config", value=auto_branch_creation_config, expected_type=type_hints["auto_branch_creation_config"])
|
|
1159
1237
|
check_type(argname="argument basic_auth_config", value=basic_auth_config, expected_type=type_hints["basic_auth_config"])
|
|
1160
1238
|
check_type(argname="argument build_spec", value=build_spec, expected_type=type_hints["build_spec"])
|
|
1239
|
+
check_type(argname="argument cache_config", value=cache_config, expected_type=type_hints["cache_config"])
|
|
1161
1240
|
check_type(argname="argument custom_headers", value=custom_headers, expected_type=type_hints["custom_headers"])
|
|
1162
1241
|
check_type(argname="argument custom_rules", value=custom_rules, expected_type=type_hints["custom_rules"])
|
|
1163
1242
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
@@ -1179,6 +1258,8 @@ class CfnAppProps:
|
|
|
1179
1258
|
self._values["basic_auth_config"] = basic_auth_config
|
|
1180
1259
|
if build_spec is not None:
|
|
1181
1260
|
self._values["build_spec"] = build_spec
|
|
1261
|
+
if cache_config is not None:
|
|
1262
|
+
self._values["cache_config"] = cache_config
|
|
1182
1263
|
if custom_headers is not None:
|
|
1183
1264
|
self._values["custom_headers"] = custom_headers
|
|
1184
1265
|
if custom_rules is not None:
|
|
@@ -1260,6 +1341,16 @@ class CfnAppProps:
|
|
|
1260
1341
|
result = self._values.get("build_spec")
|
|
1261
1342
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1262
1343
|
|
|
1344
|
+
@builtins.property
|
|
1345
|
+
def cache_config(
|
|
1346
|
+
self,
|
|
1347
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApp.CacheConfigProperty]]:
|
|
1348
|
+
'''
|
|
1349
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-cacheconfig
|
|
1350
|
+
'''
|
|
1351
|
+
result = self._values.get("cache_config")
|
|
1352
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApp.CacheConfigProperty]], result)
|
|
1353
|
+
|
|
1263
1354
|
@builtins.property
|
|
1264
1355
|
def custom_headers(self) -> typing.Optional[builtins.str]:
|
|
1265
1356
|
'''The custom HTTP headers for an Amplify app.
|
|
@@ -3066,6 +3157,7 @@ def _typecheckingstub__8dc8d772047a068d22a76d907b344356448c6a26d23e419ed69cc622d
|
|
|
3066
3157
|
auto_branch_creation_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.AutoBranchCreationConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3067
3158
|
basic_auth_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.BasicAuthConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3068
3159
|
build_spec: typing.Optional[builtins.str] = None,
|
|
3160
|
+
cache_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.CacheConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3069
3161
|
custom_headers: typing.Optional[builtins.str] = None,
|
|
3070
3162
|
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
3163
|
description: typing.Optional[builtins.str] = None,
|
|
@@ -3122,6 +3214,12 @@ def _typecheckingstub__f8d9c326dc2b610757cecc45608945b716d8ea6af4111bd656fb2927a
|
|
|
3122
3214
|
"""Type checking stubs"""
|
|
3123
3215
|
pass
|
|
3124
3216
|
|
|
3217
|
+
def _typecheckingstub__1e0b47cf174f09e141957cc84bc0f442ba70bbfa96a59aad74b66dab16335177(
|
|
3218
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApp.CacheConfigProperty]],
|
|
3219
|
+
) -> None:
|
|
3220
|
+
"""Type checking stubs"""
|
|
3221
|
+
pass
|
|
3222
|
+
|
|
3125
3223
|
def _typecheckingstub__623b6d97b6b1967c76a0782c9ba61b276ee5ff570dad9ab0003baf0626317805(
|
|
3126
3224
|
value: typing.Optional[builtins.str],
|
|
3127
3225
|
) -> None:
|
|
@@ -3208,6 +3306,13 @@ def _typecheckingstub__44bbd6c7457829d13279657590a4d74f5306d440e4549b9168c72df5c
|
|
|
3208
3306
|
"""Type checking stubs"""
|
|
3209
3307
|
pass
|
|
3210
3308
|
|
|
3309
|
+
def _typecheckingstub__28dc09b5ae7365b5ffa5ce3f2d7ac4209800260d1a02305b42bd567bd53fe0d0(
|
|
3310
|
+
*,
|
|
3311
|
+
type: typing.Optional[builtins.str] = None,
|
|
3312
|
+
) -> None:
|
|
3313
|
+
"""Type checking stubs"""
|
|
3314
|
+
pass
|
|
3315
|
+
|
|
3211
3316
|
def _typecheckingstub__ca2210b3c179b77af8d9da860b10e6e93aafae9d4e268f8999f6ce252c3f2363(
|
|
3212
3317
|
*,
|
|
3213
3318
|
source: builtins.str,
|
|
@@ -3233,6 +3338,7 @@ def _typecheckingstub__cfa8f09e6d42b5d6d1122d3e9214ec780302e9c3fda48d7ca044dd076
|
|
|
3233
3338
|
auto_branch_creation_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.AutoBranchCreationConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3234
3339
|
basic_auth_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.BasicAuthConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3235
3340
|
build_spec: typing.Optional[builtins.str] = None,
|
|
3341
|
+
cache_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.CacheConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3236
3342
|
custom_headers: typing.Optional[builtins.str] = None,
|
|
3237
3343
|
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
3344
|
description: typing.Optional[builtins.str] = None,
|
|
@@ -4583,6 +4583,15 @@ class CfnIntegration(
|
|
|
4583
4583
|
'''The CloudFormation resource type name for this resource class.'''
|
|
4584
4584
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
4585
4585
|
|
|
4586
|
+
@builtins.property
|
|
4587
|
+
@jsii.member(jsii_name="attrId")
|
|
4588
|
+
def attr_id(self) -> builtins.str:
|
|
4589
|
+
'''The identifier.
|
|
4590
|
+
|
|
4591
|
+
:cloudformationAttribute: Id
|
|
4592
|
+
'''
|
|
4593
|
+
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
4594
|
+
|
|
4586
4595
|
@builtins.property
|
|
4587
4596
|
@jsii.member(jsii_name="attrIntegrationId")
|
|
4588
4597
|
def attr_integration_id(self) -> builtins.str:
|
|
@@ -4900,6 +4909,66 @@ class CfnIntegration(
|
|
|
4900
4909
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
4901
4910
|
)
|
|
4902
4911
|
|
|
4912
|
+
@jsii.data_type(
|
|
4913
|
+
jsii_type="aws-cdk-lib.aws_apigatewayv2.CfnIntegration.ResponseParameterMapProperty",
|
|
4914
|
+
jsii_struct_bases=[],
|
|
4915
|
+
name_mapping={"response_parameters": "responseParameters"},
|
|
4916
|
+
)
|
|
4917
|
+
class ResponseParameterMapProperty:
|
|
4918
|
+
def __init__(
|
|
4919
|
+
self,
|
|
4920
|
+
*,
|
|
4921
|
+
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,
|
|
4922
|
+
) -> None:
|
|
4923
|
+
'''map of response parameter lists.
|
|
4924
|
+
|
|
4925
|
+
:param response_parameters: list of response parameters.
|
|
4926
|
+
|
|
4927
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-responseparametermap.html
|
|
4928
|
+
:exampleMetadata: fixture=_generated
|
|
4929
|
+
|
|
4930
|
+
Example::
|
|
4931
|
+
|
|
4932
|
+
# The code below shows an example of how to instantiate this type.
|
|
4933
|
+
# The values are placeholders you should change.
|
|
4934
|
+
from aws_cdk import aws_apigatewayv2 as apigatewayv2
|
|
4935
|
+
|
|
4936
|
+
response_parameter_map_property = apigatewayv2.CfnIntegration.ResponseParameterMapProperty(
|
|
4937
|
+
response_parameters=[apigatewayv2.CfnIntegration.ResponseParameterProperty(
|
|
4938
|
+
destination="destination",
|
|
4939
|
+
source="source"
|
|
4940
|
+
)]
|
|
4941
|
+
)
|
|
4942
|
+
'''
|
|
4943
|
+
if __debug__:
|
|
4944
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a6cac6169061d7770be03694b0c77fa19c91e859b7716ba9e522ca5a666dec27)
|
|
4945
|
+
check_type(argname="argument response_parameters", value=response_parameters, expected_type=type_hints["response_parameters"])
|
|
4946
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
4947
|
+
if response_parameters is not None:
|
|
4948
|
+
self._values["response_parameters"] = response_parameters
|
|
4949
|
+
|
|
4950
|
+
@builtins.property
|
|
4951
|
+
def response_parameters(
|
|
4952
|
+
self,
|
|
4953
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnIntegration.ResponseParameterProperty"]]]]:
|
|
4954
|
+
'''list of response parameters.
|
|
4955
|
+
|
|
4956
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-responseparametermap.html#cfn-apigatewayv2-integration-responseparametermap-responseparameters
|
|
4957
|
+
'''
|
|
4958
|
+
result = self._values.get("response_parameters")
|
|
4959
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnIntegration.ResponseParameterProperty"]]]], result)
|
|
4960
|
+
|
|
4961
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4962
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4963
|
+
|
|
4964
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4965
|
+
return not (rhs == self)
|
|
4966
|
+
|
|
4967
|
+
def __repr__(self) -> str:
|
|
4968
|
+
return "ResponseParameterMapProperty(%s)" % ", ".join(
|
|
4969
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4970
|
+
)
|
|
4971
|
+
|
|
4903
4972
|
@jsii.data_type(
|
|
4904
4973
|
jsii_type="aws-cdk-lib.aws_apigatewayv2.CfnIntegration.ResponseParameterProperty",
|
|
4905
4974
|
jsii_struct_bases=[],
|
|
@@ -4912,12 +4981,10 @@ class CfnIntegration(
|
|
|
4912
4981
|
destination: typing.Optional[builtins.str] = None,
|
|
4913
4982
|
source: typing.Optional[builtins.str] = None,
|
|
4914
4983
|
) -> None:
|
|
4915
|
-
'''
|
|
4984
|
+
'''response parameter.
|
|
4916
4985
|
|
|
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>`_ .
|
|
4986
|
+
:param destination:
|
|
4987
|
+
:param source:
|
|
4921
4988
|
|
|
4922
4989
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-responseparameter.html
|
|
4923
4990
|
:exampleMetadata: fixture=_generated
|
|
@@ -4945,10 +5012,7 @@ class CfnIntegration(
|
|
|
4945
5012
|
|
|
4946
5013
|
@builtins.property
|
|
4947
5014
|
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
|
-
|
|
5015
|
+
'''
|
|
4952
5016
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-responseparameter.html#cfn-apigatewayv2-integration-responseparameter-destination
|
|
4953
5017
|
'''
|
|
4954
5018
|
result = self._values.get("destination")
|
|
@@ -4956,10 +5020,7 @@ class CfnIntegration(
|
|
|
4956
5020
|
|
|
4957
5021
|
@builtins.property
|
|
4958
5022
|
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
|
-
|
|
5023
|
+
'''
|
|
4963
5024
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-responseparameter.html#cfn-apigatewayv2-integration-responseparameter-source
|
|
4964
5025
|
'''
|
|
4965
5026
|
result = self._values.get("source")
|
|
@@ -19065,6 +19126,13 @@ def _typecheckingstub__3dbe4af6ef419f3fca35eeefa87a09cafa7177216b644e69571fe9d05
|
|
|
19065
19126
|
"""Type checking stubs"""
|
|
19066
19127
|
pass
|
|
19067
19128
|
|
|
19129
|
+
def _typecheckingstub__a6cac6169061d7770be03694b0c77fa19c91e859b7716ba9e522ca5a666dec27(
|
|
19130
|
+
*,
|
|
19131
|
+
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,
|
|
19132
|
+
) -> None:
|
|
19133
|
+
"""Type checking stubs"""
|
|
19134
|
+
pass
|
|
19135
|
+
|
|
19068
19136
|
def _typecheckingstub__fe5d304364e2ba9a1fee328297e69bcc2440350e01f210541d4decfd2aff9755(
|
|
19069
19137
|
*,
|
|
19070
19138
|
destination: typing.Optional[builtins.str] = None,
|
|
@@ -84,9 +84,9 @@ class CfnApplication(
|
|
|
84
84
|
),
|
|
85
85
|
description="description",
|
|
86
86
|
name="name",
|
|
87
|
+
namespace="namespace",
|
|
87
88
|
|
|
88
89
|
# the properties below are optional
|
|
89
|
-
namespace="namespace",
|
|
90
90
|
permissions=["permissions"],
|
|
91
91
|
tags=[CfnTag(
|
|
92
92
|
key="key",
|
|
@@ -103,7 +103,7 @@ class CfnApplication(
|
|
|
103
103
|
application_source_config: typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.ApplicationSourceConfigProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
104
104
|
description: builtins.str,
|
|
105
105
|
name: builtins.str,
|
|
106
|
-
namespace:
|
|
106
|
+
namespace: builtins.str,
|
|
107
107
|
permissions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
108
108
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
109
109
|
) -> None:
|
|
@@ -237,12 +237,12 @@ class CfnApplication(
|
|
|
237
237
|
|
|
238
238
|
@builtins.property
|
|
239
239
|
@jsii.member(jsii_name="namespace")
|
|
240
|
-
def namespace(self) ->
|
|
240
|
+
def namespace(self) -> builtins.str:
|
|
241
241
|
'''The namespace of the application.'''
|
|
242
|
-
return typing.cast(
|
|
242
|
+
return typing.cast(builtins.str, jsii.get(self, "namespace"))
|
|
243
243
|
|
|
244
244
|
@namespace.setter
|
|
245
|
-
def namespace(self, value:
|
|
245
|
+
def namespace(self, value: builtins.str) -> None:
|
|
246
246
|
if __debug__:
|
|
247
247
|
type_hints = typing.get_type_hints(_typecheckingstub__c1133ff0df5163630ae65aa9c2ffa87e2e0db4c7e7d6a197c3a256bd17cc3a45)
|
|
248
248
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
@@ -433,7 +433,7 @@ class CfnApplicationProps:
|
|
|
433
433
|
application_source_config: typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.ApplicationSourceConfigProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
434
434
|
description: builtins.str,
|
|
435
435
|
name: builtins.str,
|
|
436
|
-
namespace:
|
|
436
|
+
namespace: builtins.str,
|
|
437
437
|
permissions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
438
438
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
439
439
|
) -> None:
|
|
@@ -466,9 +466,9 @@ class CfnApplicationProps:
|
|
|
466
466
|
),
|
|
467
467
|
description="description",
|
|
468
468
|
name="name",
|
|
469
|
+
namespace="namespace",
|
|
469
470
|
|
|
470
471
|
# the properties below are optional
|
|
471
|
-
namespace="namespace",
|
|
472
472
|
permissions=["permissions"],
|
|
473
473
|
tags=[CfnTag(
|
|
474
474
|
key="key",
|
|
@@ -488,9 +488,8 @@ class CfnApplicationProps:
|
|
|
488
488
|
"application_source_config": application_source_config,
|
|
489
489
|
"description": description,
|
|
490
490
|
"name": name,
|
|
491
|
+
"namespace": namespace,
|
|
491
492
|
}
|
|
492
|
-
if namespace is not None:
|
|
493
|
-
self._values["namespace"] = namespace
|
|
494
493
|
if permissions is not None:
|
|
495
494
|
self._values["permissions"] = permissions
|
|
496
495
|
if tags is not None:
|
|
@@ -529,13 +528,14 @@ class CfnApplicationProps:
|
|
|
529
528
|
return typing.cast(builtins.str, result)
|
|
530
529
|
|
|
531
530
|
@builtins.property
|
|
532
|
-
def namespace(self) ->
|
|
531
|
+
def namespace(self) -> builtins.str:
|
|
533
532
|
'''The namespace of the application.
|
|
534
533
|
|
|
535
534
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appintegrations-application.html#cfn-appintegrations-application-namespace
|
|
536
535
|
'''
|
|
537
536
|
result = self._values.get("namespace")
|
|
538
|
-
|
|
537
|
+
assert result is not None, "Required property 'namespace' is missing"
|
|
538
|
+
return typing.cast(builtins.str, result)
|
|
539
539
|
|
|
540
540
|
@builtins.property
|
|
541
541
|
def permissions(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
@@ -1593,7 +1593,7 @@ def _typecheckingstub__2c1bbb1e03e672595eb80bdb7dcb70bb6e71fccf39633133ee8a5b86b
|
|
|
1593
1593
|
application_source_config: typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.ApplicationSourceConfigProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1594
1594
|
description: builtins.str,
|
|
1595
1595
|
name: builtins.str,
|
|
1596
|
-
namespace:
|
|
1596
|
+
namespace: builtins.str,
|
|
1597
1597
|
permissions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1598
1598
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1599
1599
|
) -> None:
|
|
@@ -1631,7 +1631,7 @@ def _typecheckingstub__416a93fef610e4b348e491404913fee978fabfb7d56f70287417ddc54
|
|
|
1631
1631
|
pass
|
|
1632
1632
|
|
|
1633
1633
|
def _typecheckingstub__c1133ff0df5163630ae65aa9c2ffa87e2e0db4c7e7d6a197c3a256bd17cc3a45(
|
|
1634
|
-
value:
|
|
1634
|
+
value: builtins.str,
|
|
1635
1635
|
) -> None:
|
|
1636
1636
|
"""Type checking stubs"""
|
|
1637
1637
|
pass
|
|
@@ -1668,7 +1668,7 @@ def _typecheckingstub__7d2c7ce5dfd3af1b41c02f961c30070527579ac243574e11a9dfe26cc
|
|
|
1668
1668
|
application_source_config: typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.ApplicationSourceConfigProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1669
1669
|
description: builtins.str,
|
|
1670
1670
|
name: builtins.str,
|
|
1671
|
-
namespace:
|
|
1671
|
+
namespace: builtins.str,
|
|
1672
1672
|
permissions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1673
1673
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1674
1674
|
) -> None:
|