aws-cdk-lib 2.126.0__py3-none-any.whl → 2.127.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 +0 -2
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.126.0.jsii.tgz → aws-cdk-lib@2.127.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +18 -6
- aws_cdk/aws_amazonmq/__init__.py +3 -2
- aws_cdk/aws_amplifyuibuilder/__init__.py +1212 -666
- aws_cdk/aws_apigateway/__init__.py +7 -3
- aws_cdk/aws_appconfig/__init__.py +108 -19
- aws_cdk/aws_appsync/__init__.py +43 -0
- aws_cdk/aws_autoscaling/__init__.py +37 -14
- aws_cdk/aws_cassandra/__init__.py +810 -4
- aws_cdk/aws_cloudfront/__init__.py +35 -37
- aws_cdk/aws_cloudfront/experimental/__init__.py +21 -0
- aws_cdk/aws_codebuild/__init__.py +43 -3
- aws_cdk/aws_codecommit/__init__.py +1 -0
- aws_cdk/aws_codepipeline/__init__.py +7 -3
- aws_cdk/aws_codepipeline_actions/__init__.py +11 -1
- aws_cdk/aws_codestarnotifications/__init__.py +24 -15
- aws_cdk/aws_cognito/__init__.py +180 -116
- aws_cdk/aws_datasync/__init__.py +8 -4
- aws_cdk/aws_dynamodb/__init__.py +80 -11
- aws_cdk/aws_ec2/__init__.py +207 -45
- aws_cdk/aws_ecs/__init__.py +171 -78
- aws_cdk/aws_ecs_patterns/__init__.py +24 -0
- aws_cdk/aws_efs/__init__.py +64 -8
- aws_cdk/aws_eks/__init__.py +52 -41
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +12 -9
- aws_cdk/aws_fis/__init__.py +32 -12
- aws_cdk/aws_fsx/__init__.py +61 -43
- aws_cdk/aws_glue/__init__.py +449 -0
- aws_cdk/aws_guardduty/__init__.py +0 -8
- aws_cdk/aws_iam/__init__.py +3 -3
- aws_cdk/aws_inspectorv2/__init__.py +989 -0
- aws_cdk/aws_internetmonitor/__init__.py +10 -12
- aws_cdk/aws_iot/__init__.py +112 -0
- aws_cdk/aws_iotwireless/__init__.py +32 -19
- aws_cdk/aws_lambda/__init__.py +129 -32
- aws_cdk/aws_lambda_event_sources/__init__.py +95 -4
- aws_cdk/aws_lambda_nodejs/__init__.py +21 -0
- aws_cdk/aws_location/__init__.py +8 -2
- aws_cdk/aws_logs/__init__.py +7 -3
- aws_cdk/aws_networkmanager/__init__.py +1 -1
- aws_cdk/aws_opensearchserverless/__init__.py +4 -4
- aws_cdk/aws_osis/__init__.py +13 -13
- aws_cdk/aws_personalize/__init__.py +1 -1
- aws_cdk/aws_pinpoint/__init__.py +5 -5
- aws_cdk/aws_pipes/__init__.py +7 -10
- aws_cdk/aws_rds/__init__.py +449 -8
- aws_cdk/aws_redshiftserverless/__init__.py +282 -0
- aws_cdk/aws_rolesanywhere/__init__.py +53 -41
- aws_cdk/aws_route53/__init__.py +282 -0
- aws_cdk/aws_s3/__init__.py +11 -6
- aws_cdk/aws_sagemaker/__init__.py +1398 -39
- aws_cdk/aws_sns/__init__.py +56 -13
- aws_cdk/aws_sqs/__init__.py +13 -10
- aws_cdk/aws_stepfunctions/__init__.py +3612 -1395
- aws_cdk/aws_stepfunctions_tasks/__init__.py +267 -181
- aws_cdk/aws_transfer/__init__.py +1 -1
- aws_cdk/aws_verifiedpermissions/__init__.py +55 -55
- aws_cdk/aws_workspacesweb/__init__.py +6 -3
- aws_cdk/cx_api/__init__.py +17 -0
- aws_cdk/triggers/__init__.py +21 -0
- {aws_cdk_lib-2.126.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.126.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/RECORD +68 -69
- aws_cdk/aws_ssmguiconnect/__init__.py +0 -540
- {aws_cdk_lib-2.126.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.126.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.126.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.126.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/top_level.txt +0 -0
|
@@ -69,10 +69,13 @@ class CfnNamespace(
|
|
|
69
69
|
# The values are placeholders you should change.
|
|
70
70
|
from aws_cdk import aws_redshiftserverless as redshiftserverless
|
|
71
71
|
|
|
72
|
+
# namespace_resource_policy: Any
|
|
73
|
+
|
|
72
74
|
cfn_namespace = redshiftserverless.CfnNamespace(self, "MyCfnNamespace",
|
|
73
75
|
namespace_name="namespaceName",
|
|
74
76
|
|
|
75
77
|
# the properties below are optional
|
|
78
|
+
admin_password_secret_kms_key_id="adminPasswordSecretKmsKeyId",
|
|
76
79
|
admin_username="adminUsername",
|
|
77
80
|
admin_user_password="adminUserPassword",
|
|
78
81
|
db_name="dbName",
|
|
@@ -82,6 +85,9 @@ class CfnNamespace(
|
|
|
82
85
|
iam_roles=["iamRoles"],
|
|
83
86
|
kms_key_id="kmsKeyId",
|
|
84
87
|
log_exports=["logExports"],
|
|
88
|
+
manage_admin_password=False,
|
|
89
|
+
namespace_resource_policy=namespace_resource_policy,
|
|
90
|
+
redshift_idc_application_arn="redshiftIdcApplicationArn",
|
|
85
91
|
tags=[CfnTag(
|
|
86
92
|
key="key",
|
|
87
93
|
value="value"
|
|
@@ -95,6 +101,7 @@ class CfnNamespace(
|
|
|
95
101
|
id: builtins.str,
|
|
96
102
|
*,
|
|
97
103
|
namespace_name: builtins.str,
|
|
104
|
+
admin_password_secret_kms_key_id: typing.Optional[builtins.str] = None,
|
|
98
105
|
admin_username: typing.Optional[builtins.str] = None,
|
|
99
106
|
admin_user_password: typing.Optional[builtins.str] = None,
|
|
100
107
|
db_name: typing.Optional[builtins.str] = None,
|
|
@@ -104,12 +111,16 @@ class CfnNamespace(
|
|
|
104
111
|
iam_roles: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
105
112
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
106
113
|
log_exports: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
114
|
+
manage_admin_password: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
115
|
+
namespace_resource_policy: typing.Any = None,
|
|
116
|
+
redshift_idc_application_arn: typing.Optional[builtins.str] = None,
|
|
107
117
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
108
118
|
) -> None:
|
|
109
119
|
'''
|
|
110
120
|
:param scope: Scope in which this resource is defined.
|
|
111
121
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
112
122
|
:param namespace_name: The name of the namespace. Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in `Reserved Words <https://docs.aws.amazon.com//redshift/latest/dg/r_pg_keywords.html>`_ in the Amazon Redshift Database Developer Guide.
|
|
123
|
+
:param admin_password_secret_kms_key_id: The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret. You can only use this parameter if manageAdminPassword is true.
|
|
113
124
|
:param admin_username: The username of the administrator for the primary database created in the namespace.
|
|
114
125
|
:param admin_user_password: The password of the administrator for the primary database created in the namespace.
|
|
115
126
|
:param db_name: The name of the primary database created in the namespace.
|
|
@@ -119,6 +130,9 @@ class CfnNamespace(
|
|
|
119
130
|
:param iam_roles: A list of IAM roles to associate with the namespace.
|
|
120
131
|
:param kms_key_id: The ID of the AWS Key Management Service key used to encrypt your data.
|
|
121
132
|
:param log_exports: The types of logs the namespace can export. Available export types are ``userlog`` , ``connectionlog`` , and ``useractivitylog`` .
|
|
133
|
+
:param manage_admin_password: If true, Amazon Redshift uses AWS Secrets Manager to manage the namespace's admin credentials. You can't use adminUserPassword if manageAdminPassword is true. If manageAdminPassword is false or not set, Amazon Redshift uses adminUserPassword for the admin user account's password.
|
|
134
|
+
:param namespace_resource_policy: The resource policy document that will be attached to the namespace.
|
|
135
|
+
:param redshift_idc_application_arn: The ARN for the Redshift application that integrates with IAM Identity Center.
|
|
122
136
|
:param tags: The map of the key-value pairs used to tag the namespace.
|
|
123
137
|
'''
|
|
124
138
|
if __debug__:
|
|
@@ -127,6 +141,7 @@ class CfnNamespace(
|
|
|
127
141
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
128
142
|
props = CfnNamespaceProps(
|
|
129
143
|
namespace_name=namespace_name,
|
|
144
|
+
admin_password_secret_kms_key_id=admin_password_secret_kms_key_id,
|
|
130
145
|
admin_username=admin_username,
|
|
131
146
|
admin_user_password=admin_user_password,
|
|
132
147
|
db_name=db_name,
|
|
@@ -136,6 +151,9 @@ class CfnNamespace(
|
|
|
136
151
|
iam_roles=iam_roles,
|
|
137
152
|
kms_key_id=kms_key_id,
|
|
138
153
|
log_exports=log_exports,
|
|
154
|
+
manage_admin_password=manage_admin_password,
|
|
155
|
+
namespace_resource_policy=namespace_resource_policy,
|
|
156
|
+
redshift_idc_application_arn=redshift_idc_application_arn,
|
|
139
157
|
tags=tags,
|
|
140
158
|
)
|
|
141
159
|
|
|
@@ -292,6 +310,22 @@ class CfnNamespace(
|
|
|
292
310
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
293
311
|
jsii.set(self, "namespaceName", value)
|
|
294
312
|
|
|
313
|
+
@builtins.property
|
|
314
|
+
@jsii.member(jsii_name="adminPasswordSecretKmsKeyId")
|
|
315
|
+
def admin_password_secret_kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
316
|
+
'''The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.'''
|
|
317
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "adminPasswordSecretKmsKeyId"))
|
|
318
|
+
|
|
319
|
+
@admin_password_secret_kms_key_id.setter
|
|
320
|
+
def admin_password_secret_kms_key_id(
|
|
321
|
+
self,
|
|
322
|
+
value: typing.Optional[builtins.str],
|
|
323
|
+
) -> None:
|
|
324
|
+
if __debug__:
|
|
325
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3ad26fc5262e682a19af3392d1855021d70d396b74b82cb73cc9022919f97e63)
|
|
326
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
327
|
+
jsii.set(self, "adminPasswordSecretKmsKeyId", value)
|
|
328
|
+
|
|
295
329
|
@builtins.property
|
|
296
330
|
@jsii.member(jsii_name="adminUsername")
|
|
297
331
|
def admin_username(self) -> typing.Optional[builtins.str]:
|
|
@@ -412,6 +446,53 @@ class CfnNamespace(
|
|
|
412
446
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
413
447
|
jsii.set(self, "logExports", value)
|
|
414
448
|
|
|
449
|
+
@builtins.property
|
|
450
|
+
@jsii.member(jsii_name="manageAdminPassword")
|
|
451
|
+
def manage_admin_password(
|
|
452
|
+
self,
|
|
453
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
454
|
+
'''If true, Amazon Redshift uses AWS Secrets Manager to manage the namespace's admin credentials.'''
|
|
455
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "manageAdminPassword"))
|
|
456
|
+
|
|
457
|
+
@manage_admin_password.setter
|
|
458
|
+
def manage_admin_password(
|
|
459
|
+
self,
|
|
460
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
461
|
+
) -> None:
|
|
462
|
+
if __debug__:
|
|
463
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fee9e13028e66f79f12c6ed7063cc442fd9b8a5aa18d9a39ced55fd585d8f0d4)
|
|
464
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
465
|
+
jsii.set(self, "manageAdminPassword", value)
|
|
466
|
+
|
|
467
|
+
@builtins.property
|
|
468
|
+
@jsii.member(jsii_name="namespaceResourcePolicy")
|
|
469
|
+
def namespace_resource_policy(self) -> typing.Any:
|
|
470
|
+
'''The resource policy document that will be attached to the namespace.'''
|
|
471
|
+
return typing.cast(typing.Any, jsii.get(self, "namespaceResourcePolicy"))
|
|
472
|
+
|
|
473
|
+
@namespace_resource_policy.setter
|
|
474
|
+
def namespace_resource_policy(self, value: typing.Any) -> None:
|
|
475
|
+
if __debug__:
|
|
476
|
+
type_hints = typing.get_type_hints(_typecheckingstub__43a289d7dca3804ca980a93314a4c0b2949e95448b9e91aef20d960cd1facef7)
|
|
477
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
478
|
+
jsii.set(self, "namespaceResourcePolicy", value)
|
|
479
|
+
|
|
480
|
+
@builtins.property
|
|
481
|
+
@jsii.member(jsii_name="redshiftIdcApplicationArn")
|
|
482
|
+
def redshift_idc_application_arn(self) -> typing.Optional[builtins.str]:
|
|
483
|
+
'''The ARN for the Redshift application that integrates with IAM Identity Center.'''
|
|
484
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "redshiftIdcApplicationArn"))
|
|
485
|
+
|
|
486
|
+
@redshift_idc_application_arn.setter
|
|
487
|
+
def redshift_idc_application_arn(
|
|
488
|
+
self,
|
|
489
|
+
value: typing.Optional[builtins.str],
|
|
490
|
+
) -> None:
|
|
491
|
+
if __debug__:
|
|
492
|
+
type_hints = typing.get_type_hints(_typecheckingstub__51136c4f6d62ea1ed8116bbb890860f45a983131873ecd0a7b407595037600cc)
|
|
493
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
494
|
+
jsii.set(self, "redshiftIdcApplicationArn", value)
|
|
495
|
+
|
|
415
496
|
@builtins.property
|
|
416
497
|
@jsii.member(jsii_name="tagsRaw")
|
|
417
498
|
def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
@@ -429,6 +510,8 @@ class CfnNamespace(
|
|
|
429
510
|
jsii_type="aws-cdk-lib.aws_redshiftserverless.CfnNamespace.NamespaceProperty",
|
|
430
511
|
jsii_struct_bases=[],
|
|
431
512
|
name_mapping={
|
|
513
|
+
"admin_password_secret_arn": "adminPasswordSecretArn",
|
|
514
|
+
"admin_password_secret_kms_key_id": "adminPasswordSecretKmsKeyId",
|
|
432
515
|
"admin_username": "adminUsername",
|
|
433
516
|
"creation_date": "creationDate",
|
|
434
517
|
"db_name": "dbName",
|
|
@@ -446,6 +529,8 @@ class CfnNamespace(
|
|
|
446
529
|
def __init__(
|
|
447
530
|
self,
|
|
448
531
|
*,
|
|
532
|
+
admin_password_secret_arn: typing.Optional[builtins.str] = None,
|
|
533
|
+
admin_password_secret_kms_key_id: typing.Optional[builtins.str] = None,
|
|
449
534
|
admin_username: typing.Optional[builtins.str] = None,
|
|
450
535
|
creation_date: typing.Optional[builtins.str] = None,
|
|
451
536
|
db_name: typing.Optional[builtins.str] = None,
|
|
@@ -460,6 +545,8 @@ class CfnNamespace(
|
|
|
460
545
|
) -> None:
|
|
461
546
|
'''A collection of database objects and users.
|
|
462
547
|
|
|
548
|
+
:param admin_password_secret_arn:
|
|
549
|
+
:param admin_password_secret_kms_key_id:
|
|
463
550
|
:param admin_username: The username of the administrator for the first database created in the namespace.
|
|
464
551
|
:param creation_date: The date of when the namespace was created.
|
|
465
552
|
:param db_name: The name of the first database created in the namespace.
|
|
@@ -482,6 +569,8 @@ class CfnNamespace(
|
|
|
482
569
|
from aws_cdk import aws_redshiftserverless as redshiftserverless
|
|
483
570
|
|
|
484
571
|
namespace_property = redshiftserverless.CfnNamespace.NamespaceProperty(
|
|
572
|
+
admin_password_secret_arn="adminPasswordSecretArn",
|
|
573
|
+
admin_password_secret_kms_key_id="adminPasswordSecretKmsKeyId",
|
|
485
574
|
admin_username="adminUsername",
|
|
486
575
|
creation_date="creationDate",
|
|
487
576
|
db_name="dbName",
|
|
@@ -497,6 +586,8 @@ class CfnNamespace(
|
|
|
497
586
|
'''
|
|
498
587
|
if __debug__:
|
|
499
588
|
type_hints = typing.get_type_hints(_typecheckingstub__6bcbea65acb7d2a3cef7455cfbb52c832d3da01cd5e02df21a06cdb2b4822e35)
|
|
589
|
+
check_type(argname="argument admin_password_secret_arn", value=admin_password_secret_arn, expected_type=type_hints["admin_password_secret_arn"])
|
|
590
|
+
check_type(argname="argument admin_password_secret_kms_key_id", value=admin_password_secret_kms_key_id, expected_type=type_hints["admin_password_secret_kms_key_id"])
|
|
500
591
|
check_type(argname="argument admin_username", value=admin_username, expected_type=type_hints["admin_username"])
|
|
501
592
|
check_type(argname="argument creation_date", value=creation_date, expected_type=type_hints["creation_date"])
|
|
502
593
|
check_type(argname="argument db_name", value=db_name, expected_type=type_hints["db_name"])
|
|
@@ -509,6 +600,10 @@ class CfnNamespace(
|
|
|
509
600
|
check_type(argname="argument namespace_name", value=namespace_name, expected_type=type_hints["namespace_name"])
|
|
510
601
|
check_type(argname="argument status", value=status, expected_type=type_hints["status"])
|
|
511
602
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
603
|
+
if admin_password_secret_arn is not None:
|
|
604
|
+
self._values["admin_password_secret_arn"] = admin_password_secret_arn
|
|
605
|
+
if admin_password_secret_kms_key_id is not None:
|
|
606
|
+
self._values["admin_password_secret_kms_key_id"] = admin_password_secret_kms_key_id
|
|
512
607
|
if admin_username is not None:
|
|
513
608
|
self._values["admin_username"] = admin_username
|
|
514
609
|
if creation_date is not None:
|
|
@@ -532,6 +627,22 @@ class CfnNamespace(
|
|
|
532
627
|
if status is not None:
|
|
533
628
|
self._values["status"] = status
|
|
534
629
|
|
|
630
|
+
@builtins.property
|
|
631
|
+
def admin_password_secret_arn(self) -> typing.Optional[builtins.str]:
|
|
632
|
+
'''
|
|
633
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-namespace-namespace.html#cfn-redshiftserverless-namespace-namespace-adminpasswordsecretarn
|
|
634
|
+
'''
|
|
635
|
+
result = self._values.get("admin_password_secret_arn")
|
|
636
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
637
|
+
|
|
638
|
+
@builtins.property
|
|
639
|
+
def admin_password_secret_kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
640
|
+
'''
|
|
641
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-namespace-namespace.html#cfn-redshiftserverless-namespace-namespace-adminpasswordsecretkmskeyid
|
|
642
|
+
'''
|
|
643
|
+
result = self._values.get("admin_password_secret_kms_key_id")
|
|
644
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
645
|
+
|
|
535
646
|
@builtins.property
|
|
536
647
|
def admin_username(self) -> typing.Optional[builtins.str]:
|
|
537
648
|
'''The username of the administrator for the first database created in the namespace.
|
|
@@ -652,6 +763,7 @@ class CfnNamespace(
|
|
|
652
763
|
jsii_struct_bases=[],
|
|
653
764
|
name_mapping={
|
|
654
765
|
"namespace_name": "namespaceName",
|
|
766
|
+
"admin_password_secret_kms_key_id": "adminPasswordSecretKmsKeyId",
|
|
655
767
|
"admin_username": "adminUsername",
|
|
656
768
|
"admin_user_password": "adminUserPassword",
|
|
657
769
|
"db_name": "dbName",
|
|
@@ -661,6 +773,9 @@ class CfnNamespace(
|
|
|
661
773
|
"iam_roles": "iamRoles",
|
|
662
774
|
"kms_key_id": "kmsKeyId",
|
|
663
775
|
"log_exports": "logExports",
|
|
776
|
+
"manage_admin_password": "manageAdminPassword",
|
|
777
|
+
"namespace_resource_policy": "namespaceResourcePolicy",
|
|
778
|
+
"redshift_idc_application_arn": "redshiftIdcApplicationArn",
|
|
664
779
|
"tags": "tags",
|
|
665
780
|
},
|
|
666
781
|
)
|
|
@@ -669,6 +784,7 @@ class CfnNamespaceProps:
|
|
|
669
784
|
self,
|
|
670
785
|
*,
|
|
671
786
|
namespace_name: builtins.str,
|
|
787
|
+
admin_password_secret_kms_key_id: typing.Optional[builtins.str] = None,
|
|
672
788
|
admin_username: typing.Optional[builtins.str] = None,
|
|
673
789
|
admin_user_password: typing.Optional[builtins.str] = None,
|
|
674
790
|
db_name: typing.Optional[builtins.str] = None,
|
|
@@ -678,11 +794,15 @@ class CfnNamespaceProps:
|
|
|
678
794
|
iam_roles: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
679
795
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
680
796
|
log_exports: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
797
|
+
manage_admin_password: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
798
|
+
namespace_resource_policy: typing.Any = None,
|
|
799
|
+
redshift_idc_application_arn: typing.Optional[builtins.str] = None,
|
|
681
800
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
682
801
|
) -> None:
|
|
683
802
|
'''Properties for defining a ``CfnNamespace``.
|
|
684
803
|
|
|
685
804
|
:param namespace_name: The name of the namespace. Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in `Reserved Words <https://docs.aws.amazon.com//redshift/latest/dg/r_pg_keywords.html>`_ in the Amazon Redshift Database Developer Guide.
|
|
805
|
+
:param admin_password_secret_kms_key_id: The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret. You can only use this parameter if manageAdminPassword is true.
|
|
686
806
|
:param admin_username: The username of the administrator for the primary database created in the namespace.
|
|
687
807
|
:param admin_user_password: The password of the administrator for the primary database created in the namespace.
|
|
688
808
|
:param db_name: The name of the primary database created in the namespace.
|
|
@@ -692,6 +812,9 @@ class CfnNamespaceProps:
|
|
|
692
812
|
:param iam_roles: A list of IAM roles to associate with the namespace.
|
|
693
813
|
:param kms_key_id: The ID of the AWS Key Management Service key used to encrypt your data.
|
|
694
814
|
:param log_exports: The types of logs the namespace can export. Available export types are ``userlog`` , ``connectionlog`` , and ``useractivitylog`` .
|
|
815
|
+
:param manage_admin_password: If true, Amazon Redshift uses AWS Secrets Manager to manage the namespace's admin credentials. You can't use adminUserPassword if manageAdminPassword is true. If manageAdminPassword is false or not set, Amazon Redshift uses adminUserPassword for the admin user account's password.
|
|
816
|
+
:param namespace_resource_policy: The resource policy document that will be attached to the namespace.
|
|
817
|
+
:param redshift_idc_application_arn: The ARN for the Redshift application that integrates with IAM Identity Center.
|
|
695
818
|
:param tags: The map of the key-value pairs used to tag the namespace.
|
|
696
819
|
|
|
697
820
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshiftserverless-namespace.html
|
|
@@ -703,10 +826,13 @@ class CfnNamespaceProps:
|
|
|
703
826
|
# The values are placeholders you should change.
|
|
704
827
|
from aws_cdk import aws_redshiftserverless as redshiftserverless
|
|
705
828
|
|
|
829
|
+
# namespace_resource_policy: Any
|
|
830
|
+
|
|
706
831
|
cfn_namespace_props = redshiftserverless.CfnNamespaceProps(
|
|
707
832
|
namespace_name="namespaceName",
|
|
708
833
|
|
|
709
834
|
# the properties below are optional
|
|
835
|
+
admin_password_secret_kms_key_id="adminPasswordSecretKmsKeyId",
|
|
710
836
|
admin_username="adminUsername",
|
|
711
837
|
admin_user_password="adminUserPassword",
|
|
712
838
|
db_name="dbName",
|
|
@@ -716,6 +842,9 @@ class CfnNamespaceProps:
|
|
|
716
842
|
iam_roles=["iamRoles"],
|
|
717
843
|
kms_key_id="kmsKeyId",
|
|
718
844
|
log_exports=["logExports"],
|
|
845
|
+
manage_admin_password=False,
|
|
846
|
+
namespace_resource_policy=namespace_resource_policy,
|
|
847
|
+
redshift_idc_application_arn="redshiftIdcApplicationArn",
|
|
719
848
|
tags=[CfnTag(
|
|
720
849
|
key="key",
|
|
721
850
|
value="value"
|
|
@@ -725,6 +854,7 @@ class CfnNamespaceProps:
|
|
|
725
854
|
if __debug__:
|
|
726
855
|
type_hints = typing.get_type_hints(_typecheckingstub__5964a5da555f62a5d9615a6e07cd0d1128cdf904fd5aa3c5be9fd5e53dc30bd9)
|
|
727
856
|
check_type(argname="argument namespace_name", value=namespace_name, expected_type=type_hints["namespace_name"])
|
|
857
|
+
check_type(argname="argument admin_password_secret_kms_key_id", value=admin_password_secret_kms_key_id, expected_type=type_hints["admin_password_secret_kms_key_id"])
|
|
728
858
|
check_type(argname="argument admin_username", value=admin_username, expected_type=type_hints["admin_username"])
|
|
729
859
|
check_type(argname="argument admin_user_password", value=admin_user_password, expected_type=type_hints["admin_user_password"])
|
|
730
860
|
check_type(argname="argument db_name", value=db_name, expected_type=type_hints["db_name"])
|
|
@@ -734,10 +864,15 @@ class CfnNamespaceProps:
|
|
|
734
864
|
check_type(argname="argument iam_roles", value=iam_roles, expected_type=type_hints["iam_roles"])
|
|
735
865
|
check_type(argname="argument kms_key_id", value=kms_key_id, expected_type=type_hints["kms_key_id"])
|
|
736
866
|
check_type(argname="argument log_exports", value=log_exports, expected_type=type_hints["log_exports"])
|
|
867
|
+
check_type(argname="argument manage_admin_password", value=manage_admin_password, expected_type=type_hints["manage_admin_password"])
|
|
868
|
+
check_type(argname="argument namespace_resource_policy", value=namespace_resource_policy, expected_type=type_hints["namespace_resource_policy"])
|
|
869
|
+
check_type(argname="argument redshift_idc_application_arn", value=redshift_idc_application_arn, expected_type=type_hints["redshift_idc_application_arn"])
|
|
737
870
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
738
871
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
739
872
|
"namespace_name": namespace_name,
|
|
740
873
|
}
|
|
874
|
+
if admin_password_secret_kms_key_id is not None:
|
|
875
|
+
self._values["admin_password_secret_kms_key_id"] = admin_password_secret_kms_key_id
|
|
741
876
|
if admin_username is not None:
|
|
742
877
|
self._values["admin_username"] = admin_username
|
|
743
878
|
if admin_user_password is not None:
|
|
@@ -756,6 +891,12 @@ class CfnNamespaceProps:
|
|
|
756
891
|
self._values["kms_key_id"] = kms_key_id
|
|
757
892
|
if log_exports is not None:
|
|
758
893
|
self._values["log_exports"] = log_exports
|
|
894
|
+
if manage_admin_password is not None:
|
|
895
|
+
self._values["manage_admin_password"] = manage_admin_password
|
|
896
|
+
if namespace_resource_policy is not None:
|
|
897
|
+
self._values["namespace_resource_policy"] = namespace_resource_policy
|
|
898
|
+
if redshift_idc_application_arn is not None:
|
|
899
|
+
self._values["redshift_idc_application_arn"] = redshift_idc_application_arn
|
|
759
900
|
if tags is not None:
|
|
760
901
|
self._values["tags"] = tags
|
|
761
902
|
|
|
@@ -771,6 +912,17 @@ class CfnNamespaceProps:
|
|
|
771
912
|
assert result is not None, "Required property 'namespace_name' is missing"
|
|
772
913
|
return typing.cast(builtins.str, result)
|
|
773
914
|
|
|
915
|
+
@builtins.property
|
|
916
|
+
def admin_password_secret_kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
917
|
+
'''The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.
|
|
918
|
+
|
|
919
|
+
You can only use this parameter if manageAdminPassword is true.
|
|
920
|
+
|
|
921
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshiftserverless-namespace.html#cfn-redshiftserverless-namespace-adminpasswordsecretkmskeyid
|
|
922
|
+
'''
|
|
923
|
+
result = self._values.get("admin_password_secret_kms_key_id")
|
|
924
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
925
|
+
|
|
774
926
|
@builtins.property
|
|
775
927
|
def admin_username(self) -> typing.Optional[builtins.str]:
|
|
776
928
|
'''The username of the administrator for the primary database created in the namespace.
|
|
@@ -854,6 +1006,37 @@ class CfnNamespaceProps:
|
|
|
854
1006
|
result = self._values.get("log_exports")
|
|
855
1007
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
856
1008
|
|
|
1009
|
+
@builtins.property
|
|
1010
|
+
def manage_admin_password(
|
|
1011
|
+
self,
|
|
1012
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
1013
|
+
'''If true, Amazon Redshift uses AWS Secrets Manager to manage the namespace's admin credentials.
|
|
1014
|
+
|
|
1015
|
+
You can't use adminUserPassword if manageAdminPassword is true. If manageAdminPassword is false or not set, Amazon Redshift uses adminUserPassword for the admin user account's password.
|
|
1016
|
+
|
|
1017
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshiftserverless-namespace.html#cfn-redshiftserverless-namespace-manageadminpassword
|
|
1018
|
+
'''
|
|
1019
|
+
result = self._values.get("manage_admin_password")
|
|
1020
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
1021
|
+
|
|
1022
|
+
@builtins.property
|
|
1023
|
+
def namespace_resource_policy(self) -> typing.Any:
|
|
1024
|
+
'''The resource policy document that will be attached to the namespace.
|
|
1025
|
+
|
|
1026
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshiftserverless-namespace.html#cfn-redshiftserverless-namespace-namespaceresourcepolicy
|
|
1027
|
+
'''
|
|
1028
|
+
result = self._values.get("namespace_resource_policy")
|
|
1029
|
+
return typing.cast(typing.Any, result)
|
|
1030
|
+
|
|
1031
|
+
@builtins.property
|
|
1032
|
+
def redshift_idc_application_arn(self) -> typing.Optional[builtins.str]:
|
|
1033
|
+
'''The ARN for the Redshift application that integrates with IAM Identity Center.
|
|
1034
|
+
|
|
1035
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshiftserverless-namespace.html#cfn-redshiftserverless-namespace-redshiftidcapplicationarn
|
|
1036
|
+
'''
|
|
1037
|
+
result = self._values.get("redshift_idc_application_arn")
|
|
1038
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1039
|
+
|
|
857
1040
|
@builtins.property
|
|
858
1041
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
859
1042
|
'''The map of the key-value pairs used to tag the namespace.
|
|
@@ -903,6 +1086,7 @@ class CfnWorkgroup(
|
|
|
903
1086
|
parameter_value="parameterValue"
|
|
904
1087
|
)],
|
|
905
1088
|
enhanced_vpc_routing=False,
|
|
1089
|
+
max_capacity=123,
|
|
906
1090
|
namespace_name="namespaceName",
|
|
907
1091
|
port=123,
|
|
908
1092
|
publicly_accessible=False,
|
|
@@ -924,6 +1108,7 @@ class CfnWorkgroup(
|
|
|
924
1108
|
base_capacity: typing.Optional[jsii.Number] = None,
|
|
925
1109
|
config_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkgroup.ConfigParameterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
926
1110
|
enhanced_vpc_routing: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1111
|
+
max_capacity: typing.Optional[jsii.Number] = None,
|
|
927
1112
|
namespace_name: typing.Optional[builtins.str] = None,
|
|
928
1113
|
port: typing.Optional[jsii.Number] = None,
|
|
929
1114
|
publicly_accessible: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
@@ -938,6 +1123,7 @@ class CfnWorkgroup(
|
|
|
938
1123
|
:param base_capacity: The base compute capacity of the workgroup in Redshift Processing Units (RPUs).
|
|
939
1124
|
:param config_parameters: A list of parameters to set for finer control over a database. Available options are ``datestyle`` , ``enable_user_activity_logging`` , ``query_group`` , ``search_path`` , ``max_query_execution_time`` , and ``require_ssl`` .
|
|
940
1125
|
:param enhanced_vpc_routing: The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC. Default: - false
|
|
1126
|
+
:param max_capacity: The max compute capacity of the workgroup in Redshift Processing Units (RPUs).
|
|
941
1127
|
:param namespace_name: The namespace the workgroup is associated with.
|
|
942
1128
|
:param port: The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.
|
|
943
1129
|
:param publicly_accessible: A value that specifies whether the workgroup can be accessible from a public network. Default: - false
|
|
@@ -954,6 +1140,7 @@ class CfnWorkgroup(
|
|
|
954
1140
|
base_capacity=base_capacity,
|
|
955
1141
|
config_parameters=config_parameters,
|
|
956
1142
|
enhanced_vpc_routing=enhanced_vpc_routing,
|
|
1143
|
+
max_capacity=max_capacity,
|
|
957
1144
|
namespace_name=namespace_name,
|
|
958
1145
|
port=port,
|
|
959
1146
|
publicly_accessible=publicly_accessible,
|
|
@@ -1067,6 +1254,14 @@ class CfnWorkgroup(
|
|
|
1067
1254
|
'''
|
|
1068
1255
|
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrWorkgroupEnhancedVpcRouting"))
|
|
1069
1256
|
|
|
1257
|
+
@builtins.property
|
|
1258
|
+
@jsii.member(jsii_name="attrWorkgroupMaxCapacity")
|
|
1259
|
+
def attr_workgroup_max_capacity(self) -> jsii.Number:
|
|
1260
|
+
'''
|
|
1261
|
+
:cloudformationAttribute: Workgroup.MaxCapacity
|
|
1262
|
+
'''
|
|
1263
|
+
return typing.cast(jsii.Number, jsii.get(self, "attrWorkgroupMaxCapacity"))
|
|
1264
|
+
|
|
1070
1265
|
@builtins.property
|
|
1071
1266
|
@jsii.member(jsii_name="attrWorkgroupNamespaceName")
|
|
1072
1267
|
def attr_workgroup_namespace_name(self) -> builtins.str:
|
|
@@ -1204,6 +1399,19 @@ class CfnWorkgroup(
|
|
|
1204
1399
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1205
1400
|
jsii.set(self, "enhancedVpcRouting", value)
|
|
1206
1401
|
|
|
1402
|
+
@builtins.property
|
|
1403
|
+
@jsii.member(jsii_name="maxCapacity")
|
|
1404
|
+
def max_capacity(self) -> typing.Optional[jsii.Number]:
|
|
1405
|
+
'''The max compute capacity of the workgroup in Redshift Processing Units (RPUs).'''
|
|
1406
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "maxCapacity"))
|
|
1407
|
+
|
|
1408
|
+
@max_capacity.setter
|
|
1409
|
+
def max_capacity(self, value: typing.Optional[jsii.Number]) -> None:
|
|
1410
|
+
if __debug__:
|
|
1411
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4ceab2fa028856954a409378fab7e1382a9cf79f0bf83fa7f082c0d6996e02e9)
|
|
1412
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1413
|
+
jsii.set(self, "maxCapacity", value)
|
|
1414
|
+
|
|
1207
1415
|
@builtins.property
|
|
1208
1416
|
@jsii.member(jsii_name="namespaceName")
|
|
1209
1417
|
def namespace_name(self) -> typing.Optional[builtins.str]:
|
|
@@ -1677,6 +1885,7 @@ class CfnWorkgroup(
|
|
|
1677
1885
|
"creation_date": "creationDate",
|
|
1678
1886
|
"endpoint": "endpoint",
|
|
1679
1887
|
"enhanced_vpc_routing": "enhancedVpcRouting",
|
|
1888
|
+
"max_capacity": "maxCapacity",
|
|
1680
1889
|
"namespace_name": "namespaceName",
|
|
1681
1890
|
"publicly_accessible": "publiclyAccessible",
|
|
1682
1891
|
"security_group_ids": "securityGroupIds",
|
|
@@ -1696,6 +1905,7 @@ class CfnWorkgroup(
|
|
|
1696
1905
|
creation_date: typing.Optional[builtins.str] = None,
|
|
1697
1906
|
endpoint: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkgroup.EndpointProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1698
1907
|
enhanced_vpc_routing: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1908
|
+
max_capacity: typing.Optional[jsii.Number] = None,
|
|
1699
1909
|
namespace_name: typing.Optional[builtins.str] = None,
|
|
1700
1910
|
publicly_accessible: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1701
1911
|
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -1712,6 +1922,7 @@ class CfnWorkgroup(
|
|
|
1712
1922
|
:param creation_date: The creation date of the workgroup.
|
|
1713
1923
|
:param endpoint: The endpoint that is created from the workgroup.
|
|
1714
1924
|
:param enhanced_vpc_routing: The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.
|
|
1925
|
+
:param max_capacity:
|
|
1715
1926
|
:param namespace_name: The namespace the workgroup is associated with.
|
|
1716
1927
|
:param publicly_accessible: A value that specifies whether the workgroup can be accessible from a public network.
|
|
1717
1928
|
:param security_group_ids: An array of security group IDs to associate with the workgroup.
|
|
@@ -1752,6 +1963,7 @@ class CfnWorkgroup(
|
|
|
1752
1963
|
)]
|
|
1753
1964
|
),
|
|
1754
1965
|
enhanced_vpc_routing=False,
|
|
1966
|
+
max_capacity=123,
|
|
1755
1967
|
namespace_name="namespaceName",
|
|
1756
1968
|
publicly_accessible=False,
|
|
1757
1969
|
security_group_ids=["securityGroupIds"],
|
|
@@ -1769,6 +1981,7 @@ class CfnWorkgroup(
|
|
|
1769
1981
|
check_type(argname="argument creation_date", value=creation_date, expected_type=type_hints["creation_date"])
|
|
1770
1982
|
check_type(argname="argument endpoint", value=endpoint, expected_type=type_hints["endpoint"])
|
|
1771
1983
|
check_type(argname="argument enhanced_vpc_routing", value=enhanced_vpc_routing, expected_type=type_hints["enhanced_vpc_routing"])
|
|
1984
|
+
check_type(argname="argument max_capacity", value=max_capacity, expected_type=type_hints["max_capacity"])
|
|
1772
1985
|
check_type(argname="argument namespace_name", value=namespace_name, expected_type=type_hints["namespace_name"])
|
|
1773
1986
|
check_type(argname="argument publicly_accessible", value=publicly_accessible, expected_type=type_hints["publicly_accessible"])
|
|
1774
1987
|
check_type(argname="argument security_group_ids", value=security_group_ids, expected_type=type_hints["security_group_ids"])
|
|
@@ -1788,6 +2001,8 @@ class CfnWorkgroup(
|
|
|
1788
2001
|
self._values["endpoint"] = endpoint
|
|
1789
2002
|
if enhanced_vpc_routing is not None:
|
|
1790
2003
|
self._values["enhanced_vpc_routing"] = enhanced_vpc_routing
|
|
2004
|
+
if max_capacity is not None:
|
|
2005
|
+
self._values["max_capacity"] = max_capacity
|
|
1791
2006
|
if namespace_name is not None:
|
|
1792
2007
|
self._values["namespace_name"] = namespace_name
|
|
1793
2008
|
if publicly_accessible is not None:
|
|
@@ -1858,6 +2073,14 @@ class CfnWorkgroup(
|
|
|
1858
2073
|
result = self._values.get("enhanced_vpc_routing")
|
|
1859
2074
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
1860
2075
|
|
|
2076
|
+
@builtins.property
|
|
2077
|
+
def max_capacity(self) -> typing.Optional[jsii.Number]:
|
|
2078
|
+
'''
|
|
2079
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-workgroup-workgroup.html#cfn-redshiftserverless-workgroup-workgroup-maxcapacity
|
|
2080
|
+
'''
|
|
2081
|
+
result = self._values.get("max_capacity")
|
|
2082
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2083
|
+
|
|
1861
2084
|
@builtins.property
|
|
1862
2085
|
def namespace_name(self) -> typing.Optional[builtins.str]:
|
|
1863
2086
|
'''The namespace the workgroup is associated with.
|
|
@@ -1952,6 +2175,7 @@ class CfnWorkgroup(
|
|
|
1952
2175
|
"base_capacity": "baseCapacity",
|
|
1953
2176
|
"config_parameters": "configParameters",
|
|
1954
2177
|
"enhanced_vpc_routing": "enhancedVpcRouting",
|
|
2178
|
+
"max_capacity": "maxCapacity",
|
|
1955
2179
|
"namespace_name": "namespaceName",
|
|
1956
2180
|
"port": "port",
|
|
1957
2181
|
"publicly_accessible": "publiclyAccessible",
|
|
@@ -1968,6 +2192,7 @@ class CfnWorkgroupProps:
|
|
|
1968
2192
|
base_capacity: typing.Optional[jsii.Number] = None,
|
|
1969
2193
|
config_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkgroup.ConfigParameterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1970
2194
|
enhanced_vpc_routing: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2195
|
+
max_capacity: typing.Optional[jsii.Number] = None,
|
|
1971
2196
|
namespace_name: typing.Optional[builtins.str] = None,
|
|
1972
2197
|
port: typing.Optional[jsii.Number] = None,
|
|
1973
2198
|
publicly_accessible: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
@@ -1981,6 +2206,7 @@ class CfnWorkgroupProps:
|
|
|
1981
2206
|
:param base_capacity: The base compute capacity of the workgroup in Redshift Processing Units (RPUs).
|
|
1982
2207
|
:param config_parameters: A list of parameters to set for finer control over a database. Available options are ``datestyle`` , ``enable_user_activity_logging`` , ``query_group`` , ``search_path`` , ``max_query_execution_time`` , and ``require_ssl`` .
|
|
1983
2208
|
:param enhanced_vpc_routing: The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC. Default: - false
|
|
2209
|
+
:param max_capacity: The max compute capacity of the workgroup in Redshift Processing Units (RPUs).
|
|
1984
2210
|
:param namespace_name: The namespace the workgroup is associated with.
|
|
1985
2211
|
:param port: The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.
|
|
1986
2212
|
:param publicly_accessible: A value that specifies whether the workgroup can be accessible from a public network. Default: - false
|
|
@@ -2007,6 +2233,7 @@ class CfnWorkgroupProps:
|
|
|
2007
2233
|
parameter_value="parameterValue"
|
|
2008
2234
|
)],
|
|
2009
2235
|
enhanced_vpc_routing=False,
|
|
2236
|
+
max_capacity=123,
|
|
2010
2237
|
namespace_name="namespaceName",
|
|
2011
2238
|
port=123,
|
|
2012
2239
|
publicly_accessible=False,
|
|
@@ -2024,6 +2251,7 @@ class CfnWorkgroupProps:
|
|
|
2024
2251
|
check_type(argname="argument base_capacity", value=base_capacity, expected_type=type_hints["base_capacity"])
|
|
2025
2252
|
check_type(argname="argument config_parameters", value=config_parameters, expected_type=type_hints["config_parameters"])
|
|
2026
2253
|
check_type(argname="argument enhanced_vpc_routing", value=enhanced_vpc_routing, expected_type=type_hints["enhanced_vpc_routing"])
|
|
2254
|
+
check_type(argname="argument max_capacity", value=max_capacity, expected_type=type_hints["max_capacity"])
|
|
2027
2255
|
check_type(argname="argument namespace_name", value=namespace_name, expected_type=type_hints["namespace_name"])
|
|
2028
2256
|
check_type(argname="argument port", value=port, expected_type=type_hints["port"])
|
|
2029
2257
|
check_type(argname="argument publicly_accessible", value=publicly_accessible, expected_type=type_hints["publicly_accessible"])
|
|
@@ -2039,6 +2267,8 @@ class CfnWorkgroupProps:
|
|
|
2039
2267
|
self._values["config_parameters"] = config_parameters
|
|
2040
2268
|
if enhanced_vpc_routing is not None:
|
|
2041
2269
|
self._values["enhanced_vpc_routing"] = enhanced_vpc_routing
|
|
2270
|
+
if max_capacity is not None:
|
|
2271
|
+
self._values["max_capacity"] = max_capacity
|
|
2042
2272
|
if namespace_name is not None:
|
|
2043
2273
|
self._values["namespace_name"] = namespace_name
|
|
2044
2274
|
if port is not None:
|
|
@@ -2097,6 +2327,15 @@ class CfnWorkgroupProps:
|
|
|
2097
2327
|
result = self._values.get("enhanced_vpc_routing")
|
|
2098
2328
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
2099
2329
|
|
|
2330
|
+
@builtins.property
|
|
2331
|
+
def max_capacity(self) -> typing.Optional[jsii.Number]:
|
|
2332
|
+
'''The max compute capacity of the workgroup in Redshift Processing Units (RPUs).
|
|
2333
|
+
|
|
2334
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshiftserverless-workgroup.html#cfn-redshiftserverless-workgroup-maxcapacity
|
|
2335
|
+
'''
|
|
2336
|
+
result = self._values.get("max_capacity")
|
|
2337
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2338
|
+
|
|
2100
2339
|
@builtins.property
|
|
2101
2340
|
def namespace_name(self) -> typing.Optional[builtins.str]:
|
|
2102
2341
|
'''The namespace the workgroup is associated with.
|
|
@@ -2183,6 +2422,7 @@ def _typecheckingstub__e517382d9f55a518348d7299a7ce6c5be66bae2202f4223bf3c891a7d
|
|
|
2183
2422
|
id: builtins.str,
|
|
2184
2423
|
*,
|
|
2185
2424
|
namespace_name: builtins.str,
|
|
2425
|
+
admin_password_secret_kms_key_id: typing.Optional[builtins.str] = None,
|
|
2186
2426
|
admin_username: typing.Optional[builtins.str] = None,
|
|
2187
2427
|
admin_user_password: typing.Optional[builtins.str] = None,
|
|
2188
2428
|
db_name: typing.Optional[builtins.str] = None,
|
|
@@ -2192,6 +2432,9 @@ def _typecheckingstub__e517382d9f55a518348d7299a7ce6c5be66bae2202f4223bf3c891a7d
|
|
|
2192
2432
|
iam_roles: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2193
2433
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
2194
2434
|
log_exports: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2435
|
+
manage_admin_password: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2436
|
+
namespace_resource_policy: typing.Any = None,
|
|
2437
|
+
redshift_idc_application_arn: typing.Optional[builtins.str] = None,
|
|
2195
2438
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2196
2439
|
) -> None:
|
|
2197
2440
|
"""Type checking stubs"""
|
|
@@ -2215,6 +2458,12 @@ def _typecheckingstub__2fe15d8ff16345a3e36d8c090d48eea89c8cd559ac4218facdfd95b67
|
|
|
2215
2458
|
"""Type checking stubs"""
|
|
2216
2459
|
pass
|
|
2217
2460
|
|
|
2461
|
+
def _typecheckingstub__3ad26fc5262e682a19af3392d1855021d70d396b74b82cb73cc9022919f97e63(
|
|
2462
|
+
value: typing.Optional[builtins.str],
|
|
2463
|
+
) -> None:
|
|
2464
|
+
"""Type checking stubs"""
|
|
2465
|
+
pass
|
|
2466
|
+
|
|
2218
2467
|
def _typecheckingstub__6e95b6bb908e50903825c7cbfdb447ab3aceb27b3a93be8aa57fe8923f432493(
|
|
2219
2468
|
value: typing.Optional[builtins.str],
|
|
2220
2469
|
) -> None:
|
|
@@ -2269,6 +2518,24 @@ def _typecheckingstub__1526e0cedff0515a6bb96570f366670e82fb4d0cc597e2d7a8b0a091f
|
|
|
2269
2518
|
"""Type checking stubs"""
|
|
2270
2519
|
pass
|
|
2271
2520
|
|
|
2521
|
+
def _typecheckingstub__fee9e13028e66f79f12c6ed7063cc442fd9b8a5aa18d9a39ced55fd585d8f0d4(
|
|
2522
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
2523
|
+
) -> None:
|
|
2524
|
+
"""Type checking stubs"""
|
|
2525
|
+
pass
|
|
2526
|
+
|
|
2527
|
+
def _typecheckingstub__43a289d7dca3804ca980a93314a4c0b2949e95448b9e91aef20d960cd1facef7(
|
|
2528
|
+
value: typing.Any,
|
|
2529
|
+
) -> None:
|
|
2530
|
+
"""Type checking stubs"""
|
|
2531
|
+
pass
|
|
2532
|
+
|
|
2533
|
+
def _typecheckingstub__51136c4f6d62ea1ed8116bbb890860f45a983131873ecd0a7b407595037600cc(
|
|
2534
|
+
value: typing.Optional[builtins.str],
|
|
2535
|
+
) -> None:
|
|
2536
|
+
"""Type checking stubs"""
|
|
2537
|
+
pass
|
|
2538
|
+
|
|
2272
2539
|
def _typecheckingstub__2e2da7bae4bc39426d05dc2f307e08d5246472ad626b032ef4c2ea7b7d1bd33f(
|
|
2273
2540
|
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
2274
2541
|
) -> None:
|
|
@@ -2277,6 +2544,8 @@ def _typecheckingstub__2e2da7bae4bc39426d05dc2f307e08d5246472ad626b032ef4c2ea7b7
|
|
|
2277
2544
|
|
|
2278
2545
|
def _typecheckingstub__6bcbea65acb7d2a3cef7455cfbb52c832d3da01cd5e02df21a06cdb2b4822e35(
|
|
2279
2546
|
*,
|
|
2547
|
+
admin_password_secret_arn: typing.Optional[builtins.str] = None,
|
|
2548
|
+
admin_password_secret_kms_key_id: typing.Optional[builtins.str] = None,
|
|
2280
2549
|
admin_username: typing.Optional[builtins.str] = None,
|
|
2281
2550
|
creation_date: typing.Optional[builtins.str] = None,
|
|
2282
2551
|
db_name: typing.Optional[builtins.str] = None,
|
|
@@ -2295,6 +2564,7 @@ def _typecheckingstub__6bcbea65acb7d2a3cef7455cfbb52c832d3da01cd5e02df21a06cdb2b
|
|
|
2295
2564
|
def _typecheckingstub__5964a5da555f62a5d9615a6e07cd0d1128cdf904fd5aa3c5be9fd5e53dc30bd9(
|
|
2296
2565
|
*,
|
|
2297
2566
|
namespace_name: builtins.str,
|
|
2567
|
+
admin_password_secret_kms_key_id: typing.Optional[builtins.str] = None,
|
|
2298
2568
|
admin_username: typing.Optional[builtins.str] = None,
|
|
2299
2569
|
admin_user_password: typing.Optional[builtins.str] = None,
|
|
2300
2570
|
db_name: typing.Optional[builtins.str] = None,
|
|
@@ -2304,6 +2574,9 @@ def _typecheckingstub__5964a5da555f62a5d9615a6e07cd0d1128cdf904fd5aa3c5be9fd5e53
|
|
|
2304
2574
|
iam_roles: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2305
2575
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
2306
2576
|
log_exports: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2577
|
+
manage_admin_password: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2578
|
+
namespace_resource_policy: typing.Any = None,
|
|
2579
|
+
redshift_idc_application_arn: typing.Optional[builtins.str] = None,
|
|
2307
2580
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2308
2581
|
) -> None:
|
|
2309
2582
|
"""Type checking stubs"""
|
|
@@ -2317,6 +2590,7 @@ def _typecheckingstub__61a1b6ebbdacc577619f4e17ddabdaa553ffe5fe072b72e14ddf7d9c3
|
|
|
2317
2590
|
base_capacity: typing.Optional[jsii.Number] = None,
|
|
2318
2591
|
config_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkgroup.ConfigParameterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2319
2592
|
enhanced_vpc_routing: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2593
|
+
max_capacity: typing.Optional[jsii.Number] = None,
|
|
2320
2594
|
namespace_name: typing.Optional[builtins.str] = None,
|
|
2321
2595
|
port: typing.Optional[jsii.Number] = None,
|
|
2322
2596
|
publicly_accessible: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
@@ -2363,6 +2637,12 @@ def _typecheckingstub__b06db2b227debd7cc917f51bf7c4c0bb700bca075b329af61a43f3752
|
|
|
2363
2637
|
"""Type checking stubs"""
|
|
2364
2638
|
pass
|
|
2365
2639
|
|
|
2640
|
+
def _typecheckingstub__4ceab2fa028856954a409378fab7e1382a9cf79f0bf83fa7f082c0d6996e02e9(
|
|
2641
|
+
value: typing.Optional[jsii.Number],
|
|
2642
|
+
) -> None:
|
|
2643
|
+
"""Type checking stubs"""
|
|
2644
|
+
pass
|
|
2645
|
+
|
|
2366
2646
|
def _typecheckingstub__a009fb86999f55de110193d15ea127b35ea379a1d840ddd42a0406b02f3a997a(
|
|
2367
2647
|
value: typing.Optional[builtins.str],
|
|
2368
2648
|
) -> None:
|
|
@@ -2442,6 +2722,7 @@ def _typecheckingstub__b7cad236eecd67272da075e88f17a1dbdae4ee5083553d6443dcc19b3
|
|
|
2442
2722
|
creation_date: typing.Optional[builtins.str] = None,
|
|
2443
2723
|
endpoint: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkgroup.EndpointProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2444
2724
|
enhanced_vpc_routing: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2725
|
+
max_capacity: typing.Optional[jsii.Number] = None,
|
|
2445
2726
|
namespace_name: typing.Optional[builtins.str] = None,
|
|
2446
2727
|
publicly_accessible: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2447
2728
|
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -2460,6 +2741,7 @@ def _typecheckingstub__1ee3941005026bdab05d38183c12cc7cf5ff218e6db3877161b60d823
|
|
|
2460
2741
|
base_capacity: typing.Optional[jsii.Number] = None,
|
|
2461
2742
|
config_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkgroup.ConfigParameterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2462
2743
|
enhanced_vpc_routing: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2744
|
+
max_capacity: typing.Optional[jsii.Number] = None,
|
|
2463
2745
|
namespace_name: typing.Optional[builtins.str] = None,
|
|
2464
2746
|
port: typing.Optional[jsii.Number] = None,
|
|
2465
2747
|
publicly_accessible: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|