aws-cdk-lib 2.171.1__py3-none-any.whl → 2.173.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 (78) hide show
  1. aws_cdk/__init__.py +528 -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.173.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amazonmq/__init__.py +40 -40
  5. aws_cdk/aws_apigateway/__init__.py +1357 -120
  6. aws_cdk/aws_applicationautoscaling/__init__.py +141 -66
  7. aws_cdk/aws_appsync/__init__.py +163 -139
  8. aws_cdk/aws_autoscaling/__init__.py +96 -30
  9. aws_cdk/aws_bedrock/__init__.py +80 -44
  10. aws_cdk/aws_chatbot/__init__.py +803 -2
  11. aws_cdk/aws_cleanrooms/__init__.py +4 -6
  12. aws_cdk/aws_cloudformation/__init__.py +240 -159
  13. aws_cdk/aws_cloudfront/__init__.py +15 -7
  14. aws_cdk/aws_cloudtrail/__init__.py +802 -13
  15. aws_cdk/aws_cloudwatch/__init__.py +51 -14
  16. aws_cdk/aws_codebuild/__init__.py +39 -0
  17. aws_cdk/aws_codepipeline/__init__.py +4 -4
  18. aws_cdk/aws_cognito/__init__.py +1032 -43
  19. aws_cdk/aws_config/__init__.py +13 -10
  20. aws_cdk/aws_connect/__init__.py +454 -23
  21. aws_cdk/aws_connectcampaignsv2/__init__.py +187 -176
  22. aws_cdk/aws_customerprofiles/__init__.py +3148 -0
  23. aws_cdk/aws_docdb/__init__.py +128 -0
  24. aws_cdk/aws_dynamodb/__init__.py +256 -0
  25. aws_cdk/aws_ec2/__init__.py +976 -27
  26. aws_cdk/aws_ecs/__init__.py +37 -20
  27. aws_cdk/aws_eks/__init__.py +771 -0
  28. aws_cdk/aws_elasticache/__init__.py +22 -22
  29. aws_cdk/aws_elasticloadbalancingv2/__init__.py +441 -177
  30. aws_cdk/aws_events/__init__.py +550 -30
  31. aws_cdk/aws_fsx/__init__.py +134 -10
  32. aws_cdk/aws_imagebuilder/__init__.py +8 -8
  33. aws_cdk/aws_invoicing/__init__.py +651 -0
  34. aws_cdk/aws_iot/__init__.py +70 -26
  35. aws_cdk/aws_iotfleetwise/__init__.py +1033 -382
  36. aws_cdk/aws_iotsitewise/__init__.py +158 -0
  37. aws_cdk/aws_ivs/__init__.py +43 -31
  38. aws_cdk/aws_kendra/__init__.py +4 -0
  39. aws_cdk/aws_lakeformation/__init__.py +2 -1
  40. aws_cdk/aws_lambda/__init__.py +272 -164
  41. aws_cdk/aws_lambda_event_sources/__init__.py +2 -1
  42. aws_cdk/aws_lambda_nodejs/__init__.py +11 -11
  43. aws_cdk/aws_logs/__init__.py +532 -0
  44. aws_cdk/aws_m2/__init__.py +289 -0
  45. aws_cdk/aws_mediaconnect/__init__.py +24 -14
  46. aws_cdk/aws_medialive/__init__.py +2359 -5
  47. aws_cdk/aws_mediapackage/__init__.py +3 -9
  48. aws_cdk/aws_mediapackagev2/__init__.py +19 -17
  49. aws_cdk/aws_memorydb/__init__.py +664 -4
  50. aws_cdk/aws_mwaa/__init__.py +6 -6
  51. aws_cdk/aws_opensearchserverless/__init__.py +249 -1
  52. aws_cdk/aws_pipes/__init__.py +14 -30
  53. aws_cdk/aws_qbusiness/__init__.py +2021 -67
  54. aws_cdk/aws_quicksight/__init__.py +8270 -10
  55. aws_cdk/aws_rbin/__init__.py +53 -34
  56. aws_cdk/aws_rds/__init__.py +170 -8
  57. aws_cdk/aws_resourcegroups/__init__.py +362 -4
  58. aws_cdk/aws_route53/__init__.py +1177 -10
  59. aws_cdk/aws_route53_targets/__init__.py +297 -91
  60. aws_cdk/aws_route53resolver/__init__.py +19 -8
  61. aws_cdk/aws_s3/__init__.py +4 -4
  62. aws_cdk/aws_s3express/__init__.py +421 -9
  63. aws_cdk/aws_sagemaker/__init__.py +905 -119
  64. aws_cdk/aws_secretsmanager/__init__.py +20 -6
  65. aws_cdk/aws_securityhub/__init__.py +64 -32
  66. aws_cdk/aws_servicediscovery/__init__.py +43 -0
  67. aws_cdk/aws_ses/__init__.py +188 -41
  68. aws_cdk/aws_stepfunctions_tasks/__init__.py +190 -35
  69. aws_cdk/aws_synthetics/__init__.py +7 -5
  70. aws_cdk/aws_vpclattice/__init__.py +1479 -122
  71. aws_cdk/aws_wisdom/__init__.py +8509 -1502
  72. aws_cdk/aws_workspacesweb/__init__.py +1081 -0
  73. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/METADATA +1 -1
  74. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/RECORD +78 -77
  75. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/LICENSE +0 -0
  76. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/NOTICE +0 -0
  77. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/WHEEL +0 -0
  78. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/top_level.txt +0 -0
