aws-cdk-lib 2.178.1__py3-none-any.whl → 2.179.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 +69 -35
- aws_cdk/_jsii/__init__.py +1 -2
- aws_cdk/_jsii/{aws-cdk-lib@2.178.1.jsii.tgz → aws-cdk-lib@2.179.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +170 -29
- aws_cdk/aws_apigatewayv2/__init__.py +151 -32
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +348 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +8 -8
- aws_cdk/aws_appsync/__init__.py +6 -4
- aws_cdk/aws_cloudfront/__init__.py +5 -5
- aws_cdk/aws_codebuild/__init__.py +216 -0
- aws_cdk/aws_codepipeline/__init__.py +89 -28
- aws_cdk/aws_codepipeline_actions/__init__.py +526 -62
- aws_cdk/aws_cognito/__init__.py +676 -20
- aws_cdk/aws_ec2/__init__.py +25 -9
- aws_cdk/aws_ecs/__init__.py +8 -8
- aws_cdk/aws_eks/__init__.py +555 -179
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +99 -0
- aws_cdk/aws_events/__init__.py +9 -15
- aws_cdk/aws_events_targets/__init__.py +303 -16
- aws_cdk/aws_iam/__init__.py +3 -3
- aws_cdk/aws_ivs/__init__.py +241 -73
- aws_cdk/aws_logs/__init__.py +62 -13
- aws_cdk/aws_pinpoint/__init__.py +14 -9
- aws_cdk/aws_rds/__init__.py +168 -24
- aws_cdk/aws_s3/__init__.py +9 -9
- aws_cdk/aws_stepfunctions_tasks/__init__.py +127 -21
- aws_cdk/pipelines/__init__.py +2 -2
- {aws_cdk_lib-2.178.1.dist-info → aws_cdk_lib-2.179.0.dist-info}/METADATA +1 -2
- {aws_cdk_lib-2.178.1.dist-info → aws_cdk_lib-2.179.0.dist-info}/RECORD +33 -34
- aws_cdk/lambda_layer_kubectl/__init__.py +0 -107
- {aws_cdk_lib-2.178.1.dist-info → aws_cdk_lib-2.179.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.178.1.dist-info → aws_cdk_lib-2.179.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.178.1.dist-info → aws_cdk_lib-2.179.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.178.1.dist-info → aws_cdk_lib-2.179.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ec2/__init__.py
CHANGED
|
@@ -49346,6 +49346,7 @@ class CfnSubnet(
|
|
|
49346
49346
|
|
|
49347
49347
|
Example::
|
|
49348
49348
|
|
|
49349
|
+
from aws_cdk.lambda_layer_kubectl_v32 import KubectlV32Layer
|
|
49349
49350
|
# vpc: ec2.Vpc
|
|
49350
49351
|
|
|
49351
49352
|
|
|
@@ -49370,10 +49371,11 @@ class CfnSubnet(
|
|
|
49370
49371
|
subnetcount = subnetcount + 1
|
|
49371
49372
|
|
|
49372
49373
|
cluster = eks.Cluster(self, "hello-eks",
|
|
49373
|
-
version=eks.KubernetesVersion.
|
|
49374
|
+
version=eks.KubernetesVersion.V1_32,
|
|
49374
49375
|
vpc=vpc,
|
|
49375
49376
|
ip_family=eks.IpFamily.IP_V6,
|
|
49376
|
-
vpc_subnets=[ec2.SubnetSelection(subnets=vpc.public_subnets)]
|
|
49377
|
+
vpc_subnets=[ec2.SubnetSelection(subnets=vpc.public_subnets)],
|
|
49378
|
+
kubectl_layer=KubectlV32Layer(self, "kubectl")
|
|
49377
49379
|
)
|
|
49378
49380
|
'''
|
|
49379
49381
|
|
|
@@ -57668,6 +57670,7 @@ class CfnVPCCidrBlock(
|
|
|
57668
57670
|
|
|
57669
57671
|
Example::
|
|
57670
57672
|
|
|
57673
|
+
from aws_cdk.lambda_layer_kubectl_v32 import KubectlV32Layer
|
|
57671
57674
|
# vpc: ec2.Vpc
|
|
57672
57675
|
|
|
57673
57676
|
|
|
@@ -57692,10 +57695,11 @@ class CfnVPCCidrBlock(
|
|
|
57692
57695
|
subnetcount = subnetcount + 1
|
|
57693
57696
|
|
|
57694
57697
|
cluster = eks.Cluster(self, "hello-eks",
|
|
57695
|
-
version=eks.KubernetesVersion.
|
|
57698
|
+
version=eks.KubernetesVersion.V1_32,
|
|
57696
57699
|
vpc=vpc,
|
|
57697
57700
|
ip_family=eks.IpFamily.IP_V6,
|
|
57698
|
-
vpc_subnets=[ec2.SubnetSelection(subnets=vpc.public_subnets)]
|
|
57701
|
+
vpc_subnets=[ec2.SubnetSelection(subnets=vpc.public_subnets)],
|
|
57702
|
+
kubectl_layer=KubectlV32Layer(self, "kubectl")
|
|
57699
57703
|
)
|
|
57700
57704
|
'''
|
|
57701
57705
|
|
|
@@ -58005,6 +58009,7 @@ class CfnVPCCidrBlockProps:
|
|
|
58005
58009
|
|
|
58006
58010
|
Example::
|
|
58007
58011
|
|
|
58012
|
+
from aws_cdk.lambda_layer_kubectl_v32 import KubectlV32Layer
|
|
58008
58013
|
# vpc: ec2.Vpc
|
|
58009
58014
|
|
|
58010
58015
|
|
|
@@ -58029,10 +58034,11 @@ class CfnVPCCidrBlockProps:
|
|
|
58029
58034
|
subnetcount = subnetcount + 1
|
|
58030
58035
|
|
|
58031
58036
|
cluster = eks.Cluster(self, "hello-eks",
|
|
58032
|
-
version=eks.KubernetesVersion.
|
|
58037
|
+
version=eks.KubernetesVersion.V1_32,
|
|
58033
58038
|
vpc=vpc,
|
|
58034
58039
|
ip_family=eks.IpFamily.IP_V6,
|
|
58035
|
-
vpc_subnets=[ec2.SubnetSelection(subnets=vpc.public_subnets)]
|
|
58040
|
+
vpc_subnets=[ec2.SubnetSelection(subnets=vpc.public_subnets)],
|
|
58041
|
+
kubectl_layer=KubectlV32Layer(self, "kubectl")
|
|
58036
58042
|
)
|
|
58037
58043
|
'''
|
|
58038
58044
|
if __debug__:
|
|
@@ -79982,9 +79988,19 @@ class InterfaceVpcEndpointAwsService(
|
|
|
79982
79988
|
def PAYMENT_CRYPTOGRAPHY_CONTROLPLANE(cls) -> "InterfaceVpcEndpointAwsService":
|
|
79983
79989
|
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "PAYMENT_CRYPTOGRAPHY_CONTROLPLANE"))
|
|
79984
79990
|
|
|
79991
|
+
@jsii.python.classproperty
|
|
79992
|
+
@jsii.member(jsii_name="PAYMENT_CRYPTOGRAPHY_DATAPLANE")
|
|
79993
|
+
def PAYMENT_CRYPTOGRAPHY_DATAPLANE(cls) -> "InterfaceVpcEndpointAwsService":
|
|
79994
|
+
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "PAYMENT_CRYPTOGRAPHY_DATAPLANE"))
|
|
79995
|
+
|
|
79985
79996
|
@jsii.python.classproperty
|
|
79986
79997
|
@jsii.member(jsii_name="PAYMENT_CRYTOGRAPHY_DATAPLANE")
|
|
79987
79998
|
def PAYMENT_CRYTOGRAPHY_DATAPLANE(cls) -> "InterfaceVpcEndpointAwsService":
|
|
79999
|
+
'''
|
|
80000
|
+
:deprecated: - Use InterfaceVpcEndpointAwsService.PAYMENT_CRYPTOGRAPHY_DATAPLANE instead.
|
|
80001
|
+
|
|
80002
|
+
:stability: deprecated
|
|
80003
|
+
'''
|
|
79988
80004
|
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "PAYMENT_CRYTOGRAPHY_DATAPLANE"))
|
|
79989
80005
|
|
|
79990
80006
|
@jsii.python.classproperty
|
|
@@ -87301,7 +87317,7 @@ class SecurityGroup(
|
|
|
87301
87317
|
:param allow_all_ipv6_outbound: Whether to allow all outbound ipv6 traffic by default. If this is set to true, there will only be a single egress rule which allows all outbound ipv6 traffic. If this is set to false, no outbound traffic will be allowed by default and all egress ipv6 traffic must be explicitly authorized. To allow all ipv4 traffic use allowAllOutbound Default: false
|
|
87302
87318
|
:param allow_all_outbound: Whether to allow all outbound traffic by default. If this is set to true, there will only be a single egress rule which allows all outbound traffic. If this is set to false, no outbound traffic will be allowed by default and all egress traffic must be explicitly authorized. To allow all ipv6 traffic use allowAllIpv6Outbound Default: true
|
|
87303
87319
|
:param description: A description of the security group. Default: The default name will be the construct's CDK path.
|
|
87304
|
-
:param disable_inline_rules: Whether to disable inline ingress and egress rule optimization. If this is set to true, ingress and egress rules will not be declared under the SecurityGroup in cloudformation, but will be separate elements. Inlining rules is an optimization for producing smaller stack templates. Sometimes this is not desirable, for example when security group access is managed via tags. The default value can be
|
|
87320
|
+
:param disable_inline_rules: Whether to disable inline ingress and egress rule optimization. If this is set to true, ingress and egress rules will not be declared under the SecurityGroup in cloudformation, but will be separate elements. Inlining rules is an optimization for producing smaller stack templates. Sometimes this is not desirable, for example when security group access is managed via tags. The default value can be overridden globally by setting the context variable '@aws-cdk/aws-ec2.securityGroupDisableInlineRules'. Default: false
|
|
87305
87321
|
:param security_group_name: The name of the security group. For valid values, see the GroupName parameter of the CreateSecurityGroup action in the Amazon EC2 API Reference. It is not recommended to use an explicit group name. Default: If you don't specify a GroupName, AWS CloudFormation generates a unique physical ID and uses that ID for the group name.
|
|
87306
87322
|
'''
|
|
87307
87323
|
if __debug__:
|
|
@@ -87729,7 +87745,7 @@ class SecurityGroupProps:
|
|
|
87729
87745
|
:param allow_all_ipv6_outbound: Whether to allow all outbound ipv6 traffic by default. If this is set to true, there will only be a single egress rule which allows all outbound ipv6 traffic. If this is set to false, no outbound traffic will be allowed by default and all egress ipv6 traffic must be explicitly authorized. To allow all ipv4 traffic use allowAllOutbound Default: false
|
|
87730
87746
|
:param allow_all_outbound: Whether to allow all outbound traffic by default. If this is set to true, there will only be a single egress rule which allows all outbound traffic. If this is set to false, no outbound traffic will be allowed by default and all egress traffic must be explicitly authorized. To allow all ipv6 traffic use allowAllIpv6Outbound Default: true
|
|
87731
87747
|
:param description: A description of the security group. Default: The default name will be the construct's CDK path.
|
|
87732
|
-
:param disable_inline_rules: Whether to disable inline ingress and egress rule optimization. If this is set to true, ingress and egress rules will not be declared under the SecurityGroup in cloudformation, but will be separate elements. Inlining rules is an optimization for producing smaller stack templates. Sometimes this is not desirable, for example when security group access is managed via tags. The default value can be
|
|
87748
|
+
:param disable_inline_rules: Whether to disable inline ingress and egress rule optimization. If this is set to true, ingress and egress rules will not be declared under the SecurityGroup in cloudformation, but will be separate elements. Inlining rules is an optimization for producing smaller stack templates. Sometimes this is not desirable, for example when security group access is managed via tags. The default value can be overridden globally by setting the context variable '@aws-cdk/aws-ec2.securityGroupDisableInlineRules'. Default: false
|
|
87733
87749
|
:param security_group_name: The name of the security group. For valid values, see the GroupName parameter of the CreateSecurityGroup action in the Amazon EC2 API Reference. It is not recommended to use an explicit group name. Default: If you don't specify a GroupName, AWS CloudFormation generates a unique physical ID and uses that ID for the group name.
|
|
87734
87750
|
|
|
87735
87751
|
:exampleMetadata: infused
|
|
@@ -87825,7 +87841,7 @@ class SecurityGroupProps:
|
|
|
87825
87841
|
Inlining rules is an optimization for producing smaller stack templates. Sometimes
|
|
87826
87842
|
this is not desirable, for example when security group access is managed via tags.
|
|
87827
87843
|
|
|
87828
|
-
The default value can be
|
|
87844
|
+
The default value can be overridden globally by setting the context variable
|
|
87829
87845
|
'@aws-cdk/aws-ec2.securityGroupDisableInlineRules'.
|
|
87830
87846
|
|
|
87831
87847
|
:default: false
|
aws_cdk/aws_ecs/__init__.py
CHANGED
|
@@ -42199,7 +42199,7 @@ class ExternalService(
|
|
|
42199
42199
|
container: typing.Optional[ContainerDefinition] = None,
|
|
42200
42200
|
container_port: typing.Optional[jsii.Number] = None,
|
|
42201
42201
|
) -> None:
|
|
42202
|
-
'''
|
|
42202
|
+
'''Overridden method to throw error as ``associateCloudMapService`` is not supported for external service.
|
|
42203
42203
|
|
|
42204
42204
|
:param service: The cloudmap service to register with.
|
|
42205
42205
|
:param container: The container to point to for a SRV record. Default: - the task definition's default container
|
|
@@ -42216,7 +42216,7 @@ class ExternalService(
|
|
|
42216
42216
|
self,
|
|
42217
42217
|
_target_group: _IApplicationTargetGroup_57799827,
|
|
42218
42218
|
) -> _LoadBalancerTargetProps_4c30a73c:
|
|
42219
|
-
'''
|
|
42219
|
+
'''Overridden method to throw error as ``attachToApplicationTargetGroup`` is not supported for external service.
|
|
42220
42220
|
|
|
42221
42221
|
:param _target_group: -
|
|
42222
42222
|
'''
|
|
@@ -42232,7 +42232,7 @@ class ExternalService(
|
|
|
42232
42232
|
max_capacity: jsii.Number,
|
|
42233
42233
|
min_capacity: typing.Optional[jsii.Number] = None,
|
|
42234
42234
|
) -> ScalableTaskCount:
|
|
42235
|
-
'''
|
|
42235
|
+
'''Overridden method to throw error as ``autoScaleTaskCount`` is not supported for external service.
|
|
42236
42236
|
|
|
42237
42237
|
:param max_capacity: Maximum capacity to scale to.
|
|
42238
42238
|
:param min_capacity: Minimum capacity to scale to. Default: 1
|
|
@@ -42251,7 +42251,7 @@ class ExternalService(
|
|
|
42251
42251
|
_vpc_subnets: typing.Optional[typing.Union[_SubnetSelection_e57d76df, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
42252
42252
|
_security_groups: typing.Optional[typing.Sequence[_ISecurityGroup_acf8a799]] = None,
|
|
42253
42253
|
) -> None:
|
|
42254
|
-
'''
|
|
42254
|
+
'''Overridden method to throw error as ``configureAwsVpcNetworkingWithSecurityGroups`` is not supported for external service.
|
|
42255
42255
|
|
|
42256
42256
|
:param _vpc: -
|
|
42257
42257
|
:param _assign_public_ip: -
|
|
@@ -42278,7 +42278,7 @@ class ExternalService(
|
|
|
42278
42278
|
failure_threshold: typing.Optional[jsii.Number] = None,
|
|
42279
42279
|
name: typing.Optional[builtins.str] = None,
|
|
42280
42280
|
) -> _Service_4cf2b7a6:
|
|
42281
|
-
'''
|
|
42281
|
+
'''Overridden method to throw error as ``enableCloudMap`` is not supported for external service.
|
|
42282
42282
|
|
|
42283
42283
|
:param cloud_map_namespace: The service discovery namespace for the Cloud Map service to attach to the ECS service. Default: - the defaultCloudMapNamespace associated to the cluster
|
|
42284
42284
|
:param container: The container to point to for a SRV record. Default: - the task definition's default container
|
|
@@ -42308,7 +42308,7 @@ class ExternalService(
|
|
|
42308
42308
|
container_port: typing.Optional[jsii.Number] = None,
|
|
42309
42309
|
protocol: typing.Optional[Protocol] = None,
|
|
42310
42310
|
) -> IEcsLoadBalancerTarget:
|
|
42311
|
-
'''
|
|
42311
|
+
'''Overridden method to throw error as ``loadBalancerTarget`` is not supported for external service.
|
|
42312
42312
|
|
|
42313
42313
|
:param container_name: The name of the container.
|
|
42314
42314
|
:param container_port: The port number of the container. Only applicable when using application/network load balancers. Default: - Container port of the first added port mapping.
|
|
@@ -42324,7 +42324,7 @@ class ExternalService(
|
|
|
42324
42324
|
|
|
42325
42325
|
@jsii.member(jsii_name="registerLoadBalancerTargets")
|
|
42326
42326
|
def register_load_balancer_targets(self, *_targets: EcsTarget) -> None:
|
|
42327
|
-
'''
|
|
42327
|
+
'''Overridden method to throw error as ``registerLoadBalancerTargets`` is not supported for external service.
|
|
42328
42328
|
|
|
42329
42329
|
:param _targets: -
|
|
42330
42330
|
'''
|
|
@@ -42459,7 +42459,7 @@ class ExternalTaskDefinition(
|
|
|
42459
42459
|
device_name: typing.Optional[builtins.str] = None,
|
|
42460
42460
|
device_type: typing.Optional[builtins.str] = None,
|
|
42461
42461
|
) -> None:
|
|
42462
|
-
'''
|
|
42462
|
+
'''Overridden method to throw error as interface accelerators are not supported for external tasks.
|
|
42463
42463
|
|
|
42464
42464
|
:param device_name: The Elastic Inference accelerator device name. Default: - empty
|
|
42465
42465
|
:param device_type: The Elastic Inference accelerator type to use. The allowed values are: eia2.medium, eia2.large and eia2.xlarge. Default: - empty
|