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_redshift/__init__.py
CHANGED
|
@@ -69,6 +69,7 @@ from .. import (
|
|
|
69
69
|
IInspectable as _IInspectable_c2943556,
|
|
70
70
|
IResolvable as _IResolvable_da3f097b,
|
|
71
71
|
ITaggable as _ITaggable_36806126,
|
|
72
|
+
ITaggableV2 as _ITaggableV2_4e6798f8,
|
|
72
73
|
TagManager as _TagManager_0a598cb3,
|
|
73
74
|
TreeInspector as _TreeInspector_488e0dd5,
|
|
74
75
|
)
|
|
@@ -140,6 +141,7 @@ class CfnCluster(
|
|
|
140
141
|
maintenance_track_name="maintenanceTrackName",
|
|
141
142
|
manage_master_password=False,
|
|
142
143
|
manual_snapshot_retention_period=123,
|
|
144
|
+
master_password_secret_kms_key_id="masterPasswordSecretKmsKeyId",
|
|
143
145
|
master_user_password="masterUserPassword",
|
|
144
146
|
multi_az=False,
|
|
145
147
|
namespace_resource_policy=namespace_resource_policy,
|
|
@@ -202,6 +204,7 @@ class CfnCluster(
|
|
|
202
204
|
maintenance_track_name: typing.Optional[builtins.str] = None,
|
|
203
205
|
manage_master_password: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
204
206
|
manual_snapshot_retention_period: typing.Optional[jsii.Number] = None,
|
|
207
|
+
master_password_secret_kms_key_id: typing.Optional[builtins.str] = None,
|
|
205
208
|
master_user_password: typing.Optional[builtins.str] = None,
|
|
206
209
|
multi_az: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
207
210
|
namespace_resource_policy: typing.Any = None,
|
|
@@ -227,7 +230,7 @@ class CfnCluster(
|
|
|
227
230
|
:param cluster_type: The type of the cluster. When cluster type is specified as. - ``single-node`` , the *NumberOfNodes* parameter is not required. - ``multi-node`` , the *NumberOfNodes* parameter is required. Valid Values: ``multi-node`` | ``single-node`` Default: ``multi-node``
|
|
228
231
|
:param db_name: The name of the first database to be created when the cluster is created. To create additional databases after the cluster is created, connect to the cluster with a SQL client and use SQL commands to create a database. For more information, go to `Create a Database <https://docs.aws.amazon.com/redshift/latest/dg/t_creating_database.html>`_ in the Amazon Redshift Database Developer Guide. Default: ``dev`` Constraints: - Must contain 1 to 64 alphanumeric characters. - Must contain only lowercase letters. - Cannot be a word that is reserved by the service. 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.
|
|
229
232
|
:param master_username: The user name associated with the admin user account for the cluster that is being created. Constraints: - Must be 1 - 128 alphanumeric characters or hyphens. The user name can't be ``PUBLIC`` . - Must contain only lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen. - The first character must be a letter. - Must not contain a colon (:) or a slash (/). - 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.
|
|
230
|
-
:param node_type: The node type to be provisioned for the cluster. For information about node types, go to `Working with Clusters <https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#how-many-nodes>`_ in the *Amazon Redshift Cluster Management Guide* . Valid Values: ``dc2.large`` | ``dc2.8xlarge`` | ``ra3.xlplus`` | ``ra3.4xlarge`` | ``ra3.16xlarge``
|
|
233
|
+
:param node_type: The node type to be provisioned for the cluster. For information about node types, go to `Working with Clusters <https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#how-many-nodes>`_ in the *Amazon Redshift Cluster Management Guide* . Valid Values: ``dc2.large`` | ``dc2.8xlarge`` | ``ra3.large`` | ``ra3.xlplus`` | ``ra3.4xlarge`` | ``ra3.16xlarge``
|
|
231
234
|
:param allow_version_upgrade: If ``true`` , major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster. When a new major version of the Amazon Redshift engine is released, you can request that the service automatically apply upgrades during the maintenance window to the Amazon Redshift engine that is running on your cluster. Default: ``true``
|
|
232
235
|
:param aqua_configuration_status: This parameter is retired. It does not set the AQUA configuration status. Amazon Redshift automatically determines whether to use AQUA (Advanced Query Accelerator).
|
|
233
236
|
:param automated_snapshot_retention_period: The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with `CreateClusterSnapshot <https://docs.aws.amazon.com/redshift/latest/APIReference/API_CreateClusterSnapshot.html>`_ in the *Amazon Redshift API Reference* . Default: ``1`` Constraints: Must be a value from 0 to 35.
|
|
@@ -257,6 +260,7 @@ class CfnCluster(
|
|
|
257
260
|
:param maintenance_track_name: An optional parameter for the name of the maintenance track for the cluster. If you don't provide a maintenance track name, the cluster is assigned to the ``current`` track.
|
|
258
261
|
:param manage_master_password: If ``true`` , Amazon Redshift uses AWS Secrets Manager to manage this cluster's admin credentials. You can't use ``MasterUserPassword`` if ``ManageMasterPassword`` is true. If ``ManageMasterPassword`` is false or not set, Amazon Redshift uses ``MasterUserPassword`` for the admin user account's password.
|
|
259
262
|
:param manual_snapshot_retention_period: The default number of days to retain a manual snapshot. If the value is -1, the snapshot is retained indefinitely. This setting doesn't change the retention period of existing snapshots. The value must be either -1 or an integer between 1 and 3,653.
|
|
263
|
+
:param master_password_secret_kms_key_id: The ID of the AWS Key Management Service (KMS) key used to encrypt and store the cluster's admin credentials secret. You can only use this parameter if ``ManageMasterPassword`` is true.
|
|
260
264
|
:param master_user_password: The password associated with the admin user account for the cluster that is being created. You can't use ``MasterUserPassword`` if ``ManageMasterPassword`` is ``true`` . Constraints: - Must be between 8 and 64 characters in length. - Must contain at least one uppercase letter. - Must contain at least one lowercase letter. - Must contain one number. - Can be any printable ASCII character (ASCII code 33-126) except ``'`` (single quote), ``"`` (double quote), ``\\`` , ``/`` , or ``@`` .
|
|
261
265
|
:param multi_az: A boolean indicating whether Amazon Redshift should deploy the cluster in two Availability Zones. The default is false.
|
|
262
266
|
:param namespace_resource_policy: The policy that is attached to a resource.
|
|
@@ -314,6 +318,7 @@ class CfnCluster(
|
|
|
314
318
|
maintenance_track_name=maintenance_track_name,
|
|
315
319
|
manage_master_password=manage_master_password,
|
|
316
320
|
manual_snapshot_retention_period=manual_snapshot_retention_period,
|
|
321
|
+
master_password_secret_kms_key_id=master_password_secret_kms_key_id,
|
|
317
322
|
master_user_password=master_user_password,
|
|
318
323
|
multi_az=multi_az,
|
|
319
324
|
namespace_resource_policy=namespace_resource_policy,
|
|
@@ -935,6 +940,22 @@ class CfnCluster(
|
|
|
935
940
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
936
941
|
jsii.set(self, "manualSnapshotRetentionPeriod", value) # pyright: ignore[reportArgumentType]
|
|
937
942
|
|
|
943
|
+
@builtins.property
|
|
944
|
+
@jsii.member(jsii_name="masterPasswordSecretKmsKeyId")
|
|
945
|
+
def master_password_secret_kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
946
|
+
'''The ID of the AWS Key Management Service (KMS) key used to encrypt and store the cluster's admin credentials secret.'''
|
|
947
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "masterPasswordSecretKmsKeyId"))
|
|
948
|
+
|
|
949
|
+
@master_password_secret_kms_key_id.setter
|
|
950
|
+
def master_password_secret_kms_key_id(
|
|
951
|
+
self,
|
|
952
|
+
value: typing.Optional[builtins.str],
|
|
953
|
+
) -> None:
|
|
954
|
+
if __debug__:
|
|
955
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e26594c22a23597c2bcb39be035e857bb61d132ed89a50d4d58e1a8f8c369e12)
|
|
956
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
957
|
+
jsii.set(self, "masterPasswordSecretKmsKeyId", value) # pyright: ignore[reportArgumentType]
|
|
958
|
+
|
|
938
959
|
@builtins.property
|
|
939
960
|
@jsii.member(jsii_name="masterUserPassword")
|
|
940
961
|
def master_user_password(self) -> typing.Optional[builtins.str]:
|
|
@@ -1296,7 +1317,7 @@ class CfnCluster(
|
|
|
1296
1317
|
:param bucket_name: The name of an existing S3 bucket where the log files are to be stored. Constraints: - Must be in the same region as the cluster - The cluster must have read bucket and put object permissions
|
|
1297
1318
|
:param log_destination_type: The log destination type. An enum with possible values of ``s3`` and ``cloudwatch`` .
|
|
1298
1319
|
:param log_exports: The collection of exported log types. Possible values are ``connectionlog`` , ``useractivitylog`` , and ``userlog`` .
|
|
1299
|
-
:param s3_key_prefix: The prefix applied to the log file names.
|
|
1320
|
+
:param s3_key_prefix: The prefix applied to the log file names. Valid characters are any letter from any language, any whitespace character, any numeric character, and the following characters: underscore ( ``_`` ), period ( ``.`` ), colon ( ``:`` ), slash ( ``/`` ), equal ( ``=`` ), plus ( ``+`` ), backslash ( ``\\`` ), hyphen ( ``-`` ), at symbol ( ``@`` ).
|
|
1300
1321
|
|
|
1301
1322
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-cluster-loggingproperties.html
|
|
1302
1323
|
:exampleMetadata: fixture=_generated
|
|
@@ -1370,15 +1391,7 @@ class CfnCluster(
|
|
|
1370
1391
|
def s3_key_prefix(self) -> typing.Optional[builtins.str]:
|
|
1371
1392
|
'''The prefix applied to the log file names.
|
|
1372
1393
|
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
- Cannot exceed 512 characters
|
|
1376
|
-
- Cannot contain spaces( ), double quotes ("), single quotes ('), a backslash (), or control characters. The hexadecimal codes for invalid characters are:
|
|
1377
|
-
- x00 to x20
|
|
1378
|
-
- x22
|
|
1379
|
-
- x27
|
|
1380
|
-
- x5c
|
|
1381
|
-
- x7f or larger
|
|
1394
|
+
Valid characters are any letter from any language, any whitespace character, any numeric character, and the following characters: underscore ( ``_`` ), period ( ``.`` ), colon ( ``:`` ), slash ( ``/`` ), equal ( ``=`` ), plus ( ``+`` ), backslash ( ``\\`` ), hyphen ( ``-`` ), at symbol ( ``@`` ).
|
|
1382
1395
|
|
|
1383
1396
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-cluster-loggingproperties.html#cfn-redshift-cluster-loggingproperties-s3keyprefix
|
|
1384
1397
|
'''
|
|
@@ -1833,6 +1846,7 @@ class CfnClusterParameterGroupProps:
|
|
|
1833
1846
|
"maintenance_track_name": "maintenanceTrackName",
|
|
1834
1847
|
"manage_master_password": "manageMasterPassword",
|
|
1835
1848
|
"manual_snapshot_retention_period": "manualSnapshotRetentionPeriod",
|
|
1849
|
+
"master_password_secret_kms_key_id": "masterPasswordSecretKmsKeyId",
|
|
1836
1850
|
"master_user_password": "masterUserPassword",
|
|
1837
1851
|
"multi_az": "multiAz",
|
|
1838
1852
|
"namespace_resource_policy": "namespaceResourcePolicy",
|
|
@@ -1890,6 +1904,7 @@ class CfnClusterProps:
|
|
|
1890
1904
|
maintenance_track_name: typing.Optional[builtins.str] = None,
|
|
1891
1905
|
manage_master_password: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1892
1906
|
manual_snapshot_retention_period: typing.Optional[jsii.Number] = None,
|
|
1907
|
+
master_password_secret_kms_key_id: typing.Optional[builtins.str] = None,
|
|
1893
1908
|
master_user_password: typing.Optional[builtins.str] = None,
|
|
1894
1909
|
multi_az: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1895
1910
|
namespace_resource_policy: typing.Any = None,
|
|
@@ -1914,7 +1929,7 @@ class CfnClusterProps:
|
|
|
1914
1929
|
:param cluster_type: The type of the cluster. When cluster type is specified as. - ``single-node`` , the *NumberOfNodes* parameter is not required. - ``multi-node`` , the *NumberOfNodes* parameter is required. Valid Values: ``multi-node`` | ``single-node`` Default: ``multi-node``
|
|
1915
1930
|
:param db_name: The name of the first database to be created when the cluster is created. To create additional databases after the cluster is created, connect to the cluster with a SQL client and use SQL commands to create a database. For more information, go to `Create a Database <https://docs.aws.amazon.com/redshift/latest/dg/t_creating_database.html>`_ in the Amazon Redshift Database Developer Guide. Default: ``dev`` Constraints: - Must contain 1 to 64 alphanumeric characters. - Must contain only lowercase letters. - Cannot be a word that is reserved by the service. 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.
|
|
1916
1931
|
:param master_username: The user name associated with the admin user account for the cluster that is being created. Constraints: - Must be 1 - 128 alphanumeric characters or hyphens. The user name can't be ``PUBLIC`` . - Must contain only lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen. - The first character must be a letter. - Must not contain a colon (:) or a slash (/). - 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.
|
|
1917
|
-
:param node_type: The node type to be provisioned for the cluster. For information about node types, go to `Working with Clusters <https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#how-many-nodes>`_ in the *Amazon Redshift Cluster Management Guide* . Valid Values: ``dc2.large`` | ``dc2.8xlarge`` | ``ra3.xlplus`` | ``ra3.4xlarge`` | ``ra3.16xlarge``
|
|
1932
|
+
:param node_type: The node type to be provisioned for the cluster. For information about node types, go to `Working with Clusters <https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#how-many-nodes>`_ in the *Amazon Redshift Cluster Management Guide* . Valid Values: ``dc2.large`` | ``dc2.8xlarge`` | ``ra3.large`` | ``ra3.xlplus`` | ``ra3.4xlarge`` | ``ra3.16xlarge``
|
|
1918
1933
|
:param allow_version_upgrade: If ``true`` , major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster. When a new major version of the Amazon Redshift engine is released, you can request that the service automatically apply upgrades during the maintenance window to the Amazon Redshift engine that is running on your cluster. Default: ``true``
|
|
1919
1934
|
:param aqua_configuration_status: This parameter is retired. It does not set the AQUA configuration status. Amazon Redshift automatically determines whether to use AQUA (Advanced Query Accelerator).
|
|
1920
1935
|
:param automated_snapshot_retention_period: The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with `CreateClusterSnapshot <https://docs.aws.amazon.com/redshift/latest/APIReference/API_CreateClusterSnapshot.html>`_ in the *Amazon Redshift API Reference* . Default: ``1`` Constraints: Must be a value from 0 to 35.
|
|
@@ -1944,6 +1959,7 @@ class CfnClusterProps:
|
|
|
1944
1959
|
:param maintenance_track_name: An optional parameter for the name of the maintenance track for the cluster. If you don't provide a maintenance track name, the cluster is assigned to the ``current`` track.
|
|
1945
1960
|
:param manage_master_password: If ``true`` , Amazon Redshift uses AWS Secrets Manager to manage this cluster's admin credentials. You can't use ``MasterUserPassword`` if ``ManageMasterPassword`` is true. If ``ManageMasterPassword`` is false or not set, Amazon Redshift uses ``MasterUserPassword`` for the admin user account's password.
|
|
1946
1961
|
:param manual_snapshot_retention_period: The default number of days to retain a manual snapshot. If the value is -1, the snapshot is retained indefinitely. This setting doesn't change the retention period of existing snapshots. The value must be either -1 or an integer between 1 and 3,653.
|
|
1962
|
+
:param master_password_secret_kms_key_id: The ID of the AWS Key Management Service (KMS) key used to encrypt and store the cluster's admin credentials secret. You can only use this parameter if ``ManageMasterPassword`` is true.
|
|
1947
1963
|
:param master_user_password: The password associated with the admin user account for the cluster that is being created. You can't use ``MasterUserPassword`` if ``ManageMasterPassword`` is ``true`` . Constraints: - Must be between 8 and 64 characters in length. - Must contain at least one uppercase letter. - Must contain at least one lowercase letter. - Must contain one number. - Can be any printable ASCII character (ASCII code 33-126) except ``'`` (single quote), ``"`` (double quote), ``\\`` , ``/`` , or ``@`` .
|
|
1948
1964
|
:param multi_az: A boolean indicating whether Amazon Redshift should deploy the cluster in two Availability Zones. The default is false.
|
|
1949
1965
|
:param namespace_resource_policy: The policy that is attached to a resource.
|
|
@@ -2018,6 +2034,7 @@ class CfnClusterProps:
|
|
|
2018
2034
|
maintenance_track_name="maintenanceTrackName",
|
|
2019
2035
|
manage_master_password=False,
|
|
2020
2036
|
manual_snapshot_retention_period=123,
|
|
2037
|
+
master_password_secret_kms_key_id="masterPasswordSecretKmsKeyId",
|
|
2021
2038
|
master_user_password="masterUserPassword",
|
|
2022
2039
|
multi_az=False,
|
|
2023
2040
|
namespace_resource_policy=namespace_resource_policy,
|
|
@@ -2076,6 +2093,7 @@ class CfnClusterProps:
|
|
|
2076
2093
|
check_type(argname="argument maintenance_track_name", value=maintenance_track_name, expected_type=type_hints["maintenance_track_name"])
|
|
2077
2094
|
check_type(argname="argument manage_master_password", value=manage_master_password, expected_type=type_hints["manage_master_password"])
|
|
2078
2095
|
check_type(argname="argument manual_snapshot_retention_period", value=manual_snapshot_retention_period, expected_type=type_hints["manual_snapshot_retention_period"])
|
|
2096
|
+
check_type(argname="argument master_password_secret_kms_key_id", value=master_password_secret_kms_key_id, expected_type=type_hints["master_password_secret_kms_key_id"])
|
|
2079
2097
|
check_type(argname="argument master_user_password", value=master_user_password, expected_type=type_hints["master_user_password"])
|
|
2080
2098
|
check_type(argname="argument multi_az", value=multi_az, expected_type=type_hints["multi_az"])
|
|
2081
2099
|
check_type(argname="argument namespace_resource_policy", value=namespace_resource_policy, expected_type=type_hints["namespace_resource_policy"])
|
|
@@ -2158,6 +2176,8 @@ class CfnClusterProps:
|
|
|
2158
2176
|
self._values["manage_master_password"] = manage_master_password
|
|
2159
2177
|
if manual_snapshot_retention_period is not None:
|
|
2160
2178
|
self._values["manual_snapshot_retention_period"] = manual_snapshot_retention_period
|
|
2179
|
+
if master_password_secret_kms_key_id is not None:
|
|
2180
|
+
self._values["master_password_secret_kms_key_id"] = master_password_secret_kms_key_id
|
|
2161
2181
|
if master_user_password is not None:
|
|
2162
2182
|
self._values["master_user_password"] = master_user_password
|
|
2163
2183
|
if multi_az is not None:
|
|
@@ -2256,7 +2276,7 @@ class CfnClusterProps:
|
|
|
2256
2276
|
|
|
2257
2277
|
For information about node types, go to `Working with Clusters <https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#how-many-nodes>`_ in the *Amazon Redshift Cluster Management Guide* .
|
|
2258
2278
|
|
|
2259
|
-
Valid Values: ``dc2.large`` | ``dc2.8xlarge`` | ``ra3.xlplus`` | ``ra3.4xlarge`` | ``ra3.16xlarge``
|
|
2279
|
+
Valid Values: ``dc2.large`` | ``dc2.8xlarge`` | ``ra3.large`` | ``ra3.xlplus`` | ``ra3.4xlarge`` | ``ra3.16xlarge``
|
|
2260
2280
|
|
|
2261
2281
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-nodetype
|
|
2262
2282
|
'''
|
|
@@ -2619,6 +2639,17 @@ class CfnClusterProps:
|
|
|
2619
2639
|
result = self._values.get("manual_snapshot_retention_period")
|
|
2620
2640
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2621
2641
|
|
|
2642
|
+
@builtins.property
|
|
2643
|
+
def master_password_secret_kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
2644
|
+
'''The ID of the AWS Key Management Service (KMS) key used to encrypt and store the cluster's admin credentials secret.
|
|
2645
|
+
|
|
2646
|
+
You can only use this parameter if ``ManageMasterPassword`` is true.
|
|
2647
|
+
|
|
2648
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-masterpasswordsecretkmskeyid
|
|
2649
|
+
'''
|
|
2650
|
+
result = self._values.get("master_password_secret_kms_key_id")
|
|
2651
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2652
|
+
|
|
2622
2653
|
@builtins.property
|
|
2623
2654
|
def master_user_password(self) -> typing.Optional[builtins.str]:
|
|
2624
2655
|
'''The password associated with the admin user account for the cluster that is being created.
|
|
@@ -5081,6 +5112,371 @@ class CfnEventSubscriptionProps:
|
|
|
5081
5112
|
)
|
|
5082
5113
|
|
|
5083
5114
|
|
|
5115
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
5116
|
+
class CfnIntegration(
|
|
5117
|
+
_CfnResource_9df397a6,
|
|
5118
|
+
metaclass=jsii.JSIIMeta,
|
|
5119
|
+
jsii_type="aws-cdk-lib.aws_redshift.CfnIntegration",
|
|
5120
|
+
):
|
|
5121
|
+
'''Integration from a source AWS service to a Redshift cluster.
|
|
5122
|
+
|
|
5123
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-integration.html
|
|
5124
|
+
:cloudformationResource: AWS::Redshift::Integration
|
|
5125
|
+
:exampleMetadata: fixture=_generated
|
|
5126
|
+
|
|
5127
|
+
Example::
|
|
5128
|
+
|
|
5129
|
+
# The code below shows an example of how to instantiate this type.
|
|
5130
|
+
# The values are placeholders you should change.
|
|
5131
|
+
from aws_cdk import aws_redshift as redshift
|
|
5132
|
+
|
|
5133
|
+
cfn_integration = redshift.CfnIntegration(self, "MyCfnIntegration",
|
|
5134
|
+
source_arn="sourceArn",
|
|
5135
|
+
target_arn="targetArn",
|
|
5136
|
+
|
|
5137
|
+
# the properties below are optional
|
|
5138
|
+
additional_encryption_context={
|
|
5139
|
+
"additional_encryption_context_key": "additionalEncryptionContext"
|
|
5140
|
+
},
|
|
5141
|
+
integration_name="integrationName",
|
|
5142
|
+
kms_key_id="kmsKeyId",
|
|
5143
|
+
tags=[CfnTag(
|
|
5144
|
+
key="key",
|
|
5145
|
+
value="value"
|
|
5146
|
+
)]
|
|
5147
|
+
)
|
|
5148
|
+
'''
|
|
5149
|
+
|
|
5150
|
+
def __init__(
|
|
5151
|
+
self,
|
|
5152
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
5153
|
+
id: builtins.str,
|
|
5154
|
+
*,
|
|
5155
|
+
source_arn: builtins.str,
|
|
5156
|
+
target_arn: builtins.str,
|
|
5157
|
+
additional_encryption_context: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
5158
|
+
integration_name: typing.Optional[builtins.str] = None,
|
|
5159
|
+
kms_key_id: typing.Optional[builtins.str] = None,
|
|
5160
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5161
|
+
) -> None:
|
|
5162
|
+
'''
|
|
5163
|
+
:param scope: Scope in which this resource is defined.
|
|
5164
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
5165
|
+
:param source_arn: The Amazon Resource Name (ARN) of the database to use as the source for replication, for example, arn:aws:dynamodb:us-east-2:123412341234:table/dynamotable.
|
|
5166
|
+
:param target_arn: The Amazon Resource Name (ARN) of the Redshift data warehouse to use as the target for replication, for example, arn:aws:redshift:us-east-2:123412341234:namespace:e43aab3e-10a3-4ec4-83d4-f227ff9bfbcf.
|
|
5167
|
+
:param additional_encryption_context: An optional set of non-secret key–value pairs that contains additional contextual information about the data.
|
|
5168
|
+
:param integration_name: The name of the integration.
|
|
5169
|
+
:param kms_key_id: An KMS key identifier for the key to use to encrypt the integration. If you don't specify an encryption key, the default AWS owned KMS key is used.
|
|
5170
|
+
:param tags: An array of key-value pairs to apply to this resource.
|
|
5171
|
+
'''
|
|
5172
|
+
if __debug__:
|
|
5173
|
+
type_hints = typing.get_type_hints(_typecheckingstub__195f43b15319a462222fa2f5a73df1bdd50a48d85ec97165e527a5a9511ec709)
|
|
5174
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
5175
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
5176
|
+
props = CfnIntegrationProps(
|
|
5177
|
+
source_arn=source_arn,
|
|
5178
|
+
target_arn=target_arn,
|
|
5179
|
+
additional_encryption_context=additional_encryption_context,
|
|
5180
|
+
integration_name=integration_name,
|
|
5181
|
+
kms_key_id=kms_key_id,
|
|
5182
|
+
tags=tags,
|
|
5183
|
+
)
|
|
5184
|
+
|
|
5185
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
5186
|
+
|
|
5187
|
+
@jsii.member(jsii_name="inspect")
|
|
5188
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
5189
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
5190
|
+
|
|
5191
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
5192
|
+
'''
|
|
5193
|
+
if __debug__:
|
|
5194
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b467966d553f4572514bc819e0000cb3843ed6ffa3876ec87e18db3eb0c15fe3)
|
|
5195
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
5196
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
5197
|
+
|
|
5198
|
+
@jsii.member(jsii_name="renderProperties")
|
|
5199
|
+
def _render_properties(
|
|
5200
|
+
self,
|
|
5201
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
5202
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
5203
|
+
'''
|
|
5204
|
+
:param props: -
|
|
5205
|
+
'''
|
|
5206
|
+
if __debug__:
|
|
5207
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6a09e1e25473216c16abc1511855d3a626dc7e2eb28dc99dd4de75c11ff02453)
|
|
5208
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
5209
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
5210
|
+
|
|
5211
|
+
@jsii.python.classproperty
|
|
5212
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
5213
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
5214
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
5215
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
5216
|
+
|
|
5217
|
+
@builtins.property
|
|
5218
|
+
@jsii.member(jsii_name="attrCreateTime")
|
|
5219
|
+
def attr_create_time(self) -> builtins.str:
|
|
5220
|
+
'''The time (UTC) when the integration was created.
|
|
5221
|
+
|
|
5222
|
+
:cloudformationAttribute: CreateTime
|
|
5223
|
+
'''
|
|
5224
|
+
return typing.cast(builtins.str, jsii.get(self, "attrCreateTime"))
|
|
5225
|
+
|
|
5226
|
+
@builtins.property
|
|
5227
|
+
@jsii.member(jsii_name="attrIntegrationArn")
|
|
5228
|
+
def attr_integration_arn(self) -> builtins.str:
|
|
5229
|
+
'''The Amazon Resource Name (ARN) of the integration.
|
|
5230
|
+
|
|
5231
|
+
:cloudformationAttribute: IntegrationArn
|
|
5232
|
+
'''
|
|
5233
|
+
return typing.cast(builtins.str, jsii.get(self, "attrIntegrationArn"))
|
|
5234
|
+
|
|
5235
|
+
@builtins.property
|
|
5236
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
5237
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
5238
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
5239
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
5240
|
+
|
|
5241
|
+
@builtins.property
|
|
5242
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
5243
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
5244
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
5245
|
+
|
|
5246
|
+
@builtins.property
|
|
5247
|
+
@jsii.member(jsii_name="sourceArn")
|
|
5248
|
+
def source_arn(self) -> builtins.str:
|
|
5249
|
+
'''The Amazon Resource Name (ARN) of the database to use as the source for replication, for example, arn:aws:dynamodb:us-east-2:123412341234:table/dynamotable.'''
|
|
5250
|
+
return typing.cast(builtins.str, jsii.get(self, "sourceArn"))
|
|
5251
|
+
|
|
5252
|
+
@source_arn.setter
|
|
5253
|
+
def source_arn(self, value: builtins.str) -> None:
|
|
5254
|
+
if __debug__:
|
|
5255
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ad8a43cabe43510d4d2c7aa8ff28965159d7af40256018e23e7fa3139a1cf90b)
|
|
5256
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5257
|
+
jsii.set(self, "sourceArn", value) # pyright: ignore[reportArgumentType]
|
|
5258
|
+
|
|
5259
|
+
@builtins.property
|
|
5260
|
+
@jsii.member(jsii_name="targetArn")
|
|
5261
|
+
def target_arn(self) -> builtins.str:
|
|
5262
|
+
'''The Amazon Resource Name (ARN) of the Redshift data warehouse to use as the target for replication, for example, arn:aws:redshift:us-east-2:123412341234:namespace:e43aab3e-10a3-4ec4-83d4-f227ff9bfbcf.'''
|
|
5263
|
+
return typing.cast(builtins.str, jsii.get(self, "targetArn"))
|
|
5264
|
+
|
|
5265
|
+
@target_arn.setter
|
|
5266
|
+
def target_arn(self, value: builtins.str) -> None:
|
|
5267
|
+
if __debug__:
|
|
5268
|
+
type_hints = typing.get_type_hints(_typecheckingstub__473e7fefd01e8847abdf871f505831761b00d033de772a1d8e2feb028f9be266)
|
|
5269
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5270
|
+
jsii.set(self, "targetArn", value) # pyright: ignore[reportArgumentType]
|
|
5271
|
+
|
|
5272
|
+
@builtins.property
|
|
5273
|
+
@jsii.member(jsii_name="additionalEncryptionContext")
|
|
5274
|
+
def additional_encryption_context(
|
|
5275
|
+
self,
|
|
5276
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
|
|
5277
|
+
'''An optional set of non-secret key–value pairs that contains additional contextual information about the data.'''
|
|
5278
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]], jsii.get(self, "additionalEncryptionContext"))
|
|
5279
|
+
|
|
5280
|
+
@additional_encryption_context.setter
|
|
5281
|
+
def additional_encryption_context(
|
|
5282
|
+
self,
|
|
5283
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]],
|
|
5284
|
+
) -> None:
|
|
5285
|
+
if __debug__:
|
|
5286
|
+
type_hints = typing.get_type_hints(_typecheckingstub__aa11884b39e9757aed26782736b9cc7a1beb8245295ed73bee247717d47e3404)
|
|
5287
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5288
|
+
jsii.set(self, "additionalEncryptionContext", value) # pyright: ignore[reportArgumentType]
|
|
5289
|
+
|
|
5290
|
+
@builtins.property
|
|
5291
|
+
@jsii.member(jsii_name="integrationName")
|
|
5292
|
+
def integration_name(self) -> typing.Optional[builtins.str]:
|
|
5293
|
+
'''The name of the integration.'''
|
|
5294
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "integrationName"))
|
|
5295
|
+
|
|
5296
|
+
@integration_name.setter
|
|
5297
|
+
def integration_name(self, value: typing.Optional[builtins.str]) -> None:
|
|
5298
|
+
if __debug__:
|
|
5299
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9731f2603454130238cf12617f260693efbab19130003a3d194b6773ee752e3c)
|
|
5300
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5301
|
+
jsii.set(self, "integrationName", value) # pyright: ignore[reportArgumentType]
|
|
5302
|
+
|
|
5303
|
+
@builtins.property
|
|
5304
|
+
@jsii.member(jsii_name="kmsKeyId")
|
|
5305
|
+
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
5306
|
+
'''An KMS key identifier for the key to use to encrypt the integration.'''
|
|
5307
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "kmsKeyId"))
|
|
5308
|
+
|
|
5309
|
+
@kms_key_id.setter
|
|
5310
|
+
def kms_key_id(self, value: typing.Optional[builtins.str]) -> None:
|
|
5311
|
+
if __debug__:
|
|
5312
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c092c9e63305d6f2750f7c03276a55c294b88f824731a95609d679376516d355)
|
|
5313
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5314
|
+
jsii.set(self, "kmsKeyId", value) # pyright: ignore[reportArgumentType]
|
|
5315
|
+
|
|
5316
|
+
@builtins.property
|
|
5317
|
+
@jsii.member(jsii_name="tags")
|
|
5318
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
5319
|
+
'''An array of key-value pairs to apply to this resource.'''
|
|
5320
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
5321
|
+
|
|
5322
|
+
@tags.setter
|
|
5323
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
5324
|
+
if __debug__:
|
|
5325
|
+
type_hints = typing.get_type_hints(_typecheckingstub__aac4f130cef162cff3d53ffc61f9b5174f65de4bbe3fb991ae758426bf75861d)
|
|
5326
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5327
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
5328
|
+
|
|
5329
|
+
|
|
5330
|
+
@jsii.data_type(
|
|
5331
|
+
jsii_type="aws-cdk-lib.aws_redshift.CfnIntegrationProps",
|
|
5332
|
+
jsii_struct_bases=[],
|
|
5333
|
+
name_mapping={
|
|
5334
|
+
"source_arn": "sourceArn",
|
|
5335
|
+
"target_arn": "targetArn",
|
|
5336
|
+
"additional_encryption_context": "additionalEncryptionContext",
|
|
5337
|
+
"integration_name": "integrationName",
|
|
5338
|
+
"kms_key_id": "kmsKeyId",
|
|
5339
|
+
"tags": "tags",
|
|
5340
|
+
},
|
|
5341
|
+
)
|
|
5342
|
+
class CfnIntegrationProps:
|
|
5343
|
+
def __init__(
|
|
5344
|
+
self,
|
|
5345
|
+
*,
|
|
5346
|
+
source_arn: builtins.str,
|
|
5347
|
+
target_arn: builtins.str,
|
|
5348
|
+
additional_encryption_context: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
5349
|
+
integration_name: typing.Optional[builtins.str] = None,
|
|
5350
|
+
kms_key_id: typing.Optional[builtins.str] = None,
|
|
5351
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5352
|
+
) -> None:
|
|
5353
|
+
'''Properties for defining a ``CfnIntegration``.
|
|
5354
|
+
|
|
5355
|
+
:param source_arn: The Amazon Resource Name (ARN) of the database to use as the source for replication, for example, arn:aws:dynamodb:us-east-2:123412341234:table/dynamotable.
|
|
5356
|
+
:param target_arn: The Amazon Resource Name (ARN) of the Redshift data warehouse to use as the target for replication, for example, arn:aws:redshift:us-east-2:123412341234:namespace:e43aab3e-10a3-4ec4-83d4-f227ff9bfbcf.
|
|
5357
|
+
:param additional_encryption_context: An optional set of non-secret key–value pairs that contains additional contextual information about the data.
|
|
5358
|
+
:param integration_name: The name of the integration.
|
|
5359
|
+
:param kms_key_id: An KMS key identifier for the key to use to encrypt the integration. If you don't specify an encryption key, the default AWS owned KMS key is used.
|
|
5360
|
+
:param tags: An array of key-value pairs to apply to this resource.
|
|
5361
|
+
|
|
5362
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-integration.html
|
|
5363
|
+
:exampleMetadata: fixture=_generated
|
|
5364
|
+
|
|
5365
|
+
Example::
|
|
5366
|
+
|
|
5367
|
+
# The code below shows an example of how to instantiate this type.
|
|
5368
|
+
# The values are placeholders you should change.
|
|
5369
|
+
from aws_cdk import aws_redshift as redshift
|
|
5370
|
+
|
|
5371
|
+
cfn_integration_props = redshift.CfnIntegrationProps(
|
|
5372
|
+
source_arn="sourceArn",
|
|
5373
|
+
target_arn="targetArn",
|
|
5374
|
+
|
|
5375
|
+
# the properties below are optional
|
|
5376
|
+
additional_encryption_context={
|
|
5377
|
+
"additional_encryption_context_key": "additionalEncryptionContext"
|
|
5378
|
+
},
|
|
5379
|
+
integration_name="integrationName",
|
|
5380
|
+
kms_key_id="kmsKeyId",
|
|
5381
|
+
tags=[CfnTag(
|
|
5382
|
+
key="key",
|
|
5383
|
+
value="value"
|
|
5384
|
+
)]
|
|
5385
|
+
)
|
|
5386
|
+
'''
|
|
5387
|
+
if __debug__:
|
|
5388
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0772e4da780df63d61457c13aa77602f5d56797dbd993866c4876270813500e3)
|
|
5389
|
+
check_type(argname="argument source_arn", value=source_arn, expected_type=type_hints["source_arn"])
|
|
5390
|
+
check_type(argname="argument target_arn", value=target_arn, expected_type=type_hints["target_arn"])
|
|
5391
|
+
check_type(argname="argument additional_encryption_context", value=additional_encryption_context, expected_type=type_hints["additional_encryption_context"])
|
|
5392
|
+
check_type(argname="argument integration_name", value=integration_name, expected_type=type_hints["integration_name"])
|
|
5393
|
+
check_type(argname="argument kms_key_id", value=kms_key_id, expected_type=type_hints["kms_key_id"])
|
|
5394
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
5395
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
5396
|
+
"source_arn": source_arn,
|
|
5397
|
+
"target_arn": target_arn,
|
|
5398
|
+
}
|
|
5399
|
+
if additional_encryption_context is not None:
|
|
5400
|
+
self._values["additional_encryption_context"] = additional_encryption_context
|
|
5401
|
+
if integration_name is not None:
|
|
5402
|
+
self._values["integration_name"] = integration_name
|
|
5403
|
+
if kms_key_id is not None:
|
|
5404
|
+
self._values["kms_key_id"] = kms_key_id
|
|
5405
|
+
if tags is not None:
|
|
5406
|
+
self._values["tags"] = tags
|
|
5407
|
+
|
|
5408
|
+
@builtins.property
|
|
5409
|
+
def source_arn(self) -> builtins.str:
|
|
5410
|
+
'''The Amazon Resource Name (ARN) of the database to use as the source for replication, for example, arn:aws:dynamodb:us-east-2:123412341234:table/dynamotable.
|
|
5411
|
+
|
|
5412
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-integration.html#cfn-redshift-integration-sourcearn
|
|
5413
|
+
'''
|
|
5414
|
+
result = self._values.get("source_arn")
|
|
5415
|
+
assert result is not None, "Required property 'source_arn' is missing"
|
|
5416
|
+
return typing.cast(builtins.str, result)
|
|
5417
|
+
|
|
5418
|
+
@builtins.property
|
|
5419
|
+
def target_arn(self) -> builtins.str:
|
|
5420
|
+
'''The Amazon Resource Name (ARN) of the Redshift data warehouse to use as the target for replication, for example, arn:aws:redshift:us-east-2:123412341234:namespace:e43aab3e-10a3-4ec4-83d4-f227ff9bfbcf.
|
|
5421
|
+
|
|
5422
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-integration.html#cfn-redshift-integration-targetarn
|
|
5423
|
+
'''
|
|
5424
|
+
result = self._values.get("target_arn")
|
|
5425
|
+
assert result is not None, "Required property 'target_arn' is missing"
|
|
5426
|
+
return typing.cast(builtins.str, result)
|
|
5427
|
+
|
|
5428
|
+
@builtins.property
|
|
5429
|
+
def additional_encryption_context(
|
|
5430
|
+
self,
|
|
5431
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
|
|
5432
|
+
'''An optional set of non-secret key–value pairs that contains additional contextual information about the data.
|
|
5433
|
+
|
|
5434
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-integration.html#cfn-redshift-integration-additionalencryptioncontext
|
|
5435
|
+
'''
|
|
5436
|
+
result = self._values.get("additional_encryption_context")
|
|
5437
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]], result)
|
|
5438
|
+
|
|
5439
|
+
@builtins.property
|
|
5440
|
+
def integration_name(self) -> typing.Optional[builtins.str]:
|
|
5441
|
+
'''The name of the integration.
|
|
5442
|
+
|
|
5443
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-integration.html#cfn-redshift-integration-integrationname
|
|
5444
|
+
'''
|
|
5445
|
+
result = self._values.get("integration_name")
|
|
5446
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
5447
|
+
|
|
5448
|
+
@builtins.property
|
|
5449
|
+
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
5450
|
+
'''An KMS key identifier for the key to use to encrypt the integration.
|
|
5451
|
+
|
|
5452
|
+
If you don't specify an encryption key, the default AWS owned KMS key is used.
|
|
5453
|
+
|
|
5454
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-integration.html#cfn-redshift-integration-kmskeyid
|
|
5455
|
+
'''
|
|
5456
|
+
result = self._values.get("kms_key_id")
|
|
5457
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
5458
|
+
|
|
5459
|
+
@builtins.property
|
|
5460
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
5461
|
+
'''An array of key-value pairs to apply to this resource.
|
|
5462
|
+
|
|
5463
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-integration.html#cfn-redshift-integration-tags
|
|
5464
|
+
'''
|
|
5465
|
+
result = self._values.get("tags")
|
|
5466
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
5467
|
+
|
|
5468
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
5469
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
5470
|
+
|
|
5471
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
5472
|
+
return not (rhs == self)
|
|
5473
|
+
|
|
5474
|
+
def __repr__(self) -> str:
|
|
5475
|
+
return "CfnIntegrationProps(%s)" % ", ".join(
|
|
5476
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
5477
|
+
)
|
|
5478
|
+
|
|
5479
|
+
|
|
5084
5480
|
@jsii.implements(_IInspectable_c2943556)
|
|
5085
5481
|
class CfnScheduledAction(
|
|
5086
5482
|
_CfnResource_9df397a6,
|
|
@@ -5922,6 +6318,8 @@ __all__ = [
|
|
|
5922
6318
|
"CfnEndpointAuthorizationProps",
|
|
5923
6319
|
"CfnEventSubscription",
|
|
5924
6320
|
"CfnEventSubscriptionProps",
|
|
6321
|
+
"CfnIntegration",
|
|
6322
|
+
"CfnIntegrationProps",
|
|
5925
6323
|
"CfnScheduledAction",
|
|
5926
6324
|
"CfnScheduledActionProps",
|
|
5927
6325
|
]
|
|
@@ -5965,6 +6363,7 @@ def _typecheckingstub__f6d25f70797e3ae67b635ec776926582ff0be975c8173c4af217f7f6e
|
|
|
5965
6363
|
maintenance_track_name: typing.Optional[builtins.str] = None,
|
|
5966
6364
|
manage_master_password: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
5967
6365
|
manual_snapshot_retention_period: typing.Optional[jsii.Number] = None,
|
|
6366
|
+
master_password_secret_kms_key_id: typing.Optional[builtins.str] = None,
|
|
5968
6367
|
master_user_password: typing.Optional[builtins.str] = None,
|
|
5969
6368
|
multi_az: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
5970
6369
|
namespace_resource_policy: typing.Any = None,
|
|
@@ -6197,6 +6596,12 @@ def _typecheckingstub__47928702ad781fa3915ff0f5068c3b692ff5d8d891b871ca8319d3632
|
|
|
6197
6596
|
"""Type checking stubs"""
|
|
6198
6597
|
pass
|
|
6199
6598
|
|
|
6599
|
+
def _typecheckingstub__e26594c22a23597c2bcb39be035e857bb61d132ed89a50d4d58e1a8f8c369e12(
|
|
6600
|
+
value: typing.Optional[builtins.str],
|
|
6601
|
+
) -> None:
|
|
6602
|
+
"""Type checking stubs"""
|
|
6603
|
+
pass
|
|
6604
|
+
|
|
6200
6605
|
def _typecheckingstub__15113bc0292eb3a900fcad9d620cd08c320a19dfce07db8d055112a353c48cba(
|
|
6201
6606
|
value: typing.Optional[builtins.str],
|
|
6202
6607
|
) -> None:
|
|
@@ -6432,6 +6837,7 @@ def _typecheckingstub__88d0d566c2d2524449f4cc4b794952814b68b5dcd5494f1bcdf5b417e
|
|
|
6432
6837
|
maintenance_track_name: typing.Optional[builtins.str] = None,
|
|
6433
6838
|
manage_master_password: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
6434
6839
|
manual_snapshot_retention_period: typing.Optional[jsii.Number] = None,
|
|
6840
|
+
master_password_secret_kms_key_id: typing.Optional[builtins.str] = None,
|
|
6435
6841
|
master_user_password: typing.Optional[builtins.str] = None,
|
|
6436
6842
|
multi_az: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
6437
6843
|
namespace_resource_policy: typing.Any = None,
|
|
@@ -6845,6 +7251,80 @@ def _typecheckingstub__882750ef34f06482c6644922124100661565513fabbad49eed142788c
|
|
|
6845
7251
|
"""Type checking stubs"""
|
|
6846
7252
|
pass
|
|
6847
7253
|
|
|
7254
|
+
def _typecheckingstub__195f43b15319a462222fa2f5a73df1bdd50a48d85ec97165e527a5a9511ec709(
|
|
7255
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
7256
|
+
id: builtins.str,
|
|
7257
|
+
*,
|
|
7258
|
+
source_arn: builtins.str,
|
|
7259
|
+
target_arn: builtins.str,
|
|
7260
|
+
additional_encryption_context: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
7261
|
+
integration_name: typing.Optional[builtins.str] = None,
|
|
7262
|
+
kms_key_id: typing.Optional[builtins.str] = None,
|
|
7263
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7264
|
+
) -> None:
|
|
7265
|
+
"""Type checking stubs"""
|
|
7266
|
+
pass
|
|
7267
|
+
|
|
7268
|
+
def _typecheckingstub__b467966d553f4572514bc819e0000cb3843ed6ffa3876ec87e18db3eb0c15fe3(
|
|
7269
|
+
inspector: _TreeInspector_488e0dd5,
|
|
7270
|
+
) -> None:
|
|
7271
|
+
"""Type checking stubs"""
|
|
7272
|
+
pass
|
|
7273
|
+
|
|
7274
|
+
def _typecheckingstub__6a09e1e25473216c16abc1511855d3a626dc7e2eb28dc99dd4de75c11ff02453(
|
|
7275
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
7276
|
+
) -> None:
|
|
7277
|
+
"""Type checking stubs"""
|
|
7278
|
+
pass
|
|
7279
|
+
|
|
7280
|
+
def _typecheckingstub__ad8a43cabe43510d4d2c7aa8ff28965159d7af40256018e23e7fa3139a1cf90b(
|
|
7281
|
+
value: builtins.str,
|
|
7282
|
+
) -> None:
|
|
7283
|
+
"""Type checking stubs"""
|
|
7284
|
+
pass
|
|
7285
|
+
|
|
7286
|
+
def _typecheckingstub__473e7fefd01e8847abdf871f505831761b00d033de772a1d8e2feb028f9be266(
|
|
7287
|
+
value: builtins.str,
|
|
7288
|
+
) -> None:
|
|
7289
|
+
"""Type checking stubs"""
|
|
7290
|
+
pass
|
|
7291
|
+
|
|
7292
|
+
def _typecheckingstub__aa11884b39e9757aed26782736b9cc7a1beb8245295ed73bee247717d47e3404(
|
|
7293
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]],
|
|
7294
|
+
) -> None:
|
|
7295
|
+
"""Type checking stubs"""
|
|
7296
|
+
pass
|
|
7297
|
+
|
|
7298
|
+
def _typecheckingstub__9731f2603454130238cf12617f260693efbab19130003a3d194b6773ee752e3c(
|
|
7299
|
+
value: typing.Optional[builtins.str],
|
|
7300
|
+
) -> None:
|
|
7301
|
+
"""Type checking stubs"""
|
|
7302
|
+
pass
|
|
7303
|
+
|
|
7304
|
+
def _typecheckingstub__c092c9e63305d6f2750f7c03276a55c294b88f824731a95609d679376516d355(
|
|
7305
|
+
value: typing.Optional[builtins.str],
|
|
7306
|
+
) -> None:
|
|
7307
|
+
"""Type checking stubs"""
|
|
7308
|
+
pass
|
|
7309
|
+
|
|
7310
|
+
def _typecheckingstub__aac4f130cef162cff3d53ffc61f9b5174f65de4bbe3fb991ae758426bf75861d(
|
|
7311
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
7312
|
+
) -> None:
|
|
7313
|
+
"""Type checking stubs"""
|
|
7314
|
+
pass
|
|
7315
|
+
|
|
7316
|
+
def _typecheckingstub__0772e4da780df63d61457c13aa77602f5d56797dbd993866c4876270813500e3(
|
|
7317
|
+
*,
|
|
7318
|
+
source_arn: builtins.str,
|
|
7319
|
+
target_arn: builtins.str,
|
|
7320
|
+
additional_encryption_context: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
7321
|
+
integration_name: typing.Optional[builtins.str] = None,
|
|
7322
|
+
kms_key_id: typing.Optional[builtins.str] = None,
|
|
7323
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7324
|
+
) -> None:
|
|
7325
|
+
"""Type checking stubs"""
|
|
7326
|
+
pass
|
|
7327
|
+
|
|
6848
7328
|
def _typecheckingstub__1b090f5bcac0321af743a2821b9b20cd050f984204fe9b5d4288918250e146d1(
|
|
6849
7329
|
scope: _constructs_77d1e7e8.Construct,
|
|
6850
7330
|
id: builtins.str,
|