aws-cdk-lib 2.167.2__py3-none-any.whl → 2.169.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 +2083 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.167.2.jsii.tgz → aws-cdk-lib@2.169.0.jsii.tgz} +0 -0
- aws_cdk/aws_accessanalyzer/__init__.py +244 -13
- aws_cdk/aws_applicationautoscaling/__init__.py +1691 -95
- aws_cdk/aws_applicationinsights/__init__.py +41 -0
- aws_cdk/aws_applicationsignals/__init__.py +124 -0
- aws_cdk/aws_autoscaling/__init__.py +743 -7
- aws_cdk/aws_batch/__init__.py +202 -5
- aws_cdk/aws_bedrock/__init__.py +12 -12
- aws_cdk/aws_cleanrooms/__init__.py +17 -8
- aws_cdk/aws_cloudformation/__init__.py +2571 -492
- aws_cdk/aws_cloudfront/__init__.py +281 -0
- aws_cdk/aws_cloudfront/experimental/__init__.py +5 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +714 -132
- aws_cdk/aws_cloudtrail/__init__.py +52 -14
- aws_cdk/aws_codebuild/__init__.py +670 -4
- aws_cdk/aws_connect/__init__.py +378 -0
- aws_cdk/aws_connectcampaignsv2/__init__.py +3376 -0
- aws_cdk/aws_customerprofiles/__init__.py +44 -0
- aws_cdk/aws_deadline/__init__.py +299 -6
- aws_cdk/aws_dynamodb/__init__.py +359 -16
- aws_cdk/aws_ec2/__init__.py +19 -6
- aws_cdk/aws_ecs/__init__.py +231 -12
- aws_cdk/aws_efs/__init__.py +61 -4
- aws_cdk/aws_eks/__init__.py +116 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +160 -11
- aws_cdk/aws_fis/__init__.py +495 -0
- aws_cdk/aws_gamelift/__init__.py +3204 -1104
- aws_cdk/aws_iot/__init__.py +209 -0
- aws_cdk/aws_iotfleetwise/__init__.py +550 -0
- aws_cdk/aws_iotsitewise/__init__.py +6 -3
- aws_cdk/aws_ivs/__init__.py +458 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +756 -8
- aws_cdk/aws_lambda/__init__.py +634 -259
- aws_cdk/aws_lambda_destinations/__init__.py +73 -0
- aws_cdk/aws_lambda_event_sources/__init__.py +102 -2
- aws_cdk/aws_location/__init__.py +18 -18
- aws_cdk/aws_mediastore/__init__.py +22 -10
- aws_cdk/aws_opensearchservice/__init__.py +6 -0
- aws_cdk/aws_quicksight/__init__.py +35 -19
- aws_cdk/aws_rbin/__init__.py +902 -0
- aws_cdk/aws_rds/__init__.py +166 -3
- aws_cdk/aws_route53resolver/__init__.py +76 -19
- aws_cdk/aws_sagemaker/__init__.py +32 -0
- aws_cdk/aws_securityhub/__init__.py +11 -14
- aws_cdk/aws_ses/__init__.py +58 -5
- aws_cdk/aws_sns/__init__.py +593 -8
- aws_cdk/aws_sns_subscriptions/__init__.py +68 -22
- aws_cdk/aws_stepfunctions_tasks/__init__.py +1601 -8
- aws_cdk/aws_synthetics/__init__.py +46 -0
- aws_cdk/aws_transfer/__init__.py +0 -8
- aws_cdk/aws_vpclattice/__init__.py +157 -2
- aws_cdk/aws_wisdom/__init__.py +113 -69
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/RECORD +60 -58
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/top_level.txt +0 -0
|
@@ -576,6 +576,28 @@ tg = elbv2.ApplicationTargetGroup(self, "TargetGroup",
|
|
|
576
576
|
)
|
|
577
577
|
```
|
|
578
578
|
|
|
579
|
+
### Target Group level cross-zone load balancing setting for Application Load Balancers and Network Load Balancers
|
|
580
|
+
|
|
581
|
+
You can set cross-zone load balancing setting at the target group level by setting `crossZone` property.
|
|
582
|
+
|
|
583
|
+
If not specified, it will use the load balancer's configuration.
|
|
584
|
+
|
|
585
|
+
For more infomation, see [How Elastic Load Balancing works](https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/how-elastic-load-balancing-works.html).
|
|
586
|
+
|
|
587
|
+
```python
|
|
588
|
+
# vpc: ec2.Vpc
|
|
589
|
+
|
|
590
|
+
|
|
591
|
+
target_group = elbv2.ApplicationTargetGroup(self, "TargetGroup",
|
|
592
|
+
vpc=vpc,
|
|
593
|
+
port=80,
|
|
594
|
+
target_type=elbv2.TargetType.INSTANCE,
|
|
595
|
+
|
|
596
|
+
# Whether cross zone load balancing is enabled.
|
|
597
|
+
cross_zone_enabled=True
|
|
598
|
+
)
|
|
599
|
+
```
|
|
600
|
+
|
|
579
601
|
## Using Lambda Targets
|
|
580
602
|
|
|
581
603
|
To use a Lambda Function as a target, use the integration class in the
|
|
@@ -3307,6 +3329,7 @@ class BaseNetworkListenerProps:
|
|
|
3307
3329
|
jsii_type="aws-cdk-lib.aws_elasticloadbalancingv2.BaseTargetGroupProps",
|
|
3308
3330
|
jsii_struct_bases=[],
|
|
3309
3331
|
name_mapping={
|
|
3332
|
+
"cross_zone_enabled": "crossZoneEnabled",
|
|
3310
3333
|
"deregistration_delay": "deregistrationDelay",
|
|
3311
3334
|
"health_check": "healthCheck",
|
|
3312
3335
|
"target_group_name": "targetGroupName",
|
|
@@ -3318,6 +3341,7 @@ class BaseTargetGroupProps:
|
|
|
3318
3341
|
def __init__(
|
|
3319
3342
|
self,
|
|
3320
3343
|
*,
|
|
3344
|
+
cross_zone_enabled: typing.Optional[builtins.bool] = None,
|
|
3321
3345
|
deregistration_delay: typing.Optional[_Duration_4839e8c3] = None,
|
|
3322
3346
|
health_check: typing.Optional[typing.Union["HealthCheck", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3323
3347
|
target_group_name: typing.Optional[builtins.str] = None,
|
|
@@ -3326,6 +3350,7 @@ class BaseTargetGroupProps:
|
|
|
3326
3350
|
) -> None:
|
|
3327
3351
|
'''Basic properties of both Application and Network Target Groups.
|
|
3328
3352
|
|
|
3353
|
+
:param cross_zone_enabled: Indicates whether cross zone load balancing is enabled. Default: - use load balancer configuration
|
|
3329
3354
|
:param deregistration_delay: The amount of time for Elastic Load Balancing to wait before deregistering a target. The range is 0-3600 seconds. Default: 300
|
|
3330
3355
|
:param health_check: Health check configuration. Default: - The default value for each property in this configuration varies depending on the target.
|
|
3331
3356
|
:param target_group_name: The name of the target group. This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen. Default: - Automatically generated.
|
|
@@ -3345,6 +3370,7 @@ class BaseTargetGroupProps:
|
|
|
3345
3370
|
# vpc: ec2.Vpc
|
|
3346
3371
|
|
|
3347
3372
|
base_target_group_props = elbv2.BaseTargetGroupProps(
|
|
3373
|
+
cross_zone_enabled=False,
|
|
3348
3374
|
deregistration_delay=cdk.Duration.minutes(30),
|
|
3349
3375
|
health_check=elbv2.HealthCheck(
|
|
3350
3376
|
enabled=False,
|
|
@@ -3367,12 +3393,15 @@ class BaseTargetGroupProps:
|
|
|
3367
3393
|
health_check = HealthCheck(**health_check)
|
|
3368
3394
|
if __debug__:
|
|
3369
3395
|
type_hints = typing.get_type_hints(_typecheckingstub__b5e7f5d87f70cb030d7ac44f4637a5d73814a6c8b1c1bff9adf19ede879e36bb)
|
|
3396
|
+
check_type(argname="argument cross_zone_enabled", value=cross_zone_enabled, expected_type=type_hints["cross_zone_enabled"])
|
|
3370
3397
|
check_type(argname="argument deregistration_delay", value=deregistration_delay, expected_type=type_hints["deregistration_delay"])
|
|
3371
3398
|
check_type(argname="argument health_check", value=health_check, expected_type=type_hints["health_check"])
|
|
3372
3399
|
check_type(argname="argument target_group_name", value=target_group_name, expected_type=type_hints["target_group_name"])
|
|
3373
3400
|
check_type(argname="argument target_type", value=target_type, expected_type=type_hints["target_type"])
|
|
3374
3401
|
check_type(argname="argument vpc", value=vpc, expected_type=type_hints["vpc"])
|
|
3375
3402
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
3403
|
+
if cross_zone_enabled is not None:
|
|
3404
|
+
self._values["cross_zone_enabled"] = cross_zone_enabled
|
|
3376
3405
|
if deregistration_delay is not None:
|
|
3377
3406
|
self._values["deregistration_delay"] = deregistration_delay
|
|
3378
3407
|
if health_check is not None:
|
|
@@ -3384,6 +3413,17 @@ class BaseTargetGroupProps:
|
|
|
3384
3413
|
if vpc is not None:
|
|
3385
3414
|
self._values["vpc"] = vpc
|
|
3386
3415
|
|
|
3416
|
+
@builtins.property
|
|
3417
|
+
def cross_zone_enabled(self) -> typing.Optional[builtins.bool]:
|
|
3418
|
+
'''Indicates whether cross zone load balancing is enabled.
|
|
3419
|
+
|
|
3420
|
+
:default: - use load balancer configuration
|
|
3421
|
+
|
|
3422
|
+
:see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-targetgroup-targetgroupattribute.html
|
|
3423
|
+
'''
|
|
3424
|
+
result = self._values.get("cross_zone_enabled")
|
|
3425
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
3426
|
+
|
|
3387
3427
|
@builtins.property
|
|
3388
3428
|
def deregistration_delay(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
3389
3429
|
'''The amount of time for Elastic Load Balancing to wait before deregistering a target.
|
|
@@ -8127,6 +8167,7 @@ class CfnLoadBalancer(
|
|
|
8127
8167
|
from aws_cdk import aws_elasticloadbalancingv2 as elbv2
|
|
8128
8168
|
|
|
8129
8169
|
cfn_load_balancer = elbv2.CfnLoadBalancer(self, "MyCfnLoadBalancer",
|
|
8170
|
+
enable_prefix_for_ipv6_source_nat="enablePrefixForIpv6SourceNat",
|
|
8130
8171
|
enforce_security_group_inbound_rules_on_private_link_traffic="enforceSecurityGroupInboundRulesOnPrivateLinkTraffic",
|
|
8131
8172
|
ip_address_type="ipAddressType",
|
|
8132
8173
|
load_balancer_attributes=[elbv2.CfnLoadBalancer.LoadBalancerAttributeProperty(
|
|
@@ -8142,7 +8183,8 @@ class CfnLoadBalancer(
|
|
|
8142
8183
|
# the properties below are optional
|
|
8143
8184
|
allocation_id="allocationId",
|
|
8144
8185
|
i_pv6_address="iPv6Address",
|
|
8145
|
-
private_iPv4_address="privateIPv4Address"
|
|
8186
|
+
private_iPv4_address="privateIPv4Address",
|
|
8187
|
+
source_nat_ipv6_prefix="sourceNatIpv6Prefix"
|
|
8146
8188
|
)],
|
|
8147
8189
|
subnets=["subnets"],
|
|
8148
8190
|
tags=[CfnTag(
|
|
@@ -8158,6 +8200,7 @@ class CfnLoadBalancer(
|
|
|
8158
8200
|
scope: _constructs_77d1e7e8.Construct,
|
|
8159
8201
|
id: builtins.str,
|
|
8160
8202
|
*,
|
|
8203
|
+
enable_prefix_for_ipv6_source_nat: typing.Optional[builtins.str] = None,
|
|
8161
8204
|
enforce_security_group_inbound_rules_on_private_link_traffic: typing.Optional[builtins.str] = None,
|
|
8162
8205
|
ip_address_type: typing.Optional[builtins.str] = None,
|
|
8163
8206
|
load_balancer_attributes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnLoadBalancer.LoadBalancerAttributeProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
@@ -8172,6 +8215,7 @@ class CfnLoadBalancer(
|
|
|
8172
8215
|
'''
|
|
8173
8216
|
:param scope: Scope in which this resource is defined.
|
|
8174
8217
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
8218
|
+
:param enable_prefix_for_ipv6_source_nat: [Network Load Balancers with UDP listeners] Indicates whether to use an IPv6 prefix from each subnet for source NAT. The IP address type must be ``dualstack`` . The default value is ``off`` .
|
|
8175
8219
|
:param enforce_security_group_inbound_rules_on_private_link_traffic: Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through AWS PrivateLink .
|
|
8176
8220
|
:param ip_address_type: The IP address type. Internal load balancers must use ``ipv4`` . [Application Load Balancers] The possible values are ``ipv4`` (IPv4 addresses), ``dualstack`` (IPv4 and IPv6 addresses), and ``dualstack-without-public-ipv4`` (public IPv6 addresses and private IPv4 and IPv6 addresses). Application Load Balancer authentication supports IPv4 addresses only when connecting to an Identity Provider (IdP) or Amazon Cognito endpoint. Without a public IPv4 address the load balancer can't complete the authentication process, resulting in HTTP 500 errors. [Network Load Balancers and Gateway Load Balancers] The possible values are ``ipv4`` (IPv4 addresses) and ``dualstack`` (IPv4 and IPv6 addresses).
|
|
8177
8221
|
:param load_balancer_attributes: The load balancer attributes.
|
|
@@ -8188,6 +8232,7 @@ class CfnLoadBalancer(
|
|
|
8188
8232
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
8189
8233
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
8190
8234
|
props = CfnLoadBalancerProps(
|
|
8235
|
+
enable_prefix_for_ipv6_source_nat=enable_prefix_for_ipv6_source_nat,
|
|
8191
8236
|
enforce_security_group_inbound_rules_on_private_link_traffic=enforce_security_group_inbound_rules_on_private_link_traffic,
|
|
8192
8237
|
ip_address_type=ip_address_type,
|
|
8193
8238
|
load_balancer_attributes=load_balancer_attributes,
|
|
@@ -8305,6 +8350,22 @@ class CfnLoadBalancer(
|
|
|
8305
8350
|
'''Tag Manager which manages the tags for this resource.'''
|
|
8306
8351
|
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "tags"))
|
|
8307
8352
|
|
|
8353
|
+
@builtins.property
|
|
8354
|
+
@jsii.member(jsii_name="enablePrefixForIpv6SourceNat")
|
|
8355
|
+
def enable_prefix_for_ipv6_source_nat(self) -> typing.Optional[builtins.str]:
|
|
8356
|
+
'''[Network Load Balancers with UDP listeners] Indicates whether to use an IPv6 prefix from each subnet for source NAT.'''
|
|
8357
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "enablePrefixForIpv6SourceNat"))
|
|
8358
|
+
|
|
8359
|
+
@enable_prefix_for_ipv6_source_nat.setter
|
|
8360
|
+
def enable_prefix_for_ipv6_source_nat(
|
|
8361
|
+
self,
|
|
8362
|
+
value: typing.Optional[builtins.str],
|
|
8363
|
+
) -> None:
|
|
8364
|
+
if __debug__:
|
|
8365
|
+
type_hints = typing.get_type_hints(_typecheckingstub__38b5ad2c151ce05a51bb2ba1eaa4eb8a906d379df6a66c99f7a4f368bf663f77)
|
|
8366
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8367
|
+
jsii.set(self, "enablePrefixForIpv6SourceNat", value) # pyright: ignore[reportArgumentType]
|
|
8368
|
+
|
|
8308
8369
|
@builtins.property
|
|
8309
8370
|
@jsii.member(jsii_name="enforceSecurityGroupInboundRulesOnPrivateLinkTraffic")
|
|
8310
8371
|
def enforce_security_group_inbound_rules_on_private_link_traffic(
|
|
@@ -8570,6 +8631,7 @@ class CfnLoadBalancer(
|
|
|
8570
8631
|
"allocation_id": "allocationId",
|
|
8571
8632
|
"i_pv6_address": "iPv6Address",
|
|
8572
8633
|
"private_i_pv4_address": "privateIPv4Address",
|
|
8634
|
+
"source_nat_ipv6_prefix": "sourceNatIpv6Prefix",
|
|
8573
8635
|
},
|
|
8574
8636
|
)
|
|
8575
8637
|
class SubnetMappingProperty:
|
|
@@ -8580,6 +8642,7 @@ class CfnLoadBalancer(
|
|
|
8580
8642
|
allocation_id: typing.Optional[builtins.str] = None,
|
|
8581
8643
|
i_pv6_address: typing.Optional[builtins.str] = None,
|
|
8582
8644
|
private_i_pv4_address: typing.Optional[builtins.str] = None,
|
|
8645
|
+
source_nat_ipv6_prefix: typing.Optional[builtins.str] = None,
|
|
8583
8646
|
) -> None:
|
|
8584
8647
|
'''Specifies a subnet for a load balancer.
|
|
8585
8648
|
|
|
@@ -8587,6 +8650,7 @@ class CfnLoadBalancer(
|
|
|
8587
8650
|
:param allocation_id: [Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.
|
|
8588
8651
|
:param i_pv6_address: [Network Load Balancers] The IPv6 address.
|
|
8589
8652
|
:param private_i_pv4_address: [Network Load Balancers] The private IPv4 address for an internal load balancer.
|
|
8653
|
+
:param source_nat_ipv6_prefix: [Network Load Balancers with UDP listeners] The IPv6 prefix to use for source NAT. Specify an IPv6 prefix (/80 netmask) from the subnet CIDR block or ``auto_assigned`` to use an IPv6 prefix selected at random from the subnet CIDR block.
|
|
8590
8654
|
|
|
8591
8655
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-loadbalancer-subnetmapping.html
|
|
8592
8656
|
:exampleMetadata: fixture=_generated
|
|
@@ -8603,7 +8667,8 @@ class CfnLoadBalancer(
|
|
|
8603
8667
|
# the properties below are optional
|
|
8604
8668
|
allocation_id="allocationId",
|
|
8605
8669
|
i_pv6_address="iPv6Address",
|
|
8606
|
-
private_iPv4_address="privateIPv4Address"
|
|
8670
|
+
private_iPv4_address="privateIPv4Address",
|
|
8671
|
+
source_nat_ipv6_prefix="sourceNatIpv6Prefix"
|
|
8607
8672
|
)
|
|
8608
8673
|
'''
|
|
8609
8674
|
if __debug__:
|
|
@@ -8612,6 +8677,7 @@ class CfnLoadBalancer(
|
|
|
8612
8677
|
check_type(argname="argument allocation_id", value=allocation_id, expected_type=type_hints["allocation_id"])
|
|
8613
8678
|
check_type(argname="argument i_pv6_address", value=i_pv6_address, expected_type=type_hints["i_pv6_address"])
|
|
8614
8679
|
check_type(argname="argument private_i_pv4_address", value=private_i_pv4_address, expected_type=type_hints["private_i_pv4_address"])
|
|
8680
|
+
check_type(argname="argument source_nat_ipv6_prefix", value=source_nat_ipv6_prefix, expected_type=type_hints["source_nat_ipv6_prefix"])
|
|
8615
8681
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
8616
8682
|
"subnet_id": subnet_id,
|
|
8617
8683
|
}
|
|
@@ -8621,6 +8687,8 @@ class CfnLoadBalancer(
|
|
|
8621
8687
|
self._values["i_pv6_address"] = i_pv6_address
|
|
8622
8688
|
if private_i_pv4_address is not None:
|
|
8623
8689
|
self._values["private_i_pv4_address"] = private_i_pv4_address
|
|
8690
|
+
if source_nat_ipv6_prefix is not None:
|
|
8691
|
+
self._values["source_nat_ipv6_prefix"] = source_nat_ipv6_prefix
|
|
8624
8692
|
|
|
8625
8693
|
@builtins.property
|
|
8626
8694
|
def subnet_id(self) -> builtins.str:
|
|
@@ -8659,6 +8727,17 @@ class CfnLoadBalancer(
|
|
|
8659
8727
|
result = self._values.get("private_i_pv4_address")
|
|
8660
8728
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
8661
8729
|
|
|
8730
|
+
@builtins.property
|
|
8731
|
+
def source_nat_ipv6_prefix(self) -> typing.Optional[builtins.str]:
|
|
8732
|
+
'''[Network Load Balancers with UDP listeners] The IPv6 prefix to use for source NAT.
|
|
8733
|
+
|
|
8734
|
+
Specify an IPv6 prefix (/80 netmask) from the subnet CIDR block or ``auto_assigned`` to use an IPv6 prefix selected at random from the subnet CIDR block.
|
|
8735
|
+
|
|
8736
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-loadbalancer-subnetmapping.html#cfn-elasticloadbalancingv2-loadbalancer-subnetmapping-sourcenatipv6prefix
|
|
8737
|
+
'''
|
|
8738
|
+
result = self._values.get("source_nat_ipv6_prefix")
|
|
8739
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
8740
|
+
|
|
8662
8741
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
8663
8742
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
8664
8743
|
|
|
@@ -8675,6 +8754,7 @@ class CfnLoadBalancer(
|
|
|
8675
8754
|
jsii_type="aws-cdk-lib.aws_elasticloadbalancingv2.CfnLoadBalancerProps",
|
|
8676
8755
|
jsii_struct_bases=[],
|
|
8677
8756
|
name_mapping={
|
|
8757
|
+
"enable_prefix_for_ipv6_source_nat": "enablePrefixForIpv6SourceNat",
|
|
8678
8758
|
"enforce_security_group_inbound_rules_on_private_link_traffic": "enforceSecurityGroupInboundRulesOnPrivateLinkTraffic",
|
|
8679
8759
|
"ip_address_type": "ipAddressType",
|
|
8680
8760
|
"load_balancer_attributes": "loadBalancerAttributes",
|
|
@@ -8691,6 +8771,7 @@ class CfnLoadBalancerProps:
|
|
|
8691
8771
|
def __init__(
|
|
8692
8772
|
self,
|
|
8693
8773
|
*,
|
|
8774
|
+
enable_prefix_for_ipv6_source_nat: typing.Optional[builtins.str] = None,
|
|
8694
8775
|
enforce_security_group_inbound_rules_on_private_link_traffic: typing.Optional[builtins.str] = None,
|
|
8695
8776
|
ip_address_type: typing.Optional[builtins.str] = None,
|
|
8696
8777
|
load_balancer_attributes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnLoadBalancer.LoadBalancerAttributeProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
@@ -8704,6 +8785,7 @@ class CfnLoadBalancerProps:
|
|
|
8704
8785
|
) -> None:
|
|
8705
8786
|
'''Properties for defining a ``CfnLoadBalancer``.
|
|
8706
8787
|
|
|
8788
|
+
:param enable_prefix_for_ipv6_source_nat: [Network Load Balancers with UDP listeners] Indicates whether to use an IPv6 prefix from each subnet for source NAT. The IP address type must be ``dualstack`` . The default value is ``off`` .
|
|
8707
8789
|
:param enforce_security_group_inbound_rules_on_private_link_traffic: Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through AWS PrivateLink .
|
|
8708
8790
|
:param ip_address_type: The IP address type. Internal load balancers must use ``ipv4`` . [Application Load Balancers] The possible values are ``ipv4`` (IPv4 addresses), ``dualstack`` (IPv4 and IPv6 addresses), and ``dualstack-without-public-ipv4`` (public IPv6 addresses and private IPv4 and IPv6 addresses). Application Load Balancer authentication supports IPv4 addresses only when connecting to an Identity Provider (IdP) or Amazon Cognito endpoint. Without a public IPv4 address the load balancer can't complete the authentication process, resulting in HTTP 500 errors. [Network Load Balancers and Gateway Load Balancers] The possible values are ``ipv4`` (IPv4 addresses) and ``dualstack`` (IPv4 and IPv6 addresses).
|
|
8709
8791
|
:param load_balancer_attributes: The load balancer attributes.
|
|
@@ -8725,6 +8807,7 @@ class CfnLoadBalancerProps:
|
|
|
8725
8807
|
from aws_cdk import aws_elasticloadbalancingv2 as elbv2
|
|
8726
8808
|
|
|
8727
8809
|
cfn_load_balancer_props = elbv2.CfnLoadBalancerProps(
|
|
8810
|
+
enable_prefix_for_ipv6_source_nat="enablePrefixForIpv6SourceNat",
|
|
8728
8811
|
enforce_security_group_inbound_rules_on_private_link_traffic="enforceSecurityGroupInboundRulesOnPrivateLinkTraffic",
|
|
8729
8812
|
ip_address_type="ipAddressType",
|
|
8730
8813
|
load_balancer_attributes=[elbv2.CfnLoadBalancer.LoadBalancerAttributeProperty(
|
|
@@ -8740,7 +8823,8 @@ class CfnLoadBalancerProps:
|
|
|
8740
8823
|
# the properties below are optional
|
|
8741
8824
|
allocation_id="allocationId",
|
|
8742
8825
|
i_pv6_address="iPv6Address",
|
|
8743
|
-
private_iPv4_address="privateIPv4Address"
|
|
8826
|
+
private_iPv4_address="privateIPv4Address",
|
|
8827
|
+
source_nat_ipv6_prefix="sourceNatIpv6Prefix"
|
|
8744
8828
|
)],
|
|
8745
8829
|
subnets=["subnets"],
|
|
8746
8830
|
tags=[CfnTag(
|
|
@@ -8752,6 +8836,7 @@ class CfnLoadBalancerProps:
|
|
|
8752
8836
|
'''
|
|
8753
8837
|
if __debug__:
|
|
8754
8838
|
type_hints = typing.get_type_hints(_typecheckingstub__6b1eb30cea756dc45f625ec82ab8cba6ea31d24595a925a4aabceb7e6605bcde)
|
|
8839
|
+
check_type(argname="argument enable_prefix_for_ipv6_source_nat", value=enable_prefix_for_ipv6_source_nat, expected_type=type_hints["enable_prefix_for_ipv6_source_nat"])
|
|
8755
8840
|
check_type(argname="argument enforce_security_group_inbound_rules_on_private_link_traffic", value=enforce_security_group_inbound_rules_on_private_link_traffic, expected_type=type_hints["enforce_security_group_inbound_rules_on_private_link_traffic"])
|
|
8756
8841
|
check_type(argname="argument ip_address_type", value=ip_address_type, expected_type=type_hints["ip_address_type"])
|
|
8757
8842
|
check_type(argname="argument load_balancer_attributes", value=load_balancer_attributes, expected_type=type_hints["load_balancer_attributes"])
|
|
@@ -8763,6 +8848,8 @@ class CfnLoadBalancerProps:
|
|
|
8763
8848
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
8764
8849
|
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
8765
8850
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
8851
|
+
if enable_prefix_for_ipv6_source_nat is not None:
|
|
8852
|
+
self._values["enable_prefix_for_ipv6_source_nat"] = enable_prefix_for_ipv6_source_nat
|
|
8766
8853
|
if enforce_security_group_inbound_rules_on_private_link_traffic is not None:
|
|
8767
8854
|
self._values["enforce_security_group_inbound_rules_on_private_link_traffic"] = enforce_security_group_inbound_rules_on_private_link_traffic
|
|
8768
8855
|
if ip_address_type is not None:
|
|
@@ -8784,6 +8871,17 @@ class CfnLoadBalancerProps:
|
|
|
8784
8871
|
if type is not None:
|
|
8785
8872
|
self._values["type"] = type
|
|
8786
8873
|
|
|
8874
|
+
@builtins.property
|
|
8875
|
+
def enable_prefix_for_ipv6_source_nat(self) -> typing.Optional[builtins.str]:
|
|
8876
|
+
'''[Network Load Balancers with UDP listeners] Indicates whether to use an IPv6 prefix from each subnet for source NAT.
|
|
8877
|
+
|
|
8878
|
+
The IP address type must be ``dualstack`` . The default value is ``off`` .
|
|
8879
|
+
|
|
8880
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-loadbalancer.html#cfn-elasticloadbalancingv2-loadbalancer-enableprefixforipv6sourcenat
|
|
8881
|
+
'''
|
|
8882
|
+
result = self._values.get("enable_prefix_for_ipv6_source_nat")
|
|
8883
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
8884
|
+
|
|
8787
8885
|
@builtins.property
|
|
8788
8886
|
def enforce_security_group_inbound_rules_on_private_link_traffic(
|
|
8789
8887
|
self,
|
|
@@ -17516,6 +17614,7 @@ class NetworkLoadBalancerProps(BaseLoadBalancerProps):
|
|
|
17516
17614
|
jsii_type="aws-cdk-lib.aws_elasticloadbalancingv2.NetworkTargetGroupProps",
|
|
17517
17615
|
jsii_struct_bases=[BaseTargetGroupProps],
|
|
17518
17616
|
name_mapping={
|
|
17617
|
+
"cross_zone_enabled": "crossZoneEnabled",
|
|
17519
17618
|
"deregistration_delay": "deregistrationDelay",
|
|
17520
17619
|
"health_check": "healthCheck",
|
|
17521
17620
|
"target_group_name": "targetGroupName",
|
|
@@ -17533,6 +17632,7 @@ class NetworkTargetGroupProps(BaseTargetGroupProps):
|
|
|
17533
17632
|
def __init__(
|
|
17534
17633
|
self,
|
|
17535
17634
|
*,
|
|
17635
|
+
cross_zone_enabled: typing.Optional[builtins.bool] = None,
|
|
17536
17636
|
deregistration_delay: typing.Optional[_Duration_4839e8c3] = None,
|
|
17537
17637
|
health_check: typing.Optional[typing.Union[HealthCheck, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
17538
17638
|
target_group_name: typing.Optional[builtins.str] = None,
|
|
@@ -17547,6 +17647,7 @@ class NetworkTargetGroupProps(BaseTargetGroupProps):
|
|
|
17547
17647
|
) -> None:
|
|
17548
17648
|
'''Properties for a new Network Target Group.
|
|
17549
17649
|
|
|
17650
|
+
:param cross_zone_enabled: Indicates whether cross zone load balancing is enabled. Default: - use load balancer configuration
|
|
17550
17651
|
:param deregistration_delay: The amount of time for Elastic Load Balancing to wait before deregistering a target. The range is 0-3600 seconds. Default: 300
|
|
17551
17652
|
:param health_check: Health check configuration. Default: - The default value for each property in this configuration varies depending on the target.
|
|
17552
17653
|
:param target_group_name: The name of the target group. This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen. Default: - Automatically generated.
|
|
@@ -17577,6 +17678,7 @@ class NetworkTargetGroupProps(BaseTargetGroupProps):
|
|
|
17577
17678
|
|
|
17578
17679
|
# the properties below are optional
|
|
17579
17680
|
connection_termination=False,
|
|
17681
|
+
cross_zone_enabled=False,
|
|
17580
17682
|
deregistration_delay=cdk.Duration.minutes(30),
|
|
17581
17683
|
health_check=elbv2.HealthCheck(
|
|
17582
17684
|
enabled=False,
|
|
@@ -17603,6 +17705,7 @@ class NetworkTargetGroupProps(BaseTargetGroupProps):
|
|
|
17603
17705
|
health_check = HealthCheck(**health_check)
|
|
17604
17706
|
if __debug__:
|
|
17605
17707
|
type_hints = typing.get_type_hints(_typecheckingstub__5f1086cffe813b24d7b8ff7c124bffc37ca7e22afda9f6af7ad869d92f7c65b2)
|
|
17708
|
+
check_type(argname="argument cross_zone_enabled", value=cross_zone_enabled, expected_type=type_hints["cross_zone_enabled"])
|
|
17606
17709
|
check_type(argname="argument deregistration_delay", value=deregistration_delay, expected_type=type_hints["deregistration_delay"])
|
|
17607
17710
|
check_type(argname="argument health_check", value=health_check, expected_type=type_hints["health_check"])
|
|
17608
17711
|
check_type(argname="argument target_group_name", value=target_group_name, expected_type=type_hints["target_group_name"])
|
|
@@ -17617,6 +17720,8 @@ class NetworkTargetGroupProps(BaseTargetGroupProps):
|
|
|
17617
17720
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
17618
17721
|
"port": port,
|
|
17619
17722
|
}
|
|
17723
|
+
if cross_zone_enabled is not None:
|
|
17724
|
+
self._values["cross_zone_enabled"] = cross_zone_enabled
|
|
17620
17725
|
if deregistration_delay is not None:
|
|
17621
17726
|
self._values["deregistration_delay"] = deregistration_delay
|
|
17622
17727
|
if health_check is not None:
|
|
@@ -17638,6 +17743,17 @@ class NetworkTargetGroupProps(BaseTargetGroupProps):
|
|
|
17638
17743
|
if targets is not None:
|
|
17639
17744
|
self._values["targets"] = targets
|
|
17640
17745
|
|
|
17746
|
+
@builtins.property
|
|
17747
|
+
def cross_zone_enabled(self) -> typing.Optional[builtins.bool]:
|
|
17748
|
+
'''Indicates whether cross zone load balancing is enabled.
|
|
17749
|
+
|
|
17750
|
+
:default: - use load balancer configuration
|
|
17751
|
+
|
|
17752
|
+
:see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-targetgroup-targetgroupattribute.html
|
|
17753
|
+
'''
|
|
17754
|
+
result = self._values.get("cross_zone_enabled")
|
|
17755
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
17756
|
+
|
|
17641
17757
|
@builtins.property
|
|
17642
17758
|
def deregistration_delay(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
17643
17759
|
'''The amount of time for Elastic Load Balancing to wait before deregistering a target.
|
|
@@ -18785,15 +18901,11 @@ class TargetType(enum.Enum):
|
|
|
18785
18901
|
# vpc: ec2.Vpc
|
|
18786
18902
|
|
|
18787
18903
|
|
|
18904
|
+
# Target group with slow start mode enabled
|
|
18788
18905
|
tg = elbv2.ApplicationTargetGroup(self, "TG",
|
|
18789
|
-
target_type=elbv2.TargetType.
|
|
18790
|
-
|
|
18791
|
-
|
|
18792
|
-
protocol_version=elbv2.ApplicationProtocolVersion.GRPC,
|
|
18793
|
-
health_check=elbv2.HealthCheck(
|
|
18794
|
-
enabled=True,
|
|
18795
|
-
healthy_grpc_codes="0-99"
|
|
18796
|
-
),
|
|
18906
|
+
target_type=elbv2.TargetType.INSTANCE,
|
|
18907
|
+
slow_start=Duration.seconds(60),
|
|
18908
|
+
port=80,
|
|
18797
18909
|
vpc=vpc
|
|
18798
18910
|
)
|
|
18799
18911
|
'''
|
|
@@ -20774,6 +20886,7 @@ class ApplicationLoadBalancerProps(BaseLoadBalancerProps):
|
|
|
20774
20886
|
jsii_type="aws-cdk-lib.aws_elasticloadbalancingv2.ApplicationTargetGroupProps",
|
|
20775
20887
|
jsii_struct_bases=[BaseTargetGroupProps],
|
|
20776
20888
|
name_mapping={
|
|
20889
|
+
"cross_zone_enabled": "crossZoneEnabled",
|
|
20777
20890
|
"deregistration_delay": "deregistrationDelay",
|
|
20778
20891
|
"health_check": "healthCheck",
|
|
20779
20892
|
"target_group_name": "targetGroupName",
|
|
@@ -20794,6 +20907,7 @@ class ApplicationTargetGroupProps(BaseTargetGroupProps):
|
|
|
20794
20907
|
def __init__(
|
|
20795
20908
|
self,
|
|
20796
20909
|
*,
|
|
20910
|
+
cross_zone_enabled: typing.Optional[builtins.bool] = None,
|
|
20797
20911
|
deregistration_delay: typing.Optional[_Duration_4839e8c3] = None,
|
|
20798
20912
|
health_check: typing.Optional[typing.Union[HealthCheck, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
20799
20913
|
target_group_name: typing.Optional[builtins.str] = None,
|
|
@@ -20811,6 +20925,7 @@ class ApplicationTargetGroupProps(BaseTargetGroupProps):
|
|
|
20811
20925
|
) -> None:
|
|
20812
20926
|
'''Properties for defining an Application Target Group.
|
|
20813
20927
|
|
|
20928
|
+
:param cross_zone_enabled: Indicates whether cross zone load balancing is enabled. Default: - use load balancer configuration
|
|
20814
20929
|
:param deregistration_delay: The amount of time for Elastic Load Balancing to wait before deregistering a target. The range is 0-3600 seconds. Default: 300
|
|
20815
20930
|
:param health_check: Health check configuration. Default: - The default value for each property in this configuration varies depending on the target.
|
|
20816
20931
|
:param target_group_name: The name of the target group. This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen. Default: - Automatically generated.
|
|
@@ -20845,6 +20960,7 @@ class ApplicationTargetGroupProps(BaseTargetGroupProps):
|
|
|
20845
20960
|
health_check = HealthCheck(**health_check)
|
|
20846
20961
|
if __debug__:
|
|
20847
20962
|
type_hints = typing.get_type_hints(_typecheckingstub__0fbf37aa0a91cb985ce7a336a6188364cc38400538c1653e53453287c780e881)
|
|
20963
|
+
check_type(argname="argument cross_zone_enabled", value=cross_zone_enabled, expected_type=type_hints["cross_zone_enabled"])
|
|
20848
20964
|
check_type(argname="argument deregistration_delay", value=deregistration_delay, expected_type=type_hints["deregistration_delay"])
|
|
20849
20965
|
check_type(argname="argument health_check", value=health_check, expected_type=type_hints["health_check"])
|
|
20850
20966
|
check_type(argname="argument target_group_name", value=target_group_name, expected_type=type_hints["target_group_name"])
|
|
@@ -20860,6 +20976,8 @@ class ApplicationTargetGroupProps(BaseTargetGroupProps):
|
|
|
20860
20976
|
check_type(argname="argument stickiness_cookie_name", value=stickiness_cookie_name, expected_type=type_hints["stickiness_cookie_name"])
|
|
20861
20977
|
check_type(argname="argument targets", value=targets, expected_type=type_hints["targets"])
|
|
20862
20978
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
20979
|
+
if cross_zone_enabled is not None:
|
|
20980
|
+
self._values["cross_zone_enabled"] = cross_zone_enabled
|
|
20863
20981
|
if deregistration_delay is not None:
|
|
20864
20982
|
self._values["deregistration_delay"] = deregistration_delay
|
|
20865
20983
|
if health_check is not None:
|
|
@@ -20889,6 +21007,17 @@ class ApplicationTargetGroupProps(BaseTargetGroupProps):
|
|
|
20889
21007
|
if targets is not None:
|
|
20890
21008
|
self._values["targets"] = targets
|
|
20891
21009
|
|
|
21010
|
+
@builtins.property
|
|
21011
|
+
def cross_zone_enabled(self) -> typing.Optional[builtins.bool]:
|
|
21012
|
+
'''Indicates whether cross zone load balancing is enabled.
|
|
21013
|
+
|
|
21014
|
+
:default: - use load balancer configuration
|
|
21015
|
+
|
|
21016
|
+
:see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-targetgroup-targetgroupattribute.html
|
|
21017
|
+
'''
|
|
21018
|
+
result = self._values.get("cross_zone_enabled")
|
|
21019
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
21020
|
+
|
|
20892
21021
|
@builtins.property
|
|
20893
21022
|
def deregistration_delay(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
20894
21023
|
'''The amount of time for Elastic Load Balancing to wait before deregistering a target.
|
|
@@ -22139,6 +22268,7 @@ class NetworkTargetGroup(
|
|
|
22139
22268
|
protocol: typing.Optional[Protocol] = None,
|
|
22140
22269
|
proxy_protocol_v2: typing.Optional[builtins.bool] = None,
|
|
22141
22270
|
targets: typing.Optional[typing.Sequence[INetworkLoadBalancerTarget]] = None,
|
|
22271
|
+
cross_zone_enabled: typing.Optional[builtins.bool] = None,
|
|
22142
22272
|
deregistration_delay: typing.Optional[_Duration_4839e8c3] = None,
|
|
22143
22273
|
health_check: typing.Optional[typing.Union[HealthCheck, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
22144
22274
|
target_group_name: typing.Optional[builtins.str] = None,
|
|
@@ -22154,6 +22284,7 @@ class NetworkTargetGroup(
|
|
|
22154
22284
|
:param protocol: Protocol for target group, expects TCP, TLS, UDP, or TCP_UDP. Default: - TCP
|
|
22155
22285
|
:param proxy_protocol_v2: Indicates whether Proxy Protocol version 2 is enabled. Default: false
|
|
22156
22286
|
:param targets: The targets to add to this target group. Can be ``Instance``, ``IPAddress``, or any self-registering load balancing target. If you use either ``Instance`` or ``IPAddress`` as targets, all target must be of the same type. Default: - No targets.
|
|
22287
|
+
:param cross_zone_enabled: Indicates whether cross zone load balancing is enabled. Default: - use load balancer configuration
|
|
22157
22288
|
:param deregistration_delay: The amount of time for Elastic Load Balancing to wait before deregistering a target. The range is 0-3600 seconds. Default: 300
|
|
22158
22289
|
:param health_check: Health check configuration. Default: - The default value for each property in this configuration varies depending on the target.
|
|
22159
22290
|
:param target_group_name: The name of the target group. This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen. Default: - Automatically generated.
|
|
@@ -22171,6 +22302,7 @@ class NetworkTargetGroup(
|
|
|
22171
22302
|
protocol=protocol,
|
|
22172
22303
|
proxy_protocol_v2=proxy_protocol_v2,
|
|
22173
22304
|
targets=targets,
|
|
22305
|
+
cross_zone_enabled=cross_zone_enabled,
|
|
22174
22306
|
deregistration_delay=deregistration_delay,
|
|
22175
22307
|
health_check=health_check,
|
|
22176
22308
|
target_group_name=target_group_name,
|
|
@@ -24095,6 +24227,7 @@ class ApplicationTargetGroup(
|
|
|
24095
24227
|
stickiness_cookie_duration: typing.Optional[_Duration_4839e8c3] = None,
|
|
24096
24228
|
stickiness_cookie_name: typing.Optional[builtins.str] = None,
|
|
24097
24229
|
targets: typing.Optional[typing.Sequence[IApplicationLoadBalancerTarget]] = None,
|
|
24230
|
+
cross_zone_enabled: typing.Optional[builtins.bool] = None,
|
|
24098
24231
|
deregistration_delay: typing.Optional[_Duration_4839e8c3] = None,
|
|
24099
24232
|
health_check: typing.Optional[typing.Union[HealthCheck, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
24100
24233
|
target_group_name: typing.Optional[builtins.str] = None,
|
|
@@ -24113,6 +24246,7 @@ class ApplicationTargetGroup(
|
|
|
24113
24246
|
:param stickiness_cookie_duration: The stickiness cookie expiration period. Setting this value enables load balancer stickiness. After this period, the cookie is considered stale. The minimum value is 1 second and the maximum value is 7 days (604800 seconds). Default: - Stickiness is disabled
|
|
24114
24247
|
:param stickiness_cookie_name: The name of an application-based stickiness cookie. Names that start with the following prefixes are not allowed: AWSALB, AWSALBAPP, and AWSALBTG; they're reserved for use by the load balancer. Note: ``stickinessCookieName`` parameter depends on the presence of ``stickinessCookieDuration`` parameter. If ``stickinessCookieDuration`` is not set, ``stickinessCookieName`` will be omitted. Default: - If ``stickinessCookieDuration`` is set, a load-balancer generated cookie is used. Otherwise, no stickiness is defined.
|
|
24115
24248
|
:param targets: The targets to add to this target group. Can be ``Instance``, ``IPAddress``, or any self-registering load balancing target. If you use either ``Instance`` or ``IPAddress`` as targets, all target must be of the same type. Default: - No targets.
|
|
24249
|
+
:param cross_zone_enabled: Indicates whether cross zone load balancing is enabled. Default: - use load balancer configuration
|
|
24116
24250
|
:param deregistration_delay: The amount of time for Elastic Load Balancing to wait before deregistering a target. The range is 0-3600 seconds. Default: 300
|
|
24117
24251
|
:param health_check: Health check configuration. Default: - The default value for each property in this configuration varies depending on the target.
|
|
24118
24252
|
:param target_group_name: The name of the target group. This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen. Default: - Automatically generated.
|
|
@@ -24133,6 +24267,7 @@ class ApplicationTargetGroup(
|
|
|
24133
24267
|
stickiness_cookie_duration=stickiness_cookie_duration,
|
|
24134
24268
|
stickiness_cookie_name=stickiness_cookie_name,
|
|
24135
24269
|
targets=targets,
|
|
24270
|
+
cross_zone_enabled=cross_zone_enabled,
|
|
24136
24271
|
deregistration_delay=deregistration_delay,
|
|
24137
24272
|
health_check=health_check,
|
|
24138
24273
|
target_group_name=target_group_name,
|
|
@@ -25042,6 +25177,7 @@ def _typecheckingstub__a385469057e83b68d89a4be7454c5a114db610783f984a1d85c9d4b71
|
|
|
25042
25177
|
|
|
25043
25178
|
def _typecheckingstub__b5e7f5d87f70cb030d7ac44f4637a5d73814a6c8b1c1bff9adf19ede879e36bb(
|
|
25044
25179
|
*,
|
|
25180
|
+
cross_zone_enabled: typing.Optional[builtins.bool] = None,
|
|
25045
25181
|
deregistration_delay: typing.Optional[_Duration_4839e8c3] = None,
|
|
25046
25182
|
health_check: typing.Optional[typing.Union[HealthCheck, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
25047
25183
|
target_group_name: typing.Optional[builtins.str] = None,
|
|
@@ -25531,6 +25667,7 @@ def _typecheckingstub__907e1e3e88136a6a7bdcdac293563447ed893c77b9f7b1e7154fb1749
|
|
|
25531
25667
|
scope: _constructs_77d1e7e8.Construct,
|
|
25532
25668
|
id: builtins.str,
|
|
25533
25669
|
*,
|
|
25670
|
+
enable_prefix_for_ipv6_source_nat: typing.Optional[builtins.str] = None,
|
|
25534
25671
|
enforce_security_group_inbound_rules_on_private_link_traffic: typing.Optional[builtins.str] = None,
|
|
25535
25672
|
ip_address_type: typing.Optional[builtins.str] = None,
|
|
25536
25673
|
load_balancer_attributes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnLoadBalancer.LoadBalancerAttributeProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
@@ -25557,6 +25694,12 @@ def _typecheckingstub__1a178a2aa61d40ebc079a81b6caeba1ff6649a54d784e4ce75ed79b7e
|
|
|
25557
25694
|
"""Type checking stubs"""
|
|
25558
25695
|
pass
|
|
25559
25696
|
|
|
25697
|
+
def _typecheckingstub__38b5ad2c151ce05a51bb2ba1eaa4eb8a906d379df6a66c99f7a4f368bf663f77(
|
|
25698
|
+
value: typing.Optional[builtins.str],
|
|
25699
|
+
) -> None:
|
|
25700
|
+
"""Type checking stubs"""
|
|
25701
|
+
pass
|
|
25702
|
+
|
|
25560
25703
|
def _typecheckingstub__9e2f8dd6221319a07a0c76c857d5cc7ce8ca39adbe164a2ff756135108b1ca21(
|
|
25561
25704
|
value: typing.Optional[builtins.str],
|
|
25562
25705
|
) -> None:
|
|
@@ -25631,12 +25774,14 @@ def _typecheckingstub__5362b7e1b57cc75205d80d2c4a4798301f16a110c6add8b836265fc95
|
|
|
25631
25774
|
allocation_id: typing.Optional[builtins.str] = None,
|
|
25632
25775
|
i_pv6_address: typing.Optional[builtins.str] = None,
|
|
25633
25776
|
private_i_pv4_address: typing.Optional[builtins.str] = None,
|
|
25777
|
+
source_nat_ipv6_prefix: typing.Optional[builtins.str] = None,
|
|
25634
25778
|
) -> None:
|
|
25635
25779
|
"""Type checking stubs"""
|
|
25636
25780
|
pass
|
|
25637
25781
|
|
|
25638
25782
|
def _typecheckingstub__6b1eb30cea756dc45f625ec82ab8cba6ea31d24595a925a4aabceb7e6605bcde(
|
|
25639
25783
|
*,
|
|
25784
|
+
enable_prefix_for_ipv6_source_nat: typing.Optional[builtins.str] = None,
|
|
25640
25785
|
enforce_security_group_inbound_rules_on_private_link_traffic: typing.Optional[builtins.str] = None,
|
|
25641
25786
|
ip_address_type: typing.Optional[builtins.str] = None,
|
|
25642
25787
|
load_balancer_attributes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnLoadBalancer.LoadBalancerAttributeProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
@@ -26449,6 +26594,7 @@ def _typecheckingstub__195ab659ca9cd1c401d6d2d1a1f5cb0aaf7dd80f06dbc724020ac0cc3
|
|
|
26449
26594
|
|
|
26450
26595
|
def _typecheckingstub__5f1086cffe813b24d7b8ff7c124bffc37ca7e22afda9f6af7ad869d92f7c65b2(
|
|
26451
26596
|
*,
|
|
26597
|
+
cross_zone_enabled: typing.Optional[builtins.bool] = None,
|
|
26452
26598
|
deregistration_delay: typing.Optional[_Duration_4839e8c3] = None,
|
|
26453
26599
|
health_check: typing.Optional[typing.Union[HealthCheck, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
26454
26600
|
target_group_name: typing.Optional[builtins.str] = None,
|
|
@@ -26705,6 +26851,7 @@ def _typecheckingstub__e43cf75024913d9be0d5d621a5f2c2c7be60a57898a54967cd54179b2
|
|
|
26705
26851
|
|
|
26706
26852
|
def _typecheckingstub__0fbf37aa0a91cb985ce7a336a6188364cc38400538c1653e53453287c780e881(
|
|
26707
26853
|
*,
|
|
26854
|
+
cross_zone_enabled: typing.Optional[builtins.bool] = None,
|
|
26708
26855
|
deregistration_delay: typing.Optional[_Duration_4839e8c3] = None,
|
|
26709
26856
|
health_check: typing.Optional[typing.Union[HealthCheck, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
26710
26857
|
target_group_name: typing.Optional[builtins.str] = None,
|
|
@@ -26931,6 +27078,7 @@ def _typecheckingstub__eebfbf2a20edd0baf4d455f02dd34d748c5eccfa9a5268e5e2ebec245
|
|
|
26931
27078
|
protocol: typing.Optional[Protocol] = None,
|
|
26932
27079
|
proxy_protocol_v2: typing.Optional[builtins.bool] = None,
|
|
26933
27080
|
targets: typing.Optional[typing.Sequence[INetworkLoadBalancerTarget]] = None,
|
|
27081
|
+
cross_zone_enabled: typing.Optional[builtins.bool] = None,
|
|
26934
27082
|
deregistration_delay: typing.Optional[_Duration_4839e8c3] = None,
|
|
26935
27083
|
health_check: typing.Optional[typing.Union[HealthCheck, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
26936
27084
|
target_group_name: typing.Optional[builtins.str] = None,
|
|
@@ -27203,6 +27351,7 @@ def _typecheckingstub__e179515c9d6138007cc1b74835b75f10a179c1f5ef977cbe4188c778c
|
|
|
27203
27351
|
stickiness_cookie_duration: typing.Optional[_Duration_4839e8c3] = None,
|
|
27204
27352
|
stickiness_cookie_name: typing.Optional[builtins.str] = None,
|
|
27205
27353
|
targets: typing.Optional[typing.Sequence[IApplicationLoadBalancerTarget]] = None,
|
|
27354
|
+
cross_zone_enabled: typing.Optional[builtins.bool] = None,
|
|
27206
27355
|
deregistration_delay: typing.Optional[_Duration_4839e8c3] = None,
|
|
27207
27356
|
health_check: typing.Optional[typing.Union[HealthCheck, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
27208
27357
|
target_group_name: typing.Optional[builtins.str] = None,
|