@@ -5,74 +5,103 @@ This library contains Route53 Alias Record targets for:
5
5
 
6
6
  * API Gateway custom domains
7
7
 
8
- ```python
9
- import aws_cdk.aws_apigateway as apigw
8
+ ```python
9
+ import aws_cdk.aws_apigateway as apigw
10
+
11
+ # zone: route53.HostedZone
12
+ # rest_api: apigw.LambdaRestApi
10
13
 
11
- # zone: route53.HostedZone
12
- # rest_api: apigw.LambdaRestApi
13
14
 
15
+ route53.ARecord(self, "AliasRecord",
16
+ zone=zone,
17
+ target=route53.RecordTarget.from_alias(targets.ApiGateway(rest_api))
18
+ )
19
+ ```
14
20
 
15
- route53.ARecord(self, "AliasRecord",
16
- zone=zone,
17
- target=route53.RecordTarget.from_alias(targets.ApiGateway(rest_api))
18
- )
19
- ```
20
21
  * API Gateway V2 custom domains
21
22
 
22
- ```python
23
- import aws_cdk.aws_apigatewayv2 as apigwv2
23
+ ```python
24
+ import aws_cdk.aws_apigatewayv2 as apigwv2
25
+
26
+ # zone: route53.HostedZone
27
+ # domain_name: apigwv2.DomainName
28
+
29
+
30
+ route53.ARecord(self, "AliasRecord",
31
+ zone=zone,
32
+ target=route53.RecordTarget.from_alias(targets.ApiGatewayv2DomainProperties(domain_name.regional_domain_name, domain_name.regional_hosted_zone_id))
33
+ )
34
+ ```
35
+
36
+ * AppSync custom domains
37
+
38
+ ```python
39
+ import aws_cdk.aws_appsync as appsync
40
+
41
+ # zone: route53.HostedZone
42
+ # graphql_api: appsync.GraphqlApi
24
43
 
25
- # zone: route53.HostedZone
26
- # domain_name: apigwv2.DomainName
27
44
 
45
+ route53.ARecord(self, "AliasRecord",
46
+ zone=zone,
47
+ target=route53.RecordTarget.from_alias(targets.AppSyncTarget(graphql_api))
48
+ )
49
+ ```
28
50
 
29
- route53.ARecord(self, "AliasRecord",
30
- zone=zone,
31
- target=route53.RecordTarget.from_alias(targets.ApiGatewayv2DomainProperties(domain_name.regional_domain_name, domain_name.regional_hosted_zone_id))
32
- )
33
- ```
34
51
  * CloudFront distributions
35
52
 
36
- ```python
37
- import aws_cdk.aws_cloudfront as cloudfront
53
+ ```python
54
+ import aws_cdk.aws_cloudfront as cloudfront
38
55
 
39
- # zone: route53.HostedZone
40
- # distribution: cloudfront.CloudFrontWebDistribution
56
+ # zone: route53.HostedZone
57
+ # distribution: cloudfront.CloudFrontWebDistribution
41
58
 
42
59
 
43
- route53.ARecord(self, "AliasRecord",
44
- zone=zone,
45
- target=route53.RecordTarget.from_alias(targets.CloudFrontTarget(distribution))
46
- )
47
- ```
60
+ route53.ARecord(self, "AliasRecord",
61
+ zone=zone,
62
+ target=route53.RecordTarget.from_alias(targets.CloudFrontTarget(distribution))
63
+ )
64
+ ```
65
+
48
66
  * ELBv2 load balancers
49
67
 
