aws-cdk-lib 2.96.2__py3-none-any.whl → 2.97.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 +246 -62
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.96.2.jsii.tgz → aws-cdk-lib@2.97.1.jsii.tgz} +0 -0
- aws_cdk/aws_apigatewayv2/__init__.py +1 -1
- aws_cdk/aws_appflow/__init__.py +205 -7
- aws_cdk/aws_appstream/__init__.py +33 -28
- aws_cdk/aws_appsync/__init__.py +555 -71
- aws_cdk/aws_autoscaling/__init__.py +5 -11
- aws_cdk/aws_billingconductor/__init__.py +145 -1
- aws_cdk/aws_cleanrooms/__init__.py +1198 -86
- aws_cdk/aws_cloudformation/__init__.py +221 -55
- aws_cdk/aws_cloudwatch/__init__.py +325 -2
- aws_cdk/aws_cognito/__init__.py +9 -13
- aws_cdk/aws_config/__init__.py +68 -73
- aws_cdk/aws_connect/__init__.py +909 -164
- aws_cdk/aws_customerprofiles/__init__.py +44 -0
- aws_cdk/aws_dms/__init__.py +198 -0
- aws_cdk/aws_ec2/__init__.py +593 -73
- aws_cdk/aws_ecr/__init__.py +7 -2
- aws_cdk/aws_ecs/__init__.py +2 -2
- aws_cdk/aws_efs/__init__.py +237 -0
- aws_cdk/aws_emr/__init__.py +232 -0
- aws_cdk/aws_entityresolution/__init__.py +1702 -0
- aws_cdk/aws_events/__init__.py +13 -18
- aws_cdk/aws_fms/__init__.py +3 -3
- aws_cdk/aws_gamelift/__init__.py +10 -15
- aws_cdk/aws_grafana/__init__.py +9 -5
- aws_cdk/aws_guardduty/__init__.py +272 -205
- aws_cdk/aws_iam/__init__.py +20 -18
- aws_cdk/aws_iotwireless/__init__.py +38 -54
- aws_cdk/aws_lakeformation/__init__.py +18 -6
- aws_cdk/aws_lambda/__init__.py +1 -1
- aws_cdk/aws_lightsail/__init__.py +225 -0
- aws_cdk/aws_lookoutequipment/__init__.py +4 -4
- aws_cdk/aws_macie/__init__.py +5 -3
- aws_cdk/aws_mediapackagev2/__init__.py +3227 -0
- aws_cdk/aws_pcaconnectorad/__init__.py +6785 -0
- aws_cdk/aws_quicksight/__init__.py +189 -116
- aws_cdk/aws_rds/__init__.py +316 -9
- aws_cdk/aws_resiliencehub/__init__.py +38 -21
- aws_cdk/aws_route53resolver/__init__.py +429 -0
- aws_cdk/aws_sagemaker/__init__.py +34 -34
- aws_cdk/aws_stepfunctions/__init__.py +111 -14
- aws_cdk/aws_transfer/__init__.py +2 -2
- aws_cdk/aws_vpclattice/__init__.py +128 -120
- aws_cdk/aws_workspacesweb/__init__.py +3790 -0
- aws_cdk/region_info/__init__.py +49 -0
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/RECORD +53 -49
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/top_level.txt +0 -0
|
@@ -584,8 +584,8 @@ class CfnListener(
|
|
|
584
584
|
'''
|
|
585
585
|
:param scope: Scope in which this resource is defined.
|
|
586
586
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
587
|
-
:param default_action: The action for the default rule. Each listener has a default rule.
|
|
588
|
-
:param protocol: The listener protocol
|
|
587
|
+
:param default_action: The action for the default rule. Each listener has a default rule. The default rule is used if no other rules match.
|
|
588
|
+
:param protocol: The listener protocol.
|
|
589
589
|
:param name: The name of the listener. A listener name must be unique within a service. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen. If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.
|
|
590
590
|
:param port: The listener port. You can specify a value from 1 to 65535. For HTTP, the default is 80. For HTTPS, the default is 443.
|
|
591
591
|
:param service_identifier: The ID or Amazon Resource Name (ARN) of the service.
|
|
@@ -704,7 +704,7 @@ class CfnListener(
|
|
|
704
704
|
@builtins.property
|
|
705
705
|
@jsii.member(jsii_name="protocol")
|
|
706
706
|
def protocol(self) -> builtins.str:
|
|
707
|
-
'''The listener protocol
|
|
707
|
+
'''The listener protocol.'''
|
|
708
708
|
return typing.cast(builtins.str, jsii.get(self, "protocol"))
|
|
709
709
|
|
|
710
710
|
@protocol.setter
|
|
@@ -780,9 +780,9 @@ class CfnListener(
|
|
|
780
780
|
) -> None:
|
|
781
781
|
'''The action for the default rule.
|
|
782
782
|
|
|
783
|
-
Each listener has a default rule.
|
|
783
|
+
Each listener has a default rule. The default rule is used if no other rules match.
|
|
784
784
|
|
|
785
|
-
:param fixed_response:
|
|
785
|
+
:param fixed_response: Describes an action that returns a custom HTTP response.
|
|
786
786
|
:param forward: Describes a forward action. You can use forward actions to route requests to one or more target groups.
|
|
787
787
|
|
|
788
788
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-listener-defaultaction.html
|
|
@@ -822,7 +822,7 @@ class CfnListener(
|
|
|
822
822
|
def fixed_response(
|
|
823
823
|
self,
|
|
824
824
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnListener.FixedResponseProperty"]]:
|
|
825
|
-
'''
|
|
825
|
+
'''Describes an action that returns a custom HTTP response.
|
|
826
826
|
|
|
827
827
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-listener-defaultaction.html#cfn-vpclattice-listener-defaultaction-fixedresponse
|
|
828
828
|
'''
|
|
@@ -860,7 +860,7 @@ class CfnListener(
|
|
|
860
860
|
)
|
|
861
861
|
class FixedResponseProperty:
|
|
862
862
|
def __init__(self, *, status_code: jsii.Number) -> None:
|
|
863
|
-
'''
|
|
863
|
+
'''Describes an action that returns a custom HTTP response.
|
|
864
864
|
|
|
865
865
|
:param status_code: The HTTP response code.
|
|
866
866
|
|
|
@@ -992,7 +992,7 @@ class CfnListener(
|
|
|
992
992
|
'''Describes the weight of a target group.
|
|
993
993
|
|
|
994
994
|
:param target_group_identifier: The ID of the target group.
|
|
995
|
-
:param weight: Only required if you specify multiple target groups for a forward action. The
|
|
995
|
+
:param weight: Only required if you specify multiple target groups for a forward action. The weight determines how requests are distributed to the target group. For example, if you specify two target groups, each with a weight of 10, each target group receives half the requests. If you specify two target groups, one with a weight of 10 and the other with a weight of 20, the target group with a weight of 20 receives twice as many requests as the other target group. If there's only one target group specified, then the default value is 100.
|
|
996
996
|
|
|
997
997
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-listener-weightedtargetgroup.html
|
|
998
998
|
:exampleMetadata: fixture=_generated
|
|
@@ -1034,7 +1034,7 @@ class CfnListener(
|
|
|
1034
1034
|
def weight(self) -> typing.Optional[jsii.Number]:
|
|
1035
1035
|
'''Only required if you specify multiple target groups for a forward action.
|
|
1036
1036
|
|
|
1037
|
-
The
|
|
1037
|
+
The weight determines how requests are distributed to the target group. For example, if you specify two target groups, each with a weight of 10, each target group receives half the requests. If you specify two target groups, one with a weight of 10 and the other with a weight of 20, the target group with a weight of 20 receives twice as many requests as the other target group. If there's only one target group specified, then the default value is 100.
|
|
1038
1038
|
|
|
1039
1039
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-listener-weightedtargetgroup.html#cfn-vpclattice-listener-weightedtargetgroup-weight
|
|
1040
1040
|
'''
|
|
@@ -1078,8 +1078,8 @@ class CfnListenerProps:
|
|
|
1078
1078
|
) -> None:
|
|
1079
1079
|
'''Properties for defining a ``CfnListener``.
|
|
1080
1080
|
|
|
1081
|
-
:param default_action: The action for the default rule. Each listener has a default rule.
|
|
1082
|
-
:param protocol: The listener protocol
|
|
1081
|
+
:param default_action: The action for the default rule. Each listener has a default rule. The default rule is used if no other rules match.
|
|
1082
|
+
:param protocol: The listener protocol.
|
|
1083
1083
|
:param name: The name of the listener. A listener name must be unique within a service. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen. If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.
|
|
1084
1084
|
:param port: The listener port. You can specify a value from 1 to 65535. For HTTP, the default is 80. For HTTPS, the default is 443.
|
|
1085
1085
|
:param service_identifier: The ID or Amazon Resource Name (ARN) of the service.
|
|
@@ -1147,7 +1147,7 @@ class CfnListenerProps:
|
|
|
1147
1147
|
) -> typing.Union[_IResolvable_da3f097b, CfnListener.DefaultActionProperty]:
|
|
1148
1148
|
'''The action for the default rule.
|
|
1149
1149
|
|
|
1150
|
-
Each listener has a default rule.
|
|
1150
|
+
Each listener has a default rule. The default rule is used if no other rules match.
|
|
1151
1151
|
|
|
1152
1152
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-listener.html#cfn-vpclattice-listener-defaultaction
|
|
1153
1153
|
'''
|
|
@@ -1157,7 +1157,7 @@ class CfnListenerProps:
|
|
|
1157
1157
|
|
|
1158
1158
|
@builtins.property
|
|
1159
1159
|
def protocol(self) -> builtins.str:
|
|
1160
|
-
'''The listener protocol
|
|
1160
|
+
'''The listener protocol.
|
|
1161
1161
|
|
|
1162
1162
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-listener.html#cfn-vpclattice-listener-protocol
|
|
1163
1163
|
'''
|
|
@@ -1486,7 +1486,7 @@ class CfnRule(
|
|
|
1486
1486
|
'''
|
|
1487
1487
|
:param scope: Scope in which this resource is defined.
|
|
1488
1488
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1489
|
-
:param action: Describes the action for a rule.
|
|
1489
|
+
:param action: Describes the action for a rule.
|
|
1490
1490
|
:param match: The rule match.
|
|
1491
1491
|
:param priority: The priority assigned to the rule. Each rule for a specific listener must have a unique priority. The lower the priority number the higher the priority.
|
|
1492
1492
|
:param listener_identifier: The ID or Amazon Resource Name (ARN) of the listener.
|
|
@@ -1680,9 +1680,7 @@ class CfnRule(
|
|
|
1680
1680
|
) -> None:
|
|
1681
1681
|
'''Describes the action for a rule.
|
|
1682
1682
|
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
:param fixed_response: Describes the rule action that returns a custom HTTP response.
|
|
1683
|
+
:param fixed_response: The fixed response action. The rule returns a custom HTTP response.
|
|
1686
1684
|
:param forward: The forward action. Traffic that matches the rule is forwarded to the specified target groups.
|
|
1687
1685
|
|
|
1688
1686
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-action.html
|
|
@@ -1722,7 +1720,9 @@ class CfnRule(
|
|
|
1722
1720
|
def fixed_response(
|
|
1723
1721
|
self,
|
|
1724
1722
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnRule.FixedResponseProperty"]]:
|
|
1725
|
-
'''
|
|
1723
|
+
'''The fixed response action.
|
|
1724
|
+
|
|
1725
|
+
The rule returns a custom HTTP response.
|
|
1726
1726
|
|
|
1727
1727
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-action.html#cfn-vpclattice-rule-action-fixedresponse
|
|
1728
1728
|
'''
|
|
@@ -1760,7 +1760,7 @@ class CfnRule(
|
|
|
1760
1760
|
)
|
|
1761
1761
|
class FixedResponseProperty:
|
|
1762
1762
|
def __init__(self, *, status_code: jsii.Number) -> None:
|
|
1763
|
-
'''
|
|
1763
|
+
'''Describes an action that returns a custom HTTP response.
|
|
1764
1764
|
|
|
1765
1765
|
:param status_code: The HTTP response code.
|
|
1766
1766
|
|
|
@@ -1995,11 +1995,9 @@ class CfnRule(
|
|
|
1995
1995
|
) -> None:
|
|
1996
1996
|
'''Describes a header match type.
|
|
1997
1997
|
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
:param
|
|
2001
|
-
:param exact: Specifies an exact type match.
|
|
2002
|
-
:param prefix: Specifies a prefix type match. Matches the value with the prefix.
|
|
1998
|
+
:param contains: A contains type match.
|
|
1999
|
+
:param exact: An exact type match.
|
|
2000
|
+
:param prefix: A prefix type match. Matches the value with the prefix.
|
|
2003
2001
|
|
|
2004
2002
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-headermatchtype.html
|
|
2005
2003
|
:exampleMetadata: fixture=_generated
|
|
@@ -2031,7 +2029,7 @@ class CfnRule(
|
|
|
2031
2029
|
|
|
2032
2030
|
@builtins.property
|
|
2033
2031
|
def contains(self) -> typing.Optional[builtins.str]:
|
|
2034
|
-
'''
|
|
2032
|
+
'''A contains type match.
|
|
2035
2033
|
|
|
2036
2034
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-headermatchtype.html#cfn-vpclattice-rule-headermatchtype-contains
|
|
2037
2035
|
'''
|
|
@@ -2040,7 +2038,7 @@ class CfnRule(
|
|
|
2040
2038
|
|
|
2041
2039
|
@builtins.property
|
|
2042
2040
|
def exact(self) -> typing.Optional[builtins.str]:
|
|
2043
|
-
'''
|
|
2041
|
+
'''An exact type match.
|
|
2044
2042
|
|
|
2045
2043
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-headermatchtype.html#cfn-vpclattice-rule-headermatchtype-exact
|
|
2046
2044
|
'''
|
|
@@ -2049,7 +2047,7 @@ class CfnRule(
|
|
|
2049
2047
|
|
|
2050
2048
|
@builtins.property
|
|
2051
2049
|
def prefix(self) -> typing.Optional[builtins.str]:
|
|
2052
|
-
'''
|
|
2050
|
+
'''A prefix type match.
|
|
2053
2051
|
|
|
2054
2052
|
Matches the value with the prefix.
|
|
2055
2053
|
|
|
@@ -2436,7 +2434,7 @@ class CfnRule(
|
|
|
2436
2434
|
'''Describes the weight of a target group.
|
|
2437
2435
|
|
|
2438
2436
|
:param target_group_identifier: The ID of the target group.
|
|
2439
|
-
:param weight: Only required if you specify multiple target groups for a forward action. The
|
|
2437
|
+
:param weight: Only required if you specify multiple target groups for a forward action. The weight determines how requests are distributed to the target group. For example, if you specify two target groups, each with a weight of 10, each target group receives half the requests. If you specify two target groups, one with a weight of 10 and the other with a weight of 20, the target group with a weight of 20 receives twice as many requests as the other target group. If there's only one target group specified, then the default value is 100.
|
|
2440
2438
|
|
|
2441
2439
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-weightedtargetgroup.html
|
|
2442
2440
|
:exampleMetadata: fixture=_generated
|
|
@@ -2478,7 +2476,7 @@ class CfnRule(
|
|
|
2478
2476
|
def weight(self) -> typing.Optional[jsii.Number]:
|
|
2479
2477
|
'''Only required if you specify multiple target groups for a forward action.
|
|
2480
2478
|
|
|
2481
|
-
The
|
|
2479
|
+
The weight determines how requests are distributed to the target group. For example, if you specify two target groups, each with a weight of 10, each target group receives half the requests. If you specify two target groups, one with a weight of 10 and the other with a weight of 20, the target group with a weight of 20 receives twice as many requests as the other target group. If there's only one target group specified, then the default value is 100.
|
|
2482
2480
|
|
|
2483
2481
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-weightedtargetgroup.html#cfn-vpclattice-rule-weightedtargetgroup-weight
|
|
2484
2482
|
'''
|
|
@@ -2524,7 +2522,7 @@ class CfnRuleProps:
|
|
|
2524
2522
|
) -> None:
|
|
2525
2523
|
'''Properties for defining a ``CfnRule``.
|
|
2526
2524
|
|
|
2527
|
-
:param action: Describes the action for a rule.
|
|
2525
|
+
:param action: Describes the action for a rule.
|
|
2528
2526
|
:param match: The rule match.
|
|
2529
2527
|
:param priority: The priority assigned to the rule. Each rule for a specific listener must have a unique priority. The lower the priority number the higher the priority.
|
|
2530
2528
|
:param listener_identifier: The ID or Amazon Resource Name (ARN) of the listener.
|
|
@@ -2619,8 +2617,6 @@ class CfnRuleProps:
|
|
|
2619
2617
|
def action(self) -> typing.Union[_IResolvable_da3f097b, CfnRule.ActionProperty]:
|
|
2620
2618
|
'''Describes the action for a rule.
|
|
2621
2619
|
|
|
2622
|
-
Each rule must include exactly one of the following types of actions: ``forward`` or ``fixed-response`` , and it must be the last action to be performed.
|
|
2623
|
-
|
|
2624
2620
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-rule.html#cfn-vpclattice-rule-action
|
|
2625
2621
|
'''
|
|
2626
2622
|
result = self._values.get("action")
|
|
@@ -3589,7 +3585,7 @@ class CfnServiceNetworkServiceAssociation(
|
|
|
3589
3585
|
domain_name: typing.Optional[builtins.str] = None,
|
|
3590
3586
|
hosted_zone_id: typing.Optional[builtins.str] = None,
|
|
3591
3587
|
) -> None:
|
|
3592
|
-
'''DNS information
|
|
3588
|
+
'''The DNS information.
|
|
3593
3589
|
|
|
3594
3590
|
:param domain_name: The domain name of the service.
|
|
3595
3591
|
:param hosted_zone_id: The ID of the hosted zone.
|
|
@@ -4294,11 +4290,6 @@ class CfnTargetGroup(
|
|
|
4294
4290
|
|
|
4295
4291
|
# the properties below are optional
|
|
4296
4292
|
config=vpclattice.CfnTargetGroup.TargetGroupConfigProperty(
|
|
4297
|
-
port=123,
|
|
4298
|
-
protocol="protocol",
|
|
4299
|
-
vpc_identifier="vpcIdentifier",
|
|
4300
|
-
|
|
4301
|
-
# the properties below are optional
|
|
4302
4293
|
health_check=vpclattice.CfnTargetGroup.HealthCheckConfigProperty(
|
|
4303
4294
|
enabled=False,
|
|
4304
4295
|
health_check_interval_seconds=123,
|
|
@@ -4314,7 +4305,11 @@ class CfnTargetGroup(
|
|
|
4314
4305
|
unhealthy_threshold_count=123
|
|
4315
4306
|
),
|
|
4316
4307
|
ip_address_type="ipAddressType",
|
|
4317
|
-
|
|
4308
|
+
lambda_event_structure_version="lambdaEventStructureVersion",
|
|
4309
|
+
port=123,
|
|
4310
|
+
protocol="protocol",
|
|
4311
|
+
protocol_version="protocolVersion",
|
|
4312
|
+
vpc_identifier="vpcIdentifier"
|
|
4318
4313
|
),
|
|
4319
4314
|
name="name",
|
|
4320
4315
|
tags=[CfnTag(
|
|
@@ -4345,7 +4340,7 @@ class CfnTargetGroup(
|
|
|
4345
4340
|
:param scope: Scope in which this resource is defined.
|
|
4346
4341
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
4347
4342
|
:param type: The type of target group.
|
|
4348
|
-
:param config: The target group configuration.
|
|
4343
|
+
:param config: The target group configuration.
|
|
4349
4344
|
:param name: The name of the target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen. If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.
|
|
4350
4345
|
:param tags: The tags for the target group.
|
|
4351
4346
|
:param targets: Describes a target.
|
|
@@ -4554,7 +4549,7 @@ class CfnTargetGroup(
|
|
|
4554
4549
|
protocol_version: typing.Optional[builtins.str] = None,
|
|
4555
4550
|
unhealthy_threshold_count: typing.Optional[jsii.Number] = None,
|
|
4556
4551
|
) -> None:
|
|
4557
|
-
'''
|
|
4552
|
+
'''Describes the health check configuration of a target group.
|
|
4558
4553
|
|
|
4559
4554
|
Health check configurations aren't used for target groups of type ``LAMBDA`` or ``ALB`` .
|
|
4560
4555
|
|
|
@@ -4562,7 +4557,7 @@ class CfnTargetGroup(
|
|
|
4562
4557
|
:param health_check_interval_seconds: The approximate amount of time, in seconds, between health checks of an individual target. The range is 5–300 seconds. The default is 30 seconds.
|
|
4563
4558
|
:param health_check_timeout_seconds: The amount of time, in seconds, to wait before reporting a target as unhealthy. The range is 1–120 seconds. The default is 5 seconds.
|
|
4564
4559
|
:param healthy_threshold_count: The number of consecutive successful health checks required before considering an unhealthy target healthy. The range is 2–10. The default is 5.
|
|
4565
|
-
:param matcher: The codes to use when checking for a successful response from a target.
|
|
4560
|
+
:param matcher: The codes to use when checking for a successful response from a target.
|
|
4566
4561
|
:param path: The destination for health checks on the targets. If the protocol version is ``HTTP/1.1`` or ``HTTP/2`` , specify a valid URI (for example, ``/path?query`` ). The default path is ``/`` . Health checks are not supported if the protocol version is ``gRPC`` , however, you can choose ``HTTP/1.1`` or ``HTTP/2`` and specify a valid URI.
|
|
4567
4562
|
:param port: The port used when performing health checks on targets. The default setting is the port that a target receives traffic on.
|
|
4568
4563
|
:param protocol: The protocol used when performing health checks on targets. The possible protocols are ``HTTP`` and ``HTTPS`` . The default is ``HTTP`` .
|
|
@@ -4677,8 +4672,6 @@ class CfnTargetGroup(
|
|
|
4677
4672
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTargetGroup.MatcherProperty"]]:
|
|
4678
4673
|
'''The codes to use when checking for a successful response from a target.
|
|
4679
4674
|
|
|
4680
|
-
These are called *Success codes* in the console.
|
|
4681
|
-
|
|
4682
4675
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-targetgroup-healthcheckconfig.html#cfn-vpclattice-targetgroup-healthcheckconfig-matcher
|
|
4683
4676
|
'''
|
|
4684
4677
|
result = self._values.get("matcher")
|
|
@@ -4757,7 +4750,7 @@ class CfnTargetGroup(
|
|
|
4757
4750
|
)
|
|
4758
4751
|
class MatcherProperty:
|
|
4759
4752
|
def __init__(self, *, http_code: builtins.str) -> None:
|
|
4760
|
-
'''
|
|
4753
|
+
'''Describes the codes to use when checking for a successful response from a target for health checks.
|
|
4761
4754
|
|
|
4762
4755
|
:param http_code: The HTTP code to use when checking for a successful response from a target.
|
|
4763
4756
|
|
|
@@ -4806,35 +4799,36 @@ class CfnTargetGroup(
|
|
|
4806
4799
|
jsii_type="aws-cdk-lib.aws_vpclattice.CfnTargetGroup.TargetGroupConfigProperty",
|
|
4807
4800
|
jsii_struct_bases=[],
|
|
4808
4801
|
name_mapping={
|
|
4809
|
-
"port": "port",
|
|
4810
|
-
"protocol": "protocol",
|
|
4811
|
-
"vpc_identifier": "vpcIdentifier",
|
|
4812
4802
|
"health_check": "healthCheck",
|
|
4813
4803
|
"ip_address_type": "ipAddressType",
|
|
4804
|
+
"lambda_event_structure_version": "lambdaEventStructureVersion",
|
|
4805
|
+
"port": "port",
|
|
4806
|
+
"protocol": "protocol",
|
|
4814
4807
|
"protocol_version": "protocolVersion",
|
|
4808
|
+
"vpc_identifier": "vpcIdentifier",
|
|
4815
4809
|
},
|
|
4816
4810
|
)
|
|
4817
4811
|
class TargetGroupConfigProperty:
|
|
4818
4812
|
def __init__(
|
|
4819
4813
|
self,
|
|
4820
4814
|
*,
|
|
4821
|
-
port: jsii.Number,
|
|
4822
|
-
protocol: builtins.str,
|
|
4823
|
-
vpc_identifier: builtins.str,
|
|
4824
4815
|
health_check: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTargetGroup.HealthCheckConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4825
4816
|
ip_address_type: typing.Optional[builtins.str] = None,
|
|
4817
|
+
lambda_event_structure_version: typing.Optional[builtins.str] = None,
|
|
4818
|
+
port: typing.Optional[jsii.Number] = None,
|
|
4819
|
+
protocol: typing.Optional[builtins.str] = None,
|
|
4826
4820
|
protocol_version: typing.Optional[builtins.str] = None,
|
|
4821
|
+
vpc_identifier: typing.Optional[builtins.str] = None,
|
|
4827
4822
|
) -> None:
|
|
4828
4823
|
'''Describes the configuration of a target group.
|
|
4829
4824
|
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
:param
|
|
4833
|
-
:param
|
|
4834
|
-
:param
|
|
4835
|
-
:param
|
|
4836
|
-
:param
|
|
4837
|
-
:param protocol_version: The protocol version. Default value is ``HTTP1`` . Default: - "HTTP1"
|
|
4825
|
+
:param health_check: The health check configuration. Not supported if the target group type is ``LAMBDA`` or ``ALB`` .
|
|
4826
|
+
:param ip_address_type: The type of IP address used for the target group. Supported only if the target group type is ``IP`` . The default is ``IPV4`` . Default: - "IPV4"
|
|
4827
|
+
:param lambda_event_structure_version: The version of the event structure that your Lambda function receives. Supported only if the target group type is ``LAMBDA`` . The default is ``V1`` .
|
|
4828
|
+
:param port: The port on which the targets are listening. For HTTP, the default is 80. For HTTPS, the default is 443. Not supported if the target group type is ``LAMBDA`` .
|
|
4829
|
+
:param protocol: The protocol to use for routing traffic to the targets. The default is the protocol of the target group. Not supported if the target group type is ``LAMBDA`` .
|
|
4830
|
+
:param protocol_version: The protocol version. The default is ``HTTP1`` . Not supported if the target group type is ``LAMBDA`` . Default: - "HTTP1"
|
|
4831
|
+
:param vpc_identifier: The ID of the VPC. Not supported if the target group type is ``LAMBDA`` .
|
|
4838
4832
|
|
|
4839
4833
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-targetgroup-targetgroupconfig.html
|
|
4840
4834
|
:exampleMetadata: fixture=_generated
|
|
@@ -4846,11 +4840,6 @@ class CfnTargetGroup(
|
|
|
4846
4840
|
from aws_cdk import aws_vpclattice as vpclattice
|
|
4847
4841
|
|
|
4848
4842
|
target_group_config_property = vpclattice.CfnTargetGroup.TargetGroupConfigProperty(
|
|
4849
|
-
port=123,
|
|
4850
|
-
protocol="protocol",
|
|
4851
|
-
vpc_identifier="vpcIdentifier",
|
|
4852
|
-
|
|
4853
|
-
# the properties below are optional
|
|
4854
4843
|
health_check=vpclattice.CfnTargetGroup.HealthCheckConfigProperty(
|
|
4855
4844
|
enabled=False,
|
|
4856
4845
|
health_check_interval_seconds=123,
|
|
@@ -4866,92 +4855,102 @@ class CfnTargetGroup(
|
|
|
4866
4855
|
unhealthy_threshold_count=123
|
|
4867
4856
|
),
|
|
4868
4857
|
ip_address_type="ipAddressType",
|
|
4869
|
-
|
|
4858
|
+
lambda_event_structure_version="lambdaEventStructureVersion",
|
|
4859
|
+
port=123,
|
|
4860
|
+
protocol="protocol",
|
|
4861
|
+
protocol_version="protocolVersion",
|
|
4862
|
+
vpc_identifier="vpcIdentifier"
|
|
4870
4863
|
)
|
|
4871
4864
|
'''
|
|
4872
4865
|
if __debug__:
|
|
4873
4866
|
type_hints = typing.get_type_hints(_typecheckingstub__a041432c3078e0853d7935a61589530e15207ff82506b97572b2bcbf7738a359)
|
|
4874
|
-
check_type(argname="argument port", value=port, expected_type=type_hints["port"])
|
|
4875
|
-
check_type(argname="argument protocol", value=protocol, expected_type=type_hints["protocol"])
|
|
4876
|
-
check_type(argname="argument vpc_identifier", value=vpc_identifier, expected_type=type_hints["vpc_identifier"])
|
|
4877
4867
|
check_type(argname="argument health_check", value=health_check, expected_type=type_hints["health_check"])
|
|
4878
4868
|
check_type(argname="argument ip_address_type", value=ip_address_type, expected_type=type_hints["ip_address_type"])
|
|
4869
|
+
check_type(argname="argument lambda_event_structure_version", value=lambda_event_structure_version, expected_type=type_hints["lambda_event_structure_version"])
|
|
4870
|
+
check_type(argname="argument port", value=port, expected_type=type_hints["port"])
|
|
4871
|
+
check_type(argname="argument protocol", value=protocol, expected_type=type_hints["protocol"])
|
|
4879
4872
|
check_type(argname="argument protocol_version", value=protocol_version, expected_type=type_hints["protocol_version"])
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
"protocol": protocol,
|
|
4883
|
-
"vpc_identifier": vpc_identifier,
|
|
4884
|
-
}
|
|
4873
|
+
check_type(argname="argument vpc_identifier", value=vpc_identifier, expected_type=type_hints["vpc_identifier"])
|
|
4874
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
4885
4875
|
if health_check is not None:
|
|
4886
4876
|
self._values["health_check"] = health_check
|
|
4887
4877
|
if ip_address_type is not None:
|
|
4888
4878
|
self._values["ip_address_type"] = ip_address_type
|
|
4879
|
+
if lambda_event_structure_version is not None:
|
|
4880
|
+
self._values["lambda_event_structure_version"] = lambda_event_structure_version
|
|
4881
|
+
if port is not None:
|
|
4882
|
+
self._values["port"] = port
|
|
4883
|
+
if protocol is not None:
|
|
4884
|
+
self._values["protocol"] = protocol
|
|
4889
4885
|
if protocol_version is not None:
|
|
4890
4886
|
self._values["protocol_version"] = protocol_version
|
|
4887
|
+
if vpc_identifier is not None:
|
|
4888
|
+
self._values["vpc_identifier"] = vpc_identifier
|
|
4891
4889
|
|
|
4892
4890
|
@builtins.property
|
|
4893
|
-
def
|
|
4894
|
-
|
|
4891
|
+
def health_check(
|
|
4892
|
+
self,
|
|
4893
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTargetGroup.HealthCheckConfigProperty"]]:
|
|
4894
|
+
'''The health check configuration.
|
|
4895
4895
|
|
|
4896
|
-
|
|
4896
|
+
Not supported if the target group type is ``LAMBDA`` or ``ALB`` .
|
|
4897
4897
|
|
|
4898
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-targetgroup-targetgroupconfig.html#cfn-vpclattice-targetgroup-targetgroupconfig-
|
|
4898
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-targetgroup-targetgroupconfig.html#cfn-vpclattice-targetgroup-targetgroupconfig-healthcheck
|
|
4899
4899
|
'''
|
|
4900
|
-
result = self._values.get("
|
|
4901
|
-
|
|
4902
|
-
return typing.cast(jsii.Number, result)
|
|
4900
|
+
result = self._values.get("health_check")
|
|
4901
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTargetGroup.HealthCheckConfigProperty"]], result)
|
|
4903
4902
|
|
|
4904
4903
|
@builtins.property
|
|
4905
|
-
def
|
|
4906
|
-
'''The
|
|
4904
|
+
def ip_address_type(self) -> typing.Optional[builtins.str]:
|
|
4905
|
+
'''The type of IP address used for the target group.
|
|
4907
4906
|
|
|
4908
|
-
|
|
4907
|
+
Supported only if the target group type is ``IP`` . The default is ``IPV4`` .
|
|
4909
4908
|
|
|
4910
|
-
:
|
|
4909
|
+
:default: - "IPV4"
|
|
4910
|
+
|
|
4911
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-targetgroup-targetgroupconfig.html#cfn-vpclattice-targetgroup-targetgroupconfig-ipaddresstype
|
|
4911
4912
|
'''
|
|
4912
|
-
result = self._values.get("
|
|
4913
|
-
|
|
4914
|
-
return typing.cast(builtins.str, result)
|
|
4913
|
+
result = self._values.get("ip_address_type")
|
|
4914
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4915
4915
|
|
|
4916
4916
|
@builtins.property
|
|
4917
|
-
def
|
|
4918
|
-
'''The
|
|
4917
|
+
def lambda_event_structure_version(self) -> typing.Optional[builtins.str]:
|
|
4918
|
+
'''The version of the event structure that your Lambda function receives.
|
|
4919
4919
|
|
|
4920
|
-
|
|
4920
|
+
Supported only if the target group type is ``LAMBDA`` . The default is ``V1`` .
|
|
4921
|
+
|
|
4922
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-targetgroup-targetgroupconfig.html#cfn-vpclattice-targetgroup-targetgroupconfig-lambdaeventstructureversion
|
|
4921
4923
|
'''
|
|
4922
|
-
result = self._values.get("
|
|
4923
|
-
|
|
4924
|
-
return typing.cast(builtins.str, result)
|
|
4924
|
+
result = self._values.get("lambda_event_structure_version")
|
|
4925
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4925
4926
|
|
|
4926
4927
|
@builtins.property
|
|
4927
|
-
def
|
|
4928
|
-
|
|
4929
|
-
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTargetGroup.HealthCheckConfigProperty"]]:
|
|
4930
|
-
'''The health check configuration.
|
|
4928
|
+
def port(self) -> typing.Optional[jsii.Number]:
|
|
4929
|
+
'''The port on which the targets are listening.
|
|
4931
4930
|
|
|
4932
|
-
|
|
4931
|
+
For HTTP, the default is 80. For HTTPS, the default is 443. Not supported if the target group type is ``LAMBDA`` .
|
|
4932
|
+
|
|
4933
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-targetgroup-targetgroupconfig.html#cfn-vpclattice-targetgroup-targetgroupconfig-port
|
|
4933
4934
|
'''
|
|
4934
|
-
result = self._values.get("
|
|
4935
|
-
return typing.cast(typing.Optional[
|
|
4935
|
+
result = self._values.get("port")
|
|
4936
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
4936
4937
|
|
|
4937
4938
|
@builtins.property
|
|
4938
|
-
def
|
|
4939
|
-
'''The
|
|
4940
|
-
|
|
4941
|
-
The possible values are ``ipv4`` and ``ipv6`` . This is an optional parameter. If not specified, the default is ``ipv4`` .
|
|
4939
|
+
def protocol(self) -> typing.Optional[builtins.str]:
|
|
4940
|
+
'''The protocol to use for routing traffic to the targets.
|
|
4942
4941
|
|
|
4943
|
-
|
|
4942
|
+
The default is the protocol of the target group. Not supported if the target group type is ``LAMBDA`` .
|
|
4944
4943
|
|
|
4945
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-targetgroup-targetgroupconfig.html#cfn-vpclattice-targetgroup-targetgroupconfig-
|
|
4944
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-targetgroup-targetgroupconfig.html#cfn-vpclattice-targetgroup-targetgroupconfig-protocol
|
|
4946
4945
|
'''
|
|
4947
|
-
result = self._values.get("
|
|
4946
|
+
result = self._values.get("protocol")
|
|
4948
4947
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
4949
4948
|
|
|
4950
4949
|
@builtins.property
|
|
4951
4950
|
def protocol_version(self) -> typing.Optional[builtins.str]:
|
|
4952
4951
|
'''The protocol version.
|
|
4953
4952
|
|
|
4954
|
-
|
|
4953
|
+
The default is ``HTTP1`` . Not supported if the target group type is ``LAMBDA`` .
|
|
4955
4954
|
|
|
4956
4955
|
:default: - "HTTP1"
|
|
4957
4956
|
|
|
@@ -4960,6 +4959,17 @@ class CfnTargetGroup(
|
|
|
4960
4959
|
result = self._values.get("protocol_version")
|
|
4961
4960
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
4962
4961
|
|
|
4962
|
+
@builtins.property
|
|
4963
|
+
def vpc_identifier(self) -> typing.Optional[builtins.str]:
|
|
4964
|
+
'''The ID of the VPC.
|
|
4965
|
+
|
|
4966
|
+
Not supported if the target group type is ``LAMBDA`` .
|
|
4967
|
+
|
|
4968
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-targetgroup-targetgroupconfig.html#cfn-vpclattice-targetgroup-targetgroupconfig-vpcidentifier
|
|
4969
|
+
'''
|
|
4970
|
+
result = self._values.get("vpc_identifier")
|
|
4971
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4972
|
+
|
|
4963
4973
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4964
4974
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4965
4975
|
|
|
@@ -5073,7 +5083,7 @@ class CfnTargetGroupProps:
|
|
|
5073
5083
|
'''Properties for defining a ``CfnTargetGroup``.
|
|
5074
5084
|
|
|
5075
5085
|
:param type: The type of target group.
|
|
5076
|
-
:param config: The target group configuration.
|
|
5086
|
+
:param config: The target group configuration.
|
|
5077
5087
|
:param name: The name of the target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen. If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.
|
|
5078
5088
|
:param tags: The tags for the target group.
|
|
5079
5089
|
:param targets: Describes a target.
|
|
@@ -5092,11 +5102,6 @@ class CfnTargetGroupProps:
|
|
|
5092
5102
|
|
|
5093
5103
|
# the properties below are optional
|
|
5094
5104
|
config=vpclattice.CfnTargetGroup.TargetGroupConfigProperty(
|
|
5095
|
-
port=123,
|
|
5096
|
-
protocol="protocol",
|
|
5097
|
-
vpc_identifier="vpcIdentifier",
|
|
5098
|
-
|
|
5099
|
-
# the properties below are optional
|
|
5100
5105
|
health_check=vpclattice.CfnTargetGroup.HealthCheckConfigProperty(
|
|
5101
5106
|
enabled=False,
|
|
5102
5107
|
health_check_interval_seconds=123,
|
|
@@ -5112,7 +5117,11 @@ class CfnTargetGroupProps:
|
|
|
5112
5117
|
unhealthy_threshold_count=123
|
|
5113
5118
|
),
|
|
5114
5119
|
ip_address_type="ipAddressType",
|
|
5115
|
-
|
|
5120
|
+
lambda_event_structure_version="lambdaEventStructureVersion",
|
|
5121
|
+
port=123,
|
|
5122
|
+
protocol="protocol",
|
|
5123
|
+
protocol_version="protocolVersion",
|
|
5124
|
+
vpc_identifier="vpcIdentifier"
|
|
5116
5125
|
),
|
|
5117
5126
|
name="name",
|
|
5118
5127
|
tags=[CfnTag(
|
|
@@ -5162,8 +5171,6 @@ class CfnTargetGroupProps:
|
|
|
5162
5171
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTargetGroup.TargetGroupConfigProperty]]:
|
|
5163
5172
|
'''The target group configuration.
|
|
5164
5173
|
|
|
5165
|
-
If the target group type is ``LAMBDA`` , this parameter doesn't apply.
|
|
5166
|
-
|
|
5167
5174
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-targetgroup.html#cfn-vpclattice-targetgroup-config
|
|
5168
5175
|
'''
|
|
5169
5176
|
result = self._values.get("config")
|
|
@@ -5975,12 +5982,13 @@ def _typecheckingstub__30dd80af951d79d177912b8867baf5806675529c6f61c59734e939b82
|
|
|
5975
5982
|
|
|
5976
5983
|
def _typecheckingstub__a041432c3078e0853d7935a61589530e15207ff82506b97572b2bcbf7738a359(
|
|
5977
5984
|
*,
|
|
5978
|
-
port: jsii.Number,
|
|
5979
|
-
protocol: builtins.str,
|
|
5980
|
-
vpc_identifier: builtins.str,
|
|
5981
5985
|
health_check: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTargetGroup.HealthCheckConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5982
5986
|
ip_address_type: typing.Optional[builtins.str] = None,
|
|
5987
|
+
lambda_event_structure_version: typing.Optional[builtins.str] = None,
|
|
5988
|
+
port: typing.Optional[jsii.Number] = None,
|
|
5989
|
+
protocol: typing.Optional[builtins.str] = None,
|
|
5983
5990
|
protocol_version: typing.Optional[builtins.str] = None,
|
|
5991
|
+
vpc_identifier: typing.Optional[builtins.str] = None,
|
|
5984
5992
|
) -> None:
|
|
5985
5993
|
"""Type checking stubs"""
|
|
5986
5994
|
pass
|