aws-cdk-lib 2.178.2__py3-none-any.whl → 2.180.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 +83 -41
- aws_cdk/_jsii/__init__.py +1 -2
- aws_cdk/_jsii/{aws-cdk-lib@2.178.2.jsii.tgz → aws-cdk-lib@2.180.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +47 -0
- aws_cdk/aws_apigateway/__init__.py +176 -35
- 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 +10 -7
- aws_cdk/aws_backup/__init__.py +89 -0
- aws_cdk/aws_batch/__init__.py +89 -50
- aws_cdk/aws_bedrock/__init__.py +506 -62
- aws_cdk/aws_cloudfront/__init__.py +1037 -146
- aws_cdk/aws_cloudfront_origins/__init__.py +1338 -144
- aws_cdk/aws_cloudtrail/__init__.py +4 -8
- aws_cdk/aws_cloudwatch/__init__.py +1 -1
- aws_cdk/aws_codebuild/__init__.py +218 -2
- aws_cdk/aws_codepipeline/__init__.py +113 -28
- aws_cdk/aws_codepipeline_actions/__init__.py +554 -63
- aws_cdk/aws_codestar/__init__.py +2 -1
- aws_cdk/aws_cognito/__init__.py +676 -29
- aws_cdk/aws_connect/__init__.py +257 -0
- aws_cdk/aws_datasync/__init__.py +279 -50
- aws_cdk/aws_deadline/__init__.py +683 -6
- aws_cdk/aws_directoryservice/__init__.py +9 -4
- aws_cdk/aws_dlm/__init__.py +2 -2
- aws_cdk/aws_dms/__init__.py +3 -3
- aws_cdk/aws_dynamodb/__init__.py +0 -54
- aws_cdk/aws_ec2/__init__.py +402 -130
- aws_cdk/aws_ecs/__init__.py +28 -43
- aws_cdk/aws_efs/__init__.py +1 -1
- aws_cdk/aws_eks/__init__.py +560 -182
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +112 -27
- aws_cdk/aws_emrcontainers/__init__.py +44 -1
- aws_cdk/aws_events/__init__.py +17 -26
- aws_cdk/aws_events_targets/__init__.py +303 -16
- aws_cdk/aws_fms/__init__.py +5 -5
- aws_cdk/aws_fsx/__init__.py +5 -4
- aws_cdk/aws_glue/__init__.py +161 -0
- aws_cdk/aws_groundstation/__init__.py +23 -1
- aws_cdk/aws_iam/__init__.py +15 -15
- aws_cdk/aws_iot/__init__.py +7 -0
- aws_cdk/aws_ivs/__init__.py +254 -77
- aws_cdk/aws_kinesis/__init__.py +689 -35
- aws_cdk/aws_lambda/__init__.py +10 -15
- aws_cdk/aws_lambda_event_sources/__init__.py +175 -2
- aws_cdk/aws_logs/__init__.py +62 -13
- aws_cdk/aws_medialive/__init__.py +314 -4
- aws_cdk/aws_opensearchserverless/__init__.py +19 -0
- aws_cdk/aws_pinpoint/__init__.py +14 -9
- aws_cdk/aws_rds/__init__.py +246 -82
- aws_cdk/aws_s3/__init__.py +287 -9
- aws_cdk/aws_s3objectlambda/__init__.py +2 -2
- aws_cdk/aws_ses/__init__.py +228 -8
- aws_cdk/aws_ssm/__init__.py +4 -5
- aws_cdk/aws_stepfunctions/__init__.py +301 -70
- aws_cdk/aws_stepfunctions_tasks/__init__.py +269 -163
- aws_cdk/aws_supportapp/__init__.py +7 -7
- aws_cdk/aws_transfer/__init__.py +820 -2
- aws_cdk/aws_wafv2/__init__.py +17 -9
- aws_cdk/custom_resources/__init__.py +23 -26
- aws_cdk/cx_api/__init__.py +16 -0
- aws_cdk/pipelines/__init__.py +2 -2
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/METADATA +1 -2
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/RECORD +69 -70
- aws_cdk/lambda_layer_kubectl/__init__.py +0 -107
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/top_level.txt +0 -0
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
r'''
|
|
2
|
-
# AWS Lambda Layer with kubectl (and helm)
|
|
3
|
-
|
|
4
|
-
This module exports a single class called `KubectlLayer` which is a `lambda.Layer` that bundles the [`kubectl`](https://kubernetes.io/docs/reference/kubectl/kubectl/) and the [`helm`](https://helm.sh/) command line.
|
|
5
|
-
|
|
6
|
-
> * Helm Version: 3.5.4
|
|
7
|
-
> * Kubectl Version: 1.20.0
|
|
8
|
-
|
|
9
|
-
Usage:
|
|
10
|
-
|
|
11
|
-
```python
|
|
12
|
-
# KubectlLayer bundles the 'kubectl' and 'helm' command lines
|
|
13
|
-
from aws_cdk.lambda_layer_kubectl import KubectlLayer
|
|
14
|
-
|
|
15
|
-
# fn: lambda.Function
|
|
16
|
-
|
|
17
|
-
fn.add_layers(KubectlLayer(self, "KubectlLayer"))
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
`kubectl` will be installed under `/opt/kubectl/kubectl`, and `helm` will be installed under `/opt/helm/helm`.
|
|
21
|
-
|
|
22
|
-
## Alternatives
|
|
23
|
-
|
|
24
|
-
This module bundles Kubectl v1.20.0 and the associated helm version
|
|
25
|
-
To use alternative Kubectl versions, including the latest available,
|
|
26
|
-
you can use the external module
|
|
27
|
-
[awscdk-asset-kubectl](https://github.com/cdklabs/awscdk-asset-kubectl).
|
|
28
|
-
'''
|
|
29
|
-
from pkgutil import extend_path
|
|
30
|
-
__path__ = extend_path(__path__, __name__)
|
|
31
|
-
|
|
32
|
-
import abc
|
|
33
|
-
import builtins
|
|
34
|
-
import datetime
|
|
35
|
-
import enum
|
|
36
|
-
import typing
|
|
37
|
-
|
|
38
|
-
import jsii
|
|
39
|
-
import publication
|
|
40
|
-
import typing_extensions
|
|
41
|
-
|
|
42
|
-
import typeguard
|
|
43
|
-
from importlib.metadata import version as _metadata_package_version
|
|
44
|
-
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
45
|
-
|
|
46
|
-
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
47
|
-
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
48
|
-
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
49
|
-
else:
|
|
50
|
-
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
51
|
-
pass
|
|
52
|
-
else:
|
|
53
|
-
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
54
|
-
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
55
|
-
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
56
|
-
else:
|
|
57
|
-
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
58
|
-
|
|
59
|
-
from .._jsii import *
|
|
60
|
-
|
|
61
|
-
import constructs as _constructs_77d1e7e8
|
|
62
|
-
from ..aws_lambda import LayerVersion as _LayerVersion_9ca26241
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
class KubectlLayer(
|
|
66
|
-
_LayerVersion_9ca26241,
|
|
67
|
-
metaclass=jsii.JSIIMeta,
|
|
68
|
-
jsii_type="aws-cdk-lib.lambda_layer_kubectl.KubectlLayer",
|
|
69
|
-
):
|
|
70
|
-
'''An AWS Lambda layer that includes ``kubectl`` and ``helm``.
|
|
71
|
-
|
|
72
|
-
:exampleMetadata: infused
|
|
73
|
-
|
|
74
|
-
Example::
|
|
75
|
-
|
|
76
|
-
# KubectlLayer bundles the 'kubectl' and 'helm' command lines
|
|
77
|
-
from aws_cdk.lambda_layer_kubectl import KubectlLayer
|
|
78
|
-
|
|
79
|
-
# fn: lambda.Function
|
|
80
|
-
|
|
81
|
-
fn.add_layers(KubectlLayer(self, "KubectlLayer"))
|
|
82
|
-
'''
|
|
83
|
-
|
|
84
|
-
def __init__(self, scope: _constructs_77d1e7e8.Construct, id: builtins.str) -> None:
|
|
85
|
-
'''
|
|
86
|
-
:param scope: -
|
|
87
|
-
:param id: -
|
|
88
|
-
'''
|
|
89
|
-
if __debug__:
|
|
90
|
-
type_hints = typing.get_type_hints(_typecheckingstub__6a61d55df5a1b777f7a2482d2235a901972d3dfe410f7f352551fe03e70c8058)
|
|
91
|
-
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
92
|
-
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
93
|
-
jsii.create(self.__class__, self, [scope, id])
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
__all__ = [
|
|
97
|
-
"KubectlLayer",
|
|
98
|
-
]
|
|
99
|
-
|
|
100
|
-
publication.publish()
|
|
101
|
-
|
|
102
|
-
def _typecheckingstub__6a61d55df5a1b777f7a2482d2235a901972d3dfe410f7f352551fe03e70c8058(
|
|
103
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
104
|
-
id: builtins.str,
|
|
105
|
-
) -> None:
|
|
106
|
-
"""Type checking stubs"""
|
|
107
|
-
pass
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|