aws-cdk-lib 2.162.0__py3-none-any.whl → 2.163.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 +5 -7
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.162.0.jsii.tgz → aws-cdk-lib@2.163.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigatewayv2/__init__.py +7 -7
- aws_cdk/aws_appflow/__init__.py +30 -16
- aws_cdk/aws_appsync/__init__.py +11 -21
- aws_cdk/aws_autoscaling/__init__.py +123 -0
- aws_cdk/aws_b2bi/__init__.py +83 -57
- aws_cdk/aws_cloudformation/__init__.py +5 -7
- aws_cdk/aws_codebuild/__init__.py +19 -40
- aws_cdk/aws_codepipeline/__init__.py +88 -7
- aws_cdk/aws_cognito/__init__.py +282 -168
- aws_cdk/aws_dms/__init__.py +1076 -117
- aws_cdk/aws_docdb/__init__.py +19 -13
- aws_cdk/aws_dynamodb/__init__.py +43 -22
- aws_cdk/aws_ec2/__init__.py +1213 -38
- aws_cdk/aws_ecs/__init__.py +187 -18
- aws_cdk/aws_ecs_patterns/__init__.py +189 -27
- aws_cdk/aws_efs/__init__.py +56 -37
- aws_cdk/aws_eks/__init__.py +6 -2
- aws_cdk/aws_elasticache/__init__.py +118 -118
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +21 -1
- aws_cdk/aws_emr/__init__.py +124 -57
- aws_cdk/aws_events/__init__.py +40 -0
- aws_cdk/aws_fms/__init__.py +757 -8
- aws_cdk/aws_fsx/__init__.py +245 -10
- aws_cdk/aws_gamelift/__init__.py +121 -0
- aws_cdk/aws_glue/__init__.py +344 -61
- aws_cdk/aws_iam/__init__.py +44 -0
- aws_cdk/aws_identitystore/__init__.py +4 -2
- aws_cdk/aws_iot/__init__.py +40 -12
- aws_cdk/aws_kinesis/__init__.py +239 -0
- aws_cdk/aws_kms/__init__.py +92 -3
- aws_cdk/aws_lambda/__init__.py +2 -2
- aws_cdk/aws_mediapackagev2/__init__.py +26 -10
- aws_cdk/aws_memorydb/__init__.py +7 -7
- aws_cdk/aws_networkfirewall/__init__.py +89 -0
- aws_cdk/aws_qbusiness/__init__.py +51 -7
- aws_cdk/aws_quicksight/__init__.py +221 -87
- aws_cdk/aws_rds/__init__.py +376 -75
- aws_cdk/aws_redshift/__init__.py +493 -13
- aws_cdk/aws_route53profiles/__init__.py +4 -2
- aws_cdk/aws_route53resolver/__init__.py +26 -60
- aws_cdk/aws_s3/__init__.py +104 -4
- aws_cdk/aws_s3express/__init__.py +73 -13
- aws_cdk/aws_s3outposts/__init__.py +21 -12
- aws_cdk/aws_sagemaker/__init__.py +4 -44
- aws_cdk/aws_ssmquicksetup/__init__.py +2 -2
- aws_cdk/aws_stepfunctions/__init__.py +529 -156
- aws_cdk/aws_transfer/__init__.py +15 -4
- aws_cdk/aws_waf/__init__.py +11 -11
- aws_cdk/aws_wafregional/__init__.py +12 -12
- aws_cdk/aws_wisdom/__init__.py +710 -5
- {aws_cdk_lib-2.162.0.dist-info → aws_cdk_lib-2.163.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.162.0.dist-info → aws_cdk_lib-2.163.0.dist-info}/RECORD +59 -59
- {aws_cdk_lib-2.162.0.dist-info → aws_cdk_lib-2.163.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.162.0.dist-info → aws_cdk_lib-2.163.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.162.0.dist-info → aws_cdk_lib-2.163.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.162.0.dist-info → aws_cdk_lib-2.163.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_efs/__init__.py
CHANGED
|
@@ -222,7 +222,10 @@ the access point can only access data in its own directory and below. To learn m
|
|
|
222
222
|
Use the `addAccessPoint` API to create an access point from a fileSystem.
|
|
223
223
|
|
|
224
224
|
```python
|
|
225
|
-
file_system.add_access_point("
|
|
225
|
+
file_system.add_access_point("MyAccessPoint",
|
|
226
|
+
# create a unique access point via an optional client token
|
|
227
|
+
client_token="client-token"
|
|
228
|
+
)
|
|
226
229
|
```
|
|
227
230
|
|
|
228
231
|
By default, when you create an access point, the root(`/`) directory is exposed to the client
|
|
@@ -448,6 +451,7 @@ class AccessPointAttributes:
|
|
|
448
451
|
jsii_type="aws-cdk-lib.aws_efs.AccessPointOptions",
|
|
449
452
|
jsii_struct_bases=[],
|
|
450
453
|
name_mapping={
|
|
454
|
+
"client_token": "clientToken",
|
|
451
455
|
"create_acl": "createAcl",
|
|
452
456
|
"path": "path",
|
|
453
457
|
"posix_user": "posixUser",
|
|
@@ -457,54 +461,25 @@ class AccessPointOptions:
|
|
|
457
461
|
def __init__(
|
|
458
462
|
self,
|
|
459
463
|
*,
|
|
464
|
+
client_token: typing.Optional[builtins.str] = None,
|
|
460
465
|
create_acl: typing.Optional[typing.Union["Acl", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
461
466
|
path: typing.Optional[builtins.str] = None,
|
|
462
467
|
posix_user: typing.Optional[typing.Union["PosixUser", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
463
468
|
) -> None:
|
|
464
469
|
'''Options to create an AccessPoint.
|
|
465
470
|
|
|
471
|
+
:param client_token: The opaque string specified in the request to ensure idempotent creation. Default: - No client token
|
|
466
472
|
:param create_acl: Specifies the POSIX IDs and permissions to apply when creating the access point's root directory. If the root directory specified by ``path`` does not exist, EFS creates the root directory and applies the permissions specified here. If the specified ``path`` does not exist, you must specify ``createAcl``. Default: - None. The directory specified by ``path`` must exist.
|
|
467
473
|
:param path: Specifies the path on the EFS file system to expose as the root directory to NFS clients using the access point to access the EFS file system. Default: '/'
|
|
468
474
|
:param posix_user: The full POSIX identity, including the user ID, group ID, and any secondary group IDs, on the access point that is used for all file system operations performed by NFS clients using the access point. Specify this to enforce a user identity using an access point. Default: - user identity not enforced
|
|
469
475
|
|
|
470
|
-
:exampleMetadata: infused
|
|
476
|
+
:exampleMetadata: fixture=with-filesystem-instance infused
|
|
471
477
|
|
|
472
478
|
Example::
|
|
473
479
|
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
# create a new VPC
|
|
479
|
-
vpc = ec2.Vpc(self, "VPC")
|
|
480
|
-
|
|
481
|
-
# create a new Amazon EFS filesystem
|
|
482
|
-
file_system = efs.FileSystem(self, "Efs", vpc=vpc)
|
|
483
|
-
|
|
484
|
-
# create a new access point from the filesystem
|
|
485
|
-
access_point = file_system.add_access_point("AccessPoint",
|
|
486
|
-
# set /export/lambda as the root of the access point
|
|
487
|
-
path="/export/lambda",
|
|
488
|
-
# as /export/lambda does not exist in a new efs filesystem, the efs will create the directory with the following createAcl
|
|
489
|
-
create_acl=efs.Acl(
|
|
490
|
-
owner_uid="1001",
|
|
491
|
-
owner_gid="1001",
|
|
492
|
-
permissions="750"
|
|
493
|
-
),
|
|
494
|
-
# enforce the POSIX identity so lambda function will access with this identity
|
|
495
|
-
posix_user=efs.PosixUser(
|
|
496
|
-
uid="1001",
|
|
497
|
-
gid="1001"
|
|
498
|
-
)
|
|
499
|
-
)
|
|
500
|
-
|
|
501
|
-
fn = lambda_.Function(self, "MyLambda",
|
|
502
|
-
# mount the access point to /mnt/msg in the lambda runtime environment
|
|
503
|
-
filesystem=lambda_.FileSystem.from_efs_access_point(access_point, "/mnt/msg"),
|
|
504
|
-
runtime=lambda_.Runtime.NODEJS_18_X,
|
|
505
|
-
handler="index.handler",
|
|
506
|
-
code=lambda_.Code.from_asset(path.join(__dirname, "lambda-handler")),
|
|
507
|
-
vpc=vpc
|
|
480
|
+
file_system.add_access_point("MyAccessPoint",
|
|
481
|
+
# create a unique access point via an optional client token
|
|
482
|
+
client_token="client-token"
|
|
508
483
|
)
|
|
509
484
|
'''
|
|
510
485
|
if isinstance(create_acl, dict):
|
|
@@ -513,10 +488,13 @@ class AccessPointOptions:
|
|
|
513
488
|
posix_user = PosixUser(**posix_user)
|
|
514
489
|
if __debug__:
|
|
515
490
|
type_hints = typing.get_type_hints(_typecheckingstub__913ac22cf5c450fc4c0b0a7b6d77a1e412a1276f6c512fbacf766f6ab3a7d900)
|
|
491
|
+
check_type(argname="argument client_token", value=client_token, expected_type=type_hints["client_token"])
|
|
516
492
|
check_type(argname="argument create_acl", value=create_acl, expected_type=type_hints["create_acl"])
|
|
517
493
|
check_type(argname="argument path", value=path, expected_type=type_hints["path"])
|
|
518
494
|
check_type(argname="argument posix_user", value=posix_user, expected_type=type_hints["posix_user"])
|
|
519
495
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
496
|
+
if client_token is not None:
|
|
497
|
+
self._values["client_token"] = client_token
|
|
520
498
|
if create_acl is not None:
|
|
521
499
|
self._values["create_acl"] = create_acl
|
|
522
500
|
if path is not None:
|
|
@@ -524,6 +502,17 @@ class AccessPointOptions:
|
|
|
524
502
|
if posix_user is not None:
|
|
525
503
|
self._values["posix_user"] = posix_user
|
|
526
504
|
|
|
505
|
+
@builtins.property
|
|
506
|
+
def client_token(self) -> typing.Optional[builtins.str]:
|
|
507
|
+
'''The opaque string specified in the request to ensure idempotent creation.
|
|
508
|
+
|
|
509
|
+
:default: - No client token
|
|
510
|
+
|
|
511
|
+
:see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-accesspoint.html#cfn-efs-accesspoint-clienttoken
|
|
512
|
+
'''
|
|
513
|
+
result = self._values.get("client_token")
|
|
514
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
515
|
+
|
|
527
516
|
@builtins.property
|
|
528
517
|
def create_acl(self) -> typing.Optional["Acl"]:
|
|
529
518
|
'''Specifies the POSIX IDs and permissions to apply when creating the access point's root directory.
|
|
@@ -575,6 +564,7 @@ class AccessPointOptions:
|
|
|
575
564
|
jsii_type="aws-cdk-lib.aws_efs.AccessPointProps",
|
|
576
565
|
jsii_struct_bases=[AccessPointOptions],
|
|
577
566
|
name_mapping={
|
|
567
|
+
"client_token": "clientToken",
|
|
578
568
|
"create_acl": "createAcl",
|
|
579
569
|
"path": "path",
|
|
580
570
|
"posix_user": "posixUser",
|
|
@@ -585,6 +575,7 @@ class AccessPointProps(AccessPointOptions):
|
|
|
585
575
|
def __init__(
|
|
586
576
|
self,
|
|
587
577
|
*,
|
|
578
|
+
client_token: typing.Optional[builtins.str] = None,
|
|
588
579
|
create_acl: typing.Optional[typing.Union["Acl", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
589
580
|
path: typing.Optional[builtins.str] = None,
|
|
590
581
|
posix_user: typing.Optional[typing.Union["PosixUser", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -592,6 +583,7 @@ class AccessPointProps(AccessPointOptions):
|
|
|
592
583
|
) -> None:
|
|
593
584
|
'''Properties for the AccessPoint.
|
|
594
585
|
|
|
586
|
+
:param client_token: The opaque string specified in the request to ensure idempotent creation. Default: - No client token
|
|
595
587
|
:param create_acl: Specifies the POSIX IDs and permissions to apply when creating the access point's root directory. If the root directory specified by ``path`` does not exist, EFS creates the root directory and applies the permissions specified here. If the specified ``path`` does not exist, you must specify ``createAcl``. Default: - None. The directory specified by ``path`` must exist.
|
|
596
588
|
:param path: Specifies the path on the EFS file system to expose as the root directory to NFS clients using the access point to access the EFS file system. Default: '/'
|
|
597
589
|
:param posix_user: The full POSIX identity, including the user ID, group ID, and any secondary group IDs, on the access point that is used for all file system operations performed by NFS clients using the access point. Specify this to enforce a user identity using an access point. Default: - user identity not enforced
|
|
@@ -611,6 +603,7 @@ class AccessPointProps(AccessPointOptions):
|
|
|
611
603
|
file_system=file_system,
|
|
612
604
|
|
|
613
605
|
# the properties below are optional
|
|
606
|
+
client_token="clientToken",
|
|
614
607
|
create_acl=efs.Acl(
|
|
615
608
|
owner_gid="ownerGid",
|
|
616
609
|
owner_uid="ownerUid",
|
|
@@ -632,6 +625,7 @@ class AccessPointProps(AccessPointOptions):
|
|
|
632
625
|
posix_user = PosixUser(**posix_user)
|
|
633
626
|
if __debug__:
|
|
634
627
|
type_hints = typing.get_type_hints(_typecheckingstub__32b9cfe4790278ebfef38060a79ab8e87662b5508943b46c7da6a219e5bc224e)
|
|
628
|
+
check_type(argname="argument client_token", value=client_token, expected_type=type_hints["client_token"])
|
|
635
629
|
check_type(argname="argument create_acl", value=create_acl, expected_type=type_hints["create_acl"])
|
|
636
630
|
check_type(argname="argument path", value=path, expected_type=type_hints["path"])
|
|
637
631
|
check_type(argname="argument posix_user", value=posix_user, expected_type=type_hints["posix_user"])
|
|
@@ -639,6 +633,8 @@ class AccessPointProps(AccessPointOptions):
|
|
|
639
633
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
640
634
|
"file_system": file_system,
|
|
641
635
|
}
|
|
636
|
+
if client_token is not None:
|
|
637
|
+
self._values["client_token"] = client_token
|
|
642
638
|
if create_acl is not None:
|
|
643
639
|
self._values["create_acl"] = create_acl
|
|
644
640
|
if path is not None:
|
|
@@ -646,6 +642,17 @@ class AccessPointProps(AccessPointOptions):
|
|
|
646
642
|
if posix_user is not None:
|
|
647
643
|
self._values["posix_user"] = posix_user
|
|
648
644
|
|
|
645
|
+
@builtins.property
|
|
646
|
+
def client_token(self) -> typing.Optional[builtins.str]:
|
|
647
|
+
'''The opaque string specified in the request to ensure idempotent creation.
|
|
648
|
+
|
|
649
|
+
:default: - No client token
|
|
650
|
+
|
|
651
|
+
:see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-accesspoint.html#cfn-efs-accesspoint-clienttoken
|
|
652
|
+
'''
|
|
653
|
+
result = self._values.get("client_token")
|
|
654
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
655
|
+
|
|
649
656
|
@builtins.property
|
|
650
657
|
def create_acl(self) -> typing.Optional["Acl"]:
|
|
651
658
|
'''Specifies the POSIX IDs and permissions to apply when creating the access point's root directory.
|
|
@@ -4414,6 +4421,7 @@ class AccessPoint(
|
|
|
4414
4421
|
id: builtins.str,
|
|
4415
4422
|
*,
|
|
4416
4423
|
file_system: IFileSystem,
|
|
4424
|
+
client_token: typing.Optional[builtins.str] = None,
|
|
4417
4425
|
create_acl: typing.Optional[typing.Union[Acl, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
4418
4426
|
path: typing.Optional[builtins.str] = None,
|
|
4419
4427
|
posix_user: typing.Optional[typing.Union[PosixUser, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -4422,6 +4430,7 @@ class AccessPoint(
|
|
|
4422
4430
|
:param scope: -
|
|
4423
4431
|
:param id: -
|
|
4424
4432
|
:param file_system: The efs filesystem.
|
|
4433
|
+
:param client_token: The opaque string specified in the request to ensure idempotent creation. Default: - No client token
|
|
4425
4434
|
:param create_acl: Specifies the POSIX IDs and permissions to apply when creating the access point's root directory. If the root directory specified by ``path`` does not exist, EFS creates the root directory and applies the permissions specified here. If the specified ``path`` does not exist, you must specify ``createAcl``. Default: - None. The directory specified by ``path`` must exist.
|
|
4426
4435
|
:param path: Specifies the path on the EFS file system to expose as the root directory to NFS clients using the access point to access the EFS file system. Default: '/'
|
|
4427
4436
|
:param posix_user: The full POSIX identity, including the user ID, group ID, and any secondary group IDs, on the access point that is used for all file system operations performed by NFS clients using the access point. Specify this to enforce a user identity using an access point. Default: - user identity not enforced
|
|
@@ -4432,6 +4441,7 @@ class AccessPoint(
|
|
|
4432
4441
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
4433
4442
|
props = AccessPointProps(
|
|
4434
4443
|
file_system=file_system,
|
|
4444
|
+
client_token=client_token,
|
|
4435
4445
|
create_acl=create_acl,
|
|
4436
4446
|
path=path,
|
|
4437
4447
|
posix_user=posix_user,
|
|
@@ -4661,6 +4671,7 @@ class FileSystem(
|
|
|
4661
4671
|
self,
|
|
4662
4672
|
id: builtins.str,
|
|
4663
4673
|
*,
|
|
4674
|
+
client_token: typing.Optional[builtins.str] = None,
|
|
4664
4675
|
create_acl: typing.Optional[typing.Union[Acl, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
4665
4676
|
path: typing.Optional[builtins.str] = None,
|
|
4666
4677
|
posix_user: typing.Optional[typing.Union[PosixUser, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -4668,6 +4679,7 @@ class FileSystem(
|
|
|
4668
4679
|
'''create access point from this filesystem.
|
|
4669
4680
|
|
|
4670
4681
|
:param id: -
|
|
4682
|
+
:param client_token: The opaque string specified in the request to ensure idempotent creation. Default: - No client token
|
|
4671
4683
|
:param create_acl: Specifies the POSIX IDs and permissions to apply when creating the access point's root directory. If the root directory specified by ``path`` does not exist, EFS creates the root directory and applies the permissions specified here. If the specified ``path`` does not exist, you must specify ``createAcl``. Default: - None. The directory specified by ``path`` must exist.
|
|
4672
4684
|
:param path: Specifies the path on the EFS file system to expose as the root directory to NFS clients using the access point to access the EFS file system. Default: '/'
|
|
4673
4685
|
:param posix_user: The full POSIX identity, including the user ID, group ID, and any secondary group IDs, on the access point that is used for all file system operations performed by NFS clients using the access point. Specify this to enforce a user identity using an access point. Default: - user identity not enforced
|
|
@@ -4676,7 +4688,10 @@ class FileSystem(
|
|
|
4676
4688
|
type_hints = typing.get_type_hints(_typecheckingstub__6ae17f92be1f854e9add049e3ad7507b46fbd97b0ceecc5921b74cffabc0fd7f)
|
|
4677
4689
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
4678
4690
|
access_point_options = AccessPointOptions(
|
|
4679
|
-
|
|
4691
|
+
client_token=client_token,
|
|
4692
|
+
create_acl=create_acl,
|
|
4693
|
+
path=path,
|
|
4694
|
+
posix_user=posix_user,
|
|
4680
4695
|
)
|
|
4681
4696
|
|
|
4682
4697
|
return typing.cast(AccessPoint, jsii.invoke(self, "addAccessPoint", [id, access_point_options]))
|
|
@@ -4829,6 +4844,7 @@ def _typecheckingstub__a7d29db03188d21de563fa9ac94c4de056afa5ee45616d3e16e4b53de
|
|
|
4829
4844
|
|
|
4830
4845
|
def _typecheckingstub__913ac22cf5c450fc4c0b0a7b6d77a1e412a1276f6c512fbacf766f6ab3a7d900(
|
|
4831
4846
|
*,
|
|
4847
|
+
client_token: typing.Optional[builtins.str] = None,
|
|
4832
4848
|
create_acl: typing.Optional[typing.Union[Acl, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
4833
4849
|
path: typing.Optional[builtins.str] = None,
|
|
4834
4850
|
posix_user: typing.Optional[typing.Union[PosixUser, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -4838,6 +4854,7 @@ def _typecheckingstub__913ac22cf5c450fc4c0b0a7b6d77a1e412a1276f6c512fbacf766f6ab
|
|
|
4838
4854
|
|
|
4839
4855
|
def _typecheckingstub__32b9cfe4790278ebfef38060a79ab8e87662b5508943b46c7da6a219e5bc224e(
|
|
4840
4856
|
*,
|
|
4857
|
+
client_token: typing.Optional[builtins.str] = None,
|
|
4841
4858
|
create_acl: typing.Optional[typing.Union[Acl, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
4842
4859
|
path: typing.Optional[builtins.str] = None,
|
|
4843
4860
|
posix_user: typing.Optional[typing.Union[PosixUser, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -5319,6 +5336,7 @@ def _typecheckingstub__b4cd5acd3aac2348517085a4188b85a5e2329da4dc443644482b9153e
|
|
|
5319
5336
|
id: builtins.str,
|
|
5320
5337
|
*,
|
|
5321
5338
|
file_system: IFileSystem,
|
|
5339
|
+
client_token: typing.Optional[builtins.str] = None,
|
|
5322
5340
|
create_acl: typing.Optional[typing.Union[Acl, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
5323
5341
|
path: typing.Optional[builtins.str] = None,
|
|
5324
5342
|
posix_user: typing.Optional[typing.Union[PosixUser, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -5386,6 +5404,7 @@ def _typecheckingstub__dece37ce89e2cfb5f78f1232aff0c1114df92cbaea2ee4e9ea83cdad9
|
|
|
5386
5404
|
def _typecheckingstub__6ae17f92be1f854e9add049e3ad7507b46fbd97b0ceecc5921b74cffabc0fd7f(
|
|
5387
5405
|
id: builtins.str,
|
|
5388
5406
|
*,
|
|
5407
|
+
client_token: typing.Optional[builtins.str] = None,
|
|
5389
5408
|
create_acl: typing.Optional[typing.Union[Acl, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
5390
5409
|
path: typing.Optional[builtins.str] = None,
|
|
5391
5410
|
posix_user: typing.Optional[typing.Union[PosixUser, typing.Dict[builtins.str, typing.Any]]] = None,
|
aws_cdk/aws_eks/__init__.py
CHANGED
|
@@ -5858,7 +5858,7 @@ class CfnCluster(
|
|
|
5858
5858
|
:param encryption_config: The encryption configuration for the cluster.
|
|
5859
5859
|
:param kubernetes_network_config: The Kubernetes network configuration for the cluster.
|
|
5860
5860
|
:param logging: The logging configuration for your cluster.
|
|
5861
|
-
:param name: The unique name to give to your cluster.
|
|
5861
|
+
:param name: The unique name to give to your cluster. The name can contain only alphanumeric characters (case-sensitive), hyphens, and underscores. 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.
|
|
5862
5862
|
: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.
|
|
5863
5863
|
: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
5864
|
: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>`_
|
|
@@ -7185,7 +7185,7 @@ class CfnClusterProps:
|
|
|
7185
7185
|
:param encryption_config: The encryption configuration for the cluster.
|
|
7186
7186
|
:param kubernetes_network_config: The Kubernetes network configuration for the cluster.
|
|
7187
7187
|
:param logging: The logging configuration for your cluster.
|
|
7188
|
-
:param name: The unique name to give to your cluster.
|
|
7188
|
+
:param name: The unique name to give to your cluster. The name can contain only alphanumeric characters (case-sensitive), hyphens, and underscores. 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.
|
|
7189
7189
|
: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.
|
|
7190
7190
|
: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
7191
|
: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>`_
|
|
@@ -7391,6 +7391,10 @@ class CfnClusterProps:
|
|
|
7391
7391
|
def name(self) -> typing.Optional[builtins.str]:
|
|
7392
7392
|
'''The unique name to give to your cluster.
|
|
7393
7393
|
|
|
7394
|
+
The name can contain only alphanumeric characters (case-sensitive),
|
|
7395
|
+
hyphens, and underscores. It must start with an alphanumeric character and can't be longer than
|
|
7396
|
+
100 characters. The name must be unique within the AWS Region and AWS account that you're creating the cluster in.
|
|
7397
|
+
|
|
7394
7398
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-cluster.html#cfn-eks-cluster-name
|
|
7395
7399
|
'''
|
|
7396
7400
|
result = self._values.get("name")
|