aws-cdk-lib 2.189.1__py3-none-any.whl → 2.190.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.189.1.jsii.tgz → aws-cdk-lib@2.190.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +6 -6
- aws_cdk/aws_apigatewayv2/__init__.py +374 -6
- aws_cdk/aws_applicationautoscaling/__init__.py +16 -10
- aws_cdk/aws_applicationsignals/__init__.py +204 -31
- aws_cdk/aws_backup/__init__.py +0 -41
- aws_cdk/aws_batch/__init__.py +215 -0
- aws_cdk/aws_bedrock/__init__.py +287 -0
- aws_cdk/aws_cleanrooms/__init__.py +1392 -78
- aws_cdk/aws_cloudfront/__init__.py +1 -0
- aws_cdk/aws_cloudtrail/__init__.py +24 -26
- aws_cdk/aws_codebuild/__init__.py +59 -7
- aws_cdk/aws_dms/__init__.py +43 -0
- aws_cdk/aws_ec2/__init__.py +364 -30
- aws_cdk/aws_ecs/__init__.py +36 -5
- aws_cdk/aws_eks/__init__.py +2 -100
- aws_cdk/aws_elasticache/__init__.py +6 -11
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +341 -0
- aws_cdk/aws_events/__init__.py +67 -13
- aws_cdk/aws_fsx/__init__.py +9 -21
- aws_cdk/aws_iam/__init__.py +1 -1
- aws_cdk/aws_iot/__init__.py +6 -6
- aws_cdk/aws_kafkaconnect/__init__.py +2 -2
- aws_cdk/aws_kinesis/__init__.py +44 -0
- aws_cdk/aws_lex/__init__.py +615 -39
- aws_cdk/aws_location/__init__.py +4 -4
- aws_cdk/aws_macie/__init__.py +14 -3
- aws_cdk/aws_memorydb/__init__.py +87 -0
- aws_cdk/aws_msk/__init__.py +226 -127
- aws_cdk/aws_neptune/__init__.py +0 -8
- aws_cdk/aws_opensearchservice/__init__.py +64 -56
- aws_cdk/aws_paymentcryptography/__init__.py +41 -0
- aws_cdk/aws_qbusiness/__init__.py +175 -3
- aws_cdk/aws_quicksight/__init__.py +393 -0
- aws_cdk/aws_rds/__init__.py +113 -120
- aws_cdk/aws_redshiftserverless/__init__.py +4 -14
- aws_cdk/aws_route53resolver/__init__.py +60 -9
- aws_cdk/aws_s3/__init__.py +34 -1
- aws_cdk/aws_s3_deployment/__init__.py +202 -5
- aws_cdk/aws_sagemaker/__init__.py +40 -40
- aws_cdk/aws_ssmquicksetup/__init__.py +3 -3
- aws_cdk/aws_stepfunctions/__init__.py +720 -45
- aws_cdk/aws_transfer/__init__.py +55 -2
- aws_cdk/pipelines/__init__.py +1 -2
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.190.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.190.0.dist-info}/RECORD +51 -51
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.190.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.190.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.190.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.190.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ecs/__init__.py
CHANGED
|
@@ -543,7 +543,7 @@ To grant a principal permission to run your `TaskDefinition`, you can use the `T
|
|
|
543
543
|
# role: iam.IGrantable
|
|
544
544
|
|
|
545
545
|
task_def = ecs.TaskDefinition(self, "TaskDef",
|
|
546
|
-
cpu="
|
|
546
|
+
cpu="512",
|
|
547
547
|
memory_mi_b="512",
|
|
548
548
|
compatibility=ecs.Compatibility.EC2_AND_FARGATE
|
|
549
549
|
)
|
|
@@ -30260,6 +30260,7 @@ class FirelensOptions:
|
|
|
30260
30260
|
"labels": "labels",
|
|
30261
30261
|
"tag": "tag",
|
|
30262
30262
|
"address": "address",
|
|
30263
|
+
"async_": "async",
|
|
30263
30264
|
"async_connect": "asyncConnect",
|
|
30264
30265
|
"buffer_limit": "bufferLimit",
|
|
30265
30266
|
"max_retries": "maxRetries",
|
|
@@ -30276,6 +30277,7 @@ class FluentdLogDriverProps(BaseLogDriverProps):
|
|
|
30276
30277
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
30277
30278
|
tag: typing.Optional[builtins.str] = None,
|
|
30278
30279
|
address: typing.Optional[builtins.str] = None,
|
|
30280
|
+
async_: typing.Optional[builtins.bool] = None,
|
|
30279
30281
|
async_connect: typing.Optional[builtins.bool] = None,
|
|
30280
30282
|
buffer_limit: typing.Optional[jsii.Number] = None,
|
|
30281
30283
|
max_retries: typing.Optional[jsii.Number] = None,
|
|
@@ -30291,7 +30293,8 @@ class FluentdLogDriverProps(BaseLogDriverProps):
|
|
|
30291
30293
|
:param labels: The labels option takes an array of keys. If there is collision between label and env keys, the value of the env takes precedence. Adds additional fields to the extra attributes of a logging message. Default: - No labels
|
|
30292
30294
|
:param tag: By default, Docker uses the first 12 characters of the container ID to tag log messages. Refer to the log tag option documentation for customizing the log tag format. Default: - The first 12 characters of the container ID
|
|
30293
30295
|
:param address: By default, the logging driver connects to localhost:24224. Supply the address option to connect to a different address. tcp(default) and unix sockets are supported. Default: - address not set.
|
|
30294
|
-
:param
|
|
30296
|
+
:param async_: Docker connects to Fluentd in the background. Messages are buffered until the connection is established. Default: - false
|
|
30297
|
+
:param async_connect: (deprecated) Docker connects to Fluentd in the background. Messages are buffered until the connection is established. Default: - false
|
|
30295
30298
|
:param buffer_limit: The amount of data to buffer before flushing to disk. Default: - The amount of RAM available to the container.
|
|
30296
30299
|
:param max_retries: The maximum number of retries. Default: - 4294967295 (2**32 - 1).
|
|
30297
30300
|
:param retry_wait: How long to wait between retries. Default: - 1 second
|
|
@@ -30308,6 +30311,7 @@ class FluentdLogDriverProps(BaseLogDriverProps):
|
|
|
30308
30311
|
|
|
30309
30312
|
fluentd_log_driver_props = ecs.FluentdLogDriverProps(
|
|
30310
30313
|
address="address",
|
|
30314
|
+
async=False,
|
|
30311
30315
|
async_connect=False,
|
|
30312
30316
|
buffer_limit=123,
|
|
30313
30317
|
env=["env"],
|
|
@@ -30326,6 +30330,7 @@ class FluentdLogDriverProps(BaseLogDriverProps):
|
|
|
30326
30330
|
check_type(argname="argument labels", value=labels, expected_type=type_hints["labels"])
|
|
30327
30331
|
check_type(argname="argument tag", value=tag, expected_type=type_hints["tag"])
|
|
30328
30332
|
check_type(argname="argument address", value=address, expected_type=type_hints["address"])
|
|
30333
|
+
check_type(argname="argument async_", value=async_, expected_type=type_hints["async_"])
|
|
30329
30334
|
check_type(argname="argument async_connect", value=async_connect, expected_type=type_hints["async_connect"])
|
|
30330
30335
|
check_type(argname="argument buffer_limit", value=buffer_limit, expected_type=type_hints["buffer_limit"])
|
|
30331
30336
|
check_type(argname="argument max_retries", value=max_retries, expected_type=type_hints["max_retries"])
|
|
@@ -30342,6 +30347,8 @@ class FluentdLogDriverProps(BaseLogDriverProps):
|
|
|
30342
30347
|
self._values["tag"] = tag
|
|
30343
30348
|
if address is not None:
|
|
30344
30349
|
self._values["address"] = address
|
|
30350
|
+
if async_ is not None:
|
|
30351
|
+
self._values["async_"] = async_
|
|
30345
30352
|
if async_connect is not None:
|
|
30346
30353
|
self._values["async_connect"] = async_connect
|
|
30347
30354
|
if buffer_limit is not None:
|
|
@@ -30418,7 +30425,7 @@ class FluentdLogDriverProps(BaseLogDriverProps):
|
|
|
30418
30425
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
30419
30426
|
|
|
30420
30427
|
@builtins.property
|
|
30421
|
-
def
|
|
30428
|
+
def async_(self) -> typing.Optional[builtins.bool]:
|
|
30422
30429
|
'''Docker connects to Fluentd in the background.
|
|
30423
30430
|
|
|
30424
30431
|
Messages are buffered until
|
|
@@ -30426,6 +30433,22 @@ class FluentdLogDriverProps(BaseLogDriverProps):
|
|
|
30426
30433
|
|
|
30427
30434
|
:default: - false
|
|
30428
30435
|
'''
|
|
30436
|
+
result = self._values.get("async_")
|
|
30437
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
30438
|
+
|
|
30439
|
+
@builtins.property
|
|
30440
|
+
def async_connect(self) -> typing.Optional[builtins.bool]:
|
|
30441
|
+
'''(deprecated) Docker connects to Fluentd in the background.
|
|
30442
|
+
|
|
30443
|
+
Messages are buffered until
|
|
30444
|
+
the connection is established.
|
|
30445
|
+
|
|
30446
|
+
:default: - false
|
|
30447
|
+
|
|
30448
|
+
:deprecated: use ``async`` instead
|
|
30449
|
+
|
|
30450
|
+
:stability: deprecated
|
|
30451
|
+
'''
|
|
30429
30452
|
result = self._values.get("async_connect")
|
|
30430
30453
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
30431
30454
|
|
|
@@ -32591,6 +32614,7 @@ class LogDrivers(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_ecs.LogDriv
|
|
|
32591
32614
|
cls,
|
|
32592
32615
|
*,
|
|
32593
32616
|
address: typing.Optional[builtins.str] = None,
|
|
32617
|
+
async_: typing.Optional[builtins.bool] = None,
|
|
32594
32618
|
async_connect: typing.Optional[builtins.bool] = None,
|
|
32595
32619
|
buffer_limit: typing.Optional[jsii.Number] = None,
|
|
32596
32620
|
max_retries: typing.Optional[jsii.Number] = None,
|
|
@@ -32604,7 +32628,8 @@ class LogDrivers(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_ecs.LogDriv
|
|
|
32604
32628
|
'''Creates a log driver configuration that sends log information to fluentd Logs.
|
|
32605
32629
|
|
|
32606
32630
|
:param address: By default, the logging driver connects to localhost:24224. Supply the address option to connect to a different address. tcp(default) and unix sockets are supported. Default: - address not set.
|
|
32607
|
-
:param
|
|
32631
|
+
:param async_: Docker connects to Fluentd in the background. Messages are buffered until the connection is established. Default: - false
|
|
32632
|
+
:param async_connect: (deprecated) Docker connects to Fluentd in the background. Messages are buffered until the connection is established. Default: - false
|
|
32608
32633
|
:param buffer_limit: The amount of data to buffer before flushing to disk. Default: - The amount of RAM available to the container.
|
|
32609
32634
|
:param max_retries: The maximum number of retries. Default: - 4294967295 (2**32 - 1).
|
|
32610
32635
|
:param retry_wait: How long to wait between retries. Default: - 1 second
|
|
@@ -32616,6 +32641,7 @@ class LogDrivers(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_ecs.LogDriv
|
|
|
32616
32641
|
'''
|
|
32617
32642
|
props = FluentdLogDriverProps(
|
|
32618
32643
|
address=address,
|
|
32644
|
+
async_=async_,
|
|
32619
32645
|
async_connect=async_connect,
|
|
32620
32646
|
buffer_limit=buffer_limit,
|
|
32621
32647
|
max_retries=max_retries,
|
|
@@ -40488,6 +40514,7 @@ class FluentdLogDriver(
|
|
|
40488
40514
|
|
|
40489
40515
|
fluentd_log_driver = ecs.FluentdLogDriver(
|
|
40490
40516
|
address="address",
|
|
40517
|
+
async=False,
|
|
40491
40518
|
async_connect=False,
|
|
40492
40519
|
buffer_limit=123,
|
|
40493
40520
|
env=["env"],
|
|
@@ -40504,6 +40531,7 @@ class FluentdLogDriver(
|
|
|
40504
40531
|
self,
|
|
40505
40532
|
*,
|
|
40506
40533
|
address: typing.Optional[builtins.str] = None,
|
|
40534
|
+
async_: typing.Optional[builtins.bool] = None,
|
|
40507
40535
|
async_connect: typing.Optional[builtins.bool] = None,
|
|
40508
40536
|
buffer_limit: typing.Optional[jsii.Number] = None,
|
|
40509
40537
|
max_retries: typing.Optional[jsii.Number] = None,
|
|
@@ -40517,7 +40545,8 @@ class FluentdLogDriver(
|
|
|
40517
40545
|
'''Constructs a new instance of the FluentdLogDriver class.
|
|
40518
40546
|
|
|
40519
40547
|
:param address: By default, the logging driver connects to localhost:24224. Supply the address option to connect to a different address. tcp(default) and unix sockets are supported. Default: - address not set.
|
|
40520
|
-
:param
|
|
40548
|
+
:param async_: Docker connects to Fluentd in the background. Messages are buffered until the connection is established. Default: - false
|
|
40549
|
+
:param async_connect: (deprecated) Docker connects to Fluentd in the background. Messages are buffered until the connection is established. Default: - false
|
|
40521
40550
|
:param buffer_limit: The amount of data to buffer before flushing to disk. Default: - The amount of RAM available to the container.
|
|
40522
40551
|
:param max_retries: The maximum number of retries. Default: - 4294967295 (2**32 - 1).
|
|
40523
40552
|
:param retry_wait: How long to wait between retries. Default: - 1 second
|
|
@@ -40529,6 +40558,7 @@ class FluentdLogDriver(
|
|
|
40529
40558
|
'''
|
|
40530
40559
|
props = FluentdLogDriverProps(
|
|
40531
40560
|
address=address,
|
|
40561
|
+
async_=async_,
|
|
40532
40562
|
async_connect=async_connect,
|
|
40533
40563
|
buffer_limit=buffer_limit,
|
|
40534
40564
|
max_retries=max_retries,
|
|
@@ -45864,6 +45894,7 @@ def _typecheckingstub__8e972440032bde8e8099eb1b3a14e366177bcc168b1c9493f91d85b75
|
|
|
45864
45894
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
45865
45895
|
tag: typing.Optional[builtins.str] = None,
|
|
45866
45896
|
address: typing.Optional[builtins.str] = None,
|
|
45897
|
+
async_: typing.Optional[builtins.bool] = None,
|
|
45867
45898
|
async_connect: typing.Optional[builtins.bool] = None,
|
|
45868
45899
|
buffer_limit: typing.Optional[jsii.Number] = None,
|
|
45869
45900
|
max_retries: typing.Optional[jsii.Number] = None,
|
aws_cdk/aws_eks/__init__.py
CHANGED
|
@@ -11033,12 +11033,10 @@ class CfnPodIdentityAssociation(
|
|
|
11033
11033
|
service_account="serviceAccount",
|
|
11034
11034
|
|
|
11035
11035
|
# the properties below are optional
|
|
11036
|
-
disable_session_tags=False,
|
|
11037
11036
|
tags=[CfnTag(
|
|
11038
11037
|
key="key",
|
|
11039
11038
|
value="value"
|
|
11040
|
-
)]
|
|
11041
|
-
target_role_arn="targetRoleArn"
|
|
11039
|
+
)]
|
|
11042
11040
|
)
|
|
11043
11041
|
'''
|
|
11044
11042
|
|
|
@@ -11051,9 +11049,7 @@ class CfnPodIdentityAssociation(
|
|
|
11051
11049
|
namespace: builtins.str,
|
|
11052
11050
|
role_arn: builtins.str,
|
|
11053
11051
|
service_account: builtins.str,
|
|
11054
|
-
disable_session_tags: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
11055
11052
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11056
|
-
target_role_arn: typing.Optional[builtins.str] = None,
|
|
11057
11053
|
) -> None:
|
|
11058
11054
|
'''
|
|
11059
11055
|
:param scope: Scope in which this resource is defined.
|
|
@@ -11062,9 +11058,7 @@ class CfnPodIdentityAssociation(
|
|
|
11062
11058
|
:param namespace: The name of the Kubernetes namespace inside the cluster to create the association in. The service account and the pods that use the service account must be in this namespace.
|
|
11063
11059
|
:param role_arn: The Amazon Resource Name (ARN) of the IAM role to associate with the service account. The EKS Pod Identity agent manages credentials to assume this role for applications in the containers in the pods that use this service account.
|
|
11064
11060
|
:param service_account: The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
|
|
11065
|
-
:param disable_session_tags: The Disable Session Tags of the pod identity association.
|
|
11066
11061
|
:param tags: Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or AWS resources. The following basic restrictions apply to tags: - Maximum number of tags per resource – 50 - For each resource, each tag key must be unique, and each tag key can have only one value. - Maximum key length – 128 Unicode characters in UTF-8 - Maximum value length – 256 Unicode characters in UTF-8 - If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : /
|
|
11067
|
-
:param target_role_arn: The Target Role Arn of the pod identity association.
|
|
11068
11062
|
'''
|
|
11069
11063
|
if __debug__:
|
|
11070
11064
|
type_hints = typing.get_type_hints(_typecheckingstub__be8311b6089cea26f85c63a586f0c5b063230a1b4a96ffcd4c6c983a331d8652)
|
|
@@ -11075,9 +11069,7 @@ class CfnPodIdentityAssociation(
|
|
|
11075
11069
|
namespace=namespace,
|
|
11076
11070
|
role_arn=role_arn,
|
|
11077
11071
|
service_account=service_account,
|
|
11078
|
-
disable_session_tags=disable_session_tags,
|
|
11079
11072
|
tags=tags,
|
|
11080
|
-
target_role_arn=target_role_arn,
|
|
11081
11073
|
)
|
|
11082
11074
|
|
|
11083
11075
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -11130,15 +11122,6 @@ class CfnPodIdentityAssociation(
|
|
|
11130
11122
|
'''
|
|
11131
11123
|
return typing.cast(builtins.str, jsii.get(self, "attrAssociationId"))
|
|
11132
11124
|
|
|
11133
|
-
@builtins.property
|
|
11134
|
-
@jsii.member(jsii_name="attrExternalId")
|
|
11135
|
-
def attr_external_id(self) -> builtins.str:
|
|
11136
|
-
'''The External Id of the pod identity association.
|
|
11137
|
-
|
|
11138
|
-
:cloudformationAttribute: ExternalId
|
|
11139
|
-
'''
|
|
11140
|
-
return typing.cast(builtins.str, jsii.get(self, "attrExternalId"))
|
|
11141
|
-
|
|
11142
11125
|
@builtins.property
|
|
11143
11126
|
@jsii.member(jsii_name="cdkTagManager")
|
|
11144
11127
|
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
@@ -11202,24 +11185,6 @@ class CfnPodIdentityAssociation(
|
|
|
11202
11185
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11203
11186
|
jsii.set(self, "serviceAccount", value) # pyright: ignore[reportArgumentType]
|
|
11204
11187
|
|
|
11205
|
-
@builtins.property
|
|
11206
|
-
@jsii.member(jsii_name="disableSessionTags")
|
|
11207
|
-
def disable_session_tags(
|
|
11208
|
-
self,
|
|
11209
|
-
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
11210
|
-
'''The Disable Session Tags of the pod identity association.'''
|
|
11211
|
-
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "disableSessionTags"))
|
|
11212
|
-
|
|
11213
|
-
@disable_session_tags.setter
|
|
11214
|
-
def disable_session_tags(
|
|
11215
|
-
self,
|
|
11216
|
-
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
11217
|
-
) -> None:
|
|
11218
|
-
if __debug__:
|
|
11219
|
-
type_hints = typing.get_type_hints(_typecheckingstub__cb3dbe4cc3b44e9265bbfe13e41235db909b0c1dc0e052b3bdda07fd4b228e8b)
|
|
11220
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11221
|
-
jsii.set(self, "disableSessionTags", value) # pyright: ignore[reportArgumentType]
|
|
11222
|
-
|
|
11223
11188
|
@builtins.property
|
|
11224
11189
|
@jsii.member(jsii_name="tags")
|
|
11225
11190
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
@@ -11233,19 +11198,6 @@ class CfnPodIdentityAssociation(
|
|
|
11233
11198
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11234
11199
|
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
11235
11200
|
|
|
11236
|
-
@builtins.property
|
|
11237
|
-
@jsii.member(jsii_name="targetRoleArn")
|
|
11238
|
-
def target_role_arn(self) -> typing.Optional[builtins.str]:
|
|
11239
|
-
'''The Target Role Arn of the pod identity association.'''
|
|
11240
|
-
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "targetRoleArn"))
|
|
11241
|
-
|
|
11242
|
-
@target_role_arn.setter
|
|
11243
|
-
def target_role_arn(self, value: typing.Optional[builtins.str]) -> None:
|
|
11244
|
-
if __debug__:
|
|
11245
|
-
type_hints = typing.get_type_hints(_typecheckingstub__cb6220c6db8cf93a8a307b1ba0630d6bc64b4a09325e7cfe5854228aa75ff833)
|
|
11246
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11247
|
-
jsii.set(self, "targetRoleArn", value) # pyright: ignore[reportArgumentType]
|
|
11248
|
-
|
|
11249
11201
|
|
|
11250
11202
|
@jsii.data_type(
|
|
11251
11203
|
jsii_type="aws-cdk-lib.aws_eks.CfnPodIdentityAssociationProps",
|
|
@@ -11255,9 +11207,7 @@ class CfnPodIdentityAssociation(
|
|
|
11255
11207
|
"namespace": "namespace",
|
|
11256
11208
|
"role_arn": "roleArn",
|
|
11257
11209
|
"service_account": "serviceAccount",
|
|
11258
|
-
"disable_session_tags": "disableSessionTags",
|
|
11259
11210
|
"tags": "tags",
|
|
11260
|
-
"target_role_arn": "targetRoleArn",
|
|
11261
11211
|
},
|
|
11262
11212
|
)
|
|
11263
11213
|
class CfnPodIdentityAssociationProps:
|
|
@@ -11268,9 +11218,7 @@ class CfnPodIdentityAssociationProps:
|
|
|
11268
11218
|
namespace: builtins.str,
|
|
11269
11219
|
role_arn: builtins.str,
|
|
11270
11220
|
service_account: builtins.str,
|
|
11271
|
-
disable_session_tags: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
11272
11221
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11273
|
-
target_role_arn: typing.Optional[builtins.str] = None,
|
|
11274
11222
|
) -> None:
|
|
11275
11223
|
'''Properties for defining a ``CfnPodIdentityAssociation``.
|
|
11276
11224
|
|
|
@@ -11278,9 +11226,7 @@ class CfnPodIdentityAssociationProps:
|
|
|
11278
11226
|
:param namespace: The name of the Kubernetes namespace inside the cluster to create the association in. The service account and the pods that use the service account must be in this namespace.
|
|
11279
11227
|
:param role_arn: The Amazon Resource Name (ARN) of the IAM role to associate with the service account. The EKS Pod Identity agent manages credentials to assume this role for applications in the containers in the pods that use this service account.
|
|
11280
11228
|
:param service_account: The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
|
|
11281
|
-
:param disable_session_tags: The Disable Session Tags of the pod identity association.
|
|
11282
11229
|
:param tags: Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or AWS resources. The following basic restrictions apply to tags: - Maximum number of tags per resource – 50 - For each resource, each tag key must be unique, and each tag key can have only one value. - Maximum key length – 128 Unicode characters in UTF-8 - Maximum value length – 256 Unicode characters in UTF-8 - If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : /
|
|
11283
|
-
:param target_role_arn: The Target Role Arn of the pod identity association.
|
|
11284
11230
|
|
|
11285
11231
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-podidentityassociation.html
|
|
11286
11232
|
:exampleMetadata: fixture=_generated
|
|
@@ -11298,12 +11244,10 @@ class CfnPodIdentityAssociationProps:
|
|
|
11298
11244
|
service_account="serviceAccount",
|
|
11299
11245
|
|
|
11300
11246
|
# the properties below are optional
|
|
11301
|
-
disable_session_tags=False,
|
|
11302
11247
|
tags=[CfnTag(
|
|
11303
11248
|
key="key",
|
|
11304
11249
|
value="value"
|
|
11305
|
-
)]
|
|
11306
|
-
target_role_arn="targetRoleArn"
|
|
11250
|
+
)]
|
|
11307
11251
|
)
|
|
11308
11252
|
'''
|
|
11309
11253
|
if __debug__:
|
|
@@ -11312,21 +11256,15 @@ class CfnPodIdentityAssociationProps:
|
|
|
11312
11256
|
check_type(argname="argument namespace", value=namespace, expected_type=type_hints["namespace"])
|
|
11313
11257
|
check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
|
|
11314
11258
|
check_type(argname="argument service_account", value=service_account, expected_type=type_hints["service_account"])
|
|
11315
|
-
check_type(argname="argument disable_session_tags", value=disable_session_tags, expected_type=type_hints["disable_session_tags"])
|
|
11316
11259
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
11317
|
-
check_type(argname="argument target_role_arn", value=target_role_arn, expected_type=type_hints["target_role_arn"])
|
|
11318
11260
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
11319
11261
|
"cluster_name": cluster_name,
|
|
11320
11262
|
"namespace": namespace,
|
|
11321
11263
|
"role_arn": role_arn,
|
|
11322
11264
|
"service_account": service_account,
|
|
11323
11265
|
}
|
|
11324
|
-
if disable_session_tags is not None:
|
|
11325
|
-
self._values["disable_session_tags"] = disable_session_tags
|
|
11326
11266
|
if tags is not None:
|
|
11327
11267
|
self._values["tags"] = tags
|
|
11328
|
-
if target_role_arn is not None:
|
|
11329
|
-
self._values["target_role_arn"] = target_role_arn
|
|
11330
11268
|
|
|
11331
11269
|
@builtins.property
|
|
11332
11270
|
def cluster_name(self) -> builtins.str:
|
|
@@ -11372,17 +11310,6 @@ class CfnPodIdentityAssociationProps:
|
|
|
11372
11310
|
assert result is not None, "Required property 'service_account' is missing"
|
|
11373
11311
|
return typing.cast(builtins.str, result)
|
|
11374
11312
|
|
|
11375
|
-
@builtins.property
|
|
11376
|
-
def disable_session_tags(
|
|
11377
|
-
self,
|
|
11378
|
-
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
11379
|
-
'''The Disable Session Tags of the pod identity association.
|
|
11380
|
-
|
|
11381
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-podidentityassociation.html#cfn-eks-podidentityassociation-disablesessiontags
|
|
11382
|
-
'''
|
|
11383
|
-
result = self._values.get("disable_session_tags")
|
|
11384
|
-
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
11385
|
-
|
|
11386
11313
|
@builtins.property
|
|
11387
11314
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
11388
11315
|
'''Metadata that assists with categorization and organization.
|
|
@@ -11408,15 +11335,6 @@ class CfnPodIdentityAssociationProps:
|
|
|
11408
11335
|
result = self._values.get("tags")
|
|
11409
11336
|
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
11410
11337
|
|
|
11411
|
-
@builtins.property
|
|
11412
|
-
def target_role_arn(self) -> typing.Optional[builtins.str]:
|
|
11413
|
-
'''The Target Role Arn of the pod identity association.
|
|
11414
|
-
|
|
11415
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-podidentityassociation.html#cfn-eks-podidentityassociation-targetrolearn
|
|
11416
|
-
'''
|
|
11417
|
-
result = self._values.get("target_role_arn")
|
|
11418
|
-
return typing.cast(typing.Optional[builtins.str], result)
|
|
11419
|
-
|
|
11420
11338
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
11421
11339
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
11422
11340
|
|
|
@@ -22792,9 +22710,7 @@ def _typecheckingstub__be8311b6089cea26f85c63a586f0c5b063230a1b4a96ffcd4c6c983a3
|
|
|
22792
22710
|
namespace: builtins.str,
|
|
22793
22711
|
role_arn: builtins.str,
|
|
22794
22712
|
service_account: builtins.str,
|
|
22795
|
-
disable_session_tags: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
22796
22713
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
22797
|
-
target_role_arn: typing.Optional[builtins.str] = None,
|
|
22798
22714
|
) -> None:
|
|
22799
22715
|
"""Type checking stubs"""
|
|
22800
22716
|
pass
|
|
@@ -22835,33 +22751,19 @@ def _typecheckingstub__ea3bb34348aff57e29a5352e7460510bda8dd51720dbf7d275297137f
|
|
|
22835
22751
|
"""Type checking stubs"""
|
|
22836
22752
|
pass
|
|
22837
22753
|
|
|
22838
|
-
def _typecheckingstub__cb3dbe4cc3b44e9265bbfe13e41235db909b0c1dc0e052b3bdda07fd4b228e8b(
|
|
22839
|
-
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
22840
|
-
) -> None:
|
|
22841
|
-
"""Type checking stubs"""
|
|
22842
|
-
pass
|
|
22843
|
-
|
|
22844
22754
|
def _typecheckingstub__b0e0a0551adefc10761733af04b8c51e7dad6b483be9252882ecff10539c7dcc(
|
|
22845
22755
|
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
22846
22756
|
) -> None:
|
|
22847
22757
|
"""Type checking stubs"""
|
|
22848
22758
|
pass
|
|
22849
22759
|
|
|
22850
|
-
def _typecheckingstub__cb6220c6db8cf93a8a307b1ba0630d6bc64b4a09325e7cfe5854228aa75ff833(
|
|
22851
|
-
value: typing.Optional[builtins.str],
|
|
22852
|
-
) -> None:
|
|
22853
|
-
"""Type checking stubs"""
|
|
22854
|
-
pass
|
|
22855
|
-
|
|
22856
22760
|
def _typecheckingstub__40e8da56b529234cdbb596fa46af952a935adf744e907347861dfc232b89038b(
|
|
22857
22761
|
*,
|
|
22858
22762
|
cluster_name: builtins.str,
|
|
22859
22763
|
namespace: builtins.str,
|
|
22860
22764
|
role_arn: builtins.str,
|
|
22861
22765
|
service_account: builtins.str,
|
|
22862
|
-
disable_session_tags: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
22863
22766
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
22864
|
-
target_role_arn: typing.Optional[builtins.str] = None,
|
|
22865
22767
|
) -> None:
|
|
22866
22768
|
"""Type checking stubs"""
|
|
22867
22769
|
pass
|
|
@@ -2843,7 +2843,7 @@ class CfnReplicationGroup(
|
|
|
2843
2843
|
:param scope: Scope in which this resource is defined.
|
|
2844
2844
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
2845
2845
|
:param replication_group_description: A user-created description for the replication group.
|
|
2846
|
-
:param at_rest_encryption_enabled: A flag that enables encryption at rest when set to ``true`` .
|
|
2846
|
+
:param at_rest_encryption_enabled: A flag that enables encryption at rest when set to ``true`` . *Required:* Only available when creating a replication group in an Amazon VPC using Redis OSS version ``3.2.6`` or ``4.x`` onward. Default: ``false``
|
|
2847
2847
|
:param auth_token: *Reserved parameter.* The password used to access a password protected server. ``AuthToken`` can be specified only on replication groups where ``TransitEncryptionEnabled`` is ``true`` . For more information, see `Authenticating Valkey or Redis OSS users with the AUTH Command <https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/auth.html>`_ . .. epigraph:: For HIPAA compliance, you must specify ``TransitEncryptionEnabled`` as ``true`` , an ``AuthToken`` , and a ``CacheSubnetGroup`` . Password constraints: - Must be only printable ASCII characters. - Must be at least 16 characters and no more than 128 characters in length. - Nonalphanumeric characters are restricted to (!, &, #, $, ^, <, >, -, ). For more information, see `AUTH password <https://docs.aws.amazon.com/http://redis.io/commands/AUTH>`_ at http://redis.io/commands/AUTH. .. epigraph:: If ADDING the AuthToken, update requires `Replacement <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement>`_ .
|
|
2848
2848
|
:param automatic_failover_enabled: Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails. ``AutomaticFailoverEnabled`` must be enabled for Valkey or Redis OSS (cluster mode enabled) replication groups. Default: false
|
|
2849
2849
|
:param auto_minor_version_upgrade: If you are running Valkey 7.2 or later, or Redis OSS 6.0 or later, set this parameter to yes if you want to opt-in to the next minor version upgrade campaign. This parameter is disabled for previous versions.
|
|
@@ -2878,7 +2878,7 @@ class CfnReplicationGroup(
|
|
|
2878
2878
|
:param snapshotting_cluster_id: The cluster ID that is used as the daily snapshot source for the replication group. This parameter cannot be set for Valkey or Redis OSS (cluster mode enabled) replication groups.
|
|
2879
2879
|
:param snapshot_window: The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard). Example: ``05:00-09:00`` If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range.
|
|
2880
2880
|
:param tags: A list of tags to be added to this resource. Tags are comma-separated key,value pairs (e.g. Key= ``myKey`` , Value= ``myKeyValue`` . You can include multiple tags as shown following: Key= ``myKey`` , Value= ``myKeyValue`` Key= ``mySecondKey`` , Value= ``mySecondKeyValue`` . Tags on replication groups will be replicated to all nodes.
|
|
2881
|
-
:param transit_encryption_enabled: A flag that enables in-transit encryption when set to ``true`` .
|
|
2881
|
+
:param transit_encryption_enabled: A flag that enables in-transit encryption when set to ``true`` . This parameter is only available when creating a replication group in an Amazon VPC using Valkey version ``7.2`` and above, Redis OSS version ``3.2.6`` , or Redis OSS version ``4.x`` and above, and the cluster is being created in an Amazon VPC. If you enable in-transit encryption, you must also specify a value for ``CacheSubnetGroup`` . .. epigraph:: TransitEncryptionEnabled is required when creating a new valkey replication group. Default: ``false`` .. epigraph:: For HIPAA compliance, you must specify ``TransitEncryptionEnabled`` as ``true`` , an ``AuthToken`` , and a ``CacheSubnetGroup`` .
|
|
2882
2882
|
:param transit_encryption_mode: A setting that allows you to migrate your clients to use in-transit encryption, with no downtime. When setting ``TransitEncryptionEnabled`` to ``true`` , you can set your ``TransitEncryptionMode`` to ``preferred`` in the same request, to allow both encrypted and unencrypted connections at the same time. Once you migrate all your Valkey or Redis OSS clients to use encrypted connections you can modify the value to ``required`` to allow encrypted connections only. Setting ``TransitEncryptionMode`` to ``required`` is a two-step process that requires you to first set the ``TransitEncryptionMode`` to ``preferred`` , after that you can set ``TransitEncryptionMode`` to ``required`` . This process will not trigger the replacement of the replication group.
|
|
2883
2883
|
:param user_group_ids: The ID of user group to associate with the replication group.
|
|
2884
2884
|
'''
|
|
@@ -4171,7 +4171,7 @@ class CfnReplicationGroupProps:
|
|
|
4171
4171
|
'''Properties for defining a ``CfnReplicationGroup``.
|
|
4172
4172
|
|
|
4173
4173
|
:param replication_group_description: A user-created description for the replication group.
|
|
4174
|
-
:param at_rest_encryption_enabled: A flag that enables encryption at rest when set to ``true`` .
|
|
4174
|
+
:param at_rest_encryption_enabled: A flag that enables encryption at rest when set to ``true`` . *Required:* Only available when creating a replication group in an Amazon VPC using Redis OSS version ``3.2.6`` or ``4.x`` onward. Default: ``false``
|
|
4175
4175
|
:param auth_token: *Reserved parameter.* The password used to access a password protected server. ``AuthToken`` can be specified only on replication groups where ``TransitEncryptionEnabled`` is ``true`` . For more information, see `Authenticating Valkey or Redis OSS users with the AUTH Command <https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/auth.html>`_ . .. epigraph:: For HIPAA compliance, you must specify ``TransitEncryptionEnabled`` as ``true`` , an ``AuthToken`` , and a ``CacheSubnetGroup`` . Password constraints: - Must be only printable ASCII characters. - Must be at least 16 characters and no more than 128 characters in length. - Nonalphanumeric characters are restricted to (!, &, #, $, ^, <, >, -, ). For more information, see `AUTH password <https://docs.aws.amazon.com/http://redis.io/commands/AUTH>`_ at http://redis.io/commands/AUTH. .. epigraph:: If ADDING the AuthToken, update requires `Replacement <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement>`_ .
|
|
4176
4176
|
:param automatic_failover_enabled: Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails. ``AutomaticFailoverEnabled`` must be enabled for Valkey or Redis OSS (cluster mode enabled) replication groups. Default: false
|
|
4177
4177
|
:param auto_minor_version_upgrade: If you are running Valkey 7.2 or later, or Redis OSS 6.0 or later, set this parameter to yes if you want to opt-in to the next minor version upgrade campaign. This parameter is disabled for previous versions.
|
|
@@ -4206,7 +4206,7 @@ class CfnReplicationGroupProps:
|
|
|
4206
4206
|
:param snapshotting_cluster_id: The cluster ID that is used as the daily snapshot source for the replication group. This parameter cannot be set for Valkey or Redis OSS (cluster mode enabled) replication groups.
|
|
4207
4207
|
:param snapshot_window: The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard). Example: ``05:00-09:00`` If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range.
|
|
4208
4208
|
:param tags: A list of tags to be added to this resource. Tags are comma-separated key,value pairs (e.g. Key= ``myKey`` , Value= ``myKeyValue`` . You can include multiple tags as shown following: Key= ``myKey`` , Value= ``myKeyValue`` Key= ``mySecondKey`` , Value= ``mySecondKeyValue`` . Tags on replication groups will be replicated to all nodes.
|
|
4209
|
-
:param transit_encryption_enabled: A flag that enables in-transit encryption when set to ``true`` .
|
|
4209
|
+
:param transit_encryption_enabled: A flag that enables in-transit encryption when set to ``true`` . This parameter is only available when creating a replication group in an Amazon VPC using Valkey version ``7.2`` and above, Redis OSS version ``3.2.6`` , or Redis OSS version ``4.x`` and above, and the cluster is being created in an Amazon VPC. If you enable in-transit encryption, you must also specify a value for ``CacheSubnetGroup`` . .. epigraph:: TransitEncryptionEnabled is required when creating a new valkey replication group. Default: ``false`` .. epigraph:: For HIPAA compliance, you must specify ``TransitEncryptionEnabled`` as ``true`` , an ``AuthToken`` , and a ``CacheSubnetGroup`` .
|
|
4210
4210
|
:param transit_encryption_mode: A setting that allows you to migrate your clients to use in-transit encryption, with no downtime. When setting ``TransitEncryptionEnabled`` to ``true`` , you can set your ``TransitEncryptionMode`` to ``preferred`` in the same request, to allow both encrypted and unencrypted connections at the same time. Once you migrate all your Valkey or Redis OSS clients to use encrypted connections you can modify the value to ``required`` to allow encrypted connections only. Setting ``TransitEncryptionMode`` to ``required`` is a two-step process that requires you to first set the ``TransitEncryptionMode`` to ``preferred`` , after that you can set ``TransitEncryptionMode`` to ``required`` . This process will not trigger the replacement of the replication group.
|
|
4211
4211
|
:param user_group_ids: The ID of user group to associate with the replication group.
|
|
4212
4212
|
|
|
@@ -4421,8 +4421,6 @@ class CfnReplicationGroupProps:
|
|
|
4421
4421
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
4422
4422
|
'''A flag that enables encryption at rest when set to ``true`` .
|
|
4423
4423
|
|
|
4424
|
-
You cannot modify the value of ``AtRestEncryptionEnabled`` after the replication group is created. To enable encryption at rest on a replication group you must set ``AtRestEncryptionEnabled`` to ``true`` when you create the replication group.
|
|
4425
|
-
|
|
4426
4424
|
*Required:* Only available when creating a replication group in an Amazon VPC using Redis OSS version ``3.2.6`` or ``4.x`` onward.
|
|
4427
4425
|
|
|
4428
4426
|
Default: ``false``
|
|
@@ -4935,15 +4933,12 @@ class CfnReplicationGroupProps:
|
|
|
4935
4933
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
4936
4934
|
'''A flag that enables in-transit encryption when set to ``true`` .
|
|
4937
4935
|
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
This parameter is valid only if the ``Engine`` parameter is ``redis`` , the ``EngineVersion`` parameter is ``3.2.6`` or ``4.x`` onward, and the cluster is being created in an Amazon VPC.
|
|
4936
|
+
This parameter is only available when creating a replication group in an Amazon VPC using Valkey version ``7.2`` and above, Redis OSS version ``3.2.6`` , or Redis OSS version ``4.x`` and above, and the cluster is being created in an Amazon VPC.
|
|
4941
4937
|
|
|
4942
4938
|
If you enable in-transit encryption, you must also specify a value for ``CacheSubnetGroup`` .
|
|
4943
4939
|
.. epigraph::
|
|
4944
4940
|
|
|
4945
|
-
|
|
4946
|
-
- TransitEncryptionEnabled is required when creating a new valkey replication group.
|
|
4941
|
+
TransitEncryptionEnabled is required when creating a new valkey replication group.
|
|
4947
4942
|
|
|
4948
4943
|
Default: ``false``
|
|
4949
4944
|
.. epigraph::
|