50
- ```python
51
- import aws_cdk.aws_elasticloadbalancingv2 as elbv2
68
+ By providing optional properties, you can specify whether to evaluate target health.
52
69
 
53
- # zone: route53.HostedZone
54
- # lb: elbv2.ApplicationLoadBalancer
70
+ ```python
71
+ import aws_cdk.aws_elasticloadbalancingv2 as elbv2
55
72
 
73
+ # zone: route53.HostedZone
74
+ # lb: elbv2.ApplicationLoadBalancer
75
+
76
+
77
+ route53.ARecord(self, "AliasRecord",
78
+ zone=zone,
79
+ target=route53.RecordTarget.from_alias(
80
+ targets.LoadBalancerTarget(lb, {
81
+ "evaluate_target_health": True
82
+ }))
83
+ )
84
+ ```
56
85
 
57
- route53.ARecord(self, "AliasRecord",
58
- zone=zone,
59
- target=route53.RecordTarget.from_alias(targets.LoadBalancerTarget(lb))
60
- )
61
- ```
62
86
  * Classic load balancers
63
87
 
64
- ```python
65
- import aws_cdk.aws_elasticloadbalancing as elb
88
+ By providing optional properties, you can specify whether to evaluate target health.
66
89
 
67
- # zone: route53.HostedZone
68
- # lb: elb.LoadBalancer
90
+ ```python
91
+ import aws_cdk.aws_elasticloadbalancing as elb
92
+
93
+ # zone: route53.HostedZone
94
+ # lb: elb.LoadBalancer
69
95
 
70
96
 
71
- route53.ARecord(self, "AliasRecord",
72
- zone=zone,
73
- target=route53.RecordTarget.from_alias(targets.ClassicLoadBalancerTarget(lb))
74
- )
75
- ```
97
+ route53.ARecord(self, "AliasRecord",
98
+ zone=zone,
99
+ target=route53.RecordTarget.from_alias(
100
+ targets.ClassicLoadBalancerTarget(lb, {
101
+ "evaluate_target_health": True
102
+ }))
103
+ )
104
+ ```
76
105
 
