aws-cdk-lib 2.171.1__py3-none-any.whl → 2.172.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of aws-cdk-lib might be problematic. Click here for more details.

Files changed (47) hide show
  1. aws_cdk/__init__.py +471 -161
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.171.1.jsii.tgz → aws-cdk-lib@2.172.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigateway/__init__.py +1314 -124
  5. aws_cdk/aws_appsync/__init__.py +159 -136
  6. aws_cdk/aws_autoscaling/__init__.py +81 -24
  7. aws_cdk/aws_bedrock/__init__.py +48 -0
  8. aws_cdk/aws_chatbot/__init__.py +775 -0
  9. aws_cdk/aws_cloudformation/__init__.py +240 -159
  10. aws_cdk/aws_cloudfront/__init__.py +11 -5
  11. aws_cdk/aws_cloudtrail/__init__.py +753 -0
  12. aws_cdk/aws_cognito/__init__.py +825 -4
  13. aws_cdk/aws_connect/__init__.py +429 -0
  14. aws_cdk/aws_customerprofiles/__init__.py +3148 -0
  15. aws_cdk/aws_ec2/__init__.py +872 -5
  16. aws_cdk/aws_ecs/__init__.py +12 -7
  17. aws_cdk/aws_eks/__init__.py +709 -0
  18. aws_cdk/aws_elasticloadbalancingv2/__init__.py +309 -55
  19. aws_cdk/aws_events/__init__.py +515 -8
  20. aws_cdk/aws_iot/__init__.py +42 -4
  21. aws_cdk/aws_iotfleetwise/__init__.py +510 -0
  22. aws_cdk/aws_iotsitewise/__init__.py +156 -0
  23. aws_cdk/aws_lambda/__init__.py +14 -8
  24. aws_cdk/aws_lambda_event_sources/__init__.py +2 -1
  25. aws_cdk/aws_lambda_nodejs/__init__.py +11 -11
  26. aws_cdk/aws_m2/__init__.py +289 -0
  27. aws_cdk/aws_mwaa/__init__.py +6 -6
  28. aws_cdk/aws_opensearchserverless/__init__.py +249 -1
  29. aws_cdk/aws_pipes/__init__.py +14 -30
  30. aws_cdk/aws_qbusiness/__init__.py +3 -1
  31. aws_cdk/aws_quicksight/__init__.py +8270 -10
  32. aws_cdk/aws_rbin/__init__.py +53 -34
  33. aws_cdk/aws_rds/__init__.py +140 -8
  34. aws_cdk/aws_resourcegroups/__init__.py +349 -0
  35. aws_cdk/aws_route53_targets/__init__.py +82 -0
  36. aws_cdk/aws_route53resolver/__init__.py +15 -6
  37. aws_cdk/aws_s3express/__init__.py +403 -2
  38. aws_cdk/aws_sagemaker/__init__.py +124 -112
  39. aws_cdk/aws_ses/__init__.py +79 -41
  40. aws_cdk/aws_wisdom/__init__.py +4713 -172
  41. aws_cdk/aws_workspacesweb/__init__.py +1024 -0
  42. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/METADATA +1 -1
  43. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/RECORD +47 -47
  44. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/LICENSE +0 -0
  45. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/NOTICE +0 -0
  46. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/WHEEL +0 -0
  47. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/top_level.txt +0 -0
@@ -923,9 +923,300 @@ class CfnGroupProps:
923
923
  )
924
924
 
925
925
 
