aws-cdk-lib 2.137.0__py3-none-any.whl → 2.139.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 +8 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.137.0.jsii.tgz → aws-cdk-lib@2.139.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplify/__init__.py +29 -113
- aws_cdk/aws_apigateway/__init__.py +29 -16
- aws_cdk/aws_appconfig/__init__.py +315 -77
- aws_cdk/aws_appintegrations/__init__.py +55 -6
- aws_cdk/aws_apprunner/__init__.py +5 -2
- aws_cdk/aws_appsync/__init__.py +400 -13
- aws_cdk/aws_aps/__init__.py +64 -47
- aws_cdk/aws_autoscaling/__init__.py +62 -60
- aws_cdk/aws_b2bi/__init__.py +2 -6
- aws_cdk/aws_backup/__init__.py +53 -57
- aws_cdk/aws_batch/__init__.py +109 -0
- aws_cdk/aws_bcmdataexports/__init__.py +1114 -0
- aws_cdk/aws_bedrock/__init__.py +4144 -0
- aws_cdk/aws_chatbot/__init__.py +6 -4
- aws_cdk/aws_cleanrooms/__init__.py +526 -3
- aws_cdk/aws_cleanroomsml/__init__.py +960 -0
- aws_cdk/aws_cloudtrail/__init__.py +10 -10
- aws_cdk/aws_cloudwatch/__init__.py +244 -8
- aws_cdk/aws_codebuild/__init__.py +27 -22
- aws_cdk/aws_codeconnections/__init__.py +435 -0
- aws_cdk/aws_cognito/__init__.py +175 -79
- aws_cdk/aws_datazone/__init__.py +22 -0
- aws_cdk/aws_deadline/__init__.py +5394 -0
- aws_cdk/aws_dms/__init__.py +2 -4
- aws_cdk/aws_ec2/__init__.py +402 -247
- aws_cdk/aws_ecr/__init__.py +630 -0
- aws_cdk/aws_ecs/__init__.py +361 -20
- aws_cdk/aws_efs/__init__.py +594 -2
- aws_cdk/aws_elasticache/__init__.py +86 -32
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +75 -10
- aws_cdk/aws_emr/__init__.py +2 -2
- aws_cdk/aws_entityresolution/__init__.py +1982 -773
- aws_cdk/aws_events_targets/__init__.py +17 -4
- aws_cdk/aws_globalaccelerator/__init__.py +443 -0
- aws_cdk/aws_iam/__init__.py +1 -2
- aws_cdk/aws_internetmonitor/__init__.py +14 -6
- aws_cdk/aws_ivs/__init__.py +1273 -71
- aws_cdk/aws_kms/__init__.py +44 -0
- aws_cdk/aws_lambda/__init__.py +9 -0
- aws_cdk/aws_mediatailor/__init__.py +41 -0
- aws_cdk/aws_oam/__init__.py +204 -0
- aws_cdk/aws_personalize/__init__.py +8 -6
- aws_cdk/aws_pinpoint/__init__.py +5 -3
- aws_cdk/aws_pipes/__init__.py +5 -1
- aws_cdk/aws_quicksight/__init__.py +12 -6
- aws_cdk/aws_rds/__init__.py +370 -96
- aws_cdk/aws_redshiftserverless/__init__.py +157 -0
- aws_cdk/aws_route53/__init__.py +587 -14
- aws_cdk/aws_sagemaker/__init__.py +233 -2
- aws_cdk/aws_securityhub/__init__.py +4940 -102
- aws_cdk/aws_securitylake/__init__.py +1326 -89
- aws_cdk/aws_ses_actions/__init__.py +155 -0
- aws_cdk/aws_sns/__init__.py +61 -4
- aws_cdk/aws_ssm/__init__.py +5 -2
- aws_cdk/aws_ssmcontacts/__init__.py +11 -4
- aws_cdk/aws_stepfunctions/__init__.py +8 -16
- aws_cdk/aws_stepfunctions_tasks/__init__.py +676 -1
- aws_cdk/aws_timestream/__init__.py +1045 -0
- aws_cdk/aws_transfer/__init__.py +19 -10
- aws_cdk/aws_verifiedpermissions/__init__.py +114 -37
- aws_cdk/aws_wisdom/__init__.py +2 -2
- aws_cdk/aws_workspacesthinclient/__init__.py +8 -8
- aws_cdk/custom_resources/__init__.py +688 -26
- aws_cdk/cx_api/__init__.py +17 -0
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/METADATA +3 -3
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/RECORD +73 -69
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/top_level.txt +0 -0
|
@@ -5397,11 +5397,15 @@ class CfnServerlessCache(
|
|
|
5397
5397
|
# the properties below are optional
|
|
5398
5398
|
cache_usage_limits=elasticache.CfnServerlessCache.CacheUsageLimitsProperty(
|
|
5399
5399
|
data_storage=elasticache.CfnServerlessCache.DataStorageProperty(
|
|
5400
|
+
unit="unit",
|
|
5401
|
+
|
|
5402
|
+
# the properties below are optional
|
|
5400
5403
|
maximum=123,
|
|
5401
|
-
|
|
5404
|
+
minimum=123
|
|
5402
5405
|
),
|
|
5403
5406
|
ecpu_per_second=elasticache.CfnServerlessCache.ECPUPerSecondProperty(
|
|
5404
|
-
maximum=123
|
|
5407
|
+
maximum=123,
|
|
5408
|
+
minimum=123
|
|
5405
5409
|
)
|
|
5406
5410
|
),
|
|
5407
5411
|
daily_snapshot_time="dailySnapshotTime",
|
|
@@ -5871,11 +5875,15 @@ class CfnServerlessCache(
|
|
|
5871
5875
|
|
|
5872
5876
|
cache_usage_limits_property = elasticache.CfnServerlessCache.CacheUsageLimitsProperty(
|
|
5873
5877
|
data_storage=elasticache.CfnServerlessCache.DataStorageProperty(
|
|
5878
|
+
unit="unit",
|
|
5879
|
+
|
|
5880
|
+
# the properties below are optional
|
|
5874
5881
|
maximum=123,
|
|
5875
|
-
|
|
5882
|
+
minimum=123
|
|
5876
5883
|
),
|
|
5877
5884
|
ecpu_per_second=elasticache.CfnServerlessCache.ECPUPerSecondProperty(
|
|
5878
|
-
maximum=123
|
|
5885
|
+
maximum=123,
|
|
5886
|
+
minimum=123
|
|
5879
5887
|
)
|
|
5880
5888
|
)
|
|
5881
5889
|
'''
|
|
@@ -5925,14 +5933,21 @@ class CfnServerlessCache(
|
|
|
5925
5933
|
@jsii.data_type(
|
|
5926
5934
|
jsii_type="aws-cdk-lib.aws_elasticache.CfnServerlessCache.DataStorageProperty",
|
|
5927
5935
|
jsii_struct_bases=[],
|
|
5928
|
-
name_mapping={"maximum": "maximum", "
|
|
5936
|
+
name_mapping={"unit": "unit", "maximum": "maximum", "minimum": "minimum"},
|
|
5929
5937
|
)
|
|
5930
5938
|
class DataStorageProperty:
|
|
5931
|
-
def __init__(
|
|
5939
|
+
def __init__(
|
|
5940
|
+
self,
|
|
5941
|
+
*,
|
|
5942
|
+
unit: builtins.str,
|
|
5943
|
+
maximum: typing.Optional[jsii.Number] = None,
|
|
5944
|
+
minimum: typing.Optional[jsii.Number] = None,
|
|
5945
|
+
) -> None:
|
|
5932
5946
|
'''The data storage limit.
|
|
5933
5947
|
|
|
5934
|
-
:param maximum: The upper limit for data storage the cache is set to use.
|
|
5935
5948
|
:param unit: The unit that the storage is measured in, in GB.
|
|
5949
|
+
:param maximum: The upper limit for data storage the cache is set to use.
|
|
5950
|
+
:param minimum: The lower limit for data storage the cache is set to use.
|
|
5936
5951
|
|
|
5937
5952
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-serverlesscache-datastorage.html
|
|
5938
5953
|
:exampleMetadata: fixture=_generated
|
|
@@ -5944,38 +5959,53 @@ class CfnServerlessCache(
|
|
|
5944
5959
|
from aws_cdk import aws_elasticache as elasticache
|
|
5945
5960
|
|
|
5946
5961
|
data_storage_property = elasticache.CfnServerlessCache.DataStorageProperty(
|
|
5962
|
+
unit="unit",
|
|
5963
|
+
|
|
5964
|
+
# the properties below are optional
|
|
5947
5965
|
maximum=123,
|
|
5948
|
-
|
|
5966
|
+
minimum=123
|
|
5949
5967
|
)
|
|
5950
5968
|
'''
|
|
5951
5969
|
if __debug__:
|
|
5952
5970
|
type_hints = typing.get_type_hints(_typecheckingstub__14470b22401430bce81195b8e644412f38b76011c8cab7fa8399081bd44b546d)
|
|
5953
|
-
check_type(argname="argument maximum", value=maximum, expected_type=type_hints["maximum"])
|
|
5954
5971
|
check_type(argname="argument unit", value=unit, expected_type=type_hints["unit"])
|
|
5972
|
+
check_type(argname="argument maximum", value=maximum, expected_type=type_hints["maximum"])
|
|
5973
|
+
check_type(argname="argument minimum", value=minimum, expected_type=type_hints["minimum"])
|
|
5955
5974
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
5956
|
-
"maximum": maximum,
|
|
5957
5975
|
"unit": unit,
|
|
5958
5976
|
}
|
|
5977
|
+
if maximum is not None:
|
|
5978
|
+
self._values["maximum"] = maximum
|
|
5979
|
+
if minimum is not None:
|
|
5980
|
+
self._values["minimum"] = minimum
|
|
5981
|
+
|
|
5982
|
+
@builtins.property
|
|
5983
|
+
def unit(self) -> builtins.str:
|
|
5984
|
+
'''The unit that the storage is measured in, in GB.
|
|
5985
|
+
|
|
5986
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-serverlesscache-datastorage.html#cfn-elasticache-serverlesscache-datastorage-unit
|
|
5987
|
+
'''
|
|
5988
|
+
result = self._values.get("unit")
|
|
5989
|
+
assert result is not None, "Required property 'unit' is missing"
|
|
5990
|
+
return typing.cast(builtins.str, result)
|
|
5959
5991
|
|
|
5960
5992
|
@builtins.property
|
|
5961
|
-
def maximum(self) -> jsii.Number:
|
|
5993
|
+
def maximum(self) -> typing.Optional[jsii.Number]:
|
|
5962
5994
|
'''The upper limit for data storage the cache is set to use.
|
|
5963
5995
|
|
|
5964
5996
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-serverlesscache-datastorage.html#cfn-elasticache-serverlesscache-datastorage-maximum
|
|
5965
5997
|
'''
|
|
5966
5998
|
result = self._values.get("maximum")
|
|
5967
|
-
|
|
5968
|
-
return typing.cast(jsii.Number, result)
|
|
5999
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
5969
6000
|
|
|
5970
6001
|
@builtins.property
|
|
5971
|
-
def
|
|
5972
|
-
'''The
|
|
6002
|
+
def minimum(self) -> typing.Optional[jsii.Number]:
|
|
6003
|
+
'''The lower limit for data storage the cache is set to use.
|
|
5973
6004
|
|
|
5974
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-serverlesscache-datastorage.html#cfn-elasticache-serverlesscache-datastorage-
|
|
6005
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-serverlesscache-datastorage.html#cfn-elasticache-serverlesscache-datastorage-minimum
|
|
5975
6006
|
'''
|
|
5976
|
-
result = self._values.get("
|
|
5977
|
-
|
|
5978
|
-
return typing.cast(builtins.str, result)
|
|
6007
|
+
result = self._values.get("minimum")
|
|
6008
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
5979
6009
|
|
|
5980
6010
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
5981
6011
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -5991,13 +6021,19 @@ class CfnServerlessCache(
|
|
|
5991
6021
|
@jsii.data_type(
|
|
5992
6022
|
jsii_type="aws-cdk-lib.aws_elasticache.CfnServerlessCache.ECPUPerSecondProperty",
|
|
5993
6023
|
jsii_struct_bases=[],
|
|
5994
|
-
name_mapping={"maximum": "maximum"},
|
|
6024
|
+
name_mapping={"maximum": "maximum", "minimum": "minimum"},
|
|
5995
6025
|
)
|
|
5996
6026
|
class ECPUPerSecondProperty:
|
|
5997
|
-
def __init__(
|
|
6027
|
+
def __init__(
|
|
6028
|
+
self,
|
|
6029
|
+
*,
|
|
6030
|
+
maximum: typing.Optional[jsii.Number] = None,
|
|
6031
|
+
minimum: typing.Optional[jsii.Number] = None,
|
|
6032
|
+
) -> None:
|
|
5998
6033
|
'''The configuration for the number of ElastiCache Processing Units (ECPU) the cache can consume per second.
|
|
5999
6034
|
|
|
6000
6035
|
:param maximum: The configuration for the maximum number of ECPUs the cache can consume per second.
|
|
6036
|
+
:param minimum: The configuration for the minimum number of ECPUs the cache should be able consume per second.
|
|
6001
6037
|
|
|
6002
6038
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-serverlesscache-ecpupersecond.html
|
|
6003
6039
|
:exampleMetadata: fixture=_generated
|
|
@@ -6009,25 +6045,37 @@ class CfnServerlessCache(
|
|
|
6009
6045
|
from aws_cdk import aws_elasticache as elasticache
|
|
6010
6046
|
|
|
6011
6047
|
e_cPUPer_second_property = elasticache.CfnServerlessCache.ECPUPerSecondProperty(
|
|
6012
|
-
maximum=123
|
|
6048
|
+
maximum=123,
|
|
6049
|
+
minimum=123
|
|
6013
6050
|
)
|
|
6014
6051
|
'''
|
|
6015
6052
|
if __debug__:
|
|
6016
6053
|
type_hints = typing.get_type_hints(_typecheckingstub__a4a85c1f856007000025702b1b01488e1f0726e767adf52fbf709f88ed3720f1)
|
|
6017
6054
|
check_type(argname="argument maximum", value=maximum, expected_type=type_hints["maximum"])
|
|
6018
|
-
|
|
6019
|
-
|
|
6020
|
-
|
|
6055
|
+
check_type(argname="argument minimum", value=minimum, expected_type=type_hints["minimum"])
|
|
6056
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
6057
|
+
if maximum is not None:
|
|
6058
|
+
self._values["maximum"] = maximum
|
|
6059
|
+
if minimum is not None:
|
|
6060
|
+
self._values["minimum"] = minimum
|
|
6021
6061
|
|
|
6022
6062
|
@builtins.property
|
|
6023
|
-
def maximum(self) -> jsii.Number:
|
|
6063
|
+
def maximum(self) -> typing.Optional[jsii.Number]:
|
|
6024
6064
|
'''The configuration for the maximum number of ECPUs the cache can consume per second.
|
|
6025
6065
|
|
|
6026
6066
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-serverlesscache-ecpupersecond.html#cfn-elasticache-serverlesscache-ecpupersecond-maximum
|
|
6027
6067
|
'''
|
|
6028
6068
|
result = self._values.get("maximum")
|
|
6029
|
-
|
|
6030
|
-
|
|
6069
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
6070
|
+
|
|
6071
|
+
@builtins.property
|
|
6072
|
+
def minimum(self) -> typing.Optional[jsii.Number]:
|
|
6073
|
+
'''The configuration for the minimum number of ECPUs the cache should be able consume per second.
|
|
6074
|
+
|
|
6075
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-serverlesscache-ecpupersecond.html#cfn-elasticache-serverlesscache-ecpupersecond-minimum
|
|
6076
|
+
'''
|
|
6077
|
+
result = self._values.get("minimum")
|
|
6078
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
6031
6079
|
|
|
6032
6080
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6033
6081
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -6191,11 +6239,15 @@ class CfnServerlessCacheProps:
|
|
|
6191
6239
|
# the properties below are optional
|
|
6192
6240
|
cache_usage_limits=elasticache.CfnServerlessCache.CacheUsageLimitsProperty(
|
|
6193
6241
|
data_storage=elasticache.CfnServerlessCache.DataStorageProperty(
|
|
6242
|
+
unit="unit",
|
|
6243
|
+
|
|
6244
|
+
# the properties below are optional
|
|
6194
6245
|
maximum=123,
|
|
6195
|
-
|
|
6246
|
+
minimum=123
|
|
6196
6247
|
),
|
|
6197
6248
|
ecpu_per_second=elasticache.CfnServerlessCache.ECPUPerSecondProperty(
|
|
6198
|
-
maximum=123
|
|
6249
|
+
maximum=123,
|
|
6250
|
+
minimum=123
|
|
6199
6251
|
)
|
|
6200
6252
|
),
|
|
6201
6253
|
daily_snapshot_time="dailySnapshotTime",
|
|
@@ -8611,15 +8663,17 @@ def _typecheckingstub__77ebaaf0b703f3ff0164d4845d37449699aec6cbe500ff6d63278a3a6
|
|
|
8611
8663
|
|
|
8612
8664
|
def _typecheckingstub__14470b22401430bce81195b8e644412f38b76011c8cab7fa8399081bd44b546d(
|
|
8613
8665
|
*,
|
|
8614
|
-
maximum: jsii.Number,
|
|
8615
8666
|
unit: builtins.str,
|
|
8667
|
+
maximum: typing.Optional[jsii.Number] = None,
|
|
8668
|
+
minimum: typing.Optional[jsii.Number] = None,
|
|
8616
8669
|
) -> None:
|
|
8617
8670
|
"""Type checking stubs"""
|
|
8618
8671
|
pass
|
|
8619
8672
|
|
|
8620
8673
|
def _typecheckingstub__a4a85c1f856007000025702b1b01488e1f0726e767adf52fbf709f88ed3720f1(
|
|
8621
8674
|
*,
|
|
8622
|
-
maximum: jsii.Number,
|
|
8675
|
+
maximum: typing.Optional[jsii.Number] = None,
|
|
8676
|
+
minimum: typing.Optional[jsii.Number] = None,
|
|
8623
8677
|
) -> None:
|
|
8624
8678
|
"""Type checking stubs"""
|
|
8625
8679
|
pass
|
|
@@ -785,6 +785,19 @@ target_group = elbv2.ApplicationTargetGroup.from_target_group_attributes(self, "
|
|
|
785
785
|
|
|
786
786
|
target_group_metrics = target_group.metrics
|
|
787
787
|
```
|
|
788
|
+
|
|
789
|
+
## logicalIds on ExternalApplicationListener.addTargetGroups() and .addAction()
|
|
790
|
+
|
|
791
|
+
By default, the `addTargetGroups()` method does not follow the standard behavior
|
|
792
|
+
of adding a `Rule` suffix to the logicalId of the `ListenerRule` it creates.
|
|
793
|
+
If you are deploying new `ListenerRule`s using `addTargetGroups()` the recommendation
|
|
794
|
+
is to set the `removeRuleSuffixFromLogicalId: false` property.
|
|
795
|
+
If you have `ListenerRule`s deployed using the legacy behavior of `addTargetGroups()`,
|
|
796
|
+
which you need to switch over to being managed by the `addAction()` method,
|
|
797
|
+
then you will need to enable the `removeRuleSuffixFromLogicalId: true` property in the `addAction()` method.
|
|
798
|
+
|
|
799
|
+
`ListenerRule`s have a unique `priority` for a given `Listener`.
|
|
800
|
+
Because the `priority` must be unique, CloudFormation will always fail when creating a new `ListenerRule` to replace the existing one, unless you change the `priority` as well as the logicalId.
|
|
788
801
|
'''
|
|
789
802
|
from pkgutil import extend_path
|
|
790
803
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -2747,7 +2760,7 @@ class BaseLoadBalancerProps:
|
|
|
2747
2760
|
'''Shared properties of both Application and Network Load Balancers.
|
|
2748
2761
|
|
|
2749
2762
|
:param vpc: The VPC network to place the load balancer in.
|
|
2750
|
-
:param cross_zone_enabled: Indicates whether cross-zone load balancing is enabled. Default: - false for Network Load Balancers and true for Application Load Balancers.
|
|
2763
|
+
:param cross_zone_enabled: Indicates whether cross-zone load balancing is enabled. Default: - false for Network Load Balancers and true for Application Load Balancers. This can not be ``false`` for Application Load Balancers.
|
|
2751
2764
|
:param deletion_protection: Indicates whether deletion protection is enabled. Default: false
|
|
2752
2765
|
:param deny_all_igw_traffic: Indicates whether the load balancer blocks traffic through the Internet Gateway (IGW). Default: - false for internet-facing load balancers and true for internal load balancers
|
|
2753
2766
|
:param internet_facing: Whether the load balancer has an internet-routable address. Default: false
|
|
@@ -2824,7 +2837,12 @@ class BaseLoadBalancerProps:
|
|
|
2824
2837
|
def cross_zone_enabled(self) -> typing.Optional[builtins.bool]:
|
|
2825
2838
|
'''Indicates whether cross-zone load balancing is enabled.
|
|
2826
2839
|
|
|
2827
|
-
:default:
|
|
2840
|
+
:default:
|
|
2841
|
+
|
|
2842
|
+
- false for Network Load Balancers and true for Application Load Balancers.
|
|
2843
|
+
This can not be ``false`` for Application Load Balancers.
|
|
2844
|
+
|
|
2845
|
+
:see: - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-loadbalancer-loadbalancerattribute.html
|
|
2828
2846
|
'''
|
|
2829
2847
|
result = self._values.get("cross_zone_enabled")
|
|
2830
2848
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
@@ -15937,7 +15955,7 @@ class NetworkLoadBalancer(
|
|
|
15937
15955
|
:param ip_address_type: The type of IP addresses to use. If you want to add a UDP or TCP_UDP listener to the load balancer, you must choose IPv4. Default: IpAddressType.IPV4
|
|
15938
15956
|
:param security_groups: Security groups to associate with this load balancer. Default: - No security groups associated with the load balancer.
|
|
15939
15957
|
:param vpc: The VPC network to place the load balancer in.
|
|
15940
|
-
:param cross_zone_enabled: Indicates whether cross-zone load balancing is enabled. Default: - false for Network Load Balancers and true for Application Load Balancers.
|
|
15958
|
+
:param cross_zone_enabled: Indicates whether cross-zone load balancing is enabled. Default: - false for Network Load Balancers and true for Application Load Balancers. This can not be ``false`` for Application Load Balancers.
|
|
15941
15959
|
:param deletion_protection: Indicates whether deletion protection is enabled. Default: false
|
|
15942
15960
|
:param deny_all_igw_traffic: Indicates whether the load balancer blocks traffic through the Internet Gateway (IGW). Default: - false for internet-facing load balancers and true for internal load balancers
|
|
15943
15961
|
:param internet_facing: Whether the load balancer has an internet-routable address. Default: false
|
|
@@ -16722,7 +16740,7 @@ class NetworkLoadBalancerProps(BaseLoadBalancerProps):
|
|
|
16722
16740
|
'''Properties for a network load balancer.
|
|
16723
16741
|
|
|
16724
16742
|
:param vpc: The VPC network to place the load balancer in.
|
|
16725
|
-
:param cross_zone_enabled: Indicates whether cross-zone load balancing is enabled. Default: - false for Network Load Balancers and true for Application Load Balancers.
|
|
16743
|
+
:param cross_zone_enabled: Indicates whether cross-zone load balancing is enabled. Default: - false for Network Load Balancers and true for Application Load Balancers. This can not be ``false`` for Application Load Balancers.
|
|
16726
16744
|
:param deletion_protection: Indicates whether deletion protection is enabled. Default: false
|
|
16727
16745
|
:param deny_all_igw_traffic: Indicates whether the load balancer blocks traffic through the Internet Gateway (IGW). Default: - false for internet-facing load balancers and true for internal load balancers
|
|
16728
16746
|
:param internet_facing: Whether the load balancer has an internet-routable address. Default: false
|
|
@@ -16801,7 +16819,12 @@ class NetworkLoadBalancerProps(BaseLoadBalancerProps):
|
|
|
16801
16819
|
def cross_zone_enabled(self) -> typing.Optional[builtins.bool]:
|
|
16802
16820
|
'''Indicates whether cross-zone load balancing is enabled.
|
|
16803
16821
|
|
|
16804
|
-
:default:
|
|
16822
|
+
:default:
|
|
16823
|
+
|
|
16824
|
+
- false for Network Load Balancers and true for Application Load Balancers.
|
|
16825
|
+
This can not be ``false`` for Application Load Balancers.
|
|
16826
|
+
|
|
16827
|
+
:see: - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-loadbalancer-loadbalancerattribute.html
|
|
16805
16828
|
'''
|
|
16806
16829
|
result = self._values.get("cross_zone_enabled")
|
|
16807
16830
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
@@ -18213,6 +18236,7 @@ class XffHeaderProcessingMode(enum.Enum):
|
|
|
18213
18236
|
"conditions": "conditions",
|
|
18214
18237
|
"priority": "priority",
|
|
18215
18238
|
"action": "action",
|
|
18239
|
+
"remove_suffix": "removeSuffix",
|
|
18216
18240
|
},
|
|
18217
18241
|
)
|
|
18218
18242
|
class AddApplicationActionProps(AddRuleProps):
|
|
@@ -18222,12 +18246,14 @@ class AddApplicationActionProps(AddRuleProps):
|
|
|
18222
18246
|
conditions: typing.Optional[typing.Sequence[ListenerCondition]] = None,
|
|
18223
18247
|
priority: typing.Optional[jsii.Number] = None,
|
|
18224
18248
|
action: ListenerAction,
|
|
18249
|
+
remove_suffix: typing.Optional[builtins.bool] = None,
|
|
18225
18250
|
) -> None:
|
|
18226
18251
|
'''Properties for adding a new action to a listener.
|
|
18227
18252
|
|
|
18228
18253
|
:param conditions: Rule applies if matches the conditions. Default: - No conditions.
|
|
18229
18254
|
:param priority: Priority of this target group. The rule with the lowest priority will be used for every request. If priority is not given, these target groups will be added as defaults, and must not have conditions. Priorities must be unique. Default: Target groups are used as defaults
|
|
18230
18255
|
:param action: Action to perform.
|
|
18256
|
+
:param remove_suffix: ``ListenerRule``s have a ``Rule`` suffix on their logicalId by default. This allows you to remove that suffix. Legacy behavior of the ``addTargetGroups()`` convenience method did not include the ``Rule`` suffix on the logicalId of the generated ``ListenerRule``. At some point, increasing complexity of requirements can require users to switch from the ``addTargetGroups()`` method to the ``addAction()`` method. When migrating ``ListenerRule``s deployed by a legacy version of ``addTargetGroups()``, you will need to enable this flag to avoid changing the logicalId of your resource. Otherwise Cfn will attempt to replace the ``ListenerRule`` and fail. Default: - use standard logicalId with the ``Rule`` suffix
|
|
18231
18257
|
|
|
18232
18258
|
:exampleMetadata: infused
|
|
18233
18259
|
|
|
@@ -18252,6 +18278,7 @@ class AddApplicationActionProps(AddRuleProps):
|
|
|
18252
18278
|
check_type(argname="argument conditions", value=conditions, expected_type=type_hints["conditions"])
|
|
18253
18279
|
check_type(argname="argument priority", value=priority, expected_type=type_hints["priority"])
|
|
18254
18280
|
check_type(argname="argument action", value=action, expected_type=type_hints["action"])
|
|
18281
|
+
check_type(argname="argument remove_suffix", value=remove_suffix, expected_type=type_hints["remove_suffix"])
|
|
18255
18282
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
18256
18283
|
"action": action,
|
|
18257
18284
|
}
|
|
@@ -18259,6 +18286,8 @@ class AddApplicationActionProps(AddRuleProps):
|
|
|
18259
18286
|
self._values["conditions"] = conditions
|
|
18260
18287
|
if priority is not None:
|
|
18261
18288
|
self._values["priority"] = priority
|
|
18289
|
+
if remove_suffix is not None:
|
|
18290
|
+
self._values["remove_suffix"] = remove_suffix
|
|
18262
18291
|
|
|
18263
18292
|
@builtins.property
|
|
18264
18293
|
def conditions(self) -> typing.Optional[typing.List[ListenerCondition]]:
|
|
@@ -18293,6 +18322,22 @@ class AddApplicationActionProps(AddRuleProps):
|
|
|
18293
18322
|
assert result is not None, "Required property 'action' is missing"
|
|
18294
18323
|
return typing.cast(ListenerAction, result)
|
|
18295
18324
|
|
|
18325
|
+
@builtins.property
|
|
18326
|
+
def remove_suffix(self) -> typing.Optional[builtins.bool]:
|
|
18327
|
+
'''``ListenerRule``s have a ``Rule`` suffix on their logicalId by default. This allows you to remove that suffix.
|
|
18328
|
+
|
|
18329
|
+
Legacy behavior of the ``addTargetGroups()`` convenience method did not include the ``Rule`` suffix on the logicalId of the generated ``ListenerRule``.
|
|
18330
|
+
At some point, increasing complexity of requirements can require users to switch from the ``addTargetGroups()`` method
|
|
18331
|
+
to the ``addAction()`` method.
|
|
18332
|
+
When migrating ``ListenerRule``s deployed by a legacy version of ``addTargetGroups()``,
|
|
18333
|
+
you will need to enable this flag to avoid changing the logicalId of your resource.
|
|
18334
|
+
Otherwise Cfn will attempt to replace the ``ListenerRule`` and fail.
|
|
18335
|
+
|
|
18336
|
+
:default: - use standard logicalId with the ``Rule`` suffix
|
|
18337
|
+
'''
|
|
18338
|
+
result = self._values.get("remove_suffix")
|
|
18339
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
18340
|
+
|
|
18296
18341
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
18297
18342
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
18298
18343
|
|
|
@@ -19274,7 +19319,7 @@ class ApplicationLoadBalancerProps(BaseLoadBalancerProps):
|
|
|
19274
19319
|
'''Properties for defining an Application Load Balancer.
|
|
19275
19320
|
|
|
19276
19321
|
:param vpc: The VPC network to place the load balancer in.
|
|
19277
|
-
:param cross_zone_enabled: Indicates whether cross-zone load balancing is enabled. Default: - false for Network Load Balancers and true for Application Load Balancers.
|
|
19322
|
+
:param cross_zone_enabled: Indicates whether cross-zone load balancing is enabled. Default: - false for Network Load Balancers and true for Application Load Balancers. This can not be ``false`` for Application Load Balancers.
|
|
19278
19323
|
:param deletion_protection: Indicates whether deletion protection is enabled. Default: false
|
|
19279
19324
|
:param deny_all_igw_traffic: Indicates whether the load balancer blocks traffic through the Internet Gateway (IGW). Default: - false for internet-facing load balancers and true for internal load balancers
|
|
19280
19325
|
:param internet_facing: Whether the load balancer has an internet-routable address. Default: false
|
|
@@ -19402,7 +19447,12 @@ class ApplicationLoadBalancerProps(BaseLoadBalancerProps):
|
|
|
19402
19447
|
def cross_zone_enabled(self) -> typing.Optional[builtins.bool]:
|
|
19403
19448
|
'''Indicates whether cross-zone load balancing is enabled.
|
|
19404
19449
|
|
|
19405
|
-
:default:
|
|
19450
|
+
:default:
|
|
19451
|
+
|
|
19452
|
+
- false for Network Load Balancers and true for Application Load Balancers.
|
|
19453
|
+
This can not be ``false`` for Application Load Balancers.
|
|
19454
|
+
|
|
19455
|
+
:see: - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-loadbalancer-loadbalancerattribute.html
|
|
19406
19456
|
'''
|
|
19407
19457
|
result = self._values.get("cross_zone_enabled")
|
|
19408
19458
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
@@ -19933,6 +19983,7 @@ class IApplicationListener(
|
|
|
19933
19983
|
id: builtins.str,
|
|
19934
19984
|
*,
|
|
19935
19985
|
action: ListenerAction,
|
|
19986
|
+
remove_suffix: typing.Optional[builtins.bool] = None,
|
|
19936
19987
|
conditions: typing.Optional[typing.Sequence[ListenerCondition]] = None,
|
|
19937
19988
|
priority: typing.Optional[jsii.Number] = None,
|
|
19938
19989
|
) -> None:
|
|
@@ -19950,6 +20001,7 @@ class IApplicationListener(
|
|
|
19950
20001
|
|
|
19951
20002
|
:param id: -
|
|
19952
20003
|
:param action: Action to perform.
|
|
20004
|
+
:param remove_suffix: ``ListenerRule``s have a ``Rule`` suffix on their logicalId by default. This allows you to remove that suffix. Legacy behavior of the ``addTargetGroups()`` convenience method did not include the ``Rule`` suffix on the logicalId of the generated ``ListenerRule``. At some point, increasing complexity of requirements can require users to switch from the ``addTargetGroups()`` method to the ``addAction()`` method. When migrating ``ListenerRule``s deployed by a legacy version of ``addTargetGroups()``, you will need to enable this flag to avoid changing the logicalId of your resource. Otherwise Cfn will attempt to replace the ``ListenerRule`` and fail. Default: - use standard logicalId with the ``Rule`` suffix
|
|
19953
20005
|
:param conditions: Rule applies if matches the conditions. Default: - No conditions.
|
|
19954
20006
|
:param priority: Priority of this target group. The rule with the lowest priority will be used for every request. If priority is not given, these target groups will be added as defaults, and must not have conditions. Priorities must be unique. Default: Target groups are used as defaults
|
|
19955
20007
|
'''
|
|
@@ -20065,6 +20117,7 @@ class _IApplicationListenerProxy(
|
|
|
20065
20117
|
id: builtins.str,
|
|
20066
20118
|
*,
|
|
20067
20119
|
action: ListenerAction,
|
|
20120
|
+
remove_suffix: typing.Optional[builtins.bool] = None,
|
|
20068
20121
|
conditions: typing.Optional[typing.Sequence[ListenerCondition]] = None,
|
|
20069
20122
|
priority: typing.Optional[jsii.Number] = None,
|
|
20070
20123
|
) -> None:
|
|
@@ -20082,6 +20135,7 @@ class _IApplicationListenerProxy(
|
|
|
20082
20135
|
|
|
20083
20136
|
:param id: -
|
|
20084
20137
|
:param action: Action to perform.
|
|
20138
|
+
:param remove_suffix: ``ListenerRule``s have a ``Rule`` suffix on their logicalId by default. This allows you to remove that suffix. Legacy behavior of the ``addTargetGroups()`` convenience method did not include the ``Rule`` suffix on the logicalId of the generated ``ListenerRule``. At some point, increasing complexity of requirements can require users to switch from the ``addTargetGroups()`` method to the ``addAction()`` method. When migrating ``ListenerRule``s deployed by a legacy version of ``addTargetGroups()``, you will need to enable this flag to avoid changing the logicalId of your resource. Otherwise Cfn will attempt to replace the ``ListenerRule`` and fail. Default: - use standard logicalId with the ``Rule`` suffix
|
|
20085
20139
|
:param conditions: Rule applies if matches the conditions. Default: - No conditions.
|
|
20086
20140
|
:param priority: Priority of this target group. The rule with the lowest priority will be used for every request. If priority is not given, these target groups will be added as defaults, and must not have conditions. Priorities must be unique. Default: Target groups are used as defaults
|
|
20087
20141
|
'''
|
|
@@ -20089,7 +20143,10 @@ class _IApplicationListenerProxy(
|
|
|
20089
20143
|
type_hints = typing.get_type_hints(_typecheckingstub__078c8c060ef52d807e9a62da847c7c1f9a2fb0a3f7bf8900246c80b1d9ff0a2e)
|
|
20090
20144
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
20091
20145
|
props = AddApplicationActionProps(
|
|
20092
|
-
action=action,
|
|
20146
|
+
action=action,
|
|
20147
|
+
remove_suffix=remove_suffix,
|
|
20148
|
+
conditions=conditions,
|
|
20149
|
+
priority=priority,
|
|
20093
20150
|
)
|
|
20094
20151
|
|
|
20095
20152
|
return typing.cast(None, jsii.invoke(self, "addAction", [id, props]))
|
|
@@ -21241,6 +21298,7 @@ class ApplicationListener(
|
|
|
21241
21298
|
id: builtins.str,
|
|
21242
21299
|
*,
|
|
21243
21300
|
action: ListenerAction,
|
|
21301
|
+
remove_suffix: typing.Optional[builtins.bool] = None,
|
|
21244
21302
|
conditions: typing.Optional[typing.Sequence[ListenerCondition]] = None,
|
|
21245
21303
|
priority: typing.Optional[jsii.Number] = None,
|
|
21246
21304
|
) -> None:
|
|
@@ -21256,6 +21314,7 @@ class ApplicationListener(
|
|
|
21256
21314
|
|
|
21257
21315
|
:param id: -
|
|
21258
21316
|
:param action: Action to perform.
|
|
21317
|
+
:param remove_suffix: ``ListenerRule``s have a ``Rule`` suffix on their logicalId by default. This allows you to remove that suffix. Legacy behavior of the ``addTargetGroups()`` convenience method did not include the ``Rule`` suffix on the logicalId of the generated ``ListenerRule``. At some point, increasing complexity of requirements can require users to switch from the ``addTargetGroups()`` method to the ``addAction()`` method. When migrating ``ListenerRule``s deployed by a legacy version of ``addTargetGroups()``, you will need to enable this flag to avoid changing the logicalId of your resource. Otherwise Cfn will attempt to replace the ``ListenerRule`` and fail. Default: - use standard logicalId with the ``Rule`` suffix
|
|
21259
21318
|
:param conditions: Rule applies if matches the conditions. Default: - No conditions.
|
|
21260
21319
|
:param priority: Priority of this target group. The rule with the lowest priority will be used for every request. If priority is not given, these target groups will be added as defaults, and must not have conditions. Priorities must be unique. Default: Target groups are used as defaults
|
|
21261
21320
|
'''
|
|
@@ -21263,7 +21322,10 @@ class ApplicationListener(
|
|
|
21263
21322
|
type_hints = typing.get_type_hints(_typecheckingstub__646bd302ed3a63a28a30ea3b62d2e003bf976ae981493560776ad112cacb8001)
|
|
21264
21323
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
21265
21324
|
props = AddApplicationActionProps(
|
|
21266
|
-
action=action,
|
|
21325
|
+
action=action,
|
|
21326
|
+
remove_suffix=remove_suffix,
|
|
21327
|
+
conditions=conditions,
|
|
21328
|
+
priority=priority,
|
|
21267
21329
|
)
|
|
21268
21330
|
|
|
21269
21331
|
return typing.cast(None, jsii.invoke(self, "addAction", [id, props]))
|
|
@@ -21511,7 +21573,7 @@ class ApplicationLoadBalancer(
|
|
|
21511
21573
|
:param x_amzn_tls_version_and_cipher_suite_headers: Indicates whether the two headers (x-amzn-tls-version and x-amzn-tls-cipher-suite), which contain information about the negotiated TLS version and cipher suite, are added to the client request before sending it to the target. The x-amzn-tls-version header has information about the TLS protocol version negotiated with the client, and the x-amzn-tls-cipher-suite header has information about the cipher suite negotiated with the client. Both headers are in OpenSSL format. Default: false
|
|
21512
21574
|
:param xff_header_processing_mode: Enables you to modify, preserve, or remove the X-Forwarded-For header in the HTTP request before the Application Load Balancer sends the request to the target. Default: XffHeaderProcessingMode.APPEND
|
|
21513
21575
|
:param vpc: The VPC network to place the load balancer in.
|
|
21514
|
-
:param cross_zone_enabled: Indicates whether cross-zone load balancing is enabled. Default: - false for Network Load Balancers and true for Application Load Balancers.
|
|
21576
|
+
:param cross_zone_enabled: Indicates whether cross-zone load balancing is enabled. Default: - false for Network Load Balancers and true for Application Load Balancers. This can not be ``false`` for Application Load Balancers.
|
|
21515
21577
|
:param deletion_protection: Indicates whether deletion protection is enabled. Default: false
|
|
21516
21578
|
:param deny_all_igw_traffic: Indicates whether the load balancer blocks traffic through the Internet Gateway (IGW). Default: - false for internet-facing load balancers and true for internal load balancers
|
|
21517
21579
|
:param internet_facing: Whether the load balancer has an internet-routable address. Default: false
|
|
@@ -25201,6 +25263,7 @@ def _typecheckingstub__4107bd237140ac5f517872385fdbe42c3d9200e34f993d6b71eb7a020
|
|
|
25201
25263
|
conditions: typing.Optional[typing.Sequence[ListenerCondition]] = None,
|
|
25202
25264
|
priority: typing.Optional[jsii.Number] = None,
|
|
25203
25265
|
action: ListenerAction,
|
|
25266
|
+
remove_suffix: typing.Optional[builtins.bool] = None,
|
|
25204
25267
|
) -> None:
|
|
25205
25268
|
"""Type checking stubs"""
|
|
25206
25269
|
pass
|
|
@@ -25333,6 +25396,7 @@ def _typecheckingstub__078c8c060ef52d807e9a62da847c7c1f9a2fb0a3f7bf8900246c80b1d
|
|
|
25333
25396
|
id: builtins.str,
|
|
25334
25397
|
*,
|
|
25335
25398
|
action: ListenerAction,
|
|
25399
|
+
remove_suffix: typing.Optional[builtins.bool] = None,
|
|
25336
25400
|
conditions: typing.Optional[typing.Sequence[ListenerCondition]] = None,
|
|
25337
25401
|
priority: typing.Optional[jsii.Number] = None,
|
|
25338
25402
|
) -> None:
|
|
@@ -25587,6 +25651,7 @@ def _typecheckingstub__646bd302ed3a63a28a30ea3b62d2e003bf976ae981493560776ad112c
|
|
|
25587
25651
|
id: builtins.str,
|
|
25588
25652
|
*,
|
|
25589
25653
|
action: ListenerAction,
|
|
25654
|
+
remove_suffix: typing.Optional[builtins.bool] = None,
|
|
25590
25655
|
conditions: typing.Optional[typing.Sequence[ListenerCondition]] = None,
|
|
25591
25656
|
priority: typing.Optional[jsii.Number] = None,
|
|
25592
25657
|
) -> None:
|
aws_cdk/aws_emr/__init__.py
CHANGED
|
@@ -3047,7 +3047,7 @@ class CfnCluster(
|
|
|
3047
3047
|
:param emr_managed_master_security_group: The identifier of the Amazon EC2 security group for the master node. If you specify ``EmrManagedMasterSecurityGroup`` , you must also specify ``EmrManagedSlaveSecurityGroup`` .
|
|
3048
3048
|
:param emr_managed_slave_security_group: The identifier of the Amazon EC2 security group for the core and task nodes. If you specify ``EmrManagedSlaveSecurityGroup`` , you must also specify ``EmrManagedMasterSecurityGroup`` .
|
|
3049
3049
|
:param hadoop_version: Applies only to Amazon EMR release versions earlier than 4.0. The Hadoop version for the cluster. Valid inputs are "0.18" (no longer maintained), "0.20" (no longer maintained), "0.20.205" (no longer maintained), "1.0.3", "2.2.0", or "2.4.0". If you do not set this value, the default of 0.18 is used, unless the ``AmiVersion`` parameter is set in the RunJobFlow call, in which case the default version of Hadoop for that AMI version is used.
|
|
3050
|
-
:param keep_job_flow_alive_when_no_steps: Specifies whether the cluster should remain available after completing all steps. Defaults to ``
|
|
3050
|
+
:param keep_job_flow_alive_when_no_steps: Specifies whether the cluster should remain available after completing all steps. Defaults to ``false`` . For more information about configuring cluster termination, see `Control Cluster Termination <https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-termination.html>`_ in the *EMR Management Guide* .
|
|
3051
3051
|
:param master_instance_fleet: Describes the EC2 instances and instance configurations for the master instance fleet when using clusters with the instance fleet configuration.
|
|
3052
3052
|
:param master_instance_group: Describes the EC2 instances and instance configurations for the master instance group when using clusters with the uniform instance group configuration.
|
|
3053
3053
|
:param placement: The Availability Zone in which the cluster runs.
|
|
@@ -3637,7 +3637,7 @@ class CfnCluster(
|
|
|
3637
3637
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
3638
3638
|
'''Specifies whether the cluster should remain available after completing all steps.
|
|
3639
3639
|
|
|
3640
|
-
Defaults to ``
|
|
3640
|
+
Defaults to ``false`` . For more information about configuring cluster termination, see `Control Cluster Termination <https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-termination.html>`_ in the *EMR Management Guide* .
|
|
3641
3641
|
|
|
3642
3642
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-jobflowinstancesconfig.html#cfn-emr-cluster-jobflowinstancesconfig-keepjobflowalivewhennosteps
|
|
3643
3643
|
'''
|