77
106
  **Important:** Based on [AWS documentation](https://aws.amazon.com/de/premiumsupport/knowledge-center/alias-resource-record-set-route53-cli/), all alias record in Route 53 that points to a Elastic Load Balancer will always include *dualstack* for the DNSName to resolve IPv4/IPv6 addresses (without *dualstack* IPv6 will not resolve).
78
107
 
@@ -80,18 +109,23 @@ For example, if the Amazon-provided DNS for the load balancer is `ALB-xxxxxxx.us
80
109
 
81
110
  * GlobalAccelerator
82
111
 
83
- ```python
84
- import aws_cdk.aws_globalaccelerator as globalaccelerator
112
+ By providing optional properties, you can specify whether to evaluate target health.
85
113
 
86
- # zone: route53.HostedZone
87
- # accelerator: globalaccelerator.Accelerator
114
+ ```python
115
+ import aws_cdk.aws_globalaccelerator as globalaccelerator
88
116
 
117
+ # zone: route53.HostedZone
118
+ # accelerator: globalaccelerator.Accelerator
89
119
 
90
- route53.ARecord(self, "AliasRecord",
91
- zone=zone,
92
- target=route53.RecordTarget.from_alias(targets.GlobalAcceleratorTarget(accelerator))
93
- )
94
- ```
120
+
121
+ route53.ARecord(self, "AliasRecord",
122
+ zone=zone,
123
+ target=route53.RecordTarget.from_alias(
124
+ targets.GlobalAcceleratorTarget(accelerator, {
125
+ "evaluate_target_health": True
126
+ }))
127
+ )
128
+ ```
95
129
 
96
130
  **Important:** If you use GlobalAcceleratorDomainTarget, passing a string rather than an instance of IAccelerator, ensure that the string is a valid domain name of an existing Global Accelerator instance.
97
131
  See [the documentation on DNS addressing](https://docs.aws.amazon.com/global-accelerator/latest/dg/dns-addressing-custom-domains.dns-addressing.html) with Global Accelerator for more info.
@@ -118,6 +152,8 @@ route53.ARecord(self, "AliasRecord",
118
152
  **Important:** The Bucket name must strictly match the full DNS name.
119
153
  See [the Developer Guide](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/getting-started.html) for more info.
120
154
 
155
+ By providing optional properties, you can specify whether to evaluate target health.
156
+
121
157
  ```python
122
158
  import aws_cdk.aws_s3 as s3
123
159
 
@@ -136,38 +172,45 @@ zone = route53.HostedZone.from_lookup(self, "Zone", domain_name=domain_name) # e
136
172
  route53.ARecord(self, "AliasRecord",
137
173
  zone=zone,
138
174
  record_name=record_name, # www
139
- target=route53.RecordTarget.from_alias(targets.BucketWebsiteTarget(bucket_website))
175
+ target=route53.RecordTarget.from_alias(
176
+ targets.BucketWebsiteTarget(bucket_website, {
177
+ "evaluate_target_health": True
178
+ }))
140
179
  )
141
180
  ```
142
181
 
143
182
  * User pool domain
144
183
 
145
- ```python
146
- import aws_cdk.aws_cognito as cognito
184
+ ```python
185
+ import aws_cdk.aws_cognito as cognito
147
186
 
148
- # zone: route53.HostedZone
149
- # domain: cognito.UserPoolDomain
187
+ # zone: route53.HostedZone
188
+ # domain: cognito.UserPoolDomain
189
+
190
+ route53.ARecord(self, "AliasRecord",
191
+ zone=zone,
192
+ target=route53.RecordTarget.from_alias(targets.UserPoolDomainTarget(domain))
193
+ )
194
+ ```
150
195
 
151
- route53.ARecord(self, "AliasRecord",
152
- zone=zone,
153
- target=route53.RecordTarget.from_alias(targets.UserPoolDomainTarget(domain))
154
- )
155
- ```
156
196
  * Route 53 record
157
197
 
158
- ```python
159
- # zone: route53.HostedZone
160
- # record: route53.ARecord
198
+ ```python
199
+ # zone: route53.HostedZone
200
+ # record: route53.ARecord
201
+
202
+ route53.ARecord(self, "AliasRecord",
203
+ zone=zone,
204
+ target=route53.RecordTarget.from_alias(targets.Route53RecordTarget(record))
205
+ )
206
+ ```
161
207
 
162
- route53.ARecord(self, "AliasRecord",
163
- zone=zone,
164
- target=route53.RecordTarget.from_alias(targets.Route53RecordTarget(record))
165
- )
166
- ```
167
208
  * Elastic Beanstalk environment:
168
209
 
169
210
  **Important:** Only supports Elastic Beanstalk environments created after 2016 that have a regional endpoint.
170
211
 
212
+ By providing optional properties, you can specify whether to evaluate target health.
213
+
171
214
  ```python
172
215
  # zone: route53.HostedZone
173
216
  # ebs_environment_url: str
@@ -175,7 +218,10 @@ route53.ARecord(self, "AliasRecord",
175
218
 
176
219
  route53.ARecord(self, "AliasRecord",
177
220
  zone=zone,
178
- target=route53.RecordTarget.from_alias(targets.ElasticBeanstalkEnvironmentEndpointTarget(ebs_environment_url))
221
+ target=route53.RecordTarget.from_alias(
222
+ targets.ElasticBeanstalkEnvironmentEndpointTarget(ebs_environment_url, {
223
+ "evaluate_target_health": True
224
+ }))
179
225
  )
180
226
  ```
181
227
 
@@ -217,6 +263,7 @@ import constructs as _constructs_77d1e7e8
217
263
  from ..aws_apigateway import (
218
264
  IDomainName as _IDomainName_6c4e4c80, RestApiBase as _RestApiBase_0431da32
219
265
  )
266
+ from ..aws_appsync import GraphqlApi as _GraphqlApi_3671c3a8
220
267
  from ..aws_cloudfront import IDistribution as _IDistribution_7ac752a4
221
268
  from ..aws_cognito import UserPoolDomain as _UserPoolDomain_f402e168
222
269
  from ..aws_ec2 import InterfaceVpcEndpoint as _InterfaceVpcEndpoint_9b08bb25
@@ -342,6 +389,59 @@ class ApiGatewayv2DomainProperties(
342
389
  return typing.cast(_AliasRecordTargetConfig_588f62e9, jsii.invoke(self, "bind", [_record, _zone]))
343
390
 
344
391
 
392
+ @jsii.implements(_IAliasRecordTarget_aae9327f)
393
+ class AppSyncTarget(
394
+ metaclass=jsii.JSIIMeta,
395
+ jsii_type="aws-cdk-lib.aws_route53_targets.AppSyncTarget",
396
+ ):
397
+ '''Defines an AppSync Graphql API as the alias target.
398
+
399
+ Requires that the domain
400
+ name will be defined through ``GraphqlApiProps.domainName``.
401
+
402
+ :exampleMetadata: infused
403
+
404
+ Example::
405
+
406
+ import aws_cdk.aws_appsync as appsync
407
+
408
+ # zone: route53.HostedZone
409
+ # graphql_api: appsync.GraphqlApi
410
+
411
+
412
+ route53.ARecord(self, "AliasRecord",
413
+ zone=zone,
414
+ target=route53.RecordTarget.from_alias(targets.AppSyncTarget(graphql_api))
415
+ )
416
+ '''
417
+
418
+ def __init__(self, graphql_api: _GraphqlApi_3671c3a8) -> None:
419
+ '''
420
+ :param graphql_api: -
421
+ '''
422
+ if __debug__:
423
+ type_hints = typing.get_type_hints(_typecheckingstub__babb157ff28ae7a8790773110c310e6380f27259b43d58ba3491e11acd6362ab)
424
+ check_type(argname="argument graphql_api", value=graphql_api, expected_type=type_hints["graphql_api"])
425
+ jsii.create(self.__class__, self, [graphql_api])
426
+
427
+ @jsii.member(jsii_name="bind")
428
+ def bind(
429
+ self,
430
+ _record: _IRecordSet_7d446a82,
431
+ _zone: typing.Optional[_IHostedZone_9a6907ad] = None,
432
+ ) -> _AliasRecordTargetConfig_588f62e9:
433
+ '''Return hosted zone ID and DNS name, usable for Route53 alias targets.
434
+
435
+ :param _record: -
436
+ :param _zone: -
437
+ '''
438
+ if __debug__:
439
+ type_hints = typing.get_type_hints(_typecheckingstub__bb6c1847e1d1aaadc5cdfa732af7d95f520ae163215b4adf60347fc2c8b9a685)
440
+ check_type(argname="argument _record", value=_record, expected_type=type_hints["_record"])
441
+ check_type(argname="argument _zone", value=_zone, expected_type=type_hints["_zone"])
442
+ return typing.cast(_AliasRecordTargetConfig_588f62e9, jsii.invoke(self, "bind", [_record, _zone]))
443
+
444
+
345
445
  @jsii.implements(_IAliasRecordTarget_aae9327f)
346
446
  class BucketWebsiteTarget(
347
447
  metaclass=jsii.JSIIMeta,
@@ -370,18 +470,27 @@ class BucketWebsiteTarget(
370
470
  route53.ARecord(self, "AliasRecord",
371
471
  zone=zone,
372
472
  record_name=record_name, # www
373
- target=route53.RecordTarget.from_alias(targets.BucketWebsiteTarget(bucket_website))
473
+ target=route53.RecordTarget.from_alias(
474
+ targets.BucketWebsiteTarget(bucket_website, {
475
+ "evaluate_target_health": True
476
+ }))
374
477
  )
375
478
  '''
376
479
 
377
- def __init__(self, bucket: _IBucket_42e086fd) -> None:
480
+ def __init__(
481
+ self,
482
+ bucket: _IBucket_42e086fd,
483
+ props: typing.Optional["IAliasRecordTargetProps"] = None,
484
+ ) -> None:
378
485
  '''
379
486
  :param bucket: -
487
+ :param props: -
380
488
  '''
381
489
  if __debug__:
382
490
  type_hints = typing.get_type_hints(_typecheckingstub__ddbd19de44d0f648d972f99cbd261ae3e9159511037db7c12ae0ebcb70553020)
383
491
  check_type(argname="argument bucket", value=bucket, expected_type=type_hints["bucket"])
384
- jsii.create(self.__class__, self, [bucket])
492
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
493
+ jsii.create(self.__class__, self, [bucket, props])
385
494
 
386
495
  @jsii.member(jsii_name="bind")
387
496
  def bind(
@@ -420,18 +529,27 @@ class ClassicLoadBalancerTarget(
420
529
 
421
530
  route53.ARecord(self, "AliasRecord",
422
531
  zone=zone,
423
- target=route53.RecordTarget.from_alias(targets.ClassicLoadBalancerTarget(lb))
532
+ target=route53.RecordTarget.from_alias(
533
+ targets.ClassicLoadBalancerTarget(lb, {
534
+ "evaluate_target_health": True
535
+ }))
424
536
  )
425
537
  '''
426
538
 
427
- def __init__(self, load_balancer: _LoadBalancer_a894d40e) -> None:
539
+ def __init__(
540
+ self,
541
+ load_balancer: _LoadBalancer_a894d40e,
542
+ props: typing.Optional["IAliasRecordTargetProps"] = None,
543
+ ) -> None:
428
544
  '''
429
545
  :param load_balancer: -
546
+ :param props: -
430
547
  '''
431
548
  if __debug__:
432
549
  type_hints = typing.get_type_hints(_typecheckingstub__df60d89e015cd817a27383507bd36a21baad91e6194326c62959170a57cfec93)
433
550
  check_type(argname="argument load_balancer", value=load_balancer, expected_type=type_hints["load_balancer"])
434
- jsii.create(self.__class__, self, [load_balancer])
551
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
552
+ jsii.create(self.__class__, self, [load_balancer, props])
435
553
 
436
554
  @jsii.member(jsii_name="bind")
437
555
  def bind(
@@ -540,18 +658,27 @@ class ElasticBeanstalkEnvironmentEndpointTarget(
540
658
 
541
659
  route53.ARecord(self, "AliasRecord",
542
660
  zone=zone,
543
- target=route53.RecordTarget.from_alias(targets.ElasticBeanstalkEnvironmentEndpointTarget(ebs_environment_url))
661
+ target=route53.RecordTarget.from_alias(
662
+ targets.ElasticBeanstalkEnvironmentEndpointTarget(ebs_environment_url, {
663
+ "evaluate_target_health": True
664
+ }))
544
665
  )
545
666
  '''
546
667
 
547
- def __init__(self, environment_endpoint: builtins.str) -> None:
668
+ def __init__(
669
+ self,
670
+ environment_endpoint: builtins.str,
671
+ props: typing.Optional["IAliasRecordTargetProps"] = None,
672
+ ) -> None:
548
673
  '''
549
674
  :param environment_endpoint: -
675
+ :param props: -
550
676
  '''
551
677
  if __debug__:
552
678
  type_hints = typing.get_type_hints(_typecheckingstub__8d25d707c026f750072f9d979b0260dab154996d630c701cc92fda7ebe39de84)
553
679
  check_type(argname="argument environment_endpoint", value=environment_endpoint, expected_type=type_hints["environment_endpoint"])
554
- jsii.create(self.__class__, self, [environment_endpoint])
680
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
681
+ jsii.create(self.__class__, self, [environment_endpoint, props])
555
682
 
556
683
  @jsii.member(jsii_name="bind")
557
684
  def bind(
@@ -586,18 +713,26 @@ class GlobalAcceleratorDomainTarget(
586
713
  # The values are placeholders you should change.
587
714
  from aws_cdk import aws_route53_targets as route53_targets
588
715
 
589
- global_accelerator_domain_target = route53_targets.GlobalAcceleratorDomainTarget("acceleratorDomainName")
716
+ # alias_record_target_props: route53_targets.IAliasRecordTargetProps
717
+
718
+ global_accelerator_domain_target = route53_targets.GlobalAcceleratorDomainTarget("acceleratorDomainName", alias_record_target_props)
590
719
  '''
591
720
 
592
- def __init__(self, accelerator_domain_name: builtins.str) -> None:
721
+ def __init__(
722
+ self,
723
+ accelerator_domain_name: builtins.str,
724
+ props: typing.Optional["IAliasRecordTargetProps"] = None,
725
+ ) -> None:
593
726
  '''Create an Alias Target for a Global Accelerator domain name.
594
727
 
595
728
  :param accelerator_domain_name: -
729
+ :param props: -
596
730
  '''
597
731
  if __debug__:
598
732
  type_hints = typing.get_type_hints(_typecheckingstub__2c1f5b78bdd86e72483e6033d5bd58f9ee505b8c5c7e7f7a4716fcd03bd2f17e)
599
733
  check_type(argname="argument accelerator_domain_name", value=accelerator_domain_name, expected_type=type_hints["accelerator_domain_name"])
600
- jsii.create(self.__class__, self, [accelerator_domain_name])
734
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
735
+ jsii.create(self.__class__, self, [accelerator_domain_name, props])
601
736
 
602
737
  @jsii.member(jsii_name="bind")
603
738
  def bind(
@@ -646,19 +781,60 @@ class GlobalAcceleratorTarget(
646
781
 
647
782
  route53.ARecord(self, "AliasRecord",
648
783
  zone=zone,
649
- target=route53.RecordTarget.from_alias(targets.GlobalAcceleratorTarget(accelerator))
784
+ target=route53.RecordTarget.from_alias(
785
+ targets.GlobalAcceleratorTarget(accelerator, {
786
+ "evaluate_target_health": True
787
+ }))
650
788
  )
651
789
  '''
652
790
 
653
- def __init__(self, accelerator: _IAccelerator_88df59f2) -> None:
791
+ def __init__(
792
+ self,
793
+ accelerator: _IAccelerator_88df59f2,
794
+ props: typing.Optional["IAliasRecordTargetProps"] = None,
795
+ ) -> None:
654
796
  '''Create an Alias Target for a Global Accelerator instance.
655
797
 
656
798
  :param accelerator: -
799
+ :param props: -
657
800
  '''
658
801
  if __debug__:
659
802
  type_hints = typing.get_type_hints(_typecheckingstub__6e91db2b16be80023a03d4863b5100b3072db6e16f816be05e613cdcc1e6baec)
660
803
  check_type(argname="argument accelerator", value=accelerator, expected_type=type_hints["accelerator"])
661
- jsii.create(self.__class__, self, [accelerator])
804
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
805
+ jsii.create(self.__class__, self, [accelerator, props])
806
+
807
+
808
+ @jsii.interface(jsii_type="aws-cdk-lib.aws_route53_targets.IAliasRecordTargetProps")
809
+ class IAliasRecordTargetProps(typing_extensions.Protocol):
810
+ '''Properties the alias record target.'''
811
+
812
+ @builtins.property
813
+ @jsii.member(jsii_name="evaluateTargetHealth")
814
+ def evaluate_target_health(self) -> typing.Optional[builtins.bool]:
815
+ '''Evaluate target health.
816
+
817
+ :default: - no health check configuration
818
+ '''
819
+ ...
820
+
821
+
822
+ class _IAliasRecordTargetPropsProxy:
823
+ '''Properties the alias record target.'''
824
+
825
+ __jsii_type__: typing.ClassVar[str] = "aws-cdk-lib.aws_route53_targets.IAliasRecordTargetProps"
826
+
827
+ @builtins.property
828
+ @jsii.member(jsii_name="evaluateTargetHealth")
829
+ def evaluate_target_health(self) -> typing.Optional[builtins.bool]:
830
+ '''Evaluate target health.
831
+
832
+ :default: - no health check configuration
833
+ '''
834
+ return typing.cast(typing.Optional[builtins.bool], jsii.get(self, "evaluateTargetHealth"))
835
+
836
+ # Adding a "__jsii_proxy_class__(): typing.Type" function to the interface
837
+ typing.cast(typing.Any, IAliasRecordTargetProps).__jsii_proxy_class__ = lambda : _IAliasRecordTargetPropsProxy
662
838
 
663
839
 
664
840
  @jsii.implements(_IAliasRecordTarget_aae9327f)
@@ -730,18 +906,27 @@ class LoadBalancerTarget(
730
906
 
731
907
  route53.ARecord(self, "AliasRecord",
732
908
  zone=zone,
733
- target=route53.RecordTarget.from_alias(targets.LoadBalancerTarget(lb))
909
+ target=route53.RecordTarget.from_alias(
910
+ targets.LoadBalancerTarget(lb, {
911
+ "evaluate_target_health": True
912
+ }))
734
913
  )
735
914
  '''
736
915
 
737
- def __init__(self, load_balancer: _ILoadBalancerV2_4c5c0fbb) -> None:
916
+ def __init__(
917
+ self,
918
+ load_balancer: _ILoadBalancerV2_4c5c0fbb,
919
+ props: typing.Optional[IAliasRecordTargetProps] = None,
920
+ ) -> None:
738
921
  '''
739
922
  :param load_balancer: -
923
+ :param props: -
740
924
  '''
741
925
  if __debug__:
742
926
  type_hints = typing.get_type_hints(_typecheckingstub__d1a985c9395ef813e5bd41f719bb6218efa5bb0e851f54f91b3d61c932cb1c59)
743
927
  check_type(argname="argument load_balancer", value=load_balancer, expected_type=type_hints["load_balancer"])
744
- jsii.create(self.__class__, self, [load_balancer])
928
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
929
+ jsii.create(self.__class__, self, [load_balancer, props])
745
930
 
746
931
  @jsii.member(jsii_name="bind")
747
932
  def bind(
@@ -898,12 +1083,14 @@ __all__ = [
898
1083
  "ApiGateway",
899
1084
  "ApiGatewayDomain",
900
1085
  "ApiGatewayv2DomainProperties",
1086
+ "AppSyncTarget",
901
1087
  "BucketWebsiteTarget",
902
1088
  "ClassicLoadBalancerTarget",
903
1089
  "CloudFrontTarget",
904
1090
  "ElasticBeanstalkEnvironmentEndpointTarget",
905
1091
  "GlobalAcceleratorDomainTarget",
906
1092
  "GlobalAcceleratorTarget",
1093
+ "IAliasRecordTargetProps",
907
1094
  "InterfaceVpcEndpointTarget",
908
1095
  "LoadBalancerTarget",
909
1096
  "Route53RecordTarget",
@@ -939,8 +1126,22 @@ def _typecheckingstub__06815ea952926fe8cadd75b92163d9cdaa6382360911ec0411cabfe9a
939
1126
  """Type checking stubs"""
940
1127
  pass
941
1128
 
1129
+ def _typecheckingstub__babb157ff28ae7a8790773110c310e6380f27259b43d58ba3491e11acd6362ab(
1130
+ graphql_api: _GraphqlApi_3671c3a8,
1131
+ ) -> None:
1132
+ """Type checking stubs"""
1133
+ pass
1134
+
1135
+ def _typecheckingstub__bb6c1847e1d1aaadc5cdfa732af7d95f520ae163215b4adf60347fc2c8b9a685(
1136
+ _record: _IRecordSet_7d446a82,
1137
+ _zone: typing.Optional[_IHostedZone_9a6907ad] = None,
1138
+ ) -> None:
1139
+ """Type checking stubs"""
1140
+ pass
1141
+
942
1142
  def _typecheckingstub__ddbd19de44d0f648d972f99cbd261ae3e9159511037db7c12ae0ebcb70553020(
943
1143
  bucket: _IBucket_42e086fd,
1144
+ props: typing.Optional[IAliasRecordTargetProps] = None,
944
1145
  ) -> None:
945
1146
  """Type checking stubs"""
946
1147
  pass
@@ -954,6 +1155,7 @@ def _typecheckingstub__dd2ecb9daaec6458d815966f81355d94c2b67af66e5e1242ed3eb8004
954
1155
 
955
1156
  def _typecheckingstub__df60d89e015cd817a27383507bd36a21baad91e6194326c62959170a57cfec93(
956
1157
  load_balancer: _LoadBalancer_a894d40e,
1158
+ props: typing.Optional[IAliasRecordTargetProps] = None,
957
1159
  ) -> None:
958
1160
  """Type checking stubs"""
959
1161
  pass
@@ -986,6 +1188,7 @@ def _typecheckingstub__ff9f8a6340ffc435ad18afba28ab7e6b035f0745841d574ed011feee8
986
1188
 
987
1189
  def _typecheckingstub__8d25d707c026f750072f9d979b0260dab154996d630c701cc92fda7ebe39de84(
988
1190
  environment_endpoint: builtins.str,
1191
+ props: typing.Optional[IAliasRecordTargetProps] = None,
989
1192
  ) -> None:
990
1193
  """Type checking stubs"""
991
1194
  pass
@@ -999,6 +1202,7 @@ def _typecheckingstub__84020a15dd8ef0dcc21b591bd97f450f84cc046c2f1899e6aab8e6cbf
999
1202
 
1000
1203
  def _typecheckingstub__2c1f5b78bdd86e72483e6033d5bd58f9ee505b8c5c7e7f7a4716fcd03bd2f17e(
1001
1204
  accelerator_domain_name: builtins.str,
1205
+ props: typing.Optional[IAliasRecordTargetProps] = None,
1002
1206
  ) -> None:
1003
1207
  """Type checking stubs"""
1004
1208
  pass
@@ -1012,6 +1216,7 @@ def _typecheckingstub__558f27329c2636934fcd56512940ef2784d615ef258b5e13b88e1bdfd
1012
1216
 
1013
1217
  def _typecheckingstub__6e91db2b16be80023a03d4863b5100b3072db6e16f816be05e613cdcc1e6baec(
1014
1218
  accelerator: _IAccelerator_88df59f2,
1219
+ props: typing.Optional[IAliasRecordTargetProps] = None,
1015
1220
  ) -> None:
1016
1221
  """Type checking stubs"""
1017
1222
  pass
@@ -1031,6 +1236,7 @@ def _typecheckingstub__d6092dd3b5ac5bc3015dda9338cbe628b55da24a7ed91f812d3cfd949
1031
1236
 
1032
1237
  def _typecheckingstub__d1a985c9395ef813e5bd41f719bb6218efa5bb0e851f54f91b3d61c932cb1c59(
1033
1238
  load_balancer: _ILoadBalancerV2_4c5c0fbb,
1239
+ props: typing.Optional[IAliasRecordTargetProps] = None,
1034
1240
  ) -> None:
1035
1241
  """Type checking stubs"""
1036
1242
  pass