926
+ @jsii.implements(_IInspectable_c2943556)
927
+ class CfnTagSyncTask(
928
+ _CfnResource_9df397a6,
929
+ metaclass=jsii.JSIIMeta,
930
+ jsii_type="aws-cdk-lib.aws_resourcegroups.CfnTagSyncTask",
931
+ ):
932
+ '''Schema for ResourceGroups::TagSyncTask.
933
+
934
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resourcegroups-tagsynctask.html
935
+ :cloudformationResource: AWS::ResourceGroups::TagSyncTask
936
+ :exampleMetadata: fixture=_generated
937
+
938
+ Example::
939
+
940
+ # The code below shows an example of how to instantiate this type.
941
+ # The values are placeholders you should change.
942
+ from aws_cdk import aws_resourcegroups as resourcegroups
943
+
944
+ cfn_tag_sync_task = resourcegroups.CfnTagSyncTask(self, "MyCfnTagSyncTask",
945
+ group="group",
946
+ role_arn="roleArn",
947
+ tag_key="tagKey",
948
+ tag_value="tagValue"
949
+ )
950
+ '''
951
+
952
+ def __init__(
953
+ self,
954
+ scope: _constructs_77d1e7e8.Construct,
955
+ id: builtins.str,
956
+ *,
957
+ group: builtins.str,
958
+ role_arn: builtins.str,
959
+ tag_key: builtins.str,
960
+ tag_value: builtins.str,
961
+ ) -> None:
962
+ '''
963
+ :param scope: Scope in which this resource is defined.
964
+ :param id: Construct identifier for this resource (unique in its scope).
965
+ :param group: The Amazon resource name (ARN) or name of the application group for which you want to create a tag-sync task.
966
+ :param role_arn: The Amazon resource name (ARN) of the role assumed by the service to tag and untag resources on your behalf.
967
+ :param tag_key: The tag key. Resources tagged with this tag key-value pair will be added to the application. If a resource with this tag is later untagged, the tag-sync task removes the resource from the application.
968
+ :param tag_value: The tag value. Resources tagged with this tag key-value pair will be added to the application. If a resource with this tag is later untagged, the tag-sync task removes the resource from the application.
969
+ '''
970
+ if __debug__:
971
+ type_hints = typing.get_type_hints(_typecheckingstub__5cc3fe2babfae90c2893ec2e64dba324eb7f1354bc8586a2157b1e9493be9d2a)
972
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
973
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
974
+ props = CfnTagSyncTaskProps(
975
+ group=group, role_arn=role_arn, tag_key=tag_key, tag_value=tag_value
976
+ )
977
+
978
+ jsii.create(self.__class__, self, [scope, id, props])
979
+
980
+ @jsii.member(jsii_name="inspect")
981
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
982
+ '''Examines the CloudFormation resource and discloses attributes.
983
+
984
+ :param inspector: tree inspector to collect and process attributes.
985
+ '''
986
+ if __debug__:
987
+ type_hints = typing.get_type_hints(_typecheckingstub__fa39f02686575059144fa82b37d1e2e3bbec0b2f0f8b1503d29a8202955b1d71)
988
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
989
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
990
+
991
+ @jsii.member(jsii_name="renderProperties")
992
+ def _render_properties(
993
+ self,
994
+ props: typing.Mapping[builtins.str, typing.Any],
995
+ ) -> typing.Mapping[builtins.str, typing.Any]:
996
+ '''
997
+ :param props: -
998
+ '''
999
+ if __debug__:
1000
+ type_hints = typing.get_type_hints(_typecheckingstub__f5e39aeb093662e365e0c8f8da41ae7f18912a09e014a840fd4e0a3eea585462)
1001
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
1002
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
1003
+
1004
+ @jsii.python.classproperty
1005
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
1006
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
1007
+ '''The CloudFormation resource type name for this resource class.'''
1008
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
1009
+
1010
+ @builtins.property
1011
+ @jsii.member(jsii_name="attrGroupArn")
1012
+ def attr_group_arn(self) -> builtins.str:
1013
+ '''The Amazon resource name (ARN) of the ApplicationGroup for which the TagSyncTask is created.
1014
+
1015
+ :cloudformationAttribute: GroupArn
1016
+ '''
1017
+ return typing.cast(builtins.str, jsii.get(self, "attrGroupArn"))
1018
+
1019
+ @builtins.property
1020
+ @jsii.member(jsii_name="attrGroupName")
1021
+ def attr_group_name(self) -> builtins.str:
1022
+ '''The Name of the application group for which the TagSyncTask is created.
1023
+
1024
+ :cloudformationAttribute: GroupName
1025
+ '''
1026
+ return typing.cast(builtins.str, jsii.get(self, "attrGroupName"))
1027
+
1028
+ @builtins.property
1029
+ @jsii.member(jsii_name="attrStatus")
1030
+ def attr_status(self) -> builtins.str:
1031
+ '''The status of the TagSyncTask.
1032
+
1033
+ :cloudformationAttribute: Status
1034
+ '''
1035
+ return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
1036
+
1037
+ @builtins.property
1038
+ @jsii.member(jsii_name="attrTaskArn")
1039
+ def attr_task_arn(self) -> builtins.str:
1040
+ '''The ARN of the TagSyncTask resource.
1041
+
1042
+ :cloudformationAttribute: TaskArn
1043
+ '''
1044
+ return typing.cast(builtins.str, jsii.get(self, "attrTaskArn"))
1045
+
1046
+ @builtins.property
1047
+ @jsii.member(jsii_name="cfnProperties")
1048
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
1049
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
1050
+
1051
+ @builtins.property
1052
+ @jsii.member(jsii_name="group")
1053
+ def group(self) -> builtins.str:
1054
+ '''The Amazon resource name (ARN) or name of the application group for which you want to create a tag-sync task.'''
1055
+ return typing.cast(builtins.str, jsii.get(self, "group"))
1056
+
1057
+ @group.setter
1058
+ def group(self, value: builtins.str) -> None:
1059
+ if __debug__:
1060
+ type_hints = typing.get_type_hints(_typecheckingstub__d133f44d39c629bca40a85ade7619a80aef78c5629c6cdd2f74b840c6b4cd745)
1061
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1062
+ jsii.set(self, "group", value) # pyright: ignore[reportArgumentType]
1063
+
1064
+ @builtins.property
1065
+ @jsii.member(jsii_name="roleArn")
1066
+ def role_arn(self) -> builtins.str:
1067
+ '''The Amazon resource name (ARN) of the role assumed by the service to tag and untag resources on your behalf.'''
1068
+ return typing.cast(builtins.str, jsii.get(self, "roleArn"))
1069
+
1070
+ @role_arn.setter
1071
+ def role_arn(self, value: builtins.str) -> None:
1072
+ if __debug__:
1073
+ type_hints = typing.get_type_hints(_typecheckingstub__be46018b4db2c0ed820aeae0051f1b794bdebae8736cd97e2b08cf2bf5d3a673)
1074
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1075
+ jsii.set(self, "roleArn", value) # pyright: ignore[reportArgumentType]
1076
+
1077
+ @builtins.property
1078
+ @jsii.member(jsii_name="tagKey")
1079
+ def tag_key(self) -> builtins.str:
1080
+ '''The tag key.'''
1081
+ return typing.cast(builtins.str, jsii.get(self, "tagKey"))
1082
+
1083
+ @tag_key.setter
1084
+ def tag_key(self, value: builtins.str) -> None:
1085
+ if __debug__:
1086
+ type_hints = typing.get_type_hints(_typecheckingstub__36f0fe44c7515735b59ea6297b6cb7c5a2b5bddb1a4da3e9f0910baab1d7d5d9)
1087
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1088
+ jsii.set(self, "tagKey", value) # pyright: ignore[reportArgumentType]
1089
+
1090
+ @builtins.property
1091
+ @jsii.member(jsii_name="tagValue")
1092
+ def tag_value(self) -> builtins.str:
1093
+ '''The tag value.'''
1094
+ return typing.cast(builtins.str, jsii.get(self, "tagValue"))
1095
+
1096
+ @tag_value.setter
1097
+ def tag_value(self, value: builtins.str) -> None:
1098
+ if __debug__:
1099
+ type_hints = typing.get_type_hints(_typecheckingstub__66392dc23dc3e7ed8bf3c5d524bd90c2953712bb7e49a797537fda8d836525c3)
1100
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1101
+ jsii.set(self, "tagValue", value) # pyright: ignore[reportArgumentType]
1102
+
1103
+
1104
+ @jsii.data_type(
1105
+ jsii_type="aws-cdk-lib.aws_resourcegroups.CfnTagSyncTaskProps",
1106
+ jsii_struct_bases=[],
1107
+ name_mapping={
1108
+ "group": "group",
1109
+ "role_arn": "roleArn",
1110
+ "tag_key": "tagKey",
1111
+ "tag_value": "tagValue",
1112
+ },
1113
+ )
1114
+ class CfnTagSyncTaskProps:
1115
+ def __init__(
1116
+ self,
1117
+ *,
1118
+ group: builtins.str,
1119
+ role_arn: builtins.str,
1120
+ tag_key: builtins.str,
1121
+ tag_value: builtins.str,
1122
+ ) -> None:
1123
+ '''Properties for defining a ``CfnTagSyncTask``.
1124
+
1125
+ :param group: The Amazon resource name (ARN) or name of the application group for which you want to create a tag-sync task.
1126
+ :param role_arn: The Amazon resource name (ARN) of the role assumed by the service to tag and untag resources on your behalf.
1127
+ :param tag_key: The tag key. Resources tagged with this tag key-value pair will be added to the application. If a resource with this tag is later untagged, the tag-sync task removes the resource from the application.
1128
+ :param tag_value: The tag value. Resources tagged with this tag key-value pair will be added to the application. If a resource with this tag is later untagged, the tag-sync task removes the resource from the application.
1129
+
1130
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resourcegroups-tagsynctask.html
1131
+ :exampleMetadata: fixture=_generated
1132
+
1133
+ Example::
1134
+
1135
+ # The code below shows an example of how to instantiate this type.
1136
+ # The values are placeholders you should change.
1137
+ from aws_cdk import aws_resourcegroups as resourcegroups
1138
+
1139
+ cfn_tag_sync_task_props = resourcegroups.CfnTagSyncTaskProps(
1140
+ group="group",
1141
+ role_arn="roleArn",
1142
+ tag_key="tagKey",
1143
+ tag_value="tagValue"
1144
+ )
1145
+ '''
1146
+ if __debug__:
1147
+ type_hints = typing.get_type_hints(_typecheckingstub__92e2f4c3b48ee7233cae450c356891144695748bdb5f027bc5b13135d8eeea4e)
1148
+ check_type(argname="argument group", value=group, expected_type=type_hints["group"])
1149
+ check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
1150
+ check_type(argname="argument tag_key", value=tag_key, expected_type=type_hints["tag_key"])
1151
+ check_type(argname="argument tag_value", value=tag_value, expected_type=type_hints["tag_value"])
1152
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1153
+ "group": group,
1154
+ "role_arn": role_arn,
1155
+ "tag_key": tag_key,
1156
+ "tag_value": tag_value,
1157
+ }
1158
+
1159
+ @builtins.property
1160
+ def group(self) -> builtins.str:
1161
+ '''The Amazon resource name (ARN) or name of the application group for which you want to create a tag-sync task.
1162
+
1163
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resourcegroups-tagsynctask.html#cfn-resourcegroups-tagsynctask-group
1164
+ '''
1165
+ result = self._values.get("group")
1166
+ assert result is not None, "Required property 'group' is missing"
1167
+ return typing.cast(builtins.str, result)
1168
+
1169
+ @builtins.property
1170
+ def role_arn(self) -> builtins.str:
1171
+ '''The Amazon resource name (ARN) of the role assumed by the service to tag and untag resources on your behalf.
1172
+
1173
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resourcegroups-tagsynctask.html#cfn-resourcegroups-tagsynctask-rolearn
1174
+ '''
1175
+ result = self._values.get("role_arn")
1176
+ assert result is not None, "Required property 'role_arn' is missing"
1177
+ return typing.cast(builtins.str, result)
1178
+
1179
+ @builtins.property
1180
+ def tag_key(self) -> builtins.str:
1181
+ '''The tag key.
1182
+
1183
+ Resources tagged with this tag key-value pair will be added to the application. If a resource with this tag is later untagged, the tag-sync task removes the resource from the application.
1184
+
1185
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resourcegroups-tagsynctask.html#cfn-resourcegroups-tagsynctask-tagkey
1186
+ '''
1187
+ result = self._values.get("tag_key")
1188
+ assert result is not None, "Required property 'tag_key' is missing"
1189
+ return typing.cast(builtins.str, result)
1190
+
1191
+ @builtins.property
1192
+ def tag_value(self) -> builtins.str:
1193
+ '''The tag value.
1194
+
1195
+ Resources tagged with this tag key-value pair will be added to the application. If a resource with this tag is later untagged, the tag-sync task removes the resource from the application.
1196
+
1197
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resourcegroups-tagsynctask.html#cfn-resourcegroups-tagsynctask-tagvalue
1198
+ '''
1199
+ result = self._values.get("tag_value")
1200
+ assert result is not None, "Required property 'tag_value' is missing"
1201
+ return typing.cast(builtins.str, result)
1202
+
1203
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1204
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1205
+
1206
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1207
+ return not (rhs == self)
1208
+
1209
+ def __repr__(self) -> str:
1210
+ return "CfnTagSyncTaskProps(%s)" % ", ".join(
1211
+ k + "=" + repr(v) for k, v in self._values.items()
1212
+ )
1213
+
1214
+
926
1215
  __all__ = [
927
1216
  "CfnGroup",
928
1217
  "CfnGroupProps",
1218
+ "CfnTagSyncTask",
1219
+ "CfnTagSyncTaskProps",
929
1220
  ]
