aws-cdk-lib 2.115.0__py3-none-any.whl → 2.116.1__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 +801 -356
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.115.0.jsii.tgz → aws-cdk-lib@2.116.1.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +3 -1
- aws_cdk/aws_apigatewayv2/__init__.py +595 -222
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +4 -5
- aws_cdk/aws_applicationautoscaling/__init__.py +51 -15
- aws_cdk/aws_appsync/__init__.py +14 -3
- aws_cdk/aws_autoscaling/__init__.py +6 -0
- aws_cdk/aws_b2bi/__init__.py +2445 -0
- aws_cdk/aws_cloud9/__init__.py +63 -63
- aws_cdk/aws_cloudfront/__init__.py +394 -0
- aws_cdk/aws_cloudfront/experimental/__init__.py +5 -2
- aws_cdk/aws_cloudtrail/__init__.py +90 -11
- aws_cdk/aws_cloudwatch/__init__.py +6 -6
- aws_cdk/aws_codedeploy/__init__.py +88 -15
- aws_cdk/aws_codepipeline/__init__.py +645 -0
- aws_cdk/aws_cognito/__init__.py +13 -26
- aws_cdk/aws_config/__init__.py +315 -1
- aws_cdk/aws_connect/__init__.py +532 -37
- aws_cdk/aws_controltower/__init__.py +4 -4
- aws_cdk/aws_datasync/__init__.py +6 -4
- aws_cdk/aws_dms/__init__.py +241 -131
- aws_cdk/aws_dynamodb/__init__.py +8 -0
- aws_cdk/aws_ec2/__init__.py +1030 -45
- aws_cdk/aws_ecr/__init__.py +78 -10
- aws_cdk/aws_ecs/__init__.py +210 -2
- aws_cdk/aws_ecs_patterns/__init__.py +77 -62
- aws_cdk/aws_eks/__init__.py +8 -1
- aws_cdk/aws_elasticache/__init__.py +136 -10
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +10 -13
- aws_cdk/aws_emr/__init__.py +234 -17
- aws_cdk/aws_eventschemas/__init__.py +15 -13
- aws_cdk/aws_fis/__init__.py +33 -13
- aws_cdk/aws_gamelift/__init__.py +47 -0
- aws_cdk/aws_imagebuilder/__init__.py +922 -84
- aws_cdk/aws_internetmonitor/__init__.py +12 -10
- aws_cdk/aws_iot/__init__.py +26 -46
- aws_cdk/aws_iottwinmaker/__init__.py +36 -34
- aws_cdk/aws_lambda/__init__.py +19 -15
- aws_cdk/aws_lambda_nodejs/__init__.py +5 -2
- aws_cdk/aws_logs/__init__.py +6 -6
- aws_cdk/aws_opensearchservice/__init__.py +5 -3
- aws_cdk/aws_organizations/__init__.py +3 -3
- aws_cdk/aws_osis/__init__.py +17 -13
- aws_cdk/aws_rds/__init__.py +6 -0
- aws_cdk/aws_s3/__init__.py +4 -2
- aws_cdk/aws_s3outposts/__init__.py +8 -8
- aws_cdk/aws_sagemaker/__init__.py +17 -94
- aws_cdk/aws_secretsmanager/__init__.py +9 -7
- aws_cdk/aws_securityhub/__init__.py +18 -0
- aws_cdk/aws_servicecatalogappregistry/__init__.py +31 -0
- aws_cdk/aws_ses/__init__.py +58 -11
- aws_cdk/aws_sns/__init__.py +309 -10
- aws_cdk/aws_ssm/__init__.py +3 -5
- aws_cdk/aws_stepfunctions/__init__.py +335 -19
- aws_cdk/aws_stepfunctions_tasks/__init__.py +388 -38
- aws_cdk/aws_transfer/__init__.py +37 -10
- aws_cdk/custom_resources/__init__.py +443 -1
- aws_cdk/triggers/__init__.py +5 -2
- {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/RECORD +66 -65
- {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/top_level.txt +0 -0
aws_cdk/aws_eks/__init__.py
CHANGED
|
@@ -239,6 +239,10 @@ cluster.add_nodegroup_capacity("custom-node-group",
|
|
|
239
239
|
)
|
|
240
240
|
```
|
|
241
241
|
|
|
242
|
+
> **NOTE:** If you add instances with the inferentia (`inf1` or `inf2`) class the
|
|
243
|
+
> [neuron plugin](https://awsdocs-neuron.readthedocs-hosted.com/en/latest/containers/dlc-then-eks-devflow.html)
|
|
244
|
+
> will be automatically installed in the kubernetes cluster.
|
|
245
|
+
|
|
242
246
|
#### Node Groups with IPv6 Support
|
|
243
247
|
|
|
244
248
|
Node groups are available with IPv6 configured networks. For custom roles assigned to node groups additional permissions are necessary in order for pods to obtain an IPv6 address. The default node role will include these permissions.
|
|
@@ -629,6 +633,9 @@ eks.Cluster(self, "HelloEKS",
|
|
|
629
633
|
)
|
|
630
634
|
```
|
|
631
635
|
|
|
636
|
+
The `albController` requires `defaultCapacity` or at least one nodegroup. If there's no `defaultCapacity` or available
|
|
637
|
+
nodegroup for the cluster, the `albController` deployment would fail.
|
|
638
|
+
|
|
632
639
|
Querying the controller pods should look something like this:
|
|
633
640
|
|
|
634
641
|
```console
|
|
@@ -11165,7 +11172,7 @@ class KubernetesManifest(
|
|
|
11165
11172
|
@jsii.python.classproperty
|
|
11166
11173
|
@jsii.member(jsii_name="RESOURCE_TYPE")
|
|
11167
11174
|
def RESOURCE_TYPE(cls) -> builtins.str:
|
|
11168
|
-
'''The CloudFormation
|
|
11175
|
+
'''The CloudFormation resource type.'''
|
|
11169
11176
|
return typing.cast(builtins.str, jsii.sget(cls, "RESOURCE_TYPE"))
|
|
11170
11177
|
|
|
11171
11178
|
|
|
@@ -5404,9 +5404,17 @@ class CfnServerlessCache(
|
|
|
5404
5404
|
),
|
|
5405
5405
|
daily_snapshot_time="dailySnapshotTime",
|
|
5406
5406
|
description="description",
|
|
5407
|
+
endpoint=elasticache.CfnServerlessCache.EndpointProperty(
|
|
5408
|
+
address="address",
|
|
5409
|
+
port=123
|
|
5410
|
+
),
|
|
5407
5411
|
final_snapshot_name="finalSnapshotName",
|
|
5408
5412
|
kms_key_id="kmsKeyId",
|
|
5409
5413
|
major_engine_version="majorEngineVersion",
|
|
5414
|
+
reader_endpoint=elasticache.CfnServerlessCache.EndpointProperty(
|
|
5415
|
+
address="address",
|
|
5416
|
+
port=123
|
|
5417
|
+
),
|
|
5410
5418
|
security_group_ids=["securityGroupIds"],
|
|
5411
5419
|
snapshot_arns_to_restore=["snapshotArnsToRestore"],
|
|
5412
5420
|
snapshot_retention_limit=123,
|
|
@@ -5429,9 +5437,11 @@ class CfnServerlessCache(
|
|
|
5429
5437
|
cache_usage_limits: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnServerlessCache.CacheUsageLimitsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5430
5438
|
daily_snapshot_time: typing.Optional[builtins.str] = None,
|
|
5431
5439
|
description: typing.Optional[builtins.str] = None,
|
|
5440
|
+
endpoint: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnServerlessCache.EndpointProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5432
5441
|
final_snapshot_name: typing.Optional[builtins.str] = None,
|
|
5433
5442
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
5434
5443
|
major_engine_version: typing.Optional[builtins.str] = None,
|
|
5444
|
+
reader_endpoint: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnServerlessCache.EndpointProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5435
5445
|
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
5436
5446
|
snapshot_arns_to_restore: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
5437
5447
|
snapshot_retention_limit: typing.Optional[jsii.Number] = None,
|
|
@@ -5447,9 +5457,11 @@ class CfnServerlessCache(
|
|
|
5447
5457
|
:param cache_usage_limits: The cache usage limit for the serverless cache.
|
|
5448
5458
|
:param daily_snapshot_time: The daily time that a cache snapshot will be created. Default is NULL, i.e. snapshots will not be created at a specific time on a daily basis. Available for Redis only.
|
|
5449
5459
|
:param description: A description of the serverless cache.
|
|
5460
|
+
:param endpoint: Represents the information required for client programs to connect to a cache node.
|
|
5450
5461
|
:param final_snapshot_name: The name of the final snapshot taken of a cache before the cache is deleted.
|
|
5451
5462
|
:param kms_key_id: The ID of the AWS Key Management Service (KMS) key that is used to encrypt data at rest in the serverless cache.
|
|
5452
5463
|
:param major_engine_version: The version number of the engine the serverless cache is compatible with.
|
|
5464
|
+
:param reader_endpoint: Represents the information required for client programs to connect to a cache node.
|
|
5453
5465
|
:param security_group_ids: The IDs of the EC2 security groups associated with the serverless cache.
|
|
5454
5466
|
:param snapshot_arns_to_restore: The ARN of the snapshot from which to restore data into the new cache.
|
|
5455
5467
|
:param snapshot_retention_limit: The current setting for the number of serverless cache snapshots the system will retain. Available for Redis only.
|
|
@@ -5467,9 +5479,11 @@ class CfnServerlessCache(
|
|
|
5467
5479
|
cache_usage_limits=cache_usage_limits,
|
|
5468
5480
|
daily_snapshot_time=daily_snapshot_time,
|
|
5469
5481
|
description=description,
|
|
5482
|
+
endpoint=endpoint,
|
|
5470
5483
|
final_snapshot_name=final_snapshot_name,
|
|
5471
5484
|
kms_key_id=kms_key_id,
|
|
5472
5485
|
major_engine_version=major_engine_version,
|
|
5486
|
+
reader_endpoint=reader_endpoint,
|
|
5473
5487
|
security_group_ids=security_group_ids,
|
|
5474
5488
|
snapshot_arns_to_restore=snapshot_arns_to_restore,
|
|
5475
5489
|
snapshot_retention_limit=snapshot_retention_limit,
|
|
@@ -5529,13 +5543,22 @@ class CfnServerlessCache(
|
|
|
5529
5543
|
return typing.cast(builtins.str, jsii.get(self, "attrCreateTime"))
|
|
5530
5544
|
|
|
5531
5545
|
@builtins.property
|
|
5532
|
-
@jsii.member(jsii_name="
|
|
5533
|
-
def
|
|
5534
|
-
'''
|
|
5546
|
+
@jsii.member(jsii_name="attrEndpointAddress")
|
|
5547
|
+
def attr_endpoint_address(self) -> builtins.str:
|
|
5548
|
+
'''The DNS hostname of the cache node.
|
|
5535
5549
|
|
|
5536
|
-
:cloudformationAttribute: Endpoint
|
|
5550
|
+
:cloudformationAttribute: Endpoint.Address
|
|
5537
5551
|
'''
|
|
5538
|
-
return typing.cast(
|
|
5552
|
+
return typing.cast(builtins.str, jsii.get(self, "attrEndpointAddress"))
|
|
5553
|
+
|
|
5554
|
+
@builtins.property
|
|
5555
|
+
@jsii.member(jsii_name="attrEndpointPort")
|
|
5556
|
+
def attr_endpoint_port(self) -> jsii.Number:
|
|
5557
|
+
'''The port number that the cache engine is listening on.
|
|
5558
|
+
|
|
5559
|
+
:cloudformationAttribute: Endpoint.Port
|
|
5560
|
+
'''
|
|
5561
|
+
return typing.cast(jsii.Number, jsii.get(self, "attrEndpointPort"))
|
|
5539
5562
|
|
|
5540
5563
|
@builtins.property
|
|
5541
5564
|
@jsii.member(jsii_name="attrFullEngineVersion")
|
|
@@ -5547,13 +5570,22 @@ class CfnServerlessCache(
|
|
|
5547
5570
|
return typing.cast(builtins.str, jsii.get(self, "attrFullEngineVersion"))
|
|
5548
5571
|
|
|
5549
5572
|
@builtins.property
|
|
5550
|
-
@jsii.member(jsii_name="
|
|
5551
|
-
def
|
|
5552
|
-
'''
|
|
5573
|
+
@jsii.member(jsii_name="attrReaderEndpointAddress")
|
|
5574
|
+
def attr_reader_endpoint_address(self) -> builtins.str:
|
|
5575
|
+
'''The DNS hostname of the cache node.
|
|
5553
5576
|
|
|
5554
|
-
:cloudformationAttribute: ReaderEndpoint
|
|
5577
|
+
:cloudformationAttribute: ReaderEndpoint.Address
|
|
5555
5578
|
'''
|
|
5556
|
-
return typing.cast(
|
|
5579
|
+
return typing.cast(builtins.str, jsii.get(self, "attrReaderEndpointAddress"))
|
|
5580
|
+
|
|
5581
|
+
@builtins.property
|
|
5582
|
+
@jsii.member(jsii_name="attrReaderEndpointPort")
|
|
5583
|
+
def attr_reader_endpoint_port(self) -> jsii.Number:
|
|
5584
|
+
'''The port number that the cache engine is listening on.
|
|
5585
|
+
|
|
5586
|
+
:cloudformationAttribute: ReaderEndpoint.Port
|
|
5587
|
+
'''
|
|
5588
|
+
return typing.cast(jsii.Number, jsii.get(self, "attrReaderEndpointPort"))
|
|
5557
5589
|
|
|
5558
5590
|
@builtins.property
|
|
5559
5591
|
@jsii.member(jsii_name="attrStatus")
|
|
@@ -5641,6 +5673,24 @@ class CfnServerlessCache(
|
|
|
5641
5673
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5642
5674
|
jsii.set(self, "description", value)
|
|
5643
5675
|
|
|
5676
|
+
@builtins.property
|
|
5677
|
+
@jsii.member(jsii_name="endpoint")
|
|
5678
|
+
def endpoint(
|
|
5679
|
+
self,
|
|
5680
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnServerlessCache.EndpointProperty"]]:
|
|
5681
|
+
'''Represents the information required for client programs to connect to a cache node.'''
|
|
5682
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnServerlessCache.EndpointProperty"]], jsii.get(self, "endpoint"))
|
|
5683
|
+
|
|
5684
|
+
@endpoint.setter
|
|
5685
|
+
def endpoint(
|
|
5686
|
+
self,
|
|
5687
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnServerlessCache.EndpointProperty"]],
|
|
5688
|
+
) -> None:
|
|
5689
|
+
if __debug__:
|
|
5690
|
+
type_hints = typing.get_type_hints(_typecheckingstub__cf26818381fc6b07f8a2615330e14830cc8722c7bea067d80e6017ceab59af6a)
|
|
5691
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5692
|
+
jsii.set(self, "endpoint", value)
|
|
5693
|
+
|
|
5644
5694
|
@builtins.property
|
|
5645
5695
|
@jsii.member(jsii_name="finalSnapshotName")
|
|
5646
5696
|
def final_snapshot_name(self) -> typing.Optional[builtins.str]:
|
|
@@ -5680,6 +5730,24 @@ class CfnServerlessCache(
|
|
|
5680
5730
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5681
5731
|
jsii.set(self, "majorEngineVersion", value)
|
|
5682
5732
|
|
|
5733
|
+
@builtins.property
|
|
5734
|
+
@jsii.member(jsii_name="readerEndpoint")
|
|
5735
|
+
def reader_endpoint(
|
|
5736
|
+
self,
|
|
5737
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnServerlessCache.EndpointProperty"]]:
|
|
5738
|
+
'''Represents the information required for client programs to connect to a cache node.'''
|
|
5739
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnServerlessCache.EndpointProperty"]], jsii.get(self, "readerEndpoint"))
|
|
5740
|
+
|
|
5741
|
+
@reader_endpoint.setter
|
|
5742
|
+
def reader_endpoint(
|
|
5743
|
+
self,
|
|
5744
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnServerlessCache.EndpointProperty"]],
|
|
5745
|
+
) -> None:
|
|
5746
|
+
if __debug__:
|
|
5747
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d7e3145e59d2b03c61c29dd7fc18ce6d775561dcfa018b131c81d1f6e06fcd65)
|
|
5748
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5749
|
+
jsii.set(self, "readerEndpoint", value)
|
|
5750
|
+
|
|
5683
5751
|
@builtins.property
|
|
5684
5752
|
@jsii.member(jsii_name="securityGroupIds")
|
|
5685
5753
|
def security_group_ids(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
@@ -6044,9 +6112,11 @@ class CfnServerlessCache(
|
|
|
6044
6112
|
"cache_usage_limits": "cacheUsageLimits",
|
|
6045
6113
|
"daily_snapshot_time": "dailySnapshotTime",
|
|
6046
6114
|
"description": "description",
|
|
6115
|
+
"endpoint": "endpoint",
|
|
6047
6116
|
"final_snapshot_name": "finalSnapshotName",
|
|
6048
6117
|
"kms_key_id": "kmsKeyId",
|
|
6049
6118
|
"major_engine_version": "majorEngineVersion",
|
|
6119
|
+
"reader_endpoint": "readerEndpoint",
|
|
6050
6120
|
"security_group_ids": "securityGroupIds",
|
|
6051
6121
|
"snapshot_arns_to_restore": "snapshotArnsToRestore",
|
|
6052
6122
|
"snapshot_retention_limit": "snapshotRetentionLimit",
|
|
@@ -6064,9 +6134,11 @@ class CfnServerlessCacheProps:
|
|
|
6064
6134
|
cache_usage_limits: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnServerlessCache.CacheUsageLimitsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6065
6135
|
daily_snapshot_time: typing.Optional[builtins.str] = None,
|
|
6066
6136
|
description: typing.Optional[builtins.str] = None,
|
|
6137
|
+
endpoint: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnServerlessCache.EndpointProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6067
6138
|
final_snapshot_name: typing.Optional[builtins.str] = None,
|
|
6068
6139
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
6069
6140
|
major_engine_version: typing.Optional[builtins.str] = None,
|
|
6141
|
+
reader_endpoint: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnServerlessCache.EndpointProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6070
6142
|
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
6071
6143
|
snapshot_arns_to_restore: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
6072
6144
|
snapshot_retention_limit: typing.Optional[jsii.Number] = None,
|
|
@@ -6081,9 +6153,11 @@ class CfnServerlessCacheProps:
|
|
|
6081
6153
|
:param cache_usage_limits: The cache usage limit for the serverless cache.
|
|
6082
6154
|
:param daily_snapshot_time: The daily time that a cache snapshot will be created. Default is NULL, i.e. snapshots will not be created at a specific time on a daily basis. Available for Redis only.
|
|
6083
6155
|
:param description: A description of the serverless cache.
|
|
6156
|
+
:param endpoint: Represents the information required for client programs to connect to a cache node.
|
|
6084
6157
|
:param final_snapshot_name: The name of the final snapshot taken of a cache before the cache is deleted.
|
|
6085
6158
|
:param kms_key_id: The ID of the AWS Key Management Service (KMS) key that is used to encrypt data at rest in the serverless cache.
|
|
6086
6159
|
:param major_engine_version: The version number of the engine the serverless cache is compatible with.
|
|
6160
|
+
:param reader_endpoint: Represents the information required for client programs to connect to a cache node.
|
|
6087
6161
|
:param security_group_ids: The IDs of the EC2 security groups associated with the serverless cache.
|
|
6088
6162
|
:param snapshot_arns_to_restore: The ARN of the snapshot from which to restore data into the new cache.
|
|
6089
6163
|
:param snapshot_retention_limit: The current setting for the number of serverless cache snapshots the system will retain. Available for Redis only.
|
|
@@ -6116,9 +6190,17 @@ class CfnServerlessCacheProps:
|
|
|
6116
6190
|
),
|
|
6117
6191
|
daily_snapshot_time="dailySnapshotTime",
|
|
6118
6192
|
description="description",
|
|
6193
|
+
endpoint=elasticache.CfnServerlessCache.EndpointProperty(
|
|
6194
|
+
address="address",
|
|
6195
|
+
port=123
|
|
6196
|
+
),
|
|
6119
6197
|
final_snapshot_name="finalSnapshotName",
|
|
6120
6198
|
kms_key_id="kmsKeyId",
|
|
6121
6199
|
major_engine_version="majorEngineVersion",
|
|
6200
|
+
reader_endpoint=elasticache.CfnServerlessCache.EndpointProperty(
|
|
6201
|
+
address="address",
|
|
6202
|
+
port=123
|
|
6203
|
+
),
|
|
6122
6204
|
security_group_ids=["securityGroupIds"],
|
|
6123
6205
|
snapshot_arns_to_restore=["snapshotArnsToRestore"],
|
|
6124
6206
|
snapshot_retention_limit=123,
|
|
@@ -6137,9 +6219,11 @@ class CfnServerlessCacheProps:
|
|
|
6137
6219
|
check_type(argname="argument cache_usage_limits", value=cache_usage_limits, expected_type=type_hints["cache_usage_limits"])
|
|
6138
6220
|
check_type(argname="argument daily_snapshot_time", value=daily_snapshot_time, expected_type=type_hints["daily_snapshot_time"])
|
|
6139
6221
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
6222
|
+
check_type(argname="argument endpoint", value=endpoint, expected_type=type_hints["endpoint"])
|
|
6140
6223
|
check_type(argname="argument final_snapshot_name", value=final_snapshot_name, expected_type=type_hints["final_snapshot_name"])
|
|
6141
6224
|
check_type(argname="argument kms_key_id", value=kms_key_id, expected_type=type_hints["kms_key_id"])
|
|
6142
6225
|
check_type(argname="argument major_engine_version", value=major_engine_version, expected_type=type_hints["major_engine_version"])
|
|
6226
|
+
check_type(argname="argument reader_endpoint", value=reader_endpoint, expected_type=type_hints["reader_endpoint"])
|
|
6143
6227
|
check_type(argname="argument security_group_ids", value=security_group_ids, expected_type=type_hints["security_group_ids"])
|
|
6144
6228
|
check_type(argname="argument snapshot_arns_to_restore", value=snapshot_arns_to_restore, expected_type=type_hints["snapshot_arns_to_restore"])
|
|
6145
6229
|
check_type(argname="argument snapshot_retention_limit", value=snapshot_retention_limit, expected_type=type_hints["snapshot_retention_limit"])
|
|
@@ -6156,12 +6240,16 @@ class CfnServerlessCacheProps:
|
|
|
6156
6240
|
self._values["daily_snapshot_time"] = daily_snapshot_time
|
|
6157
6241
|
if description is not None:
|
|
6158
6242
|
self._values["description"] = description
|
|
6243
|
+
if endpoint is not None:
|
|
6244
|
+
self._values["endpoint"] = endpoint
|
|
6159
6245
|
if final_snapshot_name is not None:
|
|
6160
6246
|
self._values["final_snapshot_name"] = final_snapshot_name
|
|
6161
6247
|
if kms_key_id is not None:
|
|
6162
6248
|
self._values["kms_key_id"] = kms_key_id
|
|
6163
6249
|
if major_engine_version is not None:
|
|
6164
6250
|
self._values["major_engine_version"] = major_engine_version
|
|
6251
|
+
if reader_endpoint is not None:
|
|
6252
|
+
self._values["reader_endpoint"] = reader_endpoint
|
|
6165
6253
|
if security_group_ids is not None:
|
|
6166
6254
|
self._values["security_group_ids"] = security_group_ids
|
|
6167
6255
|
if snapshot_arns_to_restore is not None:
|
|
@@ -6226,6 +6314,17 @@ class CfnServerlessCacheProps:
|
|
|
6226
6314
|
result = self._values.get("description")
|
|
6227
6315
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
6228
6316
|
|
|
6317
|
+
@builtins.property
|
|
6318
|
+
def endpoint(
|
|
6319
|
+
self,
|
|
6320
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnServerlessCache.EndpointProperty]]:
|
|
6321
|
+
'''Represents the information required for client programs to connect to a cache node.
|
|
6322
|
+
|
|
6323
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-serverlesscache.html#cfn-elasticache-serverlesscache-endpoint
|
|
6324
|
+
'''
|
|
6325
|
+
result = self._values.get("endpoint")
|
|
6326
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnServerlessCache.EndpointProperty]], result)
|
|
6327
|
+
|
|
6229
6328
|
@builtins.property
|
|
6230
6329
|
def final_snapshot_name(self) -> typing.Optional[builtins.str]:
|
|
6231
6330
|
'''The name of the final snapshot taken of a cache before the cache is deleted.
|
|
@@ -6253,6 +6352,17 @@ class CfnServerlessCacheProps:
|
|
|
6253
6352
|
result = self._values.get("major_engine_version")
|
|
6254
6353
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
6255
6354
|
|
|
6355
|
+
@builtins.property
|
|
6356
|
+
def reader_endpoint(
|
|
6357
|
+
self,
|
|
6358
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnServerlessCache.EndpointProperty]]:
|
|
6359
|
+
'''Represents the information required for client programs to connect to a cache node.
|
|
6360
|
+
|
|
6361
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-serverlesscache.html#cfn-elasticache-serverlesscache-readerendpoint
|
|
6362
|
+
'''
|
|
6363
|
+
result = self._values.get("reader_endpoint")
|
|
6364
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnServerlessCache.EndpointProperty]], result)
|
|
6365
|
+
|
|
6256
6366
|
@builtins.property
|
|
6257
6367
|
def security_group_ids(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
6258
6368
|
'''The IDs of the EC2 security groups associated with the serverless cache.
|
|
@@ -8354,9 +8464,11 @@ def _typecheckingstub__f204522453489e8198605933b3b942062e9c202c1099285663a7d772a
|
|
|
8354
8464
|
cache_usage_limits: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnServerlessCache.CacheUsageLimitsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8355
8465
|
daily_snapshot_time: typing.Optional[builtins.str] = None,
|
|
8356
8466
|
description: typing.Optional[builtins.str] = None,
|
|
8467
|
+
endpoint: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnServerlessCache.EndpointProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8357
8468
|
final_snapshot_name: typing.Optional[builtins.str] = None,
|
|
8358
8469
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
8359
8470
|
major_engine_version: typing.Optional[builtins.str] = None,
|
|
8471
|
+
reader_endpoint: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnServerlessCache.EndpointProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8360
8472
|
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8361
8473
|
snapshot_arns_to_restore: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8362
8474
|
snapshot_retention_limit: typing.Optional[jsii.Number] = None,
|
|
@@ -8409,6 +8521,12 @@ def _typecheckingstub__b6ee9bbb29fab9e6641d85980e882cc3db988c37421cc1d376048cdf7
|
|
|
8409
8521
|
"""Type checking stubs"""
|
|
8410
8522
|
pass
|
|
8411
8523
|
|
|
8524
|
+
def _typecheckingstub__cf26818381fc6b07f8a2615330e14830cc8722c7bea067d80e6017ceab59af6a(
|
|
8525
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnServerlessCache.EndpointProperty]],
|
|
8526
|
+
) -> None:
|
|
8527
|
+
"""Type checking stubs"""
|
|
8528
|
+
pass
|
|
8529
|
+
|
|
8412
8530
|
def _typecheckingstub__62246ee954ddcb344e45c430ef7cbe75d5a3b692a00d6e538baa399c5cab349a(
|
|
8413
8531
|
value: typing.Optional[builtins.str],
|
|
8414
8532
|
) -> None:
|
|
@@ -8427,6 +8545,12 @@ def _typecheckingstub__618e7242f4c8d6ea2092e93310602455166596d1a96215a2fb33d826b
|
|
|
8427
8545
|
"""Type checking stubs"""
|
|
8428
8546
|
pass
|
|
8429
8547
|
|
|
8548
|
+
def _typecheckingstub__d7e3145e59d2b03c61c29dd7fc18ce6d775561dcfa018b131c81d1f6e06fcd65(
|
|
8549
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnServerlessCache.EndpointProperty]],
|
|
8550
|
+
) -> None:
|
|
8551
|
+
"""Type checking stubs"""
|
|
8552
|
+
pass
|
|
8553
|
+
|
|
8430
8554
|
def _typecheckingstub__c96776cfdc2836177648dc34a892d382e760b03e46d603807886c25a9fc1d103(
|
|
8431
8555
|
value: typing.Optional[typing.List[builtins.str]],
|
|
8432
8556
|
) -> None:
|
|
@@ -8501,9 +8625,11 @@ def _typecheckingstub__58b8c0bd8ed5d4d4b90b896e92a64fc113ba2b7b80dfa7075b8fad4b0
|
|
|
8501
8625
|
cache_usage_limits: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnServerlessCache.CacheUsageLimitsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8502
8626
|
daily_snapshot_time: typing.Optional[builtins.str] = None,
|
|
8503
8627
|
description: typing.Optional[builtins.str] = None,
|
|
8628
|
+
endpoint: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnServerlessCache.EndpointProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8504
8629
|
final_snapshot_name: typing.Optional[builtins.str] = None,
|
|
8505
8630
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
8506
8631
|
major_engine_version: typing.Optional[builtins.str] = None,
|
|
8632
|
+
reader_endpoint: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnServerlessCache.EndpointProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8507
8633
|
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8508
8634
|
snapshot_arns_to_restore: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8509
8635
|
snapshot_retention_limit: typing.Optional[jsii.Number] = None,
|
|
@@ -18717,21 +18717,18 @@ class ApplicationLoadBalancerProps(BaseLoadBalancerProps):
|
|
|
18717
18717
|
|
|
18718
18718
|
Example::
|
|
18719
18719
|
|
|
18720
|
-
|
|
18721
|
-
# task_definition: ecs.TaskDefinition
|
|
18722
|
-
# vpc: ec2.Vpc
|
|
18720
|
+
from aws_cdk.aws_apigatewayv2_integrations import HttpAlbIntegration
|
|
18723
18721
|
|
|
18724
|
-
service = ecs.FargateService(self, "Service", cluster=cluster, task_definition=task_definition)
|
|
18725
18722
|
|
|
18726
|
-
|
|
18727
|
-
|
|
18728
|
-
|
|
18729
|
-
|
|
18730
|
-
|
|
18731
|
-
|
|
18732
|
-
|
|
18733
|
-
|
|
18734
|
-
)
|
|
18723
|
+
vpc = ec2.Vpc(self, "VPC")
|
|
18724
|
+
lb = elbv2.ApplicationLoadBalancer(self, "lb", vpc=vpc)
|
|
18725
|
+
listener = lb.add_listener("listener", port=80)
|
|
18726
|
+
listener.add_targets("target",
|
|
18727
|
+
port=80
|
|
18728
|
+
)
|
|
18729
|
+
|
|
18730
|
+
http_endpoint = apigwv2.HttpApi(self, "HttpProxyPrivateApi",
|
|
18731
|
+
default_integration=HttpAlbIntegration("DefaultIntegration", listener)
|
|
18735
18732
|
)
|
|
18736
18733
|
'''
|
|
18737
18734
|
if isinstance(vpc_subnets, dict):
|