aws-cdk-lib 2.125.0__py3-none-any.whl → 2.127.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 +0 -2
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.125.0.jsii.tgz → aws-cdk-lib@2.127.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +18 -6
- aws_cdk/aws_amazonmq/__init__.py +3 -2
- aws_cdk/aws_amplifyuibuilder/__init__.py +1212 -666
- aws_cdk/aws_apigateway/__init__.py +7 -3
- aws_cdk/aws_appconfig/__init__.py +108 -19
- aws_cdk/aws_appsync/__init__.py +43 -0
- aws_cdk/aws_autoscaling/__init__.py +37 -14
- aws_cdk/aws_cassandra/__init__.py +810 -4
- aws_cdk/aws_cloudfront/__init__.py +35 -37
- aws_cdk/aws_cloudfront/experimental/__init__.py +21 -0
- aws_cdk/aws_codebuild/__init__.py +43 -3
- aws_cdk/aws_codecommit/__init__.py +1 -0
- aws_cdk/aws_codepipeline/__init__.py +7 -3
- aws_cdk/aws_codepipeline_actions/__init__.py +11 -1
- aws_cdk/aws_codestarnotifications/__init__.py +24 -15
- aws_cdk/aws_cognito/__init__.py +180 -116
- aws_cdk/aws_datasync/__init__.py +8 -4
- aws_cdk/aws_dynamodb/__init__.py +80 -11
- aws_cdk/aws_ec2/__init__.py +207 -45
- aws_cdk/aws_ecs/__init__.py +171 -78
- aws_cdk/aws_ecs_patterns/__init__.py +24 -0
- aws_cdk/aws_efs/__init__.py +64 -8
- aws_cdk/aws_eks/__init__.py +52 -41
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +12 -9
- aws_cdk/aws_fis/__init__.py +32 -12
- aws_cdk/aws_fsx/__init__.py +61 -43
- aws_cdk/aws_glue/__init__.py +449 -0
- aws_cdk/aws_guardduty/__init__.py +0 -8
- aws_cdk/aws_iam/__init__.py +3 -3
- aws_cdk/aws_inspectorv2/__init__.py +989 -0
- aws_cdk/aws_internetmonitor/__init__.py +10 -12
- aws_cdk/aws_iot/__init__.py +112 -0
- aws_cdk/aws_iotwireless/__init__.py +32 -19
- aws_cdk/aws_lambda/__init__.py +129 -32
- aws_cdk/aws_lambda_event_sources/__init__.py +95 -4
- aws_cdk/aws_lambda_nodejs/__init__.py +21 -0
- aws_cdk/aws_location/__init__.py +8 -2
- aws_cdk/aws_logs/__init__.py +7 -3
- aws_cdk/aws_networkmanager/__init__.py +1 -1
- aws_cdk/aws_opensearchserverless/__init__.py +4 -4
- aws_cdk/aws_osis/__init__.py +13 -13
- aws_cdk/aws_personalize/__init__.py +1 -1
- aws_cdk/aws_pinpoint/__init__.py +5 -5
- aws_cdk/aws_pipes/__init__.py +7 -10
- aws_cdk/aws_rds/__init__.py +449 -8
- aws_cdk/aws_redshiftserverless/__init__.py +282 -0
- aws_cdk/aws_rolesanywhere/__init__.py +53 -41
- aws_cdk/aws_route53/__init__.py +282 -0
- aws_cdk/aws_s3/__init__.py +11 -6
- aws_cdk/aws_sagemaker/__init__.py +1398 -39
- aws_cdk/aws_sns/__init__.py +56 -13
- aws_cdk/aws_sqs/__init__.py +13 -10
- aws_cdk/aws_stepfunctions/__init__.py +3612 -1395
- aws_cdk/aws_stepfunctions_tasks/__init__.py +267 -181
- aws_cdk/aws_transfer/__init__.py +1 -1
- aws_cdk/aws_verifiedpermissions/__init__.py +55 -55
- aws_cdk/aws_workspacesweb/__init__.py +6 -3
- aws_cdk/cx_api/__init__.py +17 -0
- aws_cdk/triggers/__init__.py +21 -0
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/RECORD +68 -69
- aws_cdk/aws_ssmguiconnect/__init__.py +0 -540
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_eks/__init__.py
CHANGED
|
@@ -73,13 +73,13 @@ This example defines an Amazon EKS cluster with the following configuration:
|
|
|
73
73
|
* A Kubernetes pod with a container based on the [paulbouwer/hello-kubernetes](https://github.com/paulbouwer/hello-kubernetes) image.
|
|
74
74
|
|
|
75
75
|
```python
|
|
76
|
-
from aws_cdk.
|
|
76
|
+
from aws_cdk.lambda_layer_kubectl_v29 import KubectlV29Layer
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
# provisioning a cluster
|
|
80
80
|
cluster = eks.Cluster(self, "hello-eks",
|
|
81
|
-
version=eks.KubernetesVersion.
|
|
82
|
-
kubectl_layer=
|
|
81
|
+
version=eks.KubernetesVersion.V1_29,
|
|
82
|
+
kubectl_layer=KubectlV29Layer(self, "kubectl")
|
|
83
83
|
)
|
|
84
84
|
|
|
85
85
|
# apply a kubernetes manifest to the cluster
|
|
@@ -144,7 +144,7 @@ Creating a new cluster is done using the `Cluster` or `FargateCluster` construct
|
|
|
144
144
|
|
|
145
145
|
```python
|
|
146
146
|
eks.Cluster(self, "HelloEKS",
|
|
147
|
-
version=eks.KubernetesVersion.
|
|
147
|
+
version=eks.KubernetesVersion.V1_29
|
|
148
148
|
)
|
|
149
149
|
```
|
|
150
150
|
|
|
@@ -152,7 +152,7 @@ You can also use `FargateCluster` to provision a cluster that uses only fargate
|
|
|
152
152
|
|
|
153
153
|
```python
|
|
154
154
|
eks.FargateCluster(self, "HelloEKS",
|
|
155
|
-
version=eks.KubernetesVersion.
|
|
155
|
+
version=eks.KubernetesVersion.V1_29
|
|
156
156
|
)
|
|
157
157
|
```
|
|
158
158
|
|
|
@@ -176,7 +176,7 @@ At cluster instantiation time, you can customize the number of instances and the
|
|
|
176
176
|
|
|
177
177
|
```python
|
|
178
178
|
eks.Cluster(self, "HelloEKS",
|
|
179
|
-
version=eks.KubernetesVersion.
|
|
179
|
+
version=eks.KubernetesVersion.V1_29,
|
|
180
180
|
default_capacity=5,
|
|
181
181
|
default_capacity_instance=ec2.InstanceType.of(ec2.InstanceClass.M5, ec2.InstanceSize.SMALL)
|
|
182
182
|
)
|
|
@@ -188,7 +188,7 @@ Additional customizations are available post instantiation. To apply them, set t
|
|
|
188
188
|
|
|
189
189
|
```python
|
|
190
190
|
cluster = eks.Cluster(self, "HelloEKS",
|
|
191
|
-
version=eks.KubernetesVersion.
|
|
191
|
+
version=eks.KubernetesVersion.V1_29,
|
|
192
192
|
default_capacity=0
|
|
193
193
|
)
|
|
194
194
|
|
|
@@ -272,7 +272,7 @@ eks_cluster_node_group_role = iam.Role(self, "eksClusterNodeGroupRole",
|
|
|
272
272
|
)
|
|
273
273
|
|
|
274
274
|
cluster = eks.Cluster(self, "HelloEKS",
|
|
275
|
-
version=eks.KubernetesVersion.
|
|
275
|
+
version=eks.KubernetesVersion.V1_29,
|
|
276
276
|
default_capacity=0
|
|
277
277
|
)
|
|
278
278
|
|
|
@@ -414,7 +414,7 @@ The following code defines an Amazon EKS cluster with a default Fargate Profile
|
|
|
414
414
|
|
|
415
415
|
```python
|
|
416
416
|
cluster = eks.FargateCluster(self, "MyCluster",
|
|
417
|
-
version=eks.KubernetesVersion.
|
|
417
|
+
version=eks.KubernetesVersion.V1_29
|
|
418
418
|
)
|
|
419
419
|
```
|
|
420
420
|
|
|
@@ -495,7 +495,7 @@ You can also configure the cluster to use an auto-scaling group as the default c
|
|
|
495
495
|
|
|
496
496
|
```python
|
|
497
497
|
cluster = eks.Cluster(self, "HelloEKS",
|
|
498
|
-
version=eks.KubernetesVersion.
|
|
498
|
+
version=eks.KubernetesVersion.V1_29,
|
|
499
499
|
default_capacity_type=eks.DefaultCapacityType.EC2
|
|
500
500
|
)
|
|
501
501
|
```
|
|
@@ -604,7 +604,7 @@ You can configure the [cluster endpoint access](https://docs.aws.amazon.com/eks/
|
|
|
604
604
|
|
|
605
605
|
```python
|
|
606
606
|
cluster = eks.Cluster(self, "hello-eks",
|
|
607
|
-
version=eks.KubernetesVersion.
|
|
607
|
+
version=eks.KubernetesVersion.V1_29,
|
|
608
608
|
endpoint_access=eks.EndpointAccess.PRIVATE
|
|
609
609
|
)
|
|
610
610
|
```
|
|
@@ -626,7 +626,7 @@ To deploy the controller on your EKS cluster, configure the `albController` prop
|
|
|
626
626
|
|
|
627
627
|
```python
|
|
628
628
|
eks.Cluster(self, "HelloEKS",
|
|
629
|
-
version=eks.KubernetesVersion.
|
|
629
|
+
version=eks.KubernetesVersion.V1_29,
|
|
630
630
|
alb_controller=eks.AlbControllerOptions(
|
|
631
631
|
version=eks.AlbControllerVersion.V2_6_2
|
|
632
632
|
)
|
|
@@ -670,7 +670,7 @@ You can specify the VPC of the cluster using the `vpc` and `vpcSubnets` properti
|
|
|
670
670
|
|
|
671
671
|
|
|
672
672
|
eks.Cluster(self, "HelloEKS",
|
|
673
|
-
version=eks.KubernetesVersion.
|
|
673
|
+
version=eks.KubernetesVersion.V1_29,
|
|
674
674
|
vpc=vpc,
|
|
675
675
|
vpc_subnets=[ec2.SubnetSelection(subnet_type=ec2.SubnetType.PRIVATE_WITH_EGRESS)]
|
|
676
676
|
)
|
|
@@ -719,7 +719,7 @@ You can configure the environment of the Cluster Handler functions by specifying
|
|
|
719
719
|
# proxy_instance_security_group: ec2.SecurityGroup
|
|
720
720
|
|
|
721
721
|
cluster = eks.Cluster(self, "hello-eks",
|
|
722
|
-
version=eks.KubernetesVersion.
|
|
722
|
+
version=eks.KubernetesVersion.V1_29,
|
|
723
723
|
cluster_handler_environment={
|
|
724
724
|
"https_proxy": "http://proxy.myproxy.com"
|
|
725
725
|
},
|
|
@@ -760,7 +760,7 @@ for subnet in subnets:
|
|
|
760
760
|
subnetcount = subnetcount + 1
|
|
761
761
|
|
|
762
762
|
cluster = eks.Cluster(self, "hello-eks",
|
|
763
|
-
version=eks.KubernetesVersion.
|
|
763
|
+
version=eks.KubernetesVersion.V1_29,
|
|
764
764
|
vpc=vpc,
|
|
765
765
|
ip_family=eks.IpFamily.IP_V6,
|
|
766
766
|
vpc_subnets=[ec2.SubnetSelection(subnets=vpc.public_subnets)]
|
|
@@ -795,7 +795,7 @@ You can configure the environment of this function by specifying it at cluster i
|
|
|
795
795
|
|
|
796
796
|
```python
|
|
797
797
|
cluster = eks.Cluster(self, "hello-eks",
|
|
798
|
-
version=eks.KubernetesVersion.
|
|
798
|
+
version=eks.KubernetesVersion.V1_29,
|
|
799
799
|
kubectl_environment={
|
|
800
800
|
"http_proxy": "http://proxy.myproxy.com"
|
|
801
801
|
}
|
|
@@ -815,12 +815,12 @@ Depending on which version of kubernetes you're targeting, you will need to use
|
|
|
815
815
|
the `@aws-cdk/lambda-layer-kubectl-vXY` packages.
|
|
816
816
|
|
|
817
817
|
```python
|
|
818
|
-
from aws_cdk.
|
|
818
|
+
from aws_cdk.lambda_layer_kubectl_v29 import KubectlV29Layer
|
|
819
819
|
|
|
820
820
|
|
|
821
821
|
cluster = eks.Cluster(self, "hello-eks",
|
|
822
|
-
version=eks.KubernetesVersion.
|
|
823
|
-
kubectl_layer=
|
|
822
|
+
version=eks.KubernetesVersion.V1_29,
|
|
823
|
+
kubectl_layer=KubectlV29Layer(self, "kubectl")
|
|
824
824
|
)
|
|
825
825
|
```
|
|
826
826
|
|
|
@@ -856,7 +856,7 @@ cluster1 = eks.Cluster(self, "MyCluster",
|
|
|
856
856
|
kubectl_layer=layer,
|
|
857
857
|
vpc=vpc,
|
|
858
858
|
cluster_name="cluster-name",
|
|
859
|
-
version=eks.KubernetesVersion.
|
|
859
|
+
version=eks.KubernetesVersion.V1_29
|
|
860
860
|
)
|
|
861
861
|
|
|
862
862
|
# or
|
|
@@ -876,7 +876,7 @@ By default, the kubectl provider is configured with 1024MiB of memory. You can u
|
|
|
876
876
|
# vpc: ec2.Vpc
|
|
877
877
|
eks.Cluster(self, "MyCluster",
|
|
878
878
|
kubectl_memory=Size.gibibytes(4),
|
|
879
|
-
version=eks.KubernetesVersion.
|
|
879
|
+
version=eks.KubernetesVersion.V1_29
|
|
880
880
|
)
|
|
881
881
|
eks.Cluster.from_cluster_attributes(self, "MyCluster",
|
|
882
882
|
kubectl_memory=Size.gibibytes(4),
|
|
@@ -914,7 +914,7 @@ When you create a cluster, you can specify a `mastersRole`. The `Cluster` constr
|
|
|
914
914
|
# role: iam.Role
|
|
915
915
|
|
|
916
916
|
eks.Cluster(self, "HelloEKS",
|
|
917
|
-
version=eks.KubernetesVersion.
|
|
917
|
+
version=eks.KubernetesVersion.V1_29,
|
|
918
918
|
masters_role=role
|
|
919
919
|
)
|
|
920
920
|
```
|
|
@@ -964,7 +964,7 @@ You can use the `secretsEncryptionKey` to configure which key the cluster will u
|
|
|
964
964
|
secrets_key = kms.Key(self, "SecretsKey")
|
|
965
965
|
cluster = eks.Cluster(self, "MyCluster",
|
|
966
966
|
secrets_encryption_key=secrets_key,
|
|
967
|
-
version=eks.KubernetesVersion.
|
|
967
|
+
version=eks.KubernetesVersion.V1_29
|
|
968
968
|
)
|
|
969
969
|
```
|
|
970
970
|
|
|
@@ -974,7 +974,7 @@ You can also use a similar configuration for running a cluster built using the F
|
|
|
974
974
|
secrets_key = kms.Key(self, "SecretsKey")
|
|
975
975
|
cluster = eks.FargateCluster(self, "MyFargateCluster",
|
|
976
976
|
secrets_encryption_key=secrets_key,
|
|
977
|
-
version=eks.KubernetesVersion.
|
|
977
|
+
version=eks.KubernetesVersion.V1_29
|
|
978
978
|
)
|
|
979
979
|
```
|
|
980
980
|
|
|
@@ -1021,7 +1021,7 @@ To access the Kubernetes resources from the console, make sure your viewing prin
|
|
|
1021
1021
|
in the `aws-auth` ConfigMap. Some options to consider:
|
|
1022
1022
|
|
|
1023
1023
|
```python
|
|
1024
|
-
from aws_cdk.
|
|
1024
|
+
from aws_cdk.lambda_layer_kubectl_v29 import KubectlV29Layer
|
|
1025
1025
|
# cluster: eks.Cluster
|
|
1026
1026
|
# your_current_role: iam.Role
|
|
1027
1027
|
# vpc: ec2.Vpc
|
|
@@ -1039,7 +1039,7 @@ your_current_role.add_to_policy(iam.PolicyStatement(
|
|
|
1039
1039
|
|
|
1040
1040
|
```python
|
|
1041
1041
|
# Option 2: create your custom mastersRole with scoped assumeBy arn as the Cluster prop. Switch to this role from the AWS console.
|
|
1042
|
-
from aws_cdk.
|
|
1042
|
+
from aws_cdk.lambda_layer_kubectl_v29 import KubectlV29Layer
|
|
1043
1043
|
# vpc: ec2.Vpc
|
|
1044
1044
|
|
|
1045
1045
|
|
|
@@ -1049,8 +1049,8 @@ masters_role = iam.Role(self, "MastersRole",
|
|
|
1049
1049
|
|
|
1050
1050
|
cluster = eks.Cluster(self, "EksCluster",
|
|
1051
1051
|
vpc=vpc,
|
|
1052
|
-
version=eks.KubernetesVersion.
|
|
1053
|
-
kubectl_layer=
|
|
1052
|
+
version=eks.KubernetesVersion.V1_29,
|
|
1053
|
+
kubectl_layer=KubectlV29Layer(self, "KubectlLayer"),
|
|
1054
1054
|
masters_role=masters_role
|
|
1055
1055
|
)
|
|
1056
1056
|
|
|
@@ -1329,7 +1329,7 @@ when a cluster is defined:
|
|
|
1329
1329
|
|
|
1330
1330
|
```python
|
|
1331
1331
|
eks.Cluster(self, "MyCluster",
|
|
1332
|
-
version=eks.KubernetesVersion.
|
|
1332
|
+
version=eks.KubernetesVersion.V1_29,
|
|
1333
1333
|
prune=False
|
|
1334
1334
|
)
|
|
1335
1335
|
```
|
|
@@ -1711,7 +1711,7 @@ property. For example:
|
|
|
1711
1711
|
```python
|
|
1712
1712
|
cluster = eks.Cluster(self, "Cluster",
|
|
1713
1713
|
# ...
|
|
1714
|
-
version=eks.KubernetesVersion.
|
|
1714
|
+
version=eks.KubernetesVersion.V1_29,
|
|
1715
1715
|
cluster_logging=[eks.ClusterLoggingTypes.API, eks.ClusterLoggingTypes.AUTHENTICATOR, eks.ClusterLoggingTypes.SCHEDULER
|
|
1716
1716
|
]
|
|
1717
1717
|
)
|
|
@@ -1910,7 +1910,7 @@ class AlbControllerOptions:
|
|
|
1910
1910
|
Example::
|
|
1911
1911
|
|
|
1912
1912
|
eks.Cluster(self, "HelloEKS",
|
|
1913
|
-
version=eks.KubernetesVersion.
|
|
1913
|
+
version=eks.KubernetesVersion.V1_29,
|
|
1914
1914
|
alb_controller=eks.AlbControllerOptions(
|
|
1915
1915
|
version=eks.AlbControllerVersion.V2_6_2
|
|
1916
1916
|
)
|
|
@@ -2103,7 +2103,7 @@ class AlbControllerVersion(
|
|
|
2103
2103
|
Example::
|
|
2104
2104
|
|
|
2105
2105
|
eks.Cluster(self, "HelloEKS",
|
|
2106
|
-
version=eks.KubernetesVersion.
|
|
2106
|
+
version=eks.KubernetesVersion.V1_29,
|
|
2107
2107
|
alb_controller=eks.AlbControllerOptions(
|
|
2108
2108
|
version=eks.AlbControllerVersion.V2_6_2
|
|
2109
2109
|
)
|
|
@@ -9231,7 +9231,7 @@ class ClusterLoggingTypes(enum.Enum):
|
|
|
9231
9231
|
|
|
9232
9232
|
cluster = eks.Cluster(self, "Cluster",
|
|
9233
9233
|
# ...
|
|
9234
|
-
version=eks.KubernetesVersion.
|
|
9234
|
+
version=eks.KubernetesVersion.V1_29,
|
|
9235
9235
|
cluster_logging=[eks.ClusterLoggingTypes.API, eks.ClusterLoggingTypes.AUTHENTICATOR, eks.ClusterLoggingTypes.SCHEDULER
|
|
9236
9236
|
]
|
|
9237
9237
|
)
|
|
@@ -9470,7 +9470,7 @@ class DefaultCapacityType(enum.Enum):
|
|
|
9470
9470
|
Example::
|
|
9471
9471
|
|
|
9472
9472
|
cluster = eks.Cluster(self, "HelloEKS",
|
|
9473
|
-
version=eks.KubernetesVersion.
|
|
9473
|
+
version=eks.KubernetesVersion.V1_29,
|
|
9474
9474
|
default_capacity_type=eks.DefaultCapacityType.EC2
|
|
9475
9475
|
)
|
|
9476
9476
|
'''
|
|
@@ -9639,7 +9639,7 @@ class EndpointAccess(
|
|
|
9639
9639
|
Example::
|
|
9640
9640
|
|
|
9641
9641
|
cluster = eks.Cluster(self, "hello-eks",
|
|
9642
|
-
version=eks.KubernetesVersion.
|
|
9642
|
+
version=eks.KubernetesVersion.V1_29,
|
|
9643
9643
|
endpoint_access=eks.EndpointAccess.PRIVATE
|
|
9644
9644
|
)
|
|
9645
9645
|
'''
|
|
@@ -11532,7 +11532,7 @@ class IpFamily(enum.Enum):
|
|
|
11532
11532
|
subnetcount = subnetcount + 1
|
|
11533
11533
|
|
|
11534
11534
|
cluster = eks.Cluster(self, "hello-eks",
|
|
11535
|
-
version=eks.KubernetesVersion.
|
|
11535
|
+
version=eks.KubernetesVersion.V1_29,
|
|
11536
11536
|
vpc=vpc,
|
|
11537
11537
|
ip_family=eks.IpFamily.IP_V6,
|
|
11538
11538
|
vpc_subnets=[ec2.SubnetSelection(subnets=vpc.public_subnets)]
|
|
@@ -12657,7 +12657,7 @@ class KubernetesVersion(
|
|
|
12657
12657
|
Example::
|
|
12658
12658
|
|
|
12659
12659
|
cluster = eks.Cluster(self, "HelloEKS",
|
|
12660
|
-
version=eks.KubernetesVersion.
|
|
12660
|
+
version=eks.KubernetesVersion.V1_29,
|
|
12661
12661
|
default_capacity=0
|
|
12662
12662
|
)
|
|
12663
12663
|
|
|
@@ -12852,6 +12852,17 @@ class KubernetesVersion(
|
|
|
12852
12852
|
'''
|
|
12853
12853
|
return typing.cast("KubernetesVersion", jsii.sget(cls, "V1_28"))
|
|
12854
12854
|
|
|
12855
|
+
@jsii.python.classproperty
|
|
12856
|
+
@jsii.member(jsii_name="V1_29")
|
|
12857
|
+
def V1_29(cls) -> "KubernetesVersion":
|
|
12858
|
+
'''Kubernetes version 1.29.
|
|
12859
|
+
|
|
12860
|
+
When creating a ``Cluster`` with this version, you need to also specify the
|
|
12861
|
+
``kubectlLayer`` property with a ``KubectlV29Layer`` from
|
|
12862
|
+
``@aws-cdk/lambda-layer-kubectl-v29``.
|
|
12863
|
+
'''
|
|
12864
|
+
return typing.cast("KubernetesVersion", jsii.sget(cls, "V1_29"))
|
|
12865
|
+
|
|
12855
12866
|
@builtins.property
|
|
12856
12867
|
@jsii.member(jsii_name="version")
|
|
12857
12868
|
def version(self) -> builtins.str:
|
|
@@ -14946,7 +14957,7 @@ class Cluster(
|
|
|
14946
14957
|
Example::
|
|
14947
14958
|
|
|
14948
14959
|
cluster = eks.Cluster(self, "HelloEKS",
|
|
14949
|
-
version=eks.KubernetesVersion.
|
|
14960
|
+
version=eks.KubernetesVersion.V1_29,
|
|
14950
14961
|
default_capacity=0
|
|
14951
14962
|
)
|
|
14952
14963
|
|
|
@@ -16572,7 +16583,7 @@ class ClusterProps(ClusterOptions):
|
|
|
16572
16583
|
Example::
|
|
16573
16584
|
|
|
16574
16585
|
cluster = eks.Cluster(self, "HelloEKS",
|
|
16575
|
-
version=eks.KubernetesVersion.
|
|
16586
|
+
version=eks.KubernetesVersion.V1_29,
|
|
16576
16587
|
default_capacity=0
|
|
16577
16588
|
)
|
|
16578
16589
|
|
|
@@ -17065,7 +17076,7 @@ class FargateCluster(
|
|
|
17065
17076
|
Example::
|
|
17066
17077
|
|
|
17067
17078
|
cluster = eks.FargateCluster(self, "MyCluster",
|
|
17068
|
-
version=eks.KubernetesVersion.
|
|
17079
|
+
version=eks.KubernetesVersion.V1_29
|
|
17069
17080
|
)
|
|
17070
17081
|
'''
|
|
17071
17082
|
|
|
@@ -17276,7 +17287,7 @@ class FargateClusterProps(ClusterOptions):
|
|
|
17276
17287
|
Example::
|
|
17277
17288
|
|
|
17278
17289
|
cluster = eks.FargateCluster(self, "MyCluster",
|
|
17279
|
-
version=eks.KubernetesVersion.
|
|
17290
|
+
version=eks.KubernetesVersion.V1_29
|
|
17280
17291
|
)
|
|
17281
17292
|
'''
|
|
17282
17293
|
if isinstance(alb_controller, dict):
|
|
@@ -7680,8 +7680,8 @@ class CfnLoadBalancer(
|
|
|
7680
7680
|
:param name: The name of the load balancer. This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, must not begin or end with a hyphen, and must not begin with "internal-". If you don't specify a name, AWS CloudFormation generates a unique physical ID for the load balancer. If you specify a name, you cannot perform updates that require replacement of this resource, but you can perform other updates. To replace the resource, specify a new name.
|
|
7681
7681
|
:param scheme: The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the internet. The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can route requests only from clients with access to the VPC for the load balancer. The default is an Internet-facing load balancer. You cannot specify a scheme for a Gateway Load Balancer.
|
|
7682
7682
|
:param security_groups: [Application Load Balancers and Network Load Balancers] The IDs of the security groups for the load balancer.
|
|
7683
|
-
:param subnet_mappings: The IDs of the
|
|
7684
|
-
:param subnets: The IDs of the
|
|
7683
|
+
:param subnet_mappings: The IDs of the subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings, but not both. [Application Load Balancers] You must specify subnets from at least two Availability Zones. You cannot specify Elastic IP addresses for your subnets. [Application Load Balancers on Outposts] You must specify one Outpost subnet. [Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones. [Network Load Balancers] You can specify subnets from one or more Availability Zones. You can specify one Elastic IP address per subnet if you need static IP addresses for your internet-facing load balancer. For internal load balancers, you can specify one private IP address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you can specify one IPv6 address per subnet. [Gateway Load Balancers] You can specify subnets from one or more Availability Zones. You cannot specify Elastic IP addresses for your subnets.
|
|
7684
|
+
:param subnets: The IDs of the subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings, but not both. To specify an Elastic IP address, specify subnet mappings instead of subnets. [Application Load Balancers] You must specify subnets from at least two Availability Zones. [Application Load Balancers on Outposts] You must specify one Outpost subnet. [Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones. [Network Load Balancers] You can specify subnets from one or more Availability Zones. [Gateway Load Balancers] You can specify subnets from one or more Availability Zones.
|
|
7685
7685
|
:param tags: The tags to assign to the load balancer.
|
|
7686
7686
|
:param type: The type of load balancer. The default is ``application`` .
|
|
7687
7687
|
'''
|
|
@@ -7903,7 +7903,7 @@ class CfnLoadBalancer(
|
|
|
7903
7903
|
def subnet_mappings(
|
|
7904
7904
|
self,
|
|
7905
7905
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnLoadBalancer.SubnetMappingProperty"]]]]:
|
|
7906
|
-
'''The IDs of the
|
|
7906
|
+
'''The IDs of the subnets.'''
|
|
7907
7907
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnLoadBalancer.SubnetMappingProperty"]]]], jsii.get(self, "subnetMappings"))
|
|
7908
7908
|
|
|
7909
7909
|
@subnet_mappings.setter
|
|
@@ -7919,7 +7919,7 @@ class CfnLoadBalancer(
|
|
|
7919
7919
|
@builtins.property
|
|
7920
7920
|
@jsii.member(jsii_name="subnets")
|
|
7921
7921
|
def subnets(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
7922
|
-
'''The IDs of the
|
|
7922
|
+
'''The IDs of the subnets.'''
|
|
7923
7923
|
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "subnets"))
|
|
7924
7924
|
|
|
7925
7925
|
@subnets.setter
|
|
@@ -8207,8 +8207,8 @@ class CfnLoadBalancerProps:
|
|
|
8207
8207
|
:param name: The name of the load balancer. This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, must not begin or end with a hyphen, and must not begin with "internal-". If you don't specify a name, AWS CloudFormation generates a unique physical ID for the load balancer. If you specify a name, you cannot perform updates that require replacement of this resource, but you can perform other updates. To replace the resource, specify a new name.
|
|
8208
8208
|
:param scheme: The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the internet. The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can route requests only from clients with access to the VPC for the load balancer. The default is an Internet-facing load balancer. You cannot specify a scheme for a Gateway Load Balancer.
|
|
8209
8209
|
:param security_groups: [Application Load Balancers and Network Load Balancers] The IDs of the security groups for the load balancer.
|
|
8210
|
-
:param subnet_mappings: The IDs of the
|
|
8211
|
-
:param subnets: The IDs of the
|
|
8210
|
+
:param subnet_mappings: The IDs of the subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings, but not both. [Application Load Balancers] You must specify subnets from at least two Availability Zones. You cannot specify Elastic IP addresses for your subnets. [Application Load Balancers on Outposts] You must specify one Outpost subnet. [Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones. [Network Load Balancers] You can specify subnets from one or more Availability Zones. You can specify one Elastic IP address per subnet if you need static IP addresses for your internet-facing load balancer. For internal load balancers, you can specify one private IP address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you can specify one IPv6 address per subnet. [Gateway Load Balancers] You can specify subnets from one or more Availability Zones. You cannot specify Elastic IP addresses for your subnets.
|
|
8211
|
+
:param subnets: The IDs of the subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings, but not both. To specify an Elastic IP address, specify subnet mappings instead of subnets. [Application Load Balancers] You must specify subnets from at least two Availability Zones. [Application Load Balancers on Outposts] You must specify one Outpost subnet. [Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones. [Network Load Balancers] You can specify subnets from one or more Availability Zones. [Gateway Load Balancers] You can specify subnets from one or more Availability Zones.
|
|
8212
8212
|
:param tags: The tags to assign to the load balancer.
|
|
8213
8213
|
:param type: The type of load balancer. The default is ``application`` .
|
|
8214
8214
|
|
|
@@ -8357,7 +8357,7 @@ class CfnLoadBalancerProps:
|
|
|
8357
8357
|
def subnet_mappings(
|
|
8358
8358
|
self,
|
|
8359
8359
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnLoadBalancer.SubnetMappingProperty]]]]:
|
|
8360
|
-
'''The IDs of the
|
|
8360
|
+
'''The IDs of the subnets.
|
|
8361
8361
|
|
|
8362
8362
|
You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings, but not both.
|
|
8363
8363
|
|
|
@@ -8378,7 +8378,7 @@ class CfnLoadBalancerProps:
|
|
|
8378
8378
|
|
|
8379
8379
|
@builtins.property
|
|
8380
8380
|
def subnets(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
8381
|
-
'''The IDs of the
|
|
8381
|
+
'''The IDs of the subnets.
|
|
8382
8382
|
|
|
8383
8383
|
You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings, but not both. To specify an Elastic IP address, specify subnet mappings instead of subnets.
|
|
8384
8384
|
|
|
@@ -9116,7 +9116,7 @@ class CfnTargetGroup(
|
|
|
9116
9116
|
) -> None:
|
|
9117
9117
|
'''Specifies a target group attribute.
|
|
9118
9118
|
|
|
9119
|
-
:param key: The name of the attribute. The following attributes are supported by all load balancers: - ``deregistration_delay.timeout_seconds`` - The amount of time, in seconds, for Elastic Load Balancing to wait before changing the state of a deregistering target from ``draining`` to ``unused`` . The range is 0-3600 seconds. The default value is 300 seconds. If the target is a Lambda function, this attribute is not supported. - ``stickiness.enabled`` - Indicates whether target stickiness is enabled. The value is ``true`` or ``false`` . The default is ``false`` . - ``stickiness.type`` - Indicates the type of stickiness. The possible values are: - ``lb_cookie`` and ``app_cookie`` for Application Load Balancers. - ``source_ip`` for Network Load Balancers. - ``source_ip_dest_ip`` and ``source_ip_dest_ip_proto`` for Gateway Load Balancers. The following attributes are supported by Application Load Balancers and Network Load Balancers: - ``load_balancing.cross_zone.enabled`` - Indicates whether cross zone load balancing is enabled. The value is ``true`` , ``false`` or ``use_load_balancer_configuration`` . The default is ``use_load_balancer_configuration`` . - ``target_group_health.dns_failover.minimum_healthy_targets.count`` - The minimum number of targets that must be healthy. If the number of healthy targets is below this value, mark the zone as unhealthy in DNS, so that traffic is routed only to healthy zones. The possible values are ``off`` or an integer from 1 to the maximum number of targets. The default is ``off`` . - ``target_group_health.dns_failover.minimum_healthy_targets.percentage`` - The minimum percentage of targets that must be healthy. If the percentage of healthy targets is below this value, mark the zone as unhealthy in DNS, so that traffic is routed only to healthy zones. The possible values are ``off`` or an integer from 1 to 100. The default is ``off`` . - ``target_group_health.unhealthy_state_routing.minimum_healthy_targets.count`` - The minimum number of targets that must be healthy. If the number of healthy targets is below this value, send traffic to all targets, including unhealthy targets. The possible values are 1 to the maximum number of targets. The default is 1. - ``target_group_health.unhealthy_state_routing.minimum_healthy_targets.percentage`` - The minimum percentage of targets that must be healthy. If the percentage of healthy targets is below this value, send traffic to all targets, including unhealthy targets. The possible values are ``off`` or an integer from 1 to 100. The default is ``off`` . The following attributes are supported only if the load balancer is an Application Load Balancer and the target is an instance or an IP address: - ``load_balancing.algorithm.type`` - The load balancing algorithm determines how the load balancer selects targets when routing requests. The value is ``round_robin`` , ``least_outstanding_requests`` , or ``weighted_random`` . The default is ``round_robin`` . - ``load_balancing.algorithm.anomaly_mitigation`` - Only available when ``load_balancing.algorithm.type`` is ``weighted_random`` . Indicates whether anomaly mitigation is enabled. The value is ``on`` or ``off`` . The default is ``off`` . - ``slow_start.duration_seconds`` - The time period, in seconds, during which a newly registered target receives an increasing share of the traffic to the target group. After this time period ends, the target receives its full share of traffic. The range is 30-900 seconds (15 minutes). The default is 0 seconds (disabled). - ``stickiness.app_cookie.cookie_name`` - Indicates the name of the application-based cookie. Names that start with the following prefixes are not allowed: ``AWSALB`` , ``AWSALBAPP`` , and ``AWSALBTG`` ; they're reserved for use by the load balancer. - ``stickiness.app_cookie.duration_seconds`` - The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the application-based cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds). - ``stickiness.lb_cookie.duration_seconds`` - The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the load balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds). The following attribute is supported only if the load balancer is an Application Load Balancer and the target is a Lambda function: - ``lambda.multi_value_headers.enabled`` - Indicates whether the request and response headers that are exchanged between the load balancer and the Lambda function include arrays of values or strings. The value is ``true`` or ``false`` . The default is ``false`` . If the value is ``false`` and the request contains a duplicate header field name or query parameter key, the load balancer uses the last value sent by the client. The following attributes are supported only by Network Load Balancers: - ``deregistration_delay.connection_termination.enabled`` - Indicates whether the load balancer terminates connections at the end of the deregistration timeout. The value is ``true`` or ``false`` . For new UDP/TCP_UDP target groups the default is ``true`` . Otherwise, the default is ``false`` . - ``preserve_client_ip.enabled`` - Indicates whether client IP preservation is enabled. The value is ``true`` or ``false`` . The default is disabled if the target group type is IP address and the target group protocol is TCP or TLS. Otherwise, the default is enabled. Client IP preservation cannot be disabled for UDP and TCP_UDP target groups. - ``proxy_protocol_v2.enabled`` - Indicates whether Proxy Protocol version 2 is enabled. The value is ``true`` or ``false`` . The default is ``false`` . - ``target_health_state.unhealthy.connection_termination.enabled`` - Indicates whether the load balancer terminates connections to unhealthy targets. The value is ``true`` or ``false`` . The default is ``true`` . The following attributes are supported only by Gateway Load Balancers: - ``target_failover.on_deregistration`` - Indicates how the Gateway Load Balancer handles existing flows when a target is deregistered. The possible values are ``rebalance`` and ``no_rebalance`` . The default is ``no_rebalance`` . The two attributes ( ``target_failover.on_deregistration`` and ``target_failover.on_unhealthy`` ) can't be set independently. The value you set for both attributes must be the same. - ``target_failover.on_unhealthy`` - Indicates how the Gateway Load Balancer handles existing flows when a target is unhealthy. The possible values are ``rebalance`` and ``no_rebalance`` . The default is ``no_rebalance`` . The two attributes ( ``target_failover.on_deregistration`` and ``target_failover.on_unhealthy`` ) cannot be set independently. The value you set for both attributes must be the same.
|
|
9119
|
+
:param key: The name of the attribute. The following attributes are supported by all load balancers: - ``deregistration_delay.timeout_seconds`` - The amount of time, in seconds, for Elastic Load Balancing to wait before changing the state of a deregistering target from ``draining`` to ``unused`` . The range is 0-3600 seconds. The default value is 300 seconds. If the target is a Lambda function, this attribute is not supported. - ``stickiness.enabled`` - Indicates whether target stickiness is enabled. The value is ``true`` or ``false`` . The default is ``false`` . - ``stickiness.type`` - Indicates the type of stickiness. The possible values are: - ``lb_cookie`` and ``app_cookie`` for Application Load Balancers. - ``source_ip`` for Network Load Balancers. - ``source_ip_dest_ip`` and ``source_ip_dest_ip_proto`` for Gateway Load Balancers. The following attributes are supported by Application Load Balancers and Network Load Balancers: - ``load_balancing.cross_zone.enabled`` - Indicates whether cross zone load balancing is enabled. The value is ``true`` , ``false`` or ``use_load_balancer_configuration`` . The default is ``use_load_balancer_configuration`` . - ``target_group_health.dns_failover.minimum_healthy_targets.count`` - The minimum number of targets that must be healthy. If the number of healthy targets is below this value, mark the zone as unhealthy in DNS, so that traffic is routed only to healthy zones. The possible values are ``off`` or an integer from 1 to the maximum number of targets. The default is ``off`` . - ``target_group_health.dns_failover.minimum_healthy_targets.percentage`` - The minimum percentage of targets that must be healthy. If the percentage of healthy targets is below this value, mark the zone as unhealthy in DNS, so that traffic is routed only to healthy zones. The possible values are ``off`` or an integer from 1 to 100. The default is ``off`` . - ``target_group_health.unhealthy_state_routing.minimum_healthy_targets.count`` - The minimum number of targets that must be healthy. If the number of healthy targets is below this value, send traffic to all targets, including unhealthy targets. The possible values are 1 to the maximum number of targets. The default is 1. - ``target_group_health.unhealthy_state_routing.minimum_healthy_targets.percentage`` - The minimum percentage of targets that must be healthy. If the percentage of healthy targets is below this value, send traffic to all targets, including unhealthy targets. The possible values are ``off`` or an integer from 1 to 100. The default is ``off`` . The following attributes are supported only if the load balancer is an Application Load Balancer and the target is an instance or an IP address: - ``load_balancing.algorithm.type`` - The load balancing algorithm determines how the load balancer selects targets when routing requests. The value is ``round_robin`` , ``least_outstanding_requests`` , or ``weighted_random`` . The default is ``round_robin`` . - ``load_balancing.algorithm.anomaly_mitigation`` - Only available when ``load_balancing.algorithm.type`` is ``weighted_random`` . Indicates whether anomaly mitigation is enabled. The value is ``on`` or ``off`` . The default is ``off`` . - ``slow_start.duration_seconds`` - The time period, in seconds, during which a newly registered target receives an increasing share of the traffic to the target group. After this time period ends, the target receives its full share of traffic. The range is 30-900 seconds (15 minutes). The default is 0 seconds (disabled). - ``stickiness.app_cookie.cookie_name`` - Indicates the name of the application-based cookie. Names that start with the following prefixes are not allowed: ``AWSALB`` , ``AWSALBAPP`` , and ``AWSALBTG`` ; they're reserved for use by the load balancer. - ``stickiness.app_cookie.duration_seconds`` - The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the application-based cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds). - ``stickiness.lb_cookie.duration_seconds`` - The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the load balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds). The following attribute is supported only if the load balancer is an Application Load Balancer and the target is a Lambda function: - ``lambda.multi_value_headers.enabled`` - Indicates whether the request and response headers that are exchanged between the load balancer and the Lambda function include arrays of values or strings. The value is ``true`` or ``false`` . The default is ``false`` . If the value is ``false`` and the request contains a duplicate header field name or query parameter key, the load balancer uses the last value sent by the client. The following attributes are supported only by Network Load Balancers: - ``deregistration_delay.connection_termination.enabled`` - Indicates whether the load balancer terminates connections at the end of the deregistration timeout. The value is ``true`` or ``false`` . For new UDP/TCP_UDP target groups the default is ``true`` . Otherwise, the default is ``false`` . - ``preserve_client_ip.enabled`` - Indicates whether client IP preservation is enabled. The value is ``true`` or ``false`` . The default is disabled if the target group type is IP address and the target group protocol is TCP or TLS. Otherwise, the default is enabled. Client IP preservation cannot be disabled for UDP and TCP_UDP target groups. - ``proxy_protocol_v2.enabled`` - Indicates whether Proxy Protocol version 2 is enabled. The value is ``true`` or ``false`` . The default is ``false`` . - ``target_health_state.unhealthy.connection_termination.enabled`` - Indicates whether the load balancer terminates connections to unhealthy targets. The value is ``true`` or ``false`` . The default is ``true`` . - ``target_health_state.unhealthy.draining_interval_seconds`` - The amount of time for Elastic Load Balancing to wait before changing the state of an unhealthy target from ``unhealthy.draining`` to ``unhealthy`` . The range is 0-360000 seconds. The default value is 0 seconds. Note: This attribute can only be configured when ``target_health_state.unhealthy.connection_termination.enabled`` is ``false`` . The following attributes are supported only by Gateway Load Balancers: - ``target_failover.on_deregistration`` - Indicates how the Gateway Load Balancer handles existing flows when a target is deregistered. The possible values are ``rebalance`` and ``no_rebalance`` . The default is ``no_rebalance`` . The two attributes ( ``target_failover.on_deregistration`` and ``target_failover.on_unhealthy`` ) can't be set independently. The value you set for both attributes must be the same. - ``target_failover.on_unhealthy`` - Indicates how the Gateway Load Balancer handles existing flows when a target is unhealthy. The possible values are ``rebalance`` and ``no_rebalance`` . The default is ``no_rebalance`` . The two attributes ( ``target_failover.on_deregistration`` and ``target_failover.on_unhealthy`` ) cannot be set independently. The value you set for both attributes must be the same.
|
|
9120
9120
|
:param value: The value of the attribute.
|
|
9121
9121
|
|
|
9122
9122
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-targetgroup-targetgroupattribute.html
|
|
@@ -9183,6 +9183,9 @@ class CfnTargetGroup(
|
|
|
9183
9183
|
- ``preserve_client_ip.enabled`` - Indicates whether client IP preservation is enabled. The value is ``true`` or ``false`` . The default is disabled if the target group type is IP address and the target group protocol is TCP or TLS. Otherwise, the default is enabled. Client IP preservation cannot be disabled for UDP and TCP_UDP target groups.
|
|
9184
9184
|
- ``proxy_protocol_v2.enabled`` - Indicates whether Proxy Protocol version 2 is enabled. The value is ``true`` or ``false`` . The default is ``false`` .
|
|
9185
9185
|
- ``target_health_state.unhealthy.connection_termination.enabled`` - Indicates whether the load balancer terminates connections to unhealthy targets. The value is ``true`` or ``false`` . The default is ``true`` .
|
|
9186
|
+
- ``target_health_state.unhealthy.draining_interval_seconds`` - The amount of time for Elastic Load Balancing to wait before changing the state of an unhealthy target from ``unhealthy.draining`` to ``unhealthy`` . The range is 0-360000 seconds. The default value is 0 seconds.
|
|
9187
|
+
|
|
9188
|
+
Note: This attribute can only be configured when ``target_health_state.unhealthy.connection_termination.enabled`` is ``false`` .
|
|
9186
9189
|
|
|
9187
9190
|
The following attributes are supported only by Gateway Load Balancers:
|
|
9188
9191
|
|
aws_cdk/aws_fis/__init__.py
CHANGED
|
@@ -56,7 +56,15 @@ class CfnExperimentTemplate(
|
|
|
56
56
|
metaclass=jsii.JSIIMeta,
|
|
57
57
|
jsii_type="aws-cdk-lib.aws_fis.CfnExperimentTemplate",
|
|
58
58
|
):
|
|
59
|
-
'''
|
|
59
|
+
'''Specifies an experiment template.
|
|
60
|
+
|
|
61
|
+
An experiment template includes the following components:
|
|
62
|
+
|
|
63
|
+
- *Targets* : A target can be a specific resource in your AWS environment, or one or more resources that match criteria that you specify, for example, resources that have specific tags.
|
|
64
|
+
- *Actions* : The actions to carry out on the target. You can specify multiple actions, the duration of each action, and when to start each action during an experiment.
|
|
65
|
+
- *Stop conditions* : If a stop condition is triggered while an experiment is running, the experiment is automatically stopped. You can define a stop condition as a CloudWatch alarm.
|
|
66
|
+
|
|
67
|
+
For more information, see `Experiment templates <https://docs.aws.amazon.com/fis/latest/userguide/experiment-templates.html>`_ in the *AWS Fault Injection Service User Guide* .
|
|
60
68
|
|
|
61
69
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fis-experimenttemplate.html
|
|
62
70
|
:cloudformationResource: AWS::FIS::ExperimentTemplate
|
|
@@ -430,7 +438,9 @@ class CfnExperimentTemplate(
|
|
|
430
438
|
start_after: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
431
439
|
targets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
432
440
|
) -> None:
|
|
433
|
-
'''
|
|
441
|
+
'''Specifies an action for an experiment template.
|
|
442
|
+
|
|
443
|
+
For more information, see `Actions <https://docs.aws.amazon.com/fis/latest/userguide/actions.html>`_ in the *AWS Fault Injection Service User Guide* .
|
|
434
444
|
|
|
435
445
|
:param action_id: The ID of the action.
|
|
436
446
|
:param description: A description for the action.
|
|
@@ -631,11 +641,13 @@ class CfnExperimentTemplate(
|
|
|
631
641
|
cloud_watch_logs_configuration: typing.Any = None,
|
|
632
642
|
s3_configuration: typing.Any = None,
|
|
633
643
|
) -> None:
|
|
634
|
-
'''
|
|
644
|
+
'''Specifies the configuration for experiment logging.
|
|
645
|
+
|
|
646
|
+
For more information, see `Experiment logging <https://docs.aws.amazon.com/fis/latest/userguide/monitoring-logging.html>`_ in the *AWS Fault Injection Service User Guide* .
|
|
635
647
|
|
|
636
648
|
:param log_schema_version: The schema version.
|
|
637
|
-
:param cloud_watch_logs_configuration: The configuration for experiment logging to
|
|
638
|
-
:param s3_configuration: The configuration for experiment logging to Amazon S3.
|
|
649
|
+
:param cloud_watch_logs_configuration: The configuration for experiment logging to CloudWatch Logs .
|
|
650
|
+
:param s3_configuration: The configuration for experiment logging to Amazon S3 .
|
|
639
651
|
|
|
640
652
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatelogconfiguration.html
|
|
641
653
|
:exampleMetadata: fixture=_generated
|
|
@@ -682,7 +694,7 @@ class CfnExperimentTemplate(
|
|
|
682
694
|
|
|
683
695
|
@builtins.property
|
|
684
696
|
def cloud_watch_logs_configuration(self) -> typing.Any:
|
|
685
|
-
'''The configuration for experiment logging to
|
|
697
|
+
'''The configuration for experiment logging to CloudWatch Logs .
|
|
686
698
|
|
|
687
699
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatelogconfiguration.html#cfn-fis-experimenttemplate-experimenttemplatelogconfiguration-cloudwatchlogsconfiguration
|
|
688
700
|
'''
|
|
@@ -691,7 +703,7 @@ class CfnExperimentTemplate(
|
|
|
691
703
|
|
|
692
704
|
@builtins.property
|
|
693
705
|
def s3_configuration(self) -> typing.Any:
|
|
694
|
-
'''The configuration for experiment logging to Amazon S3.
|
|
706
|
+
'''The configuration for experiment logging to Amazon S3 .
|
|
695
707
|
|
|
696
708
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatelogconfiguration.html#cfn-fis-experimenttemplate-experimenttemplatelogconfiguration-s3configuration
|
|
697
709
|
'''
|
|
@@ -721,7 +733,9 @@ class CfnExperimentTemplate(
|
|
|
721
733
|
source: builtins.str,
|
|
722
734
|
value: typing.Optional[builtins.str] = None,
|
|
723
735
|
) -> None:
|
|
724
|
-
'''
|
|
736
|
+
'''Specifies a stop condition for an experiment template.
|
|
737
|
+
|
|
738
|
+
For more information, see `Stop conditions <https://docs.aws.amazon.com/fis/latest/userguide/stop-conditions.html>`_ in the *AWS Fault Injection Service User Guide* .
|
|
725
739
|
|
|
726
740
|
:param source: The source for the stop condition.
|
|
727
741
|
:param value: The Amazon Resource Name (ARN) of the CloudWatch alarm, if applicable.
|
|
@@ -794,7 +808,9 @@ class CfnExperimentTemplate(
|
|
|
794
808
|
path: builtins.str,
|
|
795
809
|
values: typing.Sequence[builtins.str],
|
|
796
810
|
) -> None:
|
|
797
|
-
'''
|
|
811
|
+
'''Specifies a filter used for the target resource input in an experiment template.
|
|
812
|
+
|
|
813
|
+
For more information, see `Resource filters <https://docs.aws.amazon.com/fis/latest/userguide/targets.html#target-filters>`_ in the *AWS Fault Injection Service User Guide* .
|
|
798
814
|
|
|
799
815
|
:param path: The attribute path for the filter.
|
|
800
816
|
:param values: The attribute values for the filter.
|
|
@@ -876,12 +892,16 @@ class CfnExperimentTemplate(
|
|
|
876
892
|
resource_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
877
893
|
resource_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
878
894
|
) -> None:
|
|
879
|
-
'''
|
|
895
|
+
'''Specifies a target for an experiment.
|
|
896
|
+
|
|
897
|
+
You must specify at least one Amazon Resource Name (ARN) or at least one resource tag. You cannot specify both ARNs and tags.
|
|
898
|
+
|
|
899
|
+
For more information, see `Targets <https://docs.aws.amazon.com/fis/latest/userguide/targets.html>`_ in the *AWS Fault Injection Service User Guide* .
|
|
880
900
|
|
|
881
901
|
:param resource_type: The resource type.
|
|
882
902
|
:param selection_mode: Scopes the identified resources to a specific count or percentage.
|
|
883
903
|
:param filters: The filters to apply to identify target resources using specific attributes.
|
|
884
|
-
:param parameters: The resource type
|
|
904
|
+
:param parameters: The parameters for the resource type.
|
|
885
905
|
:param resource_arns: The Amazon Resource Names (ARNs) of the targets.
|
|
886
906
|
:param resource_tags: The tags for the target resources.
|
|
887
907
|
|
|
@@ -968,7 +988,7 @@ class CfnExperimentTemplate(
|
|
|
968
988
|
def parameters(
|
|
969
989
|
self,
|
|
970
990
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
|
|
971
|
-
'''The resource type
|
|
991
|
+
'''The parameters for the resource type.
|
|
972
992
|
|
|
973
993
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatetarget.html#cfn-fis-experimenttemplate-experimenttemplatetarget-parameters
|
|
974
994
|
'''
|