930
1221
 
931
1222
  publication.publish()
@@ -1044,3 +1335,61 @@ def _typecheckingstub__fb026100b2da91b258c8101dddf16a77684d48ca689302721dfecf0e2
1044
1335
  ) -> None:
1045
1336
  """Type checking stubs"""
1046
1337
  pass
1338
+
1339
+ def _typecheckingstub__5cc3fe2babfae90c2893ec2e64dba324eb7f1354bc8586a2157b1e9493be9d2a(
1340
+ scope: _constructs_77d1e7e8.Construct,
1341
+ id: builtins.str,
1342
+ *,
1343
+ group: builtins.str,
1344
+ role_arn: builtins.str,
1345
+ tag_key: builtins.str,
1346
+ tag_value: builtins.str,
1347
+ ) -> None:
1348
+ """Type checking stubs"""
1349
+ pass
1350
+
1351
+ def _typecheckingstub__fa39f02686575059144fa82b37d1e2e3bbec0b2f0f8b1503d29a8202955b1d71(
1352
+ inspector: _TreeInspector_488e0dd5,
1353
+ ) -> None:
1354
+ """Type checking stubs"""
1355
+ pass
1356
+
1357
+ def _typecheckingstub__f5e39aeb093662e365e0c8f8da41ae7f18912a09e014a840fd4e0a3eea585462(
1358
+ props: typing.Mapping[builtins.str, typing.Any],
1359
+ ) -> None:
1360
+ """Type checking stubs"""
1361
+ pass
1362
+
1363
+ def _typecheckingstub__d133f44d39c629bca40a85ade7619a80aef78c5629c6cdd2f74b840c6b4cd745(
1364
+ value: builtins.str,
1365
+ ) -> None:
1366
+ """Type checking stubs"""
1367
+ pass
1368
+
1369
+ def _typecheckingstub__be46018b4db2c0ed820aeae0051f1b794bdebae8736cd97e2b08cf2bf5d3a673(
1370
+ value: builtins.str,
1371
+ ) -> None:
1372
+ """Type checking stubs"""
1373
+ pass
1374
+
1375
+ def _typecheckingstub__36f0fe44c7515735b59ea6297b6cb7c5a2b5bddb1a4da3e9f0910baab1d7d5d9(
1376
+ value: builtins.str,
1377
+ ) -> None:
1378
+ """Type checking stubs"""
1379
+ pass
1380
+
1381
+ def _typecheckingstub__66392dc23dc3e7ed8bf3c5d524bd90c2953712bb7e49a797537fda8d836525c3(
1382
+ value: builtins.str,
1383
+ ) -> None:
1384
+ """Type checking stubs"""
1385
+ pass
1386
+
1387
+ def _typecheckingstub__92e2f4c3b48ee7233cae450c356891144695748bdb5f027bc5b13135d8eeea4e(
1388
+ *,
1389
+ group: builtins.str,
1390
+ role_arn: builtins.str,
1391
+ tag_key: builtins.str,
1392
+ tag_value: builtins.str,
1393
+ ) -> None:
1394
+ """Type checking stubs"""
1395
+ pass
@@ -31,6 +31,20 @@ This library contains Route53 Alias Record targets for:
31
31
  target=route53.RecordTarget.from_alias(targets.ApiGatewayv2DomainProperties(domain_name.regional_domain_name, domain_name.regional_hosted_zone_id))
