aws-cdk-lib 2.171.1__py3-none-any.whl → 2.172.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 +471 -161
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.171.1.jsii.tgz → aws-cdk-lib@2.172.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +1314 -124
- aws_cdk/aws_appsync/__init__.py +159 -136
- aws_cdk/aws_autoscaling/__init__.py +81 -24
- aws_cdk/aws_bedrock/__init__.py +48 -0
- aws_cdk/aws_chatbot/__init__.py +775 -0
- aws_cdk/aws_cloudformation/__init__.py +240 -159
- aws_cdk/aws_cloudfront/__init__.py +11 -5
- aws_cdk/aws_cloudtrail/__init__.py +753 -0
- aws_cdk/aws_cognito/__init__.py +825 -4
- aws_cdk/aws_connect/__init__.py +429 -0
- aws_cdk/aws_customerprofiles/__init__.py +3148 -0
- aws_cdk/aws_ec2/__init__.py +872 -5
- aws_cdk/aws_ecs/__init__.py +12 -7
- aws_cdk/aws_eks/__init__.py +709 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +309 -55
- aws_cdk/aws_events/__init__.py +515 -8
- aws_cdk/aws_iot/__init__.py +42 -4
- aws_cdk/aws_iotfleetwise/__init__.py +510 -0
- aws_cdk/aws_iotsitewise/__init__.py +156 -0
- aws_cdk/aws_lambda/__init__.py +14 -8
- aws_cdk/aws_lambda_event_sources/__init__.py +2 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +11 -11
- aws_cdk/aws_m2/__init__.py +289 -0
- aws_cdk/aws_mwaa/__init__.py +6 -6
- aws_cdk/aws_opensearchserverless/__init__.py +249 -1
- aws_cdk/aws_pipes/__init__.py +14 -30
- aws_cdk/aws_qbusiness/__init__.py +3 -1
- aws_cdk/aws_quicksight/__init__.py +8270 -10
- aws_cdk/aws_rbin/__init__.py +53 -34
- aws_cdk/aws_rds/__init__.py +140 -8
- aws_cdk/aws_resourcegroups/__init__.py +349 -0
- aws_cdk/aws_route53_targets/__init__.py +82 -0
- aws_cdk/aws_route53resolver/__init__.py +15 -6
- aws_cdk/aws_s3express/__init__.py +403 -2
- aws_cdk/aws_sagemaker/__init__.py +124 -112
- aws_cdk/aws_ses/__init__.py +79 -41
- aws_cdk/aws_wisdom/__init__.py +4713 -172
- aws_cdk/aws_workspacesweb/__init__.py +1024 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/RECORD +47 -47
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_eks/__init__.py
CHANGED
|
@@ -5787,6 +5787,11 @@ class CfnCluster(
|
|
|
5787
5787
|
bootstrap_cluster_creator_admin_permissions=False
|
|
5788
5788
|
),
|
|
5789
5789
|
bootstrap_self_managed_addons=False,
|
|
5790
|
+
compute_config=eks.CfnCluster.ComputeConfigProperty(
|
|
5791
|
+
enabled=False,
|
|
5792
|
+
node_pools=["nodePools"],
|
|
5793
|
+
node_role_arn="nodeRoleArn"
|
|
5794
|
+
),
|
|
5790
5795
|
encryption_config=[eks.CfnCluster.EncryptionConfigProperty(
|
|
5791
5796
|
provider=eks.CfnCluster.ProviderProperty(
|
|
5792
5797
|
key_arn="keyArn"
|
|
@@ -5794,6 +5799,9 @@ class CfnCluster(
|
|
|
5794
5799
|
resources=["resources"]
|
|
5795
5800
|
)],
|
|
5796
5801
|
kubernetes_network_config=eks.CfnCluster.KubernetesNetworkConfigProperty(
|
|
5802
|
+
elastic_load_balancing=eks.CfnCluster.ElasticLoadBalancingProperty(
|
|
5803
|
+
enabled=False
|
|
5804
|
+
),
|
|
5797
5805
|
ip_family="ipFamily",
|
|
5798
5806
|
service_ipv4_cidr="serviceIpv4Cidr",
|
|
5799
5807
|
service_ipv6_cidr="serviceIpv6Cidr"
|
|
@@ -5815,6 +5823,21 @@ class CfnCluster(
|
|
|
5815
5823
|
group_name="groupName"
|
|
5816
5824
|
)
|
|
5817
5825
|
),
|
|
5826
|
+
remote_network_config=eks.CfnCluster.RemoteNetworkConfigProperty(
|
|
5827
|
+
remote_node_networks=[eks.CfnCluster.RemoteNodeNetworkProperty(
|
|
5828
|
+
cidrs=["cidrs"]
|
|
5829
|
+
)],
|
|
5830
|
+
|
|
5831
|
+
# the properties below are optional
|
|
5832
|
+
remote_pod_networks=[eks.CfnCluster.RemotePodNetworkProperty(
|
|
5833
|
+
cidrs=["cidrs"]
|
|
5834
|
+
)]
|
|
5835
|
+
),
|
|
5836
|
+
storage_config=eks.CfnCluster.StorageConfigProperty(
|
|
5837
|
+
block_storage=eks.CfnCluster.BlockStorageProperty(
|
|
5838
|
+
enabled=False
|
|
5839
|
+
)
|
|
5840
|
+
),
|
|
5818
5841
|
tags=[CfnTag(
|
|
5819
5842
|
key="key",
|
|
5820
5843
|
value="value"
|
|
@@ -5838,11 +5861,14 @@ class CfnCluster(
|
|
|
5838
5861
|
role_arn: builtins.str,
|
|
5839
5862
|
access_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.AccessConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5840
5863
|
bootstrap_self_managed_addons: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
5864
|
+
compute_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.ComputeConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5841
5865
|
encryption_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.EncryptionConfigProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
5842
5866
|
kubernetes_network_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.KubernetesNetworkConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5843
5867
|
logging: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.LoggingProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5844
5868
|
name: typing.Optional[builtins.str] = None,
|
|
5845
5869
|
outpost_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.OutpostConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5870
|
+
remote_network_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.RemoteNetworkConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5871
|
+
storage_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.StorageConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5846
5872
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5847
5873
|
upgrade_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.UpgradePolicyProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5848
5874
|
version: typing.Optional[builtins.str] = None,
|
|
@@ -5855,11 +5881,14 @@ class CfnCluster(
|
|
|
5855
5881
|
:param role_arn: The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf. For more information, see `Amazon EKS Service IAM Role <https://docs.aws.amazon.com/eks/latest/userguide/service_IAM_role.html>`_ in the **Amazon EKS User Guide** .
|
|
5856
5882
|
:param access_config: The access configuration for the cluster.
|
|
5857
5883
|
:param bootstrap_self_managed_addons: If you set this value to ``False`` when creating a cluster, the default networking add-ons will not be installed. The default networking addons include vpc-cni, coredns, and kube-proxy. Use this option when you plan to install third-party alternative add-ons or self-manage the default networking add-ons.
|
|
5884
|
+
:param compute_config: Todo: add description.
|
|
5858
5885
|
:param encryption_config: The encryption configuration for the cluster.
|
|
5859
5886
|
:param kubernetes_network_config: The Kubernetes network configuration for the cluster.
|
|
5860
5887
|
:param logging: The logging configuration for your cluster.
|
|
5861
5888
|
:param name: The unique name to give to your cluster. The name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an alphanumeric character and can't be longer than 100 characters. The name must be unique within the AWS Region and AWS account that you're creating the cluster in. Note that underscores can't be used in AWS CloudFormation .
|
|
5862
5889
|
:param outpost_config: An object representing the configuration of your local Amazon EKS cluster on an AWS Outpost. This object isn't available for clusters on the AWS cloud.
|
|
5890
|
+
:param remote_network_config: Configuration fields for specifying on-premises node and pod CIDRs that are external to the VPC passed during cluster creation.
|
|
5891
|
+
:param storage_config: Todo: add description.
|
|
5863
5892
|
:param tags: The metadata that you apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Cluster tags don't propagate to any other resources associated with the cluster. .. epigraph:: You must have the ``eks:TagResource`` and ``eks:UntagResource`` permissions for your `IAM principal <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html>`_ to manage the AWS CloudFormation stack. If you don't have these permissions, there might be unexpected behavior with stack-level tags propagating to the resource during resource creation and update.
|
|
5864
5893
|
:param upgrade_policy: This value indicates if extended support is enabled or disabled for the cluster. `Learn more about EKS Extended Support in the EKS User Guide. <https://docs.aws.amazon.com/eks/latest/userguide/extended-support-control.html>`_
|
|
5865
5894
|
:param version: The desired Kubernetes version for your cluster. If you don't specify a value here, the default version available in Amazon EKS is used. .. epigraph:: The default version might not be the latest version available.
|
|
@@ -5874,11 +5903,14 @@ class CfnCluster(
|
|
|
5874
5903
|
role_arn=role_arn,
|
|
5875
5904
|
access_config=access_config,
|
|
5876
5905
|
bootstrap_self_managed_addons=bootstrap_self_managed_addons,
|
|
5906
|
+
compute_config=compute_config,
|
|
5877
5907
|
encryption_config=encryption_config,
|
|
5878
5908
|
kubernetes_network_config=kubernetes_network_config,
|
|
5879
5909
|
logging=logging,
|
|
5880
5910
|
name=name,
|
|
5881
5911
|
outpost_config=outpost_config,
|
|
5912
|
+
remote_network_config=remote_network_config,
|
|
5913
|
+
storage_config=storage_config,
|
|
5882
5914
|
tags=tags,
|
|
5883
5915
|
upgrade_policy=upgrade_policy,
|
|
5884
5916
|
version=version,
|
|
@@ -6075,6 +6107,24 @@ class CfnCluster(
|
|
|
6075
6107
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6076
6108
|
jsii.set(self, "bootstrapSelfManagedAddons", value) # pyright: ignore[reportArgumentType]
|
|
6077
6109
|
|
|
6110
|
+
@builtins.property
|
|
6111
|
+
@jsii.member(jsii_name="computeConfig")
|
|
6112
|
+
def compute_config(
|
|
6113
|
+
self,
|
|
6114
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.ComputeConfigProperty"]]:
|
|
6115
|
+
'''Todo: add description.'''
|
|
6116
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.ComputeConfigProperty"]], jsii.get(self, "computeConfig"))
|
|
6117
|
+
|
|
6118
|
+
@compute_config.setter
|
|
6119
|
+
def compute_config(
|
|
6120
|
+
self,
|
|
6121
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.ComputeConfigProperty"]],
|
|
6122
|
+
) -> None:
|
|
6123
|
+
if __debug__:
|
|
6124
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5d35f88b28db161e1414d604c41ffc1d10fcf76351a0503d110f81158a8e15ca)
|
|
6125
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6126
|
+
jsii.set(self, "computeConfig", value) # pyright: ignore[reportArgumentType]
|
|
6127
|
+
|
|
6078
6128
|
@builtins.property
|
|
6079
6129
|
@jsii.member(jsii_name="encryptionConfig")
|
|
6080
6130
|
def encryption_config(
|
|
@@ -6160,6 +6210,42 @@ class CfnCluster(
|
|
|
6160
6210
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6161
6211
|
jsii.set(self, "outpostConfig", value) # pyright: ignore[reportArgumentType]
|
|
6162
6212
|
|
|
6213
|
+
@builtins.property
|
|
6214
|
+
@jsii.member(jsii_name="remoteNetworkConfig")
|
|
6215
|
+
def remote_network_config(
|
|
6216
|
+
self,
|
|
6217
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.RemoteNetworkConfigProperty"]]:
|
|
6218
|
+
'''Configuration fields for specifying on-premises node and pod CIDRs that are external to the VPC passed during cluster creation.'''
|
|
6219
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.RemoteNetworkConfigProperty"]], jsii.get(self, "remoteNetworkConfig"))
|
|
6220
|
+
|
|
6221
|
+
@remote_network_config.setter
|
|
6222
|
+
def remote_network_config(
|
|
6223
|
+
self,
|
|
6224
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.RemoteNetworkConfigProperty"]],
|
|
6225
|
+
) -> None:
|
|
6226
|
+
if __debug__:
|
|
6227
|
+
type_hints = typing.get_type_hints(_typecheckingstub__cbca5e74535463c8d56fe42358d9cdf712c85039267d6580c6b1dbd855c5f255)
|
|
6228
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6229
|
+
jsii.set(self, "remoteNetworkConfig", value) # pyright: ignore[reportArgumentType]
|
|
6230
|
+
|
|
6231
|
+
@builtins.property
|
|
6232
|
+
@jsii.member(jsii_name="storageConfig")
|
|
6233
|
+
def storage_config(
|
|
6234
|
+
self,
|
|
6235
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.StorageConfigProperty"]]:
|
|
6236
|
+
'''Todo: add description.'''
|
|
6237
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.StorageConfigProperty"]], jsii.get(self, "storageConfig"))
|
|
6238
|
+
|
|
6239
|
+
@storage_config.setter
|
|
6240
|
+
def storage_config(
|
|
6241
|
+
self,
|
|
6242
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.StorageConfigProperty"]],
|
|
6243
|
+
) -> None:
|
|
6244
|
+
if __debug__:
|
|
6245
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d43c0cb2280b293bbb9f09aa10579d43dbb7df4786771157ba149230c817ecfa)
|
|
6246
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6247
|
+
jsii.set(self, "storageConfig", value) # pyright: ignore[reportArgumentType]
|
|
6248
|
+
|
|
6163
6249
|
@builtins.property
|
|
6164
6250
|
@jsii.member(jsii_name="tagsRaw")
|
|
6165
6251
|
def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
@@ -6301,6 +6387,63 @@ class CfnCluster(
|
|
|
6301
6387
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
6302
6388
|
)
|
|
6303
6389
|
|
|
6390
|
+
@jsii.data_type(
|
|
6391
|
+
jsii_type="aws-cdk-lib.aws_eks.CfnCluster.BlockStorageProperty",
|
|
6392
|
+
jsii_struct_bases=[],
|
|
6393
|
+
name_mapping={"enabled": "enabled"},
|
|
6394
|
+
)
|
|
6395
|
+
class BlockStorageProperty:
|
|
6396
|
+
def __init__(
|
|
6397
|
+
self,
|
|
6398
|
+
*,
|
|
6399
|
+
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
6400
|
+
) -> None:
|
|
6401
|
+
'''Todo: add description.
|
|
6402
|
+
|
|
6403
|
+
:param enabled: Todo: add description.
|
|
6404
|
+
|
|
6405
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-blockstorage.html
|
|
6406
|
+
:exampleMetadata: fixture=_generated
|
|
6407
|
+
|
|
6408
|
+
Example::
|
|
6409
|
+
|
|
6410
|
+
# The code below shows an example of how to instantiate this type.
|
|
6411
|
+
# The values are placeholders you should change.
|
|
6412
|
+
from aws_cdk import aws_eks as eks
|
|
6413
|
+
|
|
6414
|
+
block_storage_property = eks.CfnCluster.BlockStorageProperty(
|
|
6415
|
+
enabled=False
|
|
6416
|
+
)
|
|
6417
|
+
'''
|
|
6418
|
+
if __debug__:
|
|
6419
|
+
type_hints = typing.get_type_hints(_typecheckingstub__11cdae187ae128dcf0eca6a85c8d94b7c2ef69a0d54a9bd1917a1e27f48a5125)
|
|
6420
|
+
check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
|
|
6421
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
6422
|
+
if enabled is not None:
|
|
6423
|
+
self._values["enabled"] = enabled
|
|
6424
|
+
|
|
6425
|
+
@builtins.property
|
|
6426
|
+
def enabled(
|
|
6427
|
+
self,
|
|
6428
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
6429
|
+
'''Todo: add description.
|
|
6430
|
+
|
|
6431
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-blockstorage.html#cfn-eks-cluster-blockstorage-enabled
|
|
6432
|
+
'''
|
|
6433
|
+
result = self._values.get("enabled")
|
|
6434
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
6435
|
+
|
|
6436
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6437
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6438
|
+
|
|
6439
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6440
|
+
return not (rhs == self)
|
|
6441
|
+
|
|
6442
|
+
def __repr__(self) -> str:
|
|
6443
|
+
return "BlockStorageProperty(%s)" % ", ".join(
|
|
6444
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
6445
|
+
)
|
|
6446
|
+
|
|
6304
6447
|
@jsii.data_type(
|
|
6305
6448
|
jsii_type="aws-cdk-lib.aws_eks.CfnCluster.ClusterLoggingProperty",
|
|
6306
6449
|
jsii_struct_bases=[],
|
|
@@ -6368,6 +6511,97 @@ class CfnCluster(
|
|
|
6368
6511
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
6369
6512
|
)
|
|
6370
6513
|
|
|
6514
|
+
@jsii.data_type(
|
|
6515
|
+
jsii_type="aws-cdk-lib.aws_eks.CfnCluster.ComputeConfigProperty",
|
|
6516
|
+
jsii_struct_bases=[],
|
|
6517
|
+
name_mapping={
|
|
6518
|
+
"enabled": "enabled",
|
|
6519
|
+
"node_pools": "nodePools",
|
|
6520
|
+
"node_role_arn": "nodeRoleArn",
|
|
6521
|
+
},
|
|
6522
|
+
)
|
|
6523
|
+
class ComputeConfigProperty:
|
|
6524
|
+
def __init__(
|
|
6525
|
+
self,
|
|
6526
|
+
*,
|
|
6527
|
+
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
6528
|
+
node_pools: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
6529
|
+
node_role_arn: typing.Optional[builtins.str] = None,
|
|
6530
|
+
) -> None:
|
|
6531
|
+
'''Todo: add description.
|
|
6532
|
+
|
|
6533
|
+
:param enabled: Todo: add description.
|
|
6534
|
+
:param node_pools: Todo: add description.
|
|
6535
|
+
:param node_role_arn: Todo: add description.
|
|
6536
|
+
|
|
6537
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-computeconfig.html
|
|
6538
|
+
:exampleMetadata: fixture=_generated
|
|
6539
|
+
|
|
6540
|
+
Example::
|
|
6541
|
+
|
|
6542
|
+
# The code below shows an example of how to instantiate this type.
|
|
6543
|
+
# The values are placeholders you should change.
|
|
6544
|
+
from aws_cdk import aws_eks as eks
|
|
6545
|
+
|
|
6546
|
+
compute_config_property = eks.CfnCluster.ComputeConfigProperty(
|
|
6547
|
+
enabled=False,
|
|
6548
|
+
node_pools=["nodePools"],
|
|
6549
|
+
node_role_arn="nodeRoleArn"
|
|
6550
|
+
)
|
|
6551
|
+
'''
|
|
6552
|
+
if __debug__:
|
|
6553
|
+
type_hints = typing.get_type_hints(_typecheckingstub__340acb2fac13d871050a5222d012205ae59e347bfba164c5431785621f6661b6)
|
|
6554
|
+
check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
|
|
6555
|
+
check_type(argname="argument node_pools", value=node_pools, expected_type=type_hints["node_pools"])
|
|
6556
|
+
check_type(argname="argument node_role_arn", value=node_role_arn, expected_type=type_hints["node_role_arn"])
|
|
6557
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
6558
|
+
if enabled is not None:
|
|
6559
|
+
self._values["enabled"] = enabled
|
|
6560
|
+
if node_pools is not None:
|
|
6561
|
+
self._values["node_pools"] = node_pools
|
|
6562
|
+
if node_role_arn is not None:
|
|
6563
|
+
self._values["node_role_arn"] = node_role_arn
|
|
6564
|
+
|
|
6565
|
+
@builtins.property
|
|
6566
|
+
def enabled(
|
|
6567
|
+
self,
|
|
6568
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
6569
|
+
'''Todo: add description.
|
|
6570
|
+
|
|
6571
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-computeconfig.html#cfn-eks-cluster-computeconfig-enabled
|
|
6572
|
+
'''
|
|
6573
|
+
result = self._values.get("enabled")
|
|
6574
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
6575
|
+
|
|
6576
|
+
@builtins.property
|
|
6577
|
+
def node_pools(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
6578
|
+
'''Todo: add description.
|
|
6579
|
+
|
|
6580
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-computeconfig.html#cfn-eks-cluster-computeconfig-nodepools
|
|
6581
|
+
'''
|
|
6582
|
+
result = self._values.get("node_pools")
|
|
6583
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
6584
|
+
|
|
6585
|
+
@builtins.property
|
|
6586
|
+
def node_role_arn(self) -> typing.Optional[builtins.str]:
|
|
6587
|
+
'''Todo: add description.
|
|
6588
|
+
|
|
6589
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-computeconfig.html#cfn-eks-cluster-computeconfig-noderolearn
|
|
6590
|
+
'''
|
|
6591
|
+
result = self._values.get("node_role_arn")
|
|
6592
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
6593
|
+
|
|
6594
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6595
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6596
|
+
|
|
6597
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6598
|
+
return not (rhs == self)
|
|
6599
|
+
|
|
6600
|
+
def __repr__(self) -> str:
|
|
6601
|
+
return "ComputeConfigProperty(%s)" % ", ".join(
|
|
6602
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
6603
|
+
)
|
|
6604
|
+
|
|
6371
6605
|
@jsii.data_type(
|
|
6372
6606
|
jsii_type="aws-cdk-lib.aws_eks.CfnCluster.ControlPlanePlacementProperty",
|
|
6373
6607
|
jsii_struct_bases=[],
|
|
@@ -6423,6 +6657,63 @@ class CfnCluster(
|
|
|
6423
6657
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
6424
6658
|
)
|
|
6425
6659
|
|
|
6660
|
+
@jsii.data_type(
|
|
6661
|
+
jsii_type="aws-cdk-lib.aws_eks.CfnCluster.ElasticLoadBalancingProperty",
|
|
6662
|
+
jsii_struct_bases=[],
|
|
6663
|
+
name_mapping={"enabled": "enabled"},
|
|
6664
|
+
)
|
|
6665
|
+
class ElasticLoadBalancingProperty:
|
|
6666
|
+
def __init__(
|
|
6667
|
+
self,
|
|
6668
|
+
*,
|
|
6669
|
+
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
6670
|
+
) -> None:
|
|
6671
|
+
'''Todo: add description.
|
|
6672
|
+
|
|
6673
|
+
:param enabled: Todo: add description.
|
|
6674
|
+
|
|
6675
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-elasticloadbalancing.html
|
|
6676
|
+
:exampleMetadata: fixture=_generated
|
|
6677
|
+
|
|
6678
|
+
Example::
|
|
6679
|
+
|
|
6680
|
+
# The code below shows an example of how to instantiate this type.
|
|
6681
|
+
# The values are placeholders you should change.
|
|
6682
|
+
from aws_cdk import aws_eks as eks
|
|
6683
|
+
|
|
6684
|
+
elastic_load_balancing_property = eks.CfnCluster.ElasticLoadBalancingProperty(
|
|
6685
|
+
enabled=False
|
|
6686
|
+
)
|
|
6687
|
+
'''
|
|
6688
|
+
if __debug__:
|
|
6689
|
+
type_hints = typing.get_type_hints(_typecheckingstub__41c8959626c6cd4c3ff5a15cfb2de0bea1a0b654c1bd2e0a62c4841ab19277cc)
|
|
6690
|
+
check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
|
|
6691
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
6692
|
+
if enabled is not None:
|
|
6693
|
+
self._values["enabled"] = enabled
|
|
6694
|
+
|
|
6695
|
+
@builtins.property
|
|
6696
|
+
def enabled(
|
|
6697
|
+
self,
|
|
6698
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
6699
|
+
'''Todo: add description.
|
|
6700
|
+
|
|
6701
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-elasticloadbalancing.html#cfn-eks-cluster-elasticloadbalancing-enabled
|
|
6702
|
+
'''
|
|
6703
|
+
result = self._values.get("enabled")
|
|
6704
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
6705
|
+
|
|
6706
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6707
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6708
|
+
|
|
6709
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6710
|
+
return not (rhs == self)
|
|
6711
|
+
|
|
6712
|
+
def __repr__(self) -> str:
|
|
6713
|
+
return "ElasticLoadBalancingProperty(%s)" % ", ".join(
|
|
6714
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
6715
|
+
)
|
|
6716
|
+
|
|
6426
6717
|
@jsii.data_type(
|
|
6427
6718
|
jsii_type="aws-cdk-lib.aws_eks.CfnCluster.EncryptionConfigProperty",
|
|
6428
6719
|
jsii_struct_bases=[],
|
|
@@ -6503,6 +6794,7 @@ class CfnCluster(
|
|
|
6503
6794
|
jsii_type="aws-cdk-lib.aws_eks.CfnCluster.KubernetesNetworkConfigProperty",
|
|
6504
6795
|
jsii_struct_bases=[],
|
|
6505
6796
|
name_mapping={
|
|
6797
|
+
"elastic_load_balancing": "elasticLoadBalancing",
|
|
6506
6798
|
"ip_family": "ipFamily",
|
|
6507
6799
|
"service_ipv4_cidr": "serviceIpv4Cidr",
|
|
6508
6800
|
"service_ipv6_cidr": "serviceIpv6Cidr",
|
|
@@ -6512,12 +6804,14 @@ class CfnCluster(
|
|
|
6512
6804
|
def __init__(
|
|
6513
6805
|
self,
|
|
6514
6806
|
*,
|
|
6807
|
+
elastic_load_balancing: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.ElasticLoadBalancingProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6515
6808
|
ip_family: typing.Optional[builtins.str] = None,
|
|
6516
6809
|
service_ipv4_cidr: typing.Optional[builtins.str] = None,
|
|
6517
6810
|
service_ipv6_cidr: typing.Optional[builtins.str] = None,
|
|
6518
6811
|
) -> None:
|
|
6519
6812
|
'''The Kubernetes network configuration for the cluster.
|
|
6520
6813
|
|
|
6814
|
+
:param elastic_load_balancing: Todo: add description.
|
|
6521
6815
|
:param ip_family: Specify which IP family is used to assign Kubernetes pod and service IP addresses. If you don't specify a value, ``ipv4`` is used by default. You can only specify an IP family when you create a cluster and can't change this value once the cluster is created. If you specify ``ipv6`` , the VPC and subnets that you specify for cluster creation must have both ``IPv4`` and ``IPv6`` CIDR blocks assigned to them. You can't specify ``ipv6`` for clusters in China Regions. You can only specify ``ipv6`` for ``1.21`` and later clusters that use version ``1.10.1`` or later of the Amazon VPC CNI add-on. If you specify ``ipv6`` , then ensure that your VPC meets the requirements listed in the considerations listed in `Assigning IPv6 addresses to pods and services <https://docs.aws.amazon.com/eks/latest/userguide/cni-ipv6.html>`_ in the Amazon EKS User Guide. Kubernetes assigns services ``IPv6`` addresses from the unique local address range ``(fc00::/7)`` . You can't specify a custom ``IPv6`` CIDR block. Pod addresses are assigned from the subnet's ``IPv6`` CIDR.
|
|
6522
6816
|
:param service_ipv4_cidr: Don't specify a value if you select ``ipv6`` for *ipFamily* . The CIDR block to assign Kubernetes service IP addresses from. If you don't specify a block, Kubernetes assigns addresses from either the ``10.100.0.0/16`` or ``172.20.0.0/16`` CIDR blocks. We recommend that you specify a block that does not overlap with resources in other networks that are peered or connected to your VPC. The block must meet the following requirements: - Within one of the following private IP address blocks: ``10.0.0.0/8`` , ``172.16.0.0/12`` , or ``192.168.0.0/16`` . - Doesn't overlap with any CIDR block assigned to the VPC that you selected for VPC. - Between ``/24`` and ``/12`` . .. epigraph:: You can only specify a custom CIDR block when you create a cluster. You can't change this value after the cluster is created.
|
|
6523
6817
|
:param service_ipv6_cidr: The CIDR block that Kubernetes pod and service IP addresses are assigned from if you created a 1.21 or later cluster with version 1.10.1 or later of the Amazon VPC CNI add-on and specified ``ipv6`` for *ipFamily* when you created the cluster. Kubernetes assigns service addresses from the unique local address range ( ``fc00::/7`` ) because you can't specify a custom IPv6 CIDR block when you create the cluster.
|
|
@@ -6532,6 +6826,9 @@ class CfnCluster(
|
|
|
6532
6826
|
from aws_cdk import aws_eks as eks
|
|
6533
6827
|
|
|
6534
6828
|
kubernetes_network_config_property = eks.CfnCluster.KubernetesNetworkConfigProperty(
|
|
6829
|
+
elastic_load_balancing=eks.CfnCluster.ElasticLoadBalancingProperty(
|
|
6830
|
+
enabled=False
|
|
6831
|
+
),
|
|
6535
6832
|
ip_family="ipFamily",
|
|
6536
6833
|
service_ipv4_cidr="serviceIpv4Cidr",
|
|
6537
6834
|
service_ipv6_cidr="serviceIpv6Cidr"
|
|
@@ -6539,10 +6836,13 @@ class CfnCluster(
|
|
|
6539
6836
|
'''
|
|
6540
6837
|
if __debug__:
|
|
6541
6838
|
type_hints = typing.get_type_hints(_typecheckingstub__0a92b4e070a67c74edb8714df451b4d215084e3116055e205e49b92778b8704f)
|
|
6839
|
+
check_type(argname="argument elastic_load_balancing", value=elastic_load_balancing, expected_type=type_hints["elastic_load_balancing"])
|
|
6542
6840
|
check_type(argname="argument ip_family", value=ip_family, expected_type=type_hints["ip_family"])
|
|
6543
6841
|
check_type(argname="argument service_ipv4_cidr", value=service_ipv4_cidr, expected_type=type_hints["service_ipv4_cidr"])
|
|
6544
6842
|
check_type(argname="argument service_ipv6_cidr", value=service_ipv6_cidr, expected_type=type_hints["service_ipv6_cidr"])
|
|
6545
6843
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
6844
|
+
if elastic_load_balancing is not None:
|
|
6845
|
+
self._values["elastic_load_balancing"] = elastic_load_balancing
|
|
6546
6846
|
if ip_family is not None:
|
|
6547
6847
|
self._values["ip_family"] = ip_family
|
|
6548
6848
|
if service_ipv4_cidr is not None:
|
|
@@ -6550,6 +6850,17 @@ class CfnCluster(
|
|
|
6550
6850
|
if service_ipv6_cidr is not None:
|
|
6551
6851
|
self._values["service_ipv6_cidr"] = service_ipv6_cidr
|
|
6552
6852
|
|
|
6853
|
+
@builtins.property
|
|
6854
|
+
def elastic_load_balancing(
|
|
6855
|
+
self,
|
|
6856
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.ElasticLoadBalancingProperty"]]:
|
|
6857
|
+
'''Todo: add description.
|
|
6858
|
+
|
|
6859
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-kubernetesnetworkconfig.html#cfn-eks-cluster-kubernetesnetworkconfig-elasticloadbalancing
|
|
6860
|
+
'''
|
|
6861
|
+
result = self._values.get("elastic_load_balancing")
|
|
6862
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.ElasticLoadBalancingProperty"]], result)
|
|
6863
|
+
|
|
6553
6864
|
@builtins.property
|
|
6554
6865
|
def ip_family(self) -> typing.Optional[builtins.str]:
|
|
6555
6866
|
'''Specify which IP family is used to assign Kubernetes pod and service IP addresses.
|
|
@@ -6880,6 +7191,194 @@ class CfnCluster(
|
|
|
6880
7191
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
6881
7192
|
)
|
|
6882
7193
|
|
|
7194
|
+
@jsii.data_type(
|
|
7195
|
+
jsii_type="aws-cdk-lib.aws_eks.CfnCluster.RemoteNetworkConfigProperty",
|
|
7196
|
+
jsii_struct_bases=[],
|
|
7197
|
+
name_mapping={
|
|
7198
|
+
"remote_node_networks": "remoteNodeNetworks",
|
|
7199
|
+
"remote_pod_networks": "remotePodNetworks",
|
|
7200
|
+
},
|
|
7201
|
+
)
|
|
7202
|
+
class RemoteNetworkConfigProperty:
|
|
7203
|
+
def __init__(
|
|
7204
|
+
self,
|
|
7205
|
+
*,
|
|
7206
|
+
remote_node_networks: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.RemoteNodeNetworkProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
7207
|
+
remote_pod_networks: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.RemotePodNetworkProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
7208
|
+
) -> None:
|
|
7209
|
+
'''Configuration fields for specifying on-premises node and pod CIDRs that are external to the VPC passed during cluster creation.
|
|
7210
|
+
|
|
7211
|
+
:param remote_node_networks: Network configuration of nodes run on-premises with EKS Hybrid Nodes.
|
|
7212
|
+
:param remote_pod_networks: Network configuration of pods run on-premises with EKS Hybrid Nodes.
|
|
7213
|
+
|
|
7214
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-remotenetworkconfig.html
|
|
7215
|
+
:exampleMetadata: fixture=_generated
|
|
7216
|
+
|
|
7217
|
+
Example::
|
|
7218
|
+
|
|
7219
|
+
# The code below shows an example of how to instantiate this type.
|
|
7220
|
+
# The values are placeholders you should change.
|
|
7221
|
+
from aws_cdk import aws_eks as eks
|
|
7222
|
+
|
|
7223
|
+
remote_network_config_property = eks.CfnCluster.RemoteNetworkConfigProperty(
|
|
7224
|
+
remote_node_networks=[eks.CfnCluster.RemoteNodeNetworkProperty(
|
|
7225
|
+
cidrs=["cidrs"]
|
|
7226
|
+
)],
|
|
7227
|
+
|
|
7228
|
+
# the properties below are optional
|
|
7229
|
+
remote_pod_networks=[eks.CfnCluster.RemotePodNetworkProperty(
|
|
7230
|
+
cidrs=["cidrs"]
|
|
7231
|
+
)]
|
|
7232
|
+
)
|
|
7233
|
+
'''
|
|
7234
|
+
if __debug__:
|
|
7235
|
+
type_hints = typing.get_type_hints(_typecheckingstub__29b132ee7bcaaae9fba08ec6dcbfb1b776b9043d57574e18c26975e2109c5a02)
|
|
7236
|
+
check_type(argname="argument remote_node_networks", value=remote_node_networks, expected_type=type_hints["remote_node_networks"])
|
|
7237
|
+
check_type(argname="argument remote_pod_networks", value=remote_pod_networks, expected_type=type_hints["remote_pod_networks"])
|
|
7238
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
7239
|
+
"remote_node_networks": remote_node_networks,
|
|
7240
|
+
}
|
|
7241
|
+
if remote_pod_networks is not None:
|
|
7242
|
+
self._values["remote_pod_networks"] = remote_pod_networks
|
|
7243
|
+
|
|
7244
|
+
@builtins.property
|
|
7245
|
+
def remote_node_networks(
|
|
7246
|
+
self,
|
|
7247
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCluster.RemoteNodeNetworkProperty"]]]:
|
|
7248
|
+
'''Network configuration of nodes run on-premises with EKS Hybrid Nodes.
|
|
7249
|
+
|
|
7250
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-remotenetworkconfig.html#cfn-eks-cluster-remotenetworkconfig-remotenodenetworks
|
|
7251
|
+
'''
|
|
7252
|
+
result = self._values.get("remote_node_networks")
|
|
7253
|
+
assert result is not None, "Required property 'remote_node_networks' is missing"
|
|
7254
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCluster.RemoteNodeNetworkProperty"]]], result)
|
|
7255
|
+
|
|
7256
|
+
@builtins.property
|
|
7257
|
+
def remote_pod_networks(
|
|
7258
|
+
self,
|
|
7259
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCluster.RemotePodNetworkProperty"]]]]:
|
|
7260
|
+
'''Network configuration of pods run on-premises with EKS Hybrid Nodes.
|
|
7261
|
+
|
|
7262
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-remotenetworkconfig.html#cfn-eks-cluster-remotenetworkconfig-remotepodnetworks
|
|
7263
|
+
'''
|
|
7264
|
+
result = self._values.get("remote_pod_networks")
|
|
7265
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCluster.RemotePodNetworkProperty"]]]], result)
|
|
7266
|
+
|
|
7267
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7268
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
7269
|
+
|
|
7270
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
7271
|
+
return not (rhs == self)
|
|
7272
|
+
|
|
7273
|
+
def __repr__(self) -> str:
|
|
7274
|
+
return "RemoteNetworkConfigProperty(%s)" % ", ".join(
|
|
7275
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
7276
|
+
)
|
|
7277
|
+
|
|
7278
|
+
@jsii.data_type(
|
|
7279
|
+
jsii_type="aws-cdk-lib.aws_eks.CfnCluster.RemoteNodeNetworkProperty",
|
|
7280
|
+
jsii_struct_bases=[],
|
|
7281
|
+
name_mapping={"cidrs": "cidrs"},
|
|
7282
|
+
)
|
|
7283
|
+
class RemoteNodeNetworkProperty:
|
|
7284
|
+
def __init__(self, *, cidrs: typing.Sequence[builtins.str]) -> None:
|
|
7285
|
+
'''Network configuration of nodes run on-premises with EKS Hybrid Nodes.
|
|
7286
|
+
|
|
7287
|
+
:param cidrs: Specifies the list of remote node CIDRs.
|
|
7288
|
+
|
|
7289
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-remotenodenetwork.html
|
|
7290
|
+
:exampleMetadata: fixture=_generated
|
|
7291
|
+
|
|
7292
|
+
Example::
|
|
7293
|
+
|
|
7294
|
+
# The code below shows an example of how to instantiate this type.
|
|
7295
|
+
# The values are placeholders you should change.
|
|
7296
|
+
from aws_cdk import aws_eks as eks
|
|
7297
|
+
|
|
7298
|
+
remote_node_network_property = eks.CfnCluster.RemoteNodeNetworkProperty(
|
|
7299
|
+
cidrs=["cidrs"]
|
|
7300
|
+
)
|
|
7301
|
+
'''
|
|
7302
|
+
if __debug__:
|
|
7303
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3c788baedbcb7f230114fd8b1ee014478977a6bcf1e2ac104dbaa8f48eda3f53)
|
|
7304
|
+
check_type(argname="argument cidrs", value=cidrs, expected_type=type_hints["cidrs"])
|
|
7305
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
7306
|
+
"cidrs": cidrs,
|
|
7307
|
+
}
|
|
7308
|
+
|
|
7309
|
+
@builtins.property
|
|
7310
|
+
def cidrs(self) -> typing.List[builtins.str]:
|
|
7311
|
+
'''Specifies the list of remote node CIDRs.
|
|
7312
|
+
|
|
7313
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-remotenodenetwork.html#cfn-eks-cluster-remotenodenetwork-cidrs
|
|
7314
|
+
'''
|
|
7315
|
+
result = self._values.get("cidrs")
|
|
7316
|
+
assert result is not None, "Required property 'cidrs' is missing"
|
|
7317
|
+
return typing.cast(typing.List[builtins.str], result)
|
|
7318
|
+
|
|
7319
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7320
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
7321
|
+
|
|
7322
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
7323
|
+
return not (rhs == self)
|
|
7324
|
+
|
|
7325
|
+
def __repr__(self) -> str:
|
|
7326
|
+
return "RemoteNodeNetworkProperty(%s)" % ", ".join(
|
|
7327
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
7328
|
+
)
|
|
7329
|
+
|
|
7330
|
+
@jsii.data_type(
|
|
7331
|
+
jsii_type="aws-cdk-lib.aws_eks.CfnCluster.RemotePodNetworkProperty",
|
|
7332
|
+
jsii_struct_bases=[],
|
|
7333
|
+
name_mapping={"cidrs": "cidrs"},
|
|
7334
|
+
)
|
|
7335
|
+
class RemotePodNetworkProperty:
|
|
7336
|
+
def __init__(self, *, cidrs: typing.Sequence[builtins.str]) -> None:
|
|
7337
|
+
'''Network configuration of pods run on-premises with EKS Hybrid Nodes.
|
|
7338
|
+
|
|
7339
|
+
:param cidrs: Specifies the list of remote pod CIDRs.
|
|
7340
|
+
|
|
7341
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-remotepodnetwork.html
|
|
7342
|
+
:exampleMetadata: fixture=_generated
|
|
7343
|
+
|
|
7344
|
+
Example::
|
|
7345
|
+
|
|
7346
|
+
# The code below shows an example of how to instantiate this type.
|
|
7347
|
+
# The values are placeholders you should change.
|
|
7348
|
+
from aws_cdk import aws_eks as eks
|
|
7349
|
+
|
|
7350
|
+
remote_pod_network_property = eks.CfnCluster.RemotePodNetworkProperty(
|
|
7351
|
+
cidrs=["cidrs"]
|
|
7352
|
+
)
|
|
7353
|
+
'''
|
|
7354
|
+
if __debug__:
|
|
7355
|
+
type_hints = typing.get_type_hints(_typecheckingstub__51b845e43ba054d464150b1f0fffb60f026af086df16857e5625284cc8b922c6)
|
|
7356
|
+
check_type(argname="argument cidrs", value=cidrs, expected_type=type_hints["cidrs"])
|
|
7357
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
7358
|
+
"cidrs": cidrs,
|
|
7359
|
+
}
|
|
7360
|
+
|
|
7361
|
+
@builtins.property
|
|
7362
|
+
def cidrs(self) -> typing.List[builtins.str]:
|
|
7363
|
+
'''Specifies the list of remote pod CIDRs.
|
|
7364
|
+
|
|
7365
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-remotepodnetwork.html#cfn-eks-cluster-remotepodnetwork-cidrs
|
|
7366
|
+
'''
|
|
7367
|
+
result = self._values.get("cidrs")
|
|
7368
|
+
assert result is not None, "Required property 'cidrs' is missing"
|
|
7369
|
+
return typing.cast(typing.List[builtins.str], result)
|
|
7370
|
+
|
|
7371
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7372
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
7373
|
+
|
|
7374
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
7375
|
+
return not (rhs == self)
|
|
7376
|
+
|
|
7377
|
+
def __repr__(self) -> str:
|
|
7378
|
+
return "RemotePodNetworkProperty(%s)" % ", ".join(
|
|
7379
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
7380
|
+
)
|
|
7381
|
+
|
|
6883
7382
|
@jsii.data_type(
|
|
6884
7383
|
jsii_type="aws-cdk-lib.aws_eks.CfnCluster.ResourcesVpcConfigProperty",
|
|
6885
7384
|
jsii_struct_bases=[],
|
|
@@ -7026,6 +7525,65 @@ class CfnCluster(
|
|
|
7026
7525
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
7027
7526
|
)
|
|
7028
7527
|
|
|
7528
|
+
@jsii.data_type(
|
|
7529
|
+
jsii_type="aws-cdk-lib.aws_eks.CfnCluster.StorageConfigProperty",
|
|
7530
|
+
jsii_struct_bases=[],
|
|
7531
|
+
name_mapping={"block_storage": "blockStorage"},
|
|
7532
|
+
)
|
|
7533
|
+
class StorageConfigProperty:
|
|
7534
|
+
def __init__(
|
|
7535
|
+
self,
|
|
7536
|
+
*,
|
|
7537
|
+
block_storage: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.BlockStorageProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7538
|
+
) -> None:
|
|
7539
|
+
'''Todo: add description.
|
|
7540
|
+
|
|
7541
|
+
:param block_storage: Todo: add description.
|
|
7542
|
+
|
|
7543
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-storageconfig.html
|
|
7544
|
+
:exampleMetadata: fixture=_generated
|
|
7545
|
+
|
|
7546
|
+
Example::
|
|
7547
|
+
|
|
7548
|
+
# The code below shows an example of how to instantiate this type.
|
|
7549
|
+
# The values are placeholders you should change.
|
|
7550
|
+
from aws_cdk import aws_eks as eks
|
|
7551
|
+
|
|
7552
|
+
storage_config_property = eks.CfnCluster.StorageConfigProperty(
|
|
7553
|
+
block_storage=eks.CfnCluster.BlockStorageProperty(
|
|
7554
|
+
enabled=False
|
|
7555
|
+
)
|
|
7556
|
+
)
|
|
7557
|
+
'''
|
|
7558
|
+
if __debug__:
|
|
7559
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7c0cf4e49e1451505acf9a439adfa8e025be8470793be5a9598964122b667fa8)
|
|
7560
|
+
check_type(argname="argument block_storage", value=block_storage, expected_type=type_hints["block_storage"])
|
|
7561
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
7562
|
+
if block_storage is not None:
|
|
7563
|
+
self._values["block_storage"] = block_storage
|
|
7564
|
+
|
|
7565
|
+
@builtins.property
|
|
7566
|
+
def block_storage(
|
|
7567
|
+
self,
|
|
7568
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.BlockStorageProperty"]]:
|
|
7569
|
+
'''Todo: add description.
|
|
7570
|
+
|
|
7571
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-storageconfig.html#cfn-eks-cluster-storageconfig-blockstorage
|
|
7572
|
+
'''
|
|
7573
|
+
result = self._values.get("block_storage")
|
|
7574
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.BlockStorageProperty"]], result)
|
|
7575
|
+
|
|
7576
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7577
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
7578
|
+
|
|
7579
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
7580
|
+
return not (rhs == self)
|
|
7581
|
+
|
|
7582
|
+
def __repr__(self) -> str:
|
|
7583
|
+
return "StorageConfigProperty(%s)" % ", ".join(
|
|
7584
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
7585
|
+
)
|
|
7586
|
+
|
|
7029
7587
|
@jsii.data_type(
|
|
7030
7588
|
jsii_type="aws-cdk-lib.aws_eks.CfnCluster.UpgradePolicyProperty",
|
|
7031
7589
|
jsii_struct_bases=[],
|
|
@@ -7147,11 +7705,14 @@ class CfnCluster(
|
|
|
7147
7705
|
"role_arn": "roleArn",
|
|
7148
7706
|
"access_config": "accessConfig",
|
|
7149
7707
|
"bootstrap_self_managed_addons": "bootstrapSelfManagedAddons",
|
|
7708
|
+
"compute_config": "computeConfig",
|
|
7150
7709
|
"encryption_config": "encryptionConfig",
|
|
7151
7710
|
"kubernetes_network_config": "kubernetesNetworkConfig",
|
|
7152
7711
|
"logging": "logging",
|
|
7153
7712
|
"name": "name",
|
|
7154
7713
|
"outpost_config": "outpostConfig",
|
|
7714
|
+
"remote_network_config": "remoteNetworkConfig",
|
|
7715
|
+
"storage_config": "storageConfig",
|
|
7155
7716
|
"tags": "tags",
|
|
7156
7717
|
"upgrade_policy": "upgradePolicy",
|
|
7157
7718
|
"version": "version",
|
|
@@ -7166,11 +7727,14 @@ class CfnClusterProps:
|
|
|
7166
7727
|
role_arn: builtins.str,
|
|
7167
7728
|
access_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.AccessConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7168
7729
|
bootstrap_self_managed_addons: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
7730
|
+
compute_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.ComputeConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7169
7731
|
encryption_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.EncryptionConfigProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
7170
7732
|
kubernetes_network_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.KubernetesNetworkConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7171
7733
|
logging: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.LoggingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7172
7734
|
name: typing.Optional[builtins.str] = None,
|
|
7173
7735
|
outpost_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.OutpostConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7736
|
+
remote_network_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.RemoteNetworkConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7737
|
+
storage_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.StorageConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7174
7738
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7175
7739
|
upgrade_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.UpgradePolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7176
7740
|
version: typing.Optional[builtins.str] = None,
|
|
@@ -7182,11 +7746,14 @@ class CfnClusterProps:
|
|
|
7182
7746
|
:param role_arn: The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf. For more information, see `Amazon EKS Service IAM Role <https://docs.aws.amazon.com/eks/latest/userguide/service_IAM_role.html>`_ in the **Amazon EKS User Guide** .
|
|
7183
7747
|
:param access_config: The access configuration for the cluster.
|
|
7184
7748
|
:param bootstrap_self_managed_addons: If you set this value to ``False`` when creating a cluster, the default networking add-ons will not be installed. The default networking addons include vpc-cni, coredns, and kube-proxy. Use this option when you plan to install third-party alternative add-ons or self-manage the default networking add-ons.
|
|
7749
|
+
:param compute_config: Todo: add description.
|
|
7185
7750
|
:param encryption_config: The encryption configuration for the cluster.
|
|
7186
7751
|
:param kubernetes_network_config: The Kubernetes network configuration for the cluster.
|
|
7187
7752
|
:param logging: The logging configuration for your cluster.
|
|
7188
7753
|
:param name: The unique name to give to your cluster. The name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an alphanumeric character and can't be longer than 100 characters. The name must be unique within the AWS Region and AWS account that you're creating the cluster in. Note that underscores can't be used in AWS CloudFormation .
|
|
7189
7754
|
:param outpost_config: An object representing the configuration of your local Amazon EKS cluster on an AWS Outpost. This object isn't available for clusters on the AWS cloud.
|
|
7755
|
+
:param remote_network_config: Configuration fields for specifying on-premises node and pod CIDRs that are external to the VPC passed during cluster creation.
|
|
7756
|
+
:param storage_config: Todo: add description.
|
|
7190
7757
|
:param tags: The metadata that you apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Cluster tags don't propagate to any other resources associated with the cluster. .. epigraph:: You must have the ``eks:TagResource`` and ``eks:UntagResource`` permissions for your `IAM principal <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html>`_ to manage the AWS CloudFormation stack. If you don't have these permissions, there might be unexpected behavior with stack-level tags propagating to the resource during resource creation and update.
|
|
7191
7758
|
:param upgrade_policy: This value indicates if extended support is enabled or disabled for the cluster. `Learn more about EKS Extended Support in the EKS User Guide. <https://docs.aws.amazon.com/eks/latest/userguide/extended-support-control.html>`_
|
|
7192
7759
|
:param version: The desired Kubernetes version for your cluster. If you don't specify a value here, the default version available in Amazon EKS is used. .. epigraph:: The default version might not be the latest version available.
|
|
@@ -7219,6 +7786,11 @@ class CfnClusterProps:
|
|
|
7219
7786
|
bootstrap_cluster_creator_admin_permissions=False
|
|
7220
7787
|
),
|
|
7221
7788
|
bootstrap_self_managed_addons=False,
|
|
7789
|
+
compute_config=eks.CfnCluster.ComputeConfigProperty(
|
|
7790
|
+
enabled=False,
|
|
7791
|
+
node_pools=["nodePools"],
|
|
7792
|
+
node_role_arn="nodeRoleArn"
|
|
7793
|
+
),
|
|
7222
7794
|
encryption_config=[eks.CfnCluster.EncryptionConfigProperty(
|
|
7223
7795
|
provider=eks.CfnCluster.ProviderProperty(
|
|
7224
7796
|
key_arn="keyArn"
|
|
@@ -7226,6 +7798,9 @@ class CfnClusterProps:
|
|
|
7226
7798
|
resources=["resources"]
|
|
7227
7799
|
)],
|
|
7228
7800
|
kubernetes_network_config=eks.CfnCluster.KubernetesNetworkConfigProperty(
|
|
7801
|
+
elastic_load_balancing=eks.CfnCluster.ElasticLoadBalancingProperty(
|
|
7802
|
+
enabled=False
|
|
7803
|
+
),
|
|
7229
7804
|
ip_family="ipFamily",
|
|
7230
7805
|
service_ipv4_cidr="serviceIpv4Cidr",
|
|
7231
7806
|
service_ipv6_cidr="serviceIpv6Cidr"
|
|
@@ -7247,6 +7822,21 @@ class CfnClusterProps:
|
|
|
7247
7822
|
group_name="groupName"
|
|
7248
7823
|
)
|
|
7249
7824
|
),
|
|
7825
|
+
remote_network_config=eks.CfnCluster.RemoteNetworkConfigProperty(
|
|
7826
|
+
remote_node_networks=[eks.CfnCluster.RemoteNodeNetworkProperty(
|
|
7827
|
+
cidrs=["cidrs"]
|
|
7828
|
+
)],
|
|
7829
|
+
|
|
7830
|
+
# the properties below are optional
|
|
7831
|
+
remote_pod_networks=[eks.CfnCluster.RemotePodNetworkProperty(
|
|
7832
|
+
cidrs=["cidrs"]
|
|
7833
|
+
)]
|
|
7834
|
+
),
|
|
7835
|
+
storage_config=eks.CfnCluster.StorageConfigProperty(
|
|
7836
|
+
block_storage=eks.CfnCluster.BlockStorageProperty(
|
|
7837
|
+
enabled=False
|
|
7838
|
+
)
|
|
7839
|
+
),
|
|
7250
7840
|
tags=[CfnTag(
|
|
7251
7841
|
key="key",
|
|
7252
7842
|
value="value"
|
|
@@ -7266,11 +7856,14 @@ class CfnClusterProps:
|
|
|
7266
7856
|
check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
|
|
7267
7857
|
check_type(argname="argument access_config", value=access_config, expected_type=type_hints["access_config"])
|
|
7268
7858
|
check_type(argname="argument bootstrap_self_managed_addons", value=bootstrap_self_managed_addons, expected_type=type_hints["bootstrap_self_managed_addons"])
|
|
7859
|
+
check_type(argname="argument compute_config", value=compute_config, expected_type=type_hints["compute_config"])
|
|
7269
7860
|
check_type(argname="argument encryption_config", value=encryption_config, expected_type=type_hints["encryption_config"])
|
|
7270
7861
|
check_type(argname="argument kubernetes_network_config", value=kubernetes_network_config, expected_type=type_hints["kubernetes_network_config"])
|
|
7271
7862
|
check_type(argname="argument logging", value=logging, expected_type=type_hints["logging"])
|
|
7272
7863
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
7273
7864
|
check_type(argname="argument outpost_config", value=outpost_config, expected_type=type_hints["outpost_config"])
|
|
7865
|
+
check_type(argname="argument remote_network_config", value=remote_network_config, expected_type=type_hints["remote_network_config"])
|
|
7866
|
+
check_type(argname="argument storage_config", value=storage_config, expected_type=type_hints["storage_config"])
|
|
7274
7867
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
7275
7868
|
check_type(argname="argument upgrade_policy", value=upgrade_policy, expected_type=type_hints["upgrade_policy"])
|
|
7276
7869
|
check_type(argname="argument version", value=version, expected_type=type_hints["version"])
|
|
@@ -7283,6 +7876,8 @@ class CfnClusterProps:
|
|
|
7283
7876
|
self._values["access_config"] = access_config
|
|
7284
7877
|
if bootstrap_self_managed_addons is not None:
|
|
7285
7878
|
self._values["bootstrap_self_managed_addons"] = bootstrap_self_managed_addons
|
|
7879
|
+
if compute_config is not None:
|
|
7880
|
+
self._values["compute_config"] = compute_config
|
|
7286
7881
|
if encryption_config is not None:
|
|
7287
7882
|
self._values["encryption_config"] = encryption_config
|
|
7288
7883
|
if kubernetes_network_config is not None:
|
|
@@ -7293,6 +7888,10 @@ class CfnClusterProps:
|
|
|
7293
7888
|
self._values["name"] = name
|
|
7294
7889
|
if outpost_config is not None:
|
|
7295
7890
|
self._values["outpost_config"] = outpost_config
|
|
7891
|
+
if remote_network_config is not None:
|
|
7892
|
+
self._values["remote_network_config"] = remote_network_config
|
|
7893
|
+
if storage_config is not None:
|
|
7894
|
+
self._values["storage_config"] = storage_config
|
|
7296
7895
|
if tags is not None:
|
|
7297
7896
|
self._values["tags"] = tags
|
|
7298
7897
|
if upgrade_policy is not None:
|
|
@@ -7354,6 +7953,17 @@ class CfnClusterProps:
|
|
|
7354
7953
|
result = self._values.get("bootstrap_self_managed_addons")
|
|
7355
7954
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
7356
7955
|
|
|
7956
|
+
@builtins.property
|
|
7957
|
+
def compute_config(
|
|
7958
|
+
self,
|
|
7959
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCluster.ComputeConfigProperty]]:
|
|
7960
|
+
'''Todo: add description.
|
|
7961
|
+
|
|
7962
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-cluster.html#cfn-eks-cluster-computeconfig
|
|
7963
|
+
'''
|
|
7964
|
+
result = self._values.get("compute_config")
|
|
7965
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCluster.ComputeConfigProperty]], result)
|
|
7966
|
+
|
|
7357
7967
|
@builtins.property
|
|
7358
7968
|
def encryption_config(
|
|
7359
7969
|
self,
|
|
@@ -7411,6 +8021,28 @@ class CfnClusterProps:
|
|
|
7411
8021
|
result = self._values.get("outpost_config")
|
|
7412
8022
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCluster.OutpostConfigProperty]], result)
|
|
7413
8023
|
|
|
8024
|
+
@builtins.property
|
|
8025
|
+
def remote_network_config(
|
|
8026
|
+
self,
|
|
8027
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCluster.RemoteNetworkConfigProperty]]:
|
|
8028
|
+
'''Configuration fields for specifying on-premises node and pod CIDRs that are external to the VPC passed during cluster creation.
|
|
8029
|
+
|
|
8030
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-cluster.html#cfn-eks-cluster-remotenetworkconfig
|
|
8031
|
+
'''
|
|
8032
|
+
result = self._values.get("remote_network_config")
|
|
8033
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCluster.RemoteNetworkConfigProperty]], result)
|
|
8034
|
+
|
|
8035
|
+
@builtins.property
|
|
8036
|
+
def storage_config(
|
|
8037
|
+
self,
|
|
8038
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCluster.StorageConfigProperty]]:
|
|
8039
|
+
'''Todo: add description.
|
|
8040
|
+
|
|
8041
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-cluster.html#cfn-eks-cluster-storageconfig
|
|
8042
|
+
'''
|
|
8043
|
+
result = self._values.get("storage_config")
|
|
8044
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCluster.StorageConfigProperty]], result)
|
|
8045
|
+
|
|
7414
8046
|
@builtins.property
|
|
7415
8047
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
7416
8048
|
'''The metadata that you apply to the cluster to assist with categorization and organization.
|
|
@@ -20720,11 +21352,14 @@ def _typecheckingstub__d3e62a858014f3867f3039d1328d57223fb0d16e3fb6d1e2d79279938
|
|
|
20720
21352
|
role_arn: builtins.str,
|
|
20721
21353
|
access_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.AccessConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
20722
21354
|
bootstrap_self_managed_addons: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
21355
|
+
compute_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.ComputeConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
20723
21356
|
encryption_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.EncryptionConfigProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
20724
21357
|
kubernetes_network_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.KubernetesNetworkConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
20725
21358
|
logging: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.LoggingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
20726
21359
|
name: typing.Optional[builtins.str] = None,
|
|
20727
21360
|
outpost_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.OutpostConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
21361
|
+
remote_network_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.RemoteNetworkConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
21362
|
+
storage_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.StorageConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
20728
21363
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
20729
21364
|
upgrade_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.UpgradePolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
20730
21365
|
version: typing.Optional[builtins.str] = None,
|
|
@@ -20769,6 +21404,12 @@ def _typecheckingstub__1b3725246139251af199def1d548b17a13e8ddd4df825377563ea01cd
|
|
|
20769
21404
|
"""Type checking stubs"""
|
|
20770
21405
|
pass
|
|
20771
21406
|
|
|
21407
|
+
def _typecheckingstub__5d35f88b28db161e1414d604c41ffc1d10fcf76351a0503d110f81158a8e15ca(
|
|
21408
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCluster.ComputeConfigProperty]],
|
|
21409
|
+
) -> None:
|
|
21410
|
+
"""Type checking stubs"""
|
|
21411
|
+
pass
|
|
21412
|
+
|
|
20772
21413
|
def _typecheckingstub__b161fda542258d1cd8a20fecd3943cacecb658f19ab16b918baf49908459644c(
|
|
20773
21414
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnCluster.EncryptionConfigProperty]]]],
|
|
20774
21415
|
) -> None:
|
|
@@ -20799,6 +21440,18 @@ def _typecheckingstub__f8fa649bbaac6b12d9fb99e325d6fa46e4aea0d9d4d376abd8c7ac600
|
|
|
20799
21440
|
"""Type checking stubs"""
|
|
20800
21441
|
pass
|
|
20801
21442
|
|
|
21443
|
+
def _typecheckingstub__cbca5e74535463c8d56fe42358d9cdf712c85039267d6580c6b1dbd855c5f255(
|
|
21444
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCluster.RemoteNetworkConfigProperty]],
|
|
21445
|
+
) -> None:
|
|
21446
|
+
"""Type checking stubs"""
|
|
21447
|
+
pass
|
|
21448
|
+
|
|
21449
|
+
def _typecheckingstub__d43c0cb2280b293bbb9f09aa10579d43dbb7df4786771157ba149230c817ecfa(
|
|
21450
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCluster.StorageConfigProperty]],
|
|
21451
|
+
) -> None:
|
|
21452
|
+
"""Type checking stubs"""
|
|
21453
|
+
pass
|
|
21454
|
+
|
|
20802
21455
|
def _typecheckingstub__201bfcb16f7ebd474e1c66a732f38f2234c0211f4a0ed45e7caebec7a8eb318a(
|
|
20803
21456
|
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
20804
21457
|
) -> None:
|
|
@@ -20831,6 +21484,13 @@ def _typecheckingstub__4bfbf6adbd6203efb1ecf28834fc96b1030344f6fe766203b105462b9
|
|
|
20831
21484
|
"""Type checking stubs"""
|
|
20832
21485
|
pass
|
|
20833
21486
|
|
|
21487
|
+
def _typecheckingstub__11cdae187ae128dcf0eca6a85c8d94b7c2ef69a0d54a9bd1917a1e27f48a5125(
|
|
21488
|
+
*,
|
|
21489
|
+
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
21490
|
+
) -> None:
|
|
21491
|
+
"""Type checking stubs"""
|
|
21492
|
+
pass
|
|
21493
|
+
|
|
20834
21494
|
def _typecheckingstub__bf130126df3bc60611c7a3c0cab41949e35646410234341f59bc4dd2629f5996(
|
|
20835
21495
|
*,
|
|
20836
21496
|
enabled_types: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.LoggingTypeConfigProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
@@ -20838,6 +21498,15 @@ def _typecheckingstub__bf130126df3bc60611c7a3c0cab41949e35646410234341f59bc4dd26
|
|
|
20838
21498
|
"""Type checking stubs"""
|
|
20839
21499
|
pass
|
|
20840
21500
|
|
|
21501
|
+
def _typecheckingstub__340acb2fac13d871050a5222d012205ae59e347bfba164c5431785621f6661b6(
|
|
21502
|
+
*,
|
|
21503
|
+
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
21504
|
+
node_pools: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
21505
|
+
node_role_arn: typing.Optional[builtins.str] = None,
|
|
21506
|
+
) -> None:
|
|
21507
|
+
"""Type checking stubs"""
|
|
21508
|
+
pass
|
|
21509
|
+
|
|
20841
21510
|
def _typecheckingstub__d660e36a8e8c346e58bf586d09e62d3f36938b9cb7b40e9842c007af8090a1d3(
|
|
20842
21511
|
*,
|
|
20843
21512
|
group_name: typing.Optional[builtins.str] = None,
|
|
@@ -20845,6 +21514,13 @@ def _typecheckingstub__d660e36a8e8c346e58bf586d09e62d3f36938b9cb7b40e9842c007af8
|
|
|
20845
21514
|
"""Type checking stubs"""
|
|
20846
21515
|
pass
|
|
20847
21516
|
|
|
21517
|
+
def _typecheckingstub__41c8959626c6cd4c3ff5a15cfb2de0bea1a0b654c1bd2e0a62c4841ab19277cc(
|
|
21518
|
+
*,
|
|
21519
|
+
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
21520
|
+
) -> None:
|
|
21521
|
+
"""Type checking stubs"""
|
|
21522
|
+
pass
|
|
21523
|
+
|
|
20848
21524
|
def _typecheckingstub__f49095254b4d4121f694873b18c2ef5026ef5539eb56b045195b577601e55f41(
|
|
20849
21525
|
*,
|
|
20850
21526
|
provider: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.ProviderProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -20855,6 +21531,7 @@ def _typecheckingstub__f49095254b4d4121f694873b18c2ef5026ef5539eb56b045195b57760
|
|
|
20855
21531
|
|
|
20856
21532
|
def _typecheckingstub__0a92b4e070a67c74edb8714df451b4d215084e3116055e205e49b92778b8704f(
|
|
20857
21533
|
*,
|
|
21534
|
+
elastic_load_balancing: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.ElasticLoadBalancingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
20858
21535
|
ip_family: typing.Optional[builtins.str] = None,
|
|
20859
21536
|
service_ipv4_cidr: typing.Optional[builtins.str] = None,
|
|
20860
21537
|
service_ipv6_cidr: typing.Optional[builtins.str] = None,
|
|
@@ -20892,6 +21569,28 @@ def _typecheckingstub__0335c5b37409b58aeeda75dd12fbc1f97e1731a3d1f059652c77cea88
|
|
|
20892
21569
|
"""Type checking stubs"""
|
|
20893
21570
|
pass
|
|
20894
21571
|
|
|
21572
|
+
def _typecheckingstub__29b132ee7bcaaae9fba08ec6dcbfb1b776b9043d57574e18c26975e2109c5a02(
|
|
21573
|
+
*,
|
|
21574
|
+
remote_node_networks: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.RemoteNodeNetworkProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
21575
|
+
remote_pod_networks: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.RemotePodNetworkProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
21576
|
+
) -> None:
|
|
21577
|
+
"""Type checking stubs"""
|
|
21578
|
+
pass
|
|
21579
|
+
|
|
21580
|
+
def _typecheckingstub__3c788baedbcb7f230114fd8b1ee014478977a6bcf1e2ac104dbaa8f48eda3f53(
|
|
21581
|
+
*,
|
|
21582
|
+
cidrs: typing.Sequence[builtins.str],
|
|
21583
|
+
) -> None:
|
|
21584
|
+
"""Type checking stubs"""
|
|
21585
|
+
pass
|
|
21586
|
+
|
|
21587
|
+
def _typecheckingstub__51b845e43ba054d464150b1f0fffb60f026af086df16857e5625284cc8b922c6(
|
|
21588
|
+
*,
|
|
21589
|
+
cidrs: typing.Sequence[builtins.str],
|
|
21590
|
+
) -> None:
|
|
21591
|
+
"""Type checking stubs"""
|
|
21592
|
+
pass
|
|
21593
|
+
|
|
20895
21594
|
def _typecheckingstub__986289b8a80017f390950fa94e8370d9961848f3cf42f347c78c0c91f0d06148(
|
|
20896
21595
|
*,
|
|
20897
21596
|
subnet_ids: typing.Sequence[builtins.str],
|
|
@@ -20903,6 +21602,13 @@ def _typecheckingstub__986289b8a80017f390950fa94e8370d9961848f3cf42f347c78c0c91f
|
|
|
20903
21602
|
"""Type checking stubs"""
|
|
20904
21603
|
pass
|
|
20905
21604
|
|
|
21605
|
+
def _typecheckingstub__7c0cf4e49e1451505acf9a439adfa8e025be8470793be5a9598964122b667fa8(
|
|
21606
|
+
*,
|
|
21607
|
+
block_storage: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.BlockStorageProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
21608
|
+
) -> None:
|
|
21609
|
+
"""Type checking stubs"""
|
|
21610
|
+
pass
|
|
21611
|
+
|
|
20906
21612
|
def _typecheckingstub__86073c3bbbda3151a59b8c04b7d831693a2bba55bb8a817197ab0618c69197b6(
|
|
20907
21613
|
*,
|
|
20908
21614
|
support_type: typing.Optional[builtins.str] = None,
|
|
@@ -20923,11 +21629,14 @@ def _typecheckingstub__270f142a59c249328ab174c5b0484cfdae6e3110ab52578dbe783d6f8
|
|
|
20923
21629
|
role_arn: builtins.str,
|
|
20924
21630
|
access_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.AccessConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
20925
21631
|
bootstrap_self_managed_addons: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
21632
|
+
compute_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.ComputeConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
20926
21633
|
encryption_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.EncryptionConfigProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
20927
21634
|
kubernetes_network_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.KubernetesNetworkConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
20928
21635
|
logging: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.LoggingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
20929
21636
|
name: typing.Optional[builtins.str] = None,
|
|
20930
21637
|
outpost_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.OutpostConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
21638
|
+
remote_network_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.RemoteNetworkConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
21639
|
+
storage_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.StorageConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
20931
21640
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
20932
21641
|
upgrade_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.UpgradePolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
20933
21642
|
version: typing.Optional[builtins.str] = None,
|