aws-cdk-lib 2.192.0__py3-none-any.whl → 2.193.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/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.192.0.jsii.tgz → aws-cdk-lib@2.193.0.jsii.tgz} +0 -0
- aws_cdk/aws_appsync/__init__.py +4367 -336
- aws_cdk/aws_codepipeline_actions/__init__.py +526 -0
- aws_cdk/aws_eks/__init__.py +170 -2
- aws_cdk/aws_opensearchservice/__init__.py +45 -25
- {aws_cdk_lib-2.192.0.dist-info → aws_cdk_lib-2.193.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.192.0.dist-info → aws_cdk_lib-2.193.0.dist-info}/RECORD +12 -12
- {aws_cdk_lib-2.192.0.dist-info → aws_cdk_lib-2.193.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.192.0.dist-info → aws_cdk_lib-2.193.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.192.0.dist-info → aws_cdk_lib-2.193.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.192.0.dist-info → aws_cdk_lib-2.193.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_eks/__init__.py
CHANGED
|
@@ -721,6 +721,24 @@ eks.Cluster(self, "HelloEKS",
|
|
|
721
721
|
)
|
|
722
722
|
```
|
|
723
723
|
|
|
724
|
+
To provide additional Helm chart values supported by `albController` in CDK, use the `additionalHelmChartValues` property. For example, the following code snippet shows how to set the `enableWafV2` flag:
|
|
725
|
+
|
|
726
|
+
```python
|
|
727
|
+
from aws_cdk.lambda_layer_kubectl_v32 import KubectlV32Layer
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
eks.Cluster(self, "HelloEKS",
|
|
731
|
+
version=eks.KubernetesVersion.V1_32,
|
|
732
|
+
alb_controller=eks.AlbControllerOptions(
|
|
733
|
+
version=eks.AlbControllerVersion.V2_8_2,
|
|
734
|
+
additional_helm_chart_values=eks.AlbControllerHelmChartOptions(
|
|
735
|
+
enable_wafv2=False
|
|
736
|
+
)
|
|
737
|
+
),
|
|
738
|
+
kubectl_layer=KubectlV32Layer(self, "kubectl")
|
|
739
|
+
)
|
|
740
|
+
```
|
|
741
|
+
|
|
724
742
|
The `albController` requires `defaultCapacity` or at least one nodegroup. If there's no `defaultCapacity` or available
|
|
725
743
|
nodegroup for the cluster, the `albController` deployment would fail.
|
|
726
744
|
|
|
@@ -2917,6 +2935,10 @@ class AlbController(
|
|
|
2917
2935
|
version=alb_controller_version,
|
|
2918
2936
|
|
|
2919
2937
|
# the properties below are optional
|
|
2938
|
+
additional_helm_chart_values=eks.AlbControllerHelmChartOptions(
|
|
2939
|
+
enable_waf=False,
|
|
2940
|
+
enable_wafv2=False
|
|
2941
|
+
),
|
|
2920
2942
|
policy=policy,
|
|
2921
2943
|
repository="repository"
|
|
2922
2944
|
)
|
|
@@ -2929,6 +2951,7 @@ class AlbController(
|
|
|
2929
2951
|
*,
|
|
2930
2952
|
cluster: "Cluster",
|
|
2931
2953
|
version: "AlbControllerVersion",
|
|
2954
|
+
additional_helm_chart_values: typing.Optional[typing.Union["AlbControllerHelmChartOptions", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2932
2955
|
policy: typing.Any = None,
|
|
2933
2956
|
repository: typing.Optional[builtins.str] = None,
|
|
2934
2957
|
) -> None:
|
|
@@ -2937,6 +2960,7 @@ class AlbController(
|
|
|
2937
2960
|
:param id: -
|
|
2938
2961
|
:param cluster: [disable-awslint:ref-via-interface] Cluster to install the controller onto.
|
|
2939
2962
|
:param version: Version of the controller.
|
|
2963
|
+
:param additional_helm_chart_values: Additional helm chart values for ALB controller. Default: - no additional helm chart values
|
|
2940
2964
|
:param policy: The IAM policy to apply to the service account. If you're using one of the built-in versions, this is not required since CDK ships with the appropriate policies for those versions. However, if you are using a custom version, this is required (and validated). Default: - Corresponds to the predefined version.
|
|
2941
2965
|
:param repository: The repository to pull the controller image from. Note that the default repository works for most regions, but not all. If the repository is not applicable to your region, use a custom repository according to the information here: https://github.com/kubernetes-sigs/aws-load-balancer-controller/releases. Default: '602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-load-balancer-controller'
|
|
2942
2966
|
'''
|
|
@@ -2945,7 +2969,11 @@ class AlbController(
|
|
|
2945
2969
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
2946
2970
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
2947
2971
|
props = AlbControllerProps(
|
|
2948
|
-
cluster=cluster,
|
|
2972
|
+
cluster=cluster,
|
|
2973
|
+
version=version,
|
|
2974
|
+
additional_helm_chart_values=additional_helm_chart_values,
|
|
2975
|
+
policy=policy,
|
|
2976
|
+
repository=repository,
|
|
2949
2977
|
)
|
|
2950
2978
|
|
|
2951
2979
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -2958,6 +2986,7 @@ class AlbController(
|
|
|
2958
2986
|
*,
|
|
2959
2987
|
cluster: "Cluster",
|
|
2960
2988
|
version: "AlbControllerVersion",
|
|
2989
|
+
additional_helm_chart_values: typing.Optional[typing.Union["AlbControllerHelmChartOptions", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2961
2990
|
policy: typing.Any = None,
|
|
2962
2991
|
repository: typing.Optional[builtins.str] = None,
|
|
2963
2992
|
) -> "AlbController":
|
|
@@ -2968,6 +2997,7 @@ class AlbController(
|
|
|
2968
2997
|
:param scope: -
|
|
2969
2998
|
:param cluster: [disable-awslint:ref-via-interface] Cluster to install the controller onto.
|
|
2970
2999
|
:param version: Version of the controller.
|
|
3000
|
+
:param additional_helm_chart_values: Additional helm chart values for ALB controller. Default: - no additional helm chart values
|
|
2971
3001
|
:param policy: The IAM policy to apply to the service account. If you're using one of the built-in versions, this is not required since CDK ships with the appropriate policies for those versions. However, if you are using a custom version, this is required (and validated). Default: - Corresponds to the predefined version.
|
|
2972
3002
|
:param repository: The repository to pull the controller image from. Note that the default repository works for most regions, but not all. If the repository is not applicable to your region, use a custom repository according to the information here: https://github.com/kubernetes-sigs/aws-load-balancer-controller/releases. Default: '602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-load-balancer-controller'
|
|
2973
3003
|
'''
|
|
@@ -2975,17 +3005,97 @@ class AlbController(
|
|
|
2975
3005
|
type_hints = typing.get_type_hints(_typecheckingstub__1b3813db11381f0166360b7dc6066bdeadc4a52043da6eba56f9a55a4bfd6157)
|
|
2976
3006
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
2977
3007
|
props = AlbControllerProps(
|
|
2978
|
-
cluster=cluster,
|
|
3008
|
+
cluster=cluster,
|
|
3009
|
+
version=version,
|
|
3010
|
+
additional_helm_chart_values=additional_helm_chart_values,
|
|
3011
|
+
policy=policy,
|
|
3012
|
+
repository=repository,
|
|
2979
3013
|
)
|
|
2980
3014
|
|
|
2981
3015
|
return typing.cast("AlbController", jsii.sinvoke(cls, "create", [scope, props]))
|
|
2982
3016
|
|
|
2983
3017
|
|
|
3018
|
+
@jsii.data_type(
|
|
3019
|
+
jsii_type="aws-cdk-lib.aws_eks.AlbControllerHelmChartOptions",
|
|
3020
|
+
jsii_struct_bases=[],
|
|
3021
|
+
name_mapping={"enable_waf": "enableWaf", "enable_wafv2": "enableWafv2"},
|
|
3022
|
+
)
|
|
3023
|
+
class AlbControllerHelmChartOptions:
|
|
3024
|
+
def __init__(
|
|
3025
|
+
self,
|
|
3026
|
+
*,
|
|
3027
|
+
enable_waf: typing.Optional[builtins.bool] = None,
|
|
3028
|
+
enable_wafv2: typing.Optional[builtins.bool] = None,
|
|
3029
|
+
) -> None:
|
|
3030
|
+
'''Helm chart options that can be set for AlbControllerChart To add any new supported values refer https://github.com/kubernetes-sigs/aws-load-balancer-controller/blob/main/helm/aws-load-balancer-controller/values.yaml.
|
|
3031
|
+
|
|
3032
|
+
:param enable_waf: Enable or disable AWS WAF on the ALB ingress controller. Default: - no value defined for this helm chart option, so it will not be set in the helm chart values
|
|
3033
|
+
:param enable_wafv2: Enable or disable AWS WAFv2 on the ALB ingress controller. Default: - no value defined for this helm chart option, so it will not be set in the helm chart values
|
|
3034
|
+
|
|
3035
|
+
:exampleMetadata: infused
|
|
3036
|
+
|
|
3037
|
+
Example::
|
|
3038
|
+
|
|
3039
|
+
from aws_cdk.lambda_layer_kubectl_v32 import KubectlV32Layer
|
|
3040
|
+
|
|
3041
|
+
|
|
3042
|
+
eks.Cluster(self, "HelloEKS",
|
|
3043
|
+
version=eks.KubernetesVersion.V1_32,
|
|
3044
|
+
alb_controller=eks.AlbControllerOptions(
|
|
3045
|
+
version=eks.AlbControllerVersion.V2_8_2,
|
|
3046
|
+
additional_helm_chart_values=eks.AlbControllerHelmChartOptions(
|
|
3047
|
+
enable_wafv2=False
|
|
3048
|
+
)
|
|
3049
|
+
),
|
|
3050
|
+
kubectl_layer=KubectlV32Layer(self, "kubectl")
|
|
3051
|
+
)
|
|
3052
|
+
'''
|
|
3053
|
+
if __debug__:
|
|
3054
|
+
type_hints = typing.get_type_hints(_typecheckingstub__281499b199c1a76de8c09b4fa8c74547b8a256e9ceb223d10f672ae9e7a452d1)
|
|
3055
|
+
check_type(argname="argument enable_waf", value=enable_waf, expected_type=type_hints["enable_waf"])
|
|
3056
|
+
check_type(argname="argument enable_wafv2", value=enable_wafv2, expected_type=type_hints["enable_wafv2"])
|
|
3057
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
3058
|
+
if enable_waf is not None:
|
|
3059
|
+
self._values["enable_waf"] = enable_waf
|
|
3060
|
+
if enable_wafv2 is not None:
|
|
3061
|
+
self._values["enable_wafv2"] = enable_wafv2
|
|
3062
|
+
|
|
3063
|
+
@builtins.property
|
|
3064
|
+
def enable_waf(self) -> typing.Optional[builtins.bool]:
|
|
3065
|
+
'''Enable or disable AWS WAF on the ALB ingress controller.
|
|
3066
|
+
|
|
3067
|
+
:default: - no value defined for this helm chart option, so it will not be set in the helm chart values
|
|
3068
|
+
'''
|
|
3069
|
+
result = self._values.get("enable_waf")
|
|
3070
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
3071
|
+
|
|
3072
|
+
@builtins.property
|
|
3073
|
+
def enable_wafv2(self) -> typing.Optional[builtins.bool]:
|
|
3074
|
+
'''Enable or disable AWS WAFv2 on the ALB ingress controller.
|
|
3075
|
+
|
|
3076
|
+
:default: - no value defined for this helm chart option, so it will not be set in the helm chart values
|
|
3077
|
+
'''
|
|
3078
|
+
result = self._values.get("enable_wafv2")
|
|
3079
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
3080
|
+
|
|
3081
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3082
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
3083
|
+
|
|
3084
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
3085
|
+
return not (rhs == self)
|
|
3086
|
+
|
|
3087
|
+
def __repr__(self) -> str:
|
|
3088
|
+
return "AlbControllerHelmChartOptions(%s)" % ", ".join(
|
|
3089
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
3090
|
+
)
|
|
3091
|
+
|
|
3092
|
+
|
|
2984
3093
|
@jsii.data_type(
|
|
2985
3094
|
jsii_type="aws-cdk-lib.aws_eks.AlbControllerOptions",
|
|
2986
3095
|
jsii_struct_bases=[],
|
|
2987
3096
|
name_mapping={
|
|
2988
3097
|
"version": "version",
|
|
3098
|
+
"additional_helm_chart_values": "additionalHelmChartValues",
|
|
2989
3099
|
"policy": "policy",
|
|
2990
3100
|
"repository": "repository",
|
|
2991
3101
|
},
|
|
@@ -2995,12 +3105,14 @@ class AlbControllerOptions:
|
|
|
2995
3105
|
self,
|
|
2996
3106
|
*,
|
|
2997
3107
|
version: "AlbControllerVersion",
|
|
3108
|
+
additional_helm_chart_values: typing.Optional[typing.Union[AlbControllerHelmChartOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2998
3109
|
policy: typing.Any = None,
|
|
2999
3110
|
repository: typing.Optional[builtins.str] = None,
|
|
3000
3111
|
) -> None:
|
|
3001
3112
|
'''Options for ``AlbController``.
|
|
3002
3113
|
|
|
3003
3114
|
:param version: Version of the controller.
|
|
3115
|
+
:param additional_helm_chart_values: Additional helm chart values for ALB controller. Default: - no additional helm chart values
|
|
3004
3116
|
:param policy: The IAM policy to apply to the service account. If you're using one of the built-in versions, this is not required since CDK ships with the appropriate policies for those versions. However, if you are using a custom version, this is required (and validated). Default: - Corresponds to the predefined version.
|
|
3005
3117
|
:param repository: The repository to pull the controller image from. Note that the default repository works for most regions, but not all. If the repository is not applicable to your region, use a custom repository according to the information here: https://github.com/kubernetes-sigs/aws-load-balancer-controller/releases. Default: '602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-load-balancer-controller'
|
|
3006
3118
|
|
|
@@ -3019,14 +3131,19 @@ class AlbControllerOptions:
|
|
|
3019
3131
|
kubectl_layer=KubectlV32Layer(self, "kubectl")
|
|
3020
3132
|
)
|
|
3021
3133
|
'''
|
|
3134
|
+
if isinstance(additional_helm_chart_values, dict):
|
|
3135
|
+
additional_helm_chart_values = AlbControllerHelmChartOptions(**additional_helm_chart_values)
|
|
3022
3136
|
if __debug__:
|
|
3023
3137
|
type_hints = typing.get_type_hints(_typecheckingstub__b22ec5f19b5d1b4d655cc304c12c33352da257e2109041355aa01fc993ec3ef9)
|
|
3024
3138
|
check_type(argname="argument version", value=version, expected_type=type_hints["version"])
|
|
3139
|
+
check_type(argname="argument additional_helm_chart_values", value=additional_helm_chart_values, expected_type=type_hints["additional_helm_chart_values"])
|
|
3025
3140
|
check_type(argname="argument policy", value=policy, expected_type=type_hints["policy"])
|
|
3026
3141
|
check_type(argname="argument repository", value=repository, expected_type=type_hints["repository"])
|
|
3027
3142
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
3028
3143
|
"version": version,
|
|
3029
3144
|
}
|
|
3145
|
+
if additional_helm_chart_values is not None:
|
|
3146
|
+
self._values["additional_helm_chart_values"] = additional_helm_chart_values
|
|
3030
3147
|
if policy is not None:
|
|
3031
3148
|
self._values["policy"] = policy
|
|
3032
3149
|
if repository is not None:
|
|
@@ -3039,6 +3156,17 @@ class AlbControllerOptions:
|
|
|
3039
3156
|
assert result is not None, "Required property 'version' is missing"
|
|
3040
3157
|
return typing.cast("AlbControllerVersion", result)
|
|
3041
3158
|
|
|
3159
|
+
@builtins.property
|
|
3160
|
+
def additional_helm_chart_values(
|
|
3161
|
+
self,
|
|
3162
|
+
) -> typing.Optional[AlbControllerHelmChartOptions]:
|
|
3163
|
+
'''Additional helm chart values for ALB controller.
|
|
3164
|
+
|
|
3165
|
+
:default: - no additional helm chart values
|
|
3166
|
+
'''
|
|
3167
|
+
result = self._values.get("additional_helm_chart_values")
|
|
3168
|
+
return typing.cast(typing.Optional[AlbControllerHelmChartOptions], result)
|
|
3169
|
+
|
|
3042
3170
|
@builtins.property
|
|
3043
3171
|
def policy(self) -> typing.Any:
|
|
3044
3172
|
'''The IAM policy to apply to the service account.
|
|
@@ -3083,6 +3211,7 @@ class AlbControllerOptions:
|
|
|
3083
3211
|
jsii_struct_bases=[AlbControllerOptions],
|
|
3084
3212
|
name_mapping={
|
|
3085
3213
|
"version": "version",
|
|
3214
|
+
"additional_helm_chart_values": "additionalHelmChartValues",
|
|
3086
3215
|
"policy": "policy",
|
|
3087
3216
|
"repository": "repository",
|
|
3088
3217
|
"cluster": "cluster",
|
|
@@ -3093,6 +3222,7 @@ class AlbControllerProps(AlbControllerOptions):
|
|
|
3093
3222
|
self,
|
|
3094
3223
|
*,
|
|
3095
3224
|
version: "AlbControllerVersion",
|
|
3225
|
+
additional_helm_chart_values: typing.Optional[typing.Union[AlbControllerHelmChartOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3096
3226
|
policy: typing.Any = None,
|
|
3097
3227
|
repository: typing.Optional[builtins.str] = None,
|
|
3098
3228
|
cluster: "Cluster",
|
|
@@ -3100,6 +3230,7 @@ class AlbControllerProps(AlbControllerOptions):
|
|
|
3100
3230
|
'''Properties for ``AlbController``.
|
|
3101
3231
|
|
|
3102
3232
|
:param version: Version of the controller.
|
|
3233
|
+
:param additional_helm_chart_values: Additional helm chart values for ALB controller. Default: - no additional helm chart values
|
|
3103
3234
|
:param policy: The IAM policy to apply to the service account. If you're using one of the built-in versions, this is not required since CDK ships with the appropriate policies for those versions. However, if you are using a custom version, this is required (and validated). Default: - Corresponds to the predefined version.
|
|
3104
3235
|
:param repository: The repository to pull the controller image from. Note that the default repository works for most regions, but not all. If the repository is not applicable to your region, use a custom repository according to the information here: https://github.com/kubernetes-sigs/aws-load-balancer-controller/releases. Default: '602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-load-balancer-controller'
|
|
3105
3236
|
:param cluster: [disable-awslint:ref-via-interface] Cluster to install the controller onto.
|
|
@@ -3121,13 +3252,20 @@ class AlbControllerProps(AlbControllerOptions):
|
|
|
3121
3252
|
version=alb_controller_version,
|
|
3122
3253
|
|
|
3123
3254
|
# the properties below are optional
|
|
3255
|
+
additional_helm_chart_values=eks.AlbControllerHelmChartOptions(
|
|
3256
|
+
enable_waf=False,
|
|
3257
|
+
enable_wafv2=False
|
|
3258
|
+
),
|
|
3124
3259
|
policy=policy,
|
|
3125
3260
|
repository="repository"
|
|
3126
3261
|
)
|
|
3127
3262
|
'''
|
|
3263
|
+
if isinstance(additional_helm_chart_values, dict):
|
|
3264
|
+
additional_helm_chart_values = AlbControllerHelmChartOptions(**additional_helm_chart_values)
|
|
3128
3265
|
if __debug__:
|
|
3129
3266
|
type_hints = typing.get_type_hints(_typecheckingstub__9f52254abb63608be11e6e9e1ec6c94ebb428a9ab274e1bda653dd78d26cd509)
|
|
3130
3267
|
check_type(argname="argument version", value=version, expected_type=type_hints["version"])
|
|
3268
|
+
check_type(argname="argument additional_helm_chart_values", value=additional_helm_chart_values, expected_type=type_hints["additional_helm_chart_values"])
|
|
3131
3269
|
check_type(argname="argument policy", value=policy, expected_type=type_hints["policy"])
|
|
3132
3270
|
check_type(argname="argument repository", value=repository, expected_type=type_hints["repository"])
|
|
3133
3271
|
check_type(argname="argument cluster", value=cluster, expected_type=type_hints["cluster"])
|
|
@@ -3135,6 +3273,8 @@ class AlbControllerProps(AlbControllerOptions):
|
|
|
3135
3273
|
"version": version,
|
|
3136
3274
|
"cluster": cluster,
|
|
3137
3275
|
}
|
|
3276
|
+
if additional_helm_chart_values is not None:
|
|
3277
|
+
self._values["additional_helm_chart_values"] = additional_helm_chart_values
|
|
3138
3278
|
if policy is not None:
|
|
3139
3279
|
self._values["policy"] = policy
|
|
3140
3280
|
if repository is not None:
|
|
@@ -3147,6 +3287,17 @@ class AlbControllerProps(AlbControllerOptions):
|
|
|
3147
3287
|
assert result is not None, "Required property 'version' is missing"
|
|
3148
3288
|
return typing.cast("AlbControllerVersion", result)
|
|
3149
3289
|
|
|
3290
|
+
@builtins.property
|
|
3291
|
+
def additional_helm_chart_values(
|
|
3292
|
+
self,
|
|
3293
|
+
) -> typing.Optional[AlbControllerHelmChartOptions]:
|
|
3294
|
+
'''Additional helm chart values for ALB controller.
|
|
3295
|
+
|
|
3296
|
+
:default: - no additional helm chart values
|
|
3297
|
+
'''
|
|
3298
|
+
result = self._values.get("additional_helm_chart_values")
|
|
3299
|
+
return typing.cast(typing.Optional[AlbControllerHelmChartOptions], result)
|
|
3300
|
+
|
|
3150
3301
|
@builtins.property
|
|
3151
3302
|
def policy(self) -> typing.Any:
|
|
3152
3303
|
'''The IAM policy to apply to the service account.
|
|
@@ -19532,6 +19683,10 @@ class ClusterOptions(CommonClusterOptions):
|
|
|
19532
19683
|
version=alb_controller_version,
|
|
19533
19684
|
|
|
19534
19685
|
# the properties below are optional
|
|
19686
|
+
additional_helm_chart_values=eks.AlbControllerHelmChartOptions(
|
|
19687
|
+
enable_waf=False,
|
|
19688
|
+
enable_wafv2=False
|
|
19689
|
+
),
|
|
19535
19690
|
policy=policy,
|
|
19536
19691
|
repository="repository"
|
|
19537
19692
|
),
|
|
@@ -21452,6 +21607,7 @@ __all__ = [
|
|
|
21452
21607
|
"AddonAttributes",
|
|
21453
21608
|
"AddonProps",
|
|
21454
21609
|
"AlbController",
|
|
21610
|
+
"AlbControllerHelmChartOptions",
|
|
21455
21611
|
"AlbControllerOptions",
|
|
21456
21612
|
"AlbControllerProps",
|
|
21457
21613
|
"AlbControllerVersion",
|
|
@@ -21621,6 +21777,7 @@ def _typecheckingstub__5e2ca421e3f17c3114d53057ba096ab3f90bd3b8ed6c2e0f75f61c88d
|
|
|
21621
21777
|
*,
|
|
21622
21778
|
cluster: Cluster,
|
|
21623
21779
|
version: AlbControllerVersion,
|
|
21780
|
+
additional_helm_chart_values: typing.Optional[typing.Union[AlbControllerHelmChartOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
21624
21781
|
policy: typing.Any = None,
|
|
21625
21782
|
repository: typing.Optional[builtins.str] = None,
|
|
21626
21783
|
) -> None:
|
|
@@ -21632,15 +21789,25 @@ def _typecheckingstub__1b3813db11381f0166360b7dc6066bdeadc4a52043da6eba56f9a55a4
|
|
|
21632
21789
|
*,
|
|
21633
21790
|
cluster: Cluster,
|
|
21634
21791
|
version: AlbControllerVersion,
|
|
21792
|
+
additional_helm_chart_values: typing.Optional[typing.Union[AlbControllerHelmChartOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
21635
21793
|
policy: typing.Any = None,
|
|
21636
21794
|
repository: typing.Optional[builtins.str] = None,
|
|
21637
21795
|
) -> None:
|
|
21638
21796
|
"""Type checking stubs"""
|
|
21639
21797
|
pass
|
|
21640
21798
|
|
|
21799
|
+
def _typecheckingstub__281499b199c1a76de8c09b4fa8c74547b8a256e9ceb223d10f672ae9e7a452d1(
|
|
21800
|
+
*,
|
|
21801
|
+
enable_waf: typing.Optional[builtins.bool] = None,
|
|
21802
|
+
enable_wafv2: typing.Optional[builtins.bool] = None,
|
|
21803
|
+
) -> None:
|
|
21804
|
+
"""Type checking stubs"""
|
|
21805
|
+
pass
|
|
21806
|
+
|
|
21641
21807
|
def _typecheckingstub__b22ec5f19b5d1b4d655cc304c12c33352da257e2109041355aa01fc993ec3ef9(
|
|
21642
21808
|
*,
|
|
21643
21809
|
version: AlbControllerVersion,
|
|
21810
|
+
additional_helm_chart_values: typing.Optional[typing.Union[AlbControllerHelmChartOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
21644
21811
|
policy: typing.Any = None,
|
|
21645
21812
|
repository: typing.Optional[builtins.str] = None,
|
|
21646
21813
|
) -> None:
|
|
@@ -21650,6 +21817,7 @@ def _typecheckingstub__b22ec5f19b5d1b4d655cc304c12c33352da257e2109041355aa01fc99
|
|
|
21650
21817
|
def _typecheckingstub__9f52254abb63608be11e6e9e1ec6c94ebb428a9ab274e1bda653dd78d26cd509(
|
|
21651
21818
|
*,
|
|
21652
21819
|
version: AlbControllerVersion,
|
|
21820
|
+
additional_helm_chart_values: typing.Optional[typing.Union[AlbControllerHelmChartOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
21653
21821
|
policy: typing.Any = None,
|
|
21654
21822
|
repository: typing.Optional[builtins.str] = None,
|
|
21655
21823
|
cluster: Cluster,
|
|
@@ -806,14 +806,22 @@ class CapacityConfig:
|
|
|
806
806
|
|
|
807
807
|
Example::
|
|
808
808
|
|
|
809
|
+
import aws_cdk.aws_opensearchservice as opensearch
|
|
810
|
+
|
|
811
|
+
|
|
809
812
|
domain = Domain(self, "Domain",
|
|
810
|
-
version=EngineVersion.
|
|
811
|
-
capacity=CapacityConfig(
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
813
|
+
version=EngineVersion.OPENSEARCH_1_3,
|
|
814
|
+
capacity=opensearch.CapacityConfig(
|
|
815
|
+
node_options=[opensearch.NodeOptions(
|
|
816
|
+
node_type=opensearch.NodeType.COORDINATOR,
|
|
817
|
+
node_config=opensearch.NodeConfig(
|
|
818
|
+
enabled=True,
|
|
819
|
+
count=2,
|
|
820
|
+
type="m5.large.search"
|
|
821
|
+
)
|
|
822
|
+
)
|
|
823
|
+
]
|
|
824
|
+
)
|
|
817
825
|
)
|
|
818
826
|
'''
|
|
819
827
|
if __debug__:
|
|
@@ -6269,14 +6277,19 @@ class EbsOptions:
|
|
|
6269
6277
|
Example::
|
|
6270
6278
|
|
|
6271
6279
|
domain = Domain(self, "Domain",
|
|
6272
|
-
version=EngineVersion.
|
|
6280
|
+
version=EngineVersion.OPENSEARCH_1_3,
|
|
6273
6281
|
ebs=EbsOptions(
|
|
6274
|
-
volume_size=
|
|
6275
|
-
volume_type=ec2.EbsDeviceVolumeType.
|
|
6282
|
+
volume_size=10,
|
|
6283
|
+
volume_type=ec2.EbsDeviceVolumeType.GENERAL_PURPOSE_SSD_GP3
|
|
6276
6284
|
),
|
|
6277
|
-
|
|
6278
|
-
|
|
6279
|
-
|
|
6285
|
+
zone_awareness=ZoneAwarenessConfig(
|
|
6286
|
+
enabled=True,
|
|
6287
|
+
availability_zone_count=3
|
|
6288
|
+
),
|
|
6289
|
+
capacity=CapacityConfig(
|
|
6290
|
+
multi_az_with_standby_enabled=True,
|
|
6291
|
+
master_nodes=3,
|
|
6292
|
+
data_nodes=3
|
|
6280
6293
|
)
|
|
6281
6294
|
)
|
|
6282
6295
|
'''
|
|
@@ -6391,22 +6404,29 @@ class EncryptionAtRestOptions:
|
|
|
6391
6404
|
|
|
6392
6405
|
Example::
|
|
6393
6406
|
|
|
6394
|
-
|
|
6395
|
-
|
|
6396
|
-
|
|
6397
|
-
|
|
6398
|
-
|
|
6407
|
+
import aws_cdk.aws_opensearchservice as opensearch
|
|
6408
|
+
|
|
6409
|
+
|
|
6410
|
+
domain = opensearch.Domain(self, "Domain",
|
|
6411
|
+
version=opensearch.EngineVersion.OPENSEARCH_2_17,
|
|
6412
|
+
encryption_at_rest=opensearch.EncryptionAtRestOptions(
|
|
6399
6413
|
enabled=True
|
|
6400
6414
|
),
|
|
6401
|
-
|
|
6402
|
-
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
6406
|
-
|
|
6407
|
-
|
|
6415
|
+
node_to_node_encryption=True,
|
|
6416
|
+
enforce_https=True,
|
|
6417
|
+
capacity=opensearch.CapacityConfig(
|
|
6418
|
+
multi_az_with_standby_enabled=False
|
|
6419
|
+
),
|
|
6420
|
+
ebs=opensearch.EbsOptions(
|
|
6421
|
+
enabled=True,
|
|
6422
|
+
volume_size=10
|
|
6408
6423
|
)
|
|
6409
6424
|
)
|
|
6425
|
+
api = appsync.EventApi(self, "EventApiOpenSearch",
|
|
6426
|
+
api_name="OpenSearchEventApi"
|
|
6427
|
+
)
|
|
6428
|
+
|
|
6429
|
+
data_source = api.add_open_search_data_source("opensearchds", domain)
|
|
6410
6430
|
'''
|
|
6411
6431
|
if __debug__:
|
|
6412
6432
|
type_hints = typing.get_type_hints(_typecheckingstub__b5973f04ac98b9a2d9bddce35a01a16416d58b7f8a10bd553cfabe3909eb2523)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
aws_cdk/__init__.py,sha256=eXSXfJsNIwmS59fnEqjIAeFavwOF06wfOYTJMsztGX0,2010219
|
|
2
2
|
aws_cdk/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
3
|
-
aws_cdk/_jsii/__init__.py,sha256=
|
|
4
|
-
aws_cdk/_jsii/aws-cdk-lib@2.
|
|
3
|
+
aws_cdk/_jsii/__init__.py,sha256=urJ8TCyBZw11U05e2ux_UU-1fwG_JWw4_MaC71WLdbY,1543
|
|
4
|
+
aws_cdk/_jsii/aws-cdk-lib@2.193.0.jsii.tgz,sha256=XVbFHG49cuZRcFG2tULB0ncuiKj5m8A_D6HbZXvLvCw,25049912
|
|
5
5
|
aws_cdk/alexa_ask/__init__.py,sha256=yF4ftch7XArzAniw_xoUmGi3wLGeBqIUlOjBTHSxDb4,36370
|
|
6
6
|
aws_cdk/assertions/__init__.py,sha256=Fe7BZZpx5cUrxKtNdGbU4eXue79txDh_GqjfLV5wgCM,94355
|
|
7
7
|
aws_cdk/aws_accessanalyzer/__init__.py,sha256=XiNBttjwK1s2CYyccwKCXH5Nzb74L1i6rVnZ9Zwh49I,57464
|
|
@@ -22,7 +22,7 @@ aws_cdk/aws_applicationsignals/__init__.py,sha256=87-_s4G3s5RNHI2djKmAhS8kqiitMb
|
|
|
22
22
|
aws_cdk/aws_appmesh/__init__.py,sha256=6pS5nJjwlxxvf6L09DvTnwRbnN0Hg5-sF6xQSe6DuUk,1607404
|
|
23
23
|
aws_cdk/aws_apprunner/__init__.py,sha256=1SZg3NdECkG99iWRNUkqCi1Tz7IIzGMYQVkybr1jECg,241154
|
|
24
24
|
aws_cdk/aws_appstream/__init__.py,sha256=vgdLPfwWL81Qsy1VgPcP7BuZg9swpw_3yE417BHp9Bc,452009
|
|
25
|
-
aws_cdk/aws_appsync/__init__.py,sha256
|
|
25
|
+
aws_cdk/aws_appsync/__init__.py,sha256=-8zwdcrqEj9hVUx4wtOBDBTwayICdV-1dCkHUFNAAzY,1382965
|
|
26
26
|
aws_cdk/aws_apptest/__init__.py,sha256=o7PvWT6mdxtk85HXG2XYW5sxuT3NPNS5PbyGOshFWiw,148303
|
|
27
27
|
aws_cdk/aws_aps/__init__.py,sha256=b-ziflZaV3oIgEZF52oLopbs7u9lHgA06w0dNLtgcUM,109633
|
|
28
28
|
aws_cdk/aws_arczonalshift/__init__.py,sha256=hhP5-1oO2WarXvLItnfNIJGto23ilHARKUu7nACh_UM,46778
|
|
@@ -62,7 +62,7 @@ aws_cdk/aws_codedeploy/__init__.py,sha256=x7dbc8hkL0IPeQ1z-sMaAkTMkkmuaSUr_PBj6v
|
|
|
62
62
|
aws_cdk/aws_codeguruprofiler/__init__.py,sha256=9ZfE-WJXwoc-Uv59gwaYhCYrnGwO-rwlMNlZxC2vkE8,48308
|
|
63
63
|
aws_cdk/aws_codegurureviewer/__init__.py,sha256=9497p0WcylnIXlvJ90LQbpqVllRhIEZTaiIPk1oQLuM,27281
|
|
64
64
|
aws_cdk/aws_codepipeline/__init__.py,sha256=CBBgFjonhLmdKjytvFupr7Ol52FZ_8hjmIRF-MJE0RM,666078
|
|
65
|
-
aws_cdk/aws_codepipeline_actions/__init__.py,sha256=
|
|
65
|
+
aws_cdk/aws_codepipeline_actions/__init__.py,sha256=6tMu_LF71hAZhjPAza2rp8QCG-9NEuQnrrTzIu2Wg4w,761941
|
|
66
66
|
aws_cdk/aws_codestar/__init__.py,sha256=SJvcSFPGBPwNoxR7MTswiqgSU8HaQ0a0W0EB-zjGvvU,38576
|
|
67
67
|
aws_cdk/aws_codestarconnections/__init__.py,sha256=oGFXDpdwddFIPcXlfZvnonv8M0ALTMpkQXkdaxXfM4I,62714
|
|
68
68
|
aws_cdk/aws_codestarnotifications/__init__.py,sha256=LOQkQyLT3OQGUd6XTwBNEHcoxHIvrMRNs3tDFVXD0RE,77102
|
|
@@ -98,7 +98,7 @@ aws_cdk/aws_ecr_assets/__init__.py,sha256=KFJlU6hamHKtQLLh_GRwL5oyGNI3ZeAoJ7c3GH
|
|
|
98
98
|
aws_cdk/aws_ecs/__init__.py,sha256=wGbsNeZOLm_HfT-8Yoxx_OsQRYKYgKWZdHrmVEZjFo0,2747080
|
|
99
99
|
aws_cdk/aws_ecs_patterns/__init__.py,sha256=BMxXLUS3kQlDxCUBRCIKNcpBxgrXL4whnTYpH-NwK4Q,1039923
|
|
100
100
|
aws_cdk/aws_efs/__init__.py,sha256=Vwby-0vbcL99svN6PMviQkzgmYldJ6wK1q2Ft_giUCk,283704
|
|
101
|
-
aws_cdk/aws_eks/__init__.py,sha256=
|
|
101
|
+
aws_cdk/aws_eks/__init__.py,sha256=S5h_kTw-0_MrTB8EtTl-sBGEbLxHmVAXigB8Ho3V4vQ,1254386
|
|
102
102
|
aws_cdk/aws_elasticache/__init__.py,sha256=tmoiFurx-_5iYQ6eIDete7V-q_UMcJV4RGNUI_UIfQU,525717
|
|
103
103
|
aws_cdk/aws_elasticbeanstalk/__init__.py,sha256=zkQcloEtO1N4Z0oj24wRxhwAEZQnYXhIJFNclDh4SW8,165453
|
|
104
104
|
aws_cdk/aws_elasticloadbalancing/__init__.py,sha256=87f9RCYjZ1tYCg_ork7bK6tEyvVt8J8b6xAr3JTbgpU,163062
|
|
@@ -198,7 +198,7 @@ aws_cdk/aws_notificationscontacts/__init__.py,sha256=mcjKdAlwKIg6bZM3f1sqC25vc9W
|
|
|
198
198
|
aws_cdk/aws_oam/__init__.py,sha256=L6ozaoFvnhG10B1o3fXNfEha9a4UbD0IqpXwjWu_Jjo,46846
|
|
199
199
|
aws_cdk/aws_omics/__init__.py,sha256=ekiGB8bg42wSLbjhN-KhLiVyHUcoN899gp5Fb6GO6wk,169601
|
|
200
200
|
aws_cdk/aws_opensearchserverless/__init__.py,sha256=ey2vDUpdgwOqiZeMkKQux8PGsbNR2p-KZJWKbO9A4ps,167776
|
|
201
|
-
aws_cdk/aws_opensearchservice/__init__.py,sha256=
|
|
201
|
+
aws_cdk/aws_opensearchservice/__init__.py,sha256=SaJDtBylw3Jv0VO9i5kdCZA-GyYiu0tnrHkE5fAXU1U,655644
|
|
202
202
|
aws_cdk/aws_opsworks/__init__.py,sha256=8V_ueRxKAdkbxMoaSbJNbdrlbSbswYlEaFCSzm-aHk4,437770
|
|
203
203
|
aws_cdk/aws_opsworkscm/__init__.py,sha256=I7MOUF6zDNYpn-1TNoJWLK7sNObnKuFzXzcS3ixG3ug,88231
|
|
204
204
|
aws_cdk/aws_organizations/__init__.py,sha256=sTSxIpmA3jrhg_0xKWg6Ro7XMPYxc7suR3Bm4K74T2Q,111233
|
|
@@ -295,9 +295,9 @@ aws_cdk/lambda_layer_node_proxy_agent/__init__.py,sha256=Q0PMbPsP4A7YO-YZe9esn-i
|
|
|
295
295
|
aws_cdk/pipelines/__init__.py,sha256=gmQH7GClrxiiHiSwYLeffgUBOBJUjQpZgAK0BQpAj38,402808
|
|
296
296
|
aws_cdk/region_info/__init__.py,sha256=5GAO_ld0t-3caLW28eV9FWHMrqRq5CyV1L4pFALx9Y4,39656
|
|
297
297
|
aws_cdk/triggers/__init__.py,sha256=fPVnj7ot9BFSzO-cTWQz9bMuGPG1hqZFJ7ROMkq0vnk,123578
|
|
298
|
-
aws_cdk_lib-2.
|
|
299
|
-
aws_cdk_lib-2.
|
|
300
|
-
aws_cdk_lib-2.
|
|
301
|
-
aws_cdk_lib-2.
|
|
302
|
-
aws_cdk_lib-2.
|
|
303
|
-
aws_cdk_lib-2.
|
|
298
|
+
aws_cdk_lib-2.193.0.dist-info/LICENSE,sha256=y47tc38H0C4DpGljYUZDl8XxidQjNxxGLq-K4jwv6Xc,11391
|
|
299
|
+
aws_cdk_lib-2.193.0.dist-info/METADATA,sha256=3p6S2xV2HPgVK765MdOFw9J32ivSBa_ZPyhjc_F4iCc,59922
|
|
300
|
+
aws_cdk_lib-2.193.0.dist-info/NOTICE,sha256=lrDSwMl9zn-5xv2z3qp2Rw6Nm8pARejpIJ5eXzJtuQk,41177
|
|
301
|
+
aws_cdk_lib-2.193.0.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
|
302
|
+
aws_cdk_lib-2.193.0.dist-info/top_level.txt,sha256=1TALAKbuUGsMSrfKWEf268lySCmcqSEO6cDYe_XlLHM,8
|
|
303
|
+
aws_cdk_lib-2.193.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|