32
32
  )
33
33
  ```
34
+ * AppSync custom domains
35
+
36
+ ```python
37
+ import aws_cdk.aws_appsync as appsync
38
+
39
+ # zone: route53.HostedZone
40
+ # graphql_api: appsync.GraphqlApi
41
+
42
+
43
+ route53.ARecord(self, "AliasRecord",
44
+ zone=zone,
45
+ target=route53.RecordTarget.from_alias(targets.AppSyncTarget(graphql_api))
46
+ )
47
+ ```
34
48
  * CloudFront distributions
35
49
 
36
50
  ```python
@@ -217,6 +231,7 @@ import constructs as _constructs_77d1e7e8
217
231
  from ..aws_apigateway import (
218
232
  IDomainName as _IDomainName_6c4e4c80, RestApiBase as _RestApiBase_0431da32
219
233
  )
234
+ from ..aws_appsync import GraphqlApi as _GraphqlApi_3671c3a8
220
235
  from ..aws_cloudfront import IDistribution as _IDistribution_7ac752a4
221
236
  from ..aws_cognito import UserPoolDomain as _UserPoolDomain_f402e168
222
237
  from ..aws_ec2 import InterfaceVpcEndpoint as _InterfaceVpcEndpoint_9b08bb25
@@ -342,6 +357,59 @@ class ApiGatewayv2DomainProperties(
342
357
  return typing.cast(_AliasRecordTargetConfig_588f62e9, jsii.invoke(self, "bind", [_record, _zone]))
343
358
 
344
359
 
360
+ @jsii.implements(_IAliasRecordTarget_aae9327f)
361
+ class AppSyncTarget(
362
+ metaclass=jsii.JSIIMeta,
363
+ jsii_type="aws-cdk-lib.aws_route53_targets.AppSyncTarget",
364
+ ):
365
+ '''Defines an AppSync Graphql API as the alias target.
366
+
367
+ Requires that the domain
368
+ name will be defined through ``GraphqlApiProps.domainName``.
369
+
370
+ :exampleMetadata: infused
371
+
372
+ Example::
373
+
374
+ import aws_cdk.aws_appsync as appsync
375
+
376
+ # zone: route53.HostedZone
377
+ # graphql_api: appsync.GraphqlApi
378
+
379
+
380
+ route53.ARecord(self, "AliasRecord",
381
+ zone=zone,
382
+ target=route53.RecordTarget.from_alias(targets.AppSyncTarget(graphql_api))
383
+ )
384
+ '''
385
+
386
+ def __init__(self, graphql_api: _GraphqlApi_3671c3a8) -> None:
387
+ '''
388
+ :param graphql_api: -
389
+ '''
390
+ if __debug__:
391
+ type_hints = typing.get_type_hints(_typecheckingstub__babb157ff28ae7a8790773110c310e6380f27259b43d58ba3491e11acd6362ab)
392
+ check_type(argname="argument graphql_api", value=graphql_api, expected_type=type_hints["graphql_api"])
393
+ jsii.create(self.__class__, self, [graphql_api])
394
+
395
+ @jsii.member(jsii_name="bind")
396
+ def bind(
397
+ self,
398
+ _record: _IRecordSet_7d446a82,
399
+ _zone: typing.Optional[_IHostedZone_9a6907ad] = None,
400
+ ) -> _AliasRecordTargetConfig_588f62e9:
401
+ '''Return hosted zone ID and DNS name, usable for Route53 alias targets.
402
+
403
+ :param _record: -
404
+ :param _zone: -
405
+ '''
406
+ if __debug__:
407
+ type_hints = typing.get_type_hints(_typecheckingstub__bb6c1847e1d1aaadc5cdfa732af7d95f520ae163215b4adf60347fc2c8b9a685)
408
+ check_type(argname="argument _record", value=_record, expected_type=type_hints["_record"])
409
+ check_type(argname="argument _zone", value=_zone, expected_type=type_hints["_zone"])
410
+ return typing.cast(_AliasRecordTargetConfig_588f62e9, jsii.invoke(self, "bind", [_record, _zone]))
411
+
412
+
345
413
  @jsii.implements(_IAliasRecordTarget_aae9327f)
346
414
  class BucketWebsiteTarget(
347
415
  metaclass=jsii.JSIIMeta,
@@ -898,6 +966,7 @@ __all__ = [
898
966
  "ApiGateway",
899
967
  "ApiGatewayDomain",
900
968
  "ApiGatewayv2DomainProperties",
969
+ "AppSyncTarget",
901
970
  "BucketWebsiteTarget",
902
971
  "ClassicLoadBalancerTarget",
903
972
  "CloudFrontTarget",
@@ -939,6 +1008,19 @@ def _typecheckingstub__06815ea952926fe8cadd75b92163d9cdaa6382360911ec0411cabfe9a
939
1008
  """Type checking stubs"""
940
1009
  pass
941
1010
 
1011
+ def _typecheckingstub__babb157ff28ae7a8790773110c310e6380f27259b43d58ba3491e11acd6362ab(
1012
+ graphql_api: _GraphqlApi_3671c3a8,
1013
+ ) -> None:
1014
+ """Type checking stubs"""
1015
+ pass
1016
+
1017
+ def _typecheckingstub__bb6c1847e1d1aaadc5cdfa732af7d95f520ae163215b4adf60347fc2c8b9a685(
1018
+ _record: _IRecordSet_7d446a82,
1019
+ _zone: typing.Optional[_IHostedZone_9a6907ad] = None,
1020
+ ) -> None:
1021
+ """Type checking stubs"""
1022
+ pass
1023
+
942
1024
  def _typecheckingstub__ddbd19de44d0f648d972f99cbd261ae3e9159511037db7c12ae0ebcb70553020(
943
1025
  bucket: _IBucket_42e086fd,
944
1026
  ) -> None:
@@ -719,11 +719,11 @@ class CfnFirewallRuleGroup(
719
719
  :param block_override_domain: The custom DNS record to send back in response to the query. Used for the rule action ``BLOCK`` with a ``BlockResponse`` setting of ``OVERRIDE`` .
720
720
  :param block_override_ttl: The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Used for the rule action ``BLOCK`` with a ``BlockResponse`` setting of ``OVERRIDE`` .
721
721
  :param block_response: The way that you want DNS Firewall to block the request. Used for the rule action setting ``BLOCK`` . - ``NODATA`` - Respond indicating that the query was successful, but no response is available for it. - ``NXDOMAIN`` - Respond indicating that the domain name that's in the query doesn't exist. - ``OVERRIDE`` - Provide a custom override in the response. This option requires custom handling details in the rule's ``BlockOverride*`` settings.
722
- :param confidence_threshold: FirewallDomainRedirectionAction.
723
- :param dns_threat_protection: FirewallDomainRedirectionAction.
722
+ :param confidence_threshold: The confidence threshold for DNS Firewall Advanced. You must provide this value when you create a DNS Firewall Advanced rule. The confidence level values mean: - ``LOW`` : Provides the highest detection rate for threats, but also increases false positives. - ``MEDIUM`` : Provides a balance between detecting threats and false positives. - ``HIGH`` : Detects only the most well corroborated threats with a low rate of false positives.
723
+ :param dns_threat_protection: The type of the DNS Firewall Advanced rule. Valid values are:. - ``DGA`` : Domain generation algorithms detection. DGAs are used by attackers to generate a large number of domains to to launch malware attacks. - ``DNS_TUNNELING`` : DNS tunneling detection. DNS tunneling is used by attackers to exfiltrate data from the client by using the DNS tunnel without making a network connection to the client.
724
724
  :param firewall_domain_list_id: The ID of the domain list that's used in the rule.
725
725
  :param firewall_domain_redirection_action: How you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME, or DNAME. ``Inspect_Redirection_Domain`` (Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be added to the domain list. ``Trust_Redirection_Domain`` inspects only the first domain in the redirection chain. You don't need to add the subsequent domains in the domain in the redirection list to the domain list.
726
- :param firewall_threat_protection_id: ResourceId.
726
+ :param firewall_threat_protection_id: ID of the DNS Firewall Advanced rule.
727
727
  :param qtype: The DNS query type you want the rule to evaluate. Allowed values are; - A: Returns an IPv4 address. - AAAA: Returns an Ipv6 address. - CAA: Restricts CAs that can create SSL/TLS certifications for the domain. - CNAME: Returns another domain name. - DS: Record that identifies the DNSSEC signing key of a delegated zone. - MX: Specifies mail servers. - NAPTR: Regular-expression-based rewriting of domain names. - NS: Authoritative name servers. - PTR: Maps an IP address to a domain name. - SOA: Start of authority record for the zone. - SPF: Lists the servers authorized to send emails from a domain. - SRV: Application specific values that identify servers. - TXT: Verifies email senders and application-specific values. - A query type you define by using the DNS type ID, for example 28 for AAAA. The values must be defined as TYPE NUMBER , where the NUMBER can be 1-65334, for example, TYPE28. For more information, see `List of DNS record types <https://docs.aws.amazon.com/https://en.wikipedia.org/wiki/List_of_DNS_record_types>`_ .
728
728
 
729
729
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-firewallrulegroup-firewallrule.html
@@ -870,7 +870,13 @@ class CfnFirewallRuleGroup(
870
870
 
871
871
  @builtins.property
872
872
  def confidence_threshold(self) -> typing.Optional[builtins.str]:
873
- '''FirewallDomainRedirectionAction.
873
+ '''The confidence threshold for DNS Firewall Advanced.
874
+
875
+ You must provide this value when you create a DNS Firewall Advanced rule. The confidence level values mean:
876
+
877
+ - ``LOW`` : Provides the highest detection rate for threats, but also increases false positives.
878
+ - ``MEDIUM`` : Provides a balance between detecting threats and false positives.
879
+ - ``HIGH`` : Detects only the most well corroborated threats with a low rate of false positives.
874
880
 
875
881
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-firewallrulegroup-firewallrule.html#cfn-route53resolver-firewallrulegroup-firewallrule-confidencethreshold
876
882
  '''
@@ -879,7 +885,10 @@ class CfnFirewallRuleGroup(
879
885
 
880
886
  @builtins.property
881
887
  def dns_threat_protection(self) -> typing.Optional[builtins.str]:
882
- '''FirewallDomainRedirectionAction.
888
+ '''The type of the DNS Firewall Advanced rule. Valid values are:.
889
+
890
+ - ``DGA`` : Domain generation algorithms detection. DGAs are used by attackers to generate a large number of domains to to launch malware attacks.
891
+ - ``DNS_TUNNELING`` : DNS tunneling detection. DNS tunneling is used by attackers to exfiltrate data from the client by using the DNS tunnel without making a network connection to the client.
883
892
 
884
893
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-firewallrulegroup-firewallrule.html#cfn-route53resolver-firewallrulegroup-firewallrule-dnsthreatprotection
885
894
  '''
@@ -910,7 +919,7 @@ class CfnFirewallRuleGroup(
910
919
 
911
920
  @builtins.property
912
921
  def firewall_threat_protection_id(self) -> typing.Optional[builtins.str]:
913
- '''ResourceId.
922
+ '''ID of the DNS Firewall Advanced rule.
914
923
 
915
924
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-firewallrulegroup-firewallrule.html#cfn-route53resolver-firewallrulegroup-firewallrule-firewallthreatprotectionid
916
925
  '''