aws-cdk-lib 2.184.1__py3-none-any.whl → 2.185.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.

Files changed (46) hide show
  1. aws_cdk/_jsii/__init__.py +1 -1
  2. aws_cdk/_jsii/{aws-cdk-lib@2.184.1.jsii.tgz → aws-cdk-lib@2.185.0.jsii.tgz} +0 -0
  3. aws_cdk/aws_apigateway/__init__.py +1 -1
  4. aws_cdk/aws_applicationsignals/__init__.py +134 -0
  5. aws_cdk/aws_appsync/__init__.py +0 -8
  6. aws_cdk/aws_athena/__init__.py +143 -0
  7. aws_cdk/aws_backup/__init__.py +4 -2
  8. aws_cdk/aws_batch/__init__.py +9 -0
  9. aws_cdk/aws_bedrock/__init__.py +260 -185
  10. aws_cdk/aws_cassandra/__init__.py +3 -5
  11. aws_cdk/aws_chatbot/__init__.py +41 -0
  12. aws_cdk/aws_codebuild/__init__.py +10 -3
  13. aws_cdk/aws_config/__init__.py +1 -1
  14. aws_cdk/aws_datasync/__init__.py +12 -14
  15. aws_cdk/aws_ec2/__init__.py +148 -19
  16. aws_cdk/aws_ecr/__init__.py +84 -2
  17. aws_cdk/aws_ecs/__init__.py +5 -5
  18. aws_cdk/aws_eks/__init__.py +2 -0
  19. aws_cdk/aws_elasticloadbalancingv2/__init__.py +42 -5
  20. aws_cdk/aws_elasticsearch/__init__.py +1 -1
  21. aws_cdk/aws_events_targets/__init__.py +5 -5
  22. aws_cdk/aws_gamelift/__init__.py +162 -162
  23. aws_cdk/aws_gameliftstreams/__init__.py +199 -59
  24. aws_cdk/aws_iam/__init__.py +56 -25
  25. aws_cdk/aws_imagebuilder/__init__.py +42 -5
  26. aws_cdk/aws_iotfleetwise/__init__.py +15 -6
  27. aws_cdk/aws_kinesisfirehose/__init__.py +113 -110
  28. aws_cdk/aws_logs/__init__.py +21 -27
  29. aws_cdk/aws_msk/__init__.py +9 -48
  30. aws_cdk/aws_opensearchservice/__init__.py +1 -1
  31. aws_cdk/aws_pcs/__init__.py +33 -22
  32. aws_cdk/aws_rds/__init__.py +8 -4
  33. aws_cdk/aws_rum/__init__.py +148 -0
  34. aws_cdk/aws_s3/__init__.py +4 -6
  35. aws_cdk/aws_s3_deployment/__init__.py +2 -0
  36. aws_cdk/aws_sagemaker/__init__.py +524 -0
  37. aws_cdk/aws_ses/__init__.py +9 -9
  38. aws_cdk/aws_sns/__init__.py +12 -12
  39. aws_cdk/cx_api/__init__.py +30 -0
  40. aws_cdk/region_info/__init__.py +2 -2
  41. {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.185.0.dist-info}/METADATA +1 -1
  42. {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.185.0.dist-info}/RECORD +46 -46
  43. {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.185.0.dist-info}/LICENSE +0 -0
  44. {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.185.0.dist-info}/NOTICE +0 -0
  45. {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.185.0.dist-info}/WHEEL +0 -0
  46. {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.185.0.dist-info}/top_level.txt +0 -0
@@ -423,8 +423,7 @@ Each policy may consist of a log group, S3 bucket, and/or Firehose delivery stre
423
423
  Example:
424
424
 
425
425
  ```python
426
- import aws_cdk.aws_kinesisfirehose_alpha as kinesisfirehose
427
- import aws_cdk.aws_kinesisfirehose_destinations_alpha as destinations
426
+ import aws_cdk.aws_kinesisfirehose as firehose
428
427
 
429
428
 
430
429
  log_group_destination = logs.LogGroup(self, "LogGroupLambdaAudit",
@@ -432,9 +431,9 @@ log_group_destination = logs.LogGroup(self, "LogGroupLambdaAudit",
432
431
  )
433
432
 
434
433
  bucket = s3.Bucket(self, "audit-bucket")
435
- s3_destination = destinations.S3Bucket(bucket)
434
+ s3_destination = firehose.S3Bucket(bucket)
436
435
 
437
- delivery_stream = kinesisfirehose.DeliveryStream(self, "Delivery Stream",
436
+ delivery_stream = firehose.DeliveryStream(self, "Delivery Stream",
438
437
  destination=s3_destination
439
438
  )
440
439
 
@@ -8767,8 +8766,7 @@ class DataIdentifier(
8767
8766
 
8768
8767
  Example::
8769
8768
 
8770
- import aws_cdk.aws_kinesisfirehose_alpha as kinesisfirehose
8771
- import aws_cdk.aws_kinesisfirehose_destinations_alpha as destinations
8769
+ import aws_cdk.aws_kinesisfirehose as firehose
8772
8770
 
8773
8771
 
8774
8772
  log_group_destination = logs.LogGroup(self, "LogGroupLambdaAudit",
@@ -8776,9 +8774,9 @@ class DataIdentifier(
8776
8774
  )
8777
8775
 
8778
8776
  bucket = s3.Bucket(self, "audit-bucket")
8779
- s3_destination = destinations.S3Bucket(bucket)
8777
+ s3_destination = firehose.S3Bucket(bucket)
8780
8778
 
8781
- delivery_stream = kinesisfirehose.DeliveryStream(self, "Delivery Stream",
8779
+ delivery_stream = firehose.DeliveryStream(self, "Delivery Stream",
8782
8780
  destination=s3_destination
8783
8781
  )
8784
8782
 
@@ -9323,8 +9321,7 @@ class DataProtectionPolicy(
9323
9321
 
9324
9322
  Example::
9325
9323
 
9326
- import aws_cdk.aws_kinesisfirehose_alpha as kinesisfirehose
9327
- import aws_cdk.aws_kinesisfirehose_destinations_alpha as destinations
9324
+ import aws_cdk.aws_kinesisfirehose as firehose
9328
9325
 
9329
9326
 
9330
9327
  log_group_destination = logs.LogGroup(self, "LogGroupLambdaAudit",
@@ -9332,9 +9329,9 @@ class DataProtectionPolicy(
9332
9329
  )
9333
9330
 
9334
9331
  bucket = s3.Bucket(self, "audit-bucket")
9335
- s3_destination = destinations.S3Bucket(bucket)
9332
+ s3_destination = firehose.S3Bucket(bucket)
9336
9333
 
9337
- delivery_stream = kinesisfirehose.DeliveryStream(self, "Delivery Stream",
9334
+ delivery_stream = firehose.DeliveryStream(self, "Delivery Stream",
9338
9335
  destination=s3_destination
9339
9336
  )
9340
9337
 
@@ -9368,7 +9365,7 @@ class DataProtectionPolicy(
9368
9365
  ) -> None:
9369
9366
  '''
9370
9367
  :param identifiers: List of data protection identifiers. Managed data identifiers must be in the following list: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL-managed-data-identifiers.html Custom data identifiers must have a valid regex defined: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL-custom-data-identifiers.html#custom-data-identifiers-constraints
9371
- :param delivery_stream_name_audit_destination: Amazon Kinesis Data Firehose delivery stream to send audit findings to. The delivery stream must already exist. Default: - no firehose delivery stream audit destination
9368
+ :param delivery_stream_name_audit_destination: Amazon Data Firehose delivery stream to send audit findings to. The delivery stream must already exist. Default: - no firehose delivery stream audit destination
9372
9369
  :param description: Description of the data protection policy. Default: - 'cdk generated data protection policy'
9373
9370
  :param log_group_audit_destination: CloudWatch Logs log group to send audit findings to. The log group must already exist prior to creating the data protection policy. Default: - no CloudWatch Logs audit destination
9374
9371
  :param name: Name of the data protection policy. Default: - 'data-protection-policy-cdk'
@@ -9412,7 +9409,7 @@ class DataProtectionPolicyProps:
9412
9409
  '''Properties for creating a data protection policy.
9413
9410
 
9414
9411
  :param identifiers: List of data protection identifiers. Managed data identifiers must be in the following list: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL-managed-data-identifiers.html Custom data identifiers must have a valid regex defined: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL-custom-data-identifiers.html#custom-data-identifiers-constraints
9415
- :param delivery_stream_name_audit_destination: Amazon Kinesis Data Firehose delivery stream to send audit findings to. The delivery stream must already exist. Default: - no firehose delivery stream audit destination
9412
+ :param delivery_stream_name_audit_destination: Amazon Data Firehose delivery stream to send audit findings to. The delivery stream must already exist. Default: - no firehose delivery stream audit destination
9416
9413
  :param description: Description of the data protection policy. Default: - 'cdk generated data protection policy'
9417
9414
  :param log_group_audit_destination: CloudWatch Logs log group to send audit findings to. The log group must already exist prior to creating the data protection policy. Default: - no CloudWatch Logs audit destination
9418
9415
  :param name: Name of the data protection policy. Default: - 'data-protection-policy-cdk'
@@ -9422,8 +9419,7 @@ class DataProtectionPolicyProps:
9422
9419
 
9423
9420
  Example::
9424
9421
 
9425
- import aws_cdk.aws_kinesisfirehose_alpha as kinesisfirehose
9426
- import aws_cdk.aws_kinesisfirehose_destinations_alpha as destinations
9422
+ import aws_cdk.aws_kinesisfirehose as firehose
9427
9423
 
9428
9424
 
9429
9425
  log_group_destination = logs.LogGroup(self, "LogGroupLambdaAudit",
@@ -9431,9 +9427,9 @@ class DataProtectionPolicyProps:
9431
9427
  )
9432
9428
 
9433
9429
  bucket = s3.Bucket(self, "audit-bucket")
9434
- s3_destination = destinations.S3Bucket(bucket)
9430
+ s3_destination = firehose.S3Bucket(bucket)
9435
9431
 
9436
- delivery_stream = kinesisfirehose.DeliveryStream(self, "Delivery Stream",
9432
+ delivery_stream = firehose.DeliveryStream(self, "Delivery Stream",
9437
9433
  destination=s3_destination
9438
9434
  )
9439
9435
 
@@ -9489,7 +9485,7 @@ class DataProtectionPolicyProps:
9489
9485
 
9490
9486
  @builtins.property
9491
9487
  def delivery_stream_name_audit_destination(self) -> typing.Optional[builtins.str]:
9492
- '''Amazon Kinesis Data Firehose delivery stream to send audit findings to.
9488
+ '''Amazon Data Firehose delivery stream to send audit findings to.
9493
9489
 
9494
9490
  The delivery stream must already exist.
9495
9491
 
@@ -11221,8 +11217,7 @@ class LogGroupProps:
11221
11217
 
11222
11218
  Example::
11223
11219
 
11224
- import aws_cdk.aws_kinesisfirehose_alpha as kinesisfirehose
11225
- import aws_cdk.aws_kinesisfirehose_destinations_alpha as destinations
11220
+ import aws_cdk.aws_kinesisfirehose as firehose
11226
11221
 
11227
11222
 
11228
11223
  log_group_destination = logs.LogGroup(self, "LogGroupLambdaAudit",
@@ -11230,9 +11225,9 @@ class LogGroupProps:
11230
11225
  )
11231
11226
 
11232
11227
  bucket = s3.Bucket(self, "audit-bucket")
11233
- s3_destination = destinations.S3Bucket(bucket)
11228
+ s3_destination = firehose.S3Bucket(bucket)
11234
11229
 
11235
- delivery_stream = kinesisfirehose.DeliveryStream(self, "Delivery Stream",
11230
+ delivery_stream = firehose.DeliveryStream(self, "Delivery Stream",
11236
11231
  destination=s3_destination
11237
11232
  )
11238
11233
 
@@ -13632,8 +13627,7 @@ class CustomDataIdentifier(
13632
13627
 
13633
13628
  Example::
13634
13629
 
13635
- import aws_cdk.aws_kinesisfirehose_alpha as kinesisfirehose
13636
- import aws_cdk.aws_kinesisfirehose_destinations_alpha as destinations
13630
+ import aws_cdk.aws_kinesisfirehose as firehose
13637
13631
 
13638
13632
 
13639
13633
  log_group_destination = logs.LogGroup(self, "LogGroupLambdaAudit",
@@ -13641,9 +13635,9 @@ class CustomDataIdentifier(
13641
13635
  )
13642
13636
 
13643
13637
  bucket = s3.Bucket(self, "audit-bucket")
13644
- s3_destination = destinations.S3Bucket(bucket)
13638
+ s3_destination = firehose.S3Bucket(bucket)
13645
13639
 
13646
- delivery_stream = kinesisfirehose.DeliveryStream(self, "Delivery Stream",
13640
+ delivery_stream = firehose.DeliveryStream(self, "Delivery Stream",
13647
13641
  destination=s3_destination
13648
13642
  )
13649
13643
 
@@ -272,13 +272,6 @@ class CfnCluster(
272
272
  ):
273
273
  '''Creates a new MSK cluster.
274
274
 
275
- The following Python 3.6 example shows how you can create a cluster that's distributed across two `Availability Zones <https://docs.aws.amazon.com/global-infrastructure/latest/regions/aws-availability-zones.html>`_ . Before you run this Python script, replace the example subnet and security-group IDs with the IDs of your subnets and security group.
276
-
277
- When you create an MSK cluster, its brokers get evenly distributed across a number of Availability Zones that's equal to the number of subnets that you specify in the ``BrokerNodeGroupInfo`` parameter. In the following example, you can add a third subnet to get a cluster that's distributed across three Availability Zones::
278
-
279
- import boto3 client = boto3.client('kafka') response = client.create_cluster( BrokerNodeGroupInfo={ 'BrokerAZDistribution': 'DEFAULT', 'ClientSubnets': [ 'subnet-012345678901fedcba', 'subnet-9876543210abcdef01' ], 'InstanceType': 'kafka.m5.large', 'SecurityGroups': [ 'sg-012345abcdef789789' ] }, ClusterName='SalesCluster', EncryptionInfo={ 'EncryptionInTransit': { 'ClientBroker': 'TLS_PLAINTEXT', 'InCluster': True } }, EnhancedMonitoring='PER_TOPIC_PER_BROKER', KafkaVersion='2.2.1', NumberOfBrokerNodes=2
280
- ) print(response)
281
-
282
275
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html
283
276
  :cloudformationResource: AWS::MSK::Cluster
284
277
  :exampleMetadata: fixture=_generated
@@ -4028,7 +4021,6 @@ class CfnReplicator(
4028
4021
  service_execution_role_arn="serviceExecutionRoleArn",
4029
4022
 
4030
4023
  # the properties below are optional
4031
- current_version="currentVersion",
4032
4024
  description="description",
4033
4025
  tags=[CfnTag(
4034
4026
  key="key",
@@ -4046,7 +4038,6 @@ class CfnReplicator(
4046
4038
  replication_info_list: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnReplicator.ReplicationInfoProperty", typing.Dict[builtins.str, typing.Any]]]]],
4047
4039
  replicator_name: builtins.str,
4048
4040
  service_execution_role_arn: builtins.str,
4049
- current_version: typing.Optional[builtins.str] = None,
4050
4041
  description: typing.Optional[builtins.str] = None,
4051
4042
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
4052
4043
  ) -> None:
@@ -4057,7 +4048,6 @@ class CfnReplicator(
4057
4048
  :param replication_info_list: A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
4058
4049
  :param replicator_name: The name of the replicator. Alpha-numeric characters with '-' are allowed.
4059
4050
  :param service_execution_role_arn: The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters).
4060
- :param current_version: The current version number of the replicator.
4061
4051
  :param description: A summary description of the replicator.
4062
4052
  :param tags: List of tags to attach to created Replicator.
4063
4053
  '''
@@ -4070,7 +4060,6 @@ class CfnReplicator(
4070
4060
  replication_info_list=replication_info_list,
4071
4061
  replicator_name=replicator_name,
4072
4062
  service_execution_role_arn=service_execution_role_arn,
4073
- current_version=current_version,
4074
4063
  description=description,
4075
4064
  tags=tags,
4076
4065
  )
@@ -4107,6 +4096,15 @@ class CfnReplicator(
4107
4096
  '''The CloudFormation resource type name for this resource class.'''
4108
4097
  return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
4109
4098
 
4099
+ @builtins.property
4100
+ @jsii.member(jsii_name="attrCurrentVersion")
4101
+ def attr_current_version(self) -> builtins.str:
4102
+ '''The current version number of the replicator.
4103
+
4104
+ :cloudformationAttribute: CurrentVersion
4105
+ '''
4106
+ return typing.cast(builtins.str, jsii.get(self, "attrCurrentVersion"))
4107
+
4110
4108
  @builtins.property
4111
4109
  @jsii.member(jsii_name="attrReplicatorArn")
4112
4110
  def attr_replicator_arn(self) -> builtins.str:
@@ -4189,19 +4187,6 @@ class CfnReplicator(
4189
4187
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4190
4188
  jsii.set(self, "serviceExecutionRoleArn", value) # pyright: ignore[reportArgumentType]
4191
4189
 
4192
- @builtins.property
4193
- @jsii.member(jsii_name="currentVersion")
4194
- def current_version(self) -> typing.Optional[builtins.str]:
4195
- '''The current version number of the replicator.'''
4196
- return typing.cast(typing.Optional[builtins.str], jsii.get(self, "currentVersion"))
4197
-
4198
- @current_version.setter
4199
- def current_version(self, value: typing.Optional[builtins.str]) -> None:
4200
- if __debug__:
4201
- type_hints = typing.get_type_hints(_typecheckingstub__79b07be057d5f4bf56dda86a24cdbb4ced3cc7a8e053d156dd93bbcf785aeb6f)
4202
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4203
- jsii.set(self, "currentVersion", value) # pyright: ignore[reportArgumentType]
4204
-
4205
4190
  @builtins.property
4206
4191
  @jsii.member(jsii_name="description")
4207
4192
  def description(self) -> typing.Optional[builtins.str]:
@@ -4985,7 +4970,6 @@ class CfnReplicator(
4985
4970
  "replication_info_list": "replicationInfoList",
4986
4971
  "replicator_name": "replicatorName",
4987
4972
  "service_execution_role_arn": "serviceExecutionRoleArn",
4988
- "current_version": "currentVersion",
4989
4973
  "description": "description",
4990
4974
  "tags": "tags",
4991
4975
  },
@@ -4998,7 +4982,6 @@ class CfnReplicatorProps:
4998
4982
  replication_info_list: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnReplicator.ReplicationInfoProperty, typing.Dict[builtins.str, typing.Any]]]]],
4999
4983
  replicator_name: builtins.str,
5000
4984
  service_execution_role_arn: builtins.str,
5001
- current_version: typing.Optional[builtins.str] = None,
5002
4985
  description: typing.Optional[builtins.str] = None,
5003
4986
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
5004
4987
  ) -> None:
@@ -5008,7 +4991,6 @@ class CfnReplicatorProps:
5008
4991
  :param replication_info_list: A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
5009
4992
  :param replicator_name: The name of the replicator. Alpha-numeric characters with '-' are allowed.
5010
4993
  :param service_execution_role_arn: The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters).
5011
- :param current_version: The current version number of the replicator.
5012
4994
  :param description: A summary description of the replicator.
5013
4995
  :param tags: List of tags to attach to created Replicator.
5014
4996
 
@@ -5065,7 +5047,6 @@ class CfnReplicatorProps:
5065
5047
  service_execution_role_arn="serviceExecutionRoleArn",
5066
5048
 
5067
5049
  # the properties below are optional
5068
- current_version="currentVersion",
5069
5050
  description="description",
5070
5051
  tags=[CfnTag(
5071
5052
  key="key",
@@ -5079,7 +5060,6 @@ class CfnReplicatorProps:
5079
5060
  check_type(argname="argument replication_info_list", value=replication_info_list, expected_type=type_hints["replication_info_list"])
5080
5061
  check_type(argname="argument replicator_name", value=replicator_name, expected_type=type_hints["replicator_name"])
5081
5062
  check_type(argname="argument service_execution_role_arn", value=service_execution_role_arn, expected_type=type_hints["service_execution_role_arn"])
5082
- check_type(argname="argument current_version", value=current_version, expected_type=type_hints["current_version"])
5083
5063
  check_type(argname="argument description", value=description, expected_type=type_hints["description"])
5084
5064
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
5085
5065
  self._values: typing.Dict[builtins.str, typing.Any] = {
@@ -5088,8 +5068,6 @@ class CfnReplicatorProps:
5088
5068
  "replicator_name": replicator_name,
5089
5069
  "service_execution_role_arn": service_execution_role_arn,
5090
5070
  }
5091
- if current_version is not None:
5092
- self._values["current_version"] = current_version
5093
5071
  if description is not None:
5094
5072
  self._values["description"] = description
5095
5073
  if tags is not None:
@@ -5141,15 +5119,6 @@ class CfnReplicatorProps:
5141
5119
  assert result is not None, "Required property 'service_execution_role_arn' is missing"
5142
5120
  return typing.cast(builtins.str, result)
5143
5121
 
5144
- @builtins.property
5145
- def current_version(self) -> typing.Optional[builtins.str]:
5146
- '''The current version number of the replicator.
5147
-
5148
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-replicator.html#cfn-msk-replicator-currentversion
5149
- '''
5150
- result = self._values.get("current_version")
5151
- return typing.cast(typing.Optional[builtins.str], result)
5152
-
5153
5122
  @builtins.property
5154
5123
  def description(self) -> typing.Optional[builtins.str]:
5155
5124
  '''A summary description of the replicator.
@@ -6637,7 +6606,6 @@ def _typecheckingstub__dfeb157957f65ee344afab32ca8fffe9eb07ec631c59935f85e890a85
6637
6606
  replication_info_list: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnReplicator.ReplicationInfoProperty, typing.Dict[builtins.str, typing.Any]]]]],
6638
6607
  replicator_name: builtins.str,
6639
6608
  service_execution_role_arn: builtins.str,
6640
- current_version: typing.Optional[builtins.str] = None,
6641
6609
  description: typing.Optional[builtins.str] = None,
6642
6610
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
6643
6611
  ) -> None:
@@ -6680,12 +6648,6 @@ def _typecheckingstub__407d0e51992bcbb91149b5316e9f5b3429ee3acebc8959194b791b791
6680
6648
  """Type checking stubs"""
6681
6649
  pass
6682
6650
 
6683
- def _typecheckingstub__79b07be057d5f4bf56dda86a24cdbb4ced3cc7a8e053d156dd93bbcf785aeb6f(
6684
- value: typing.Optional[builtins.str],
6685
- ) -> None:
6686
- """Type checking stubs"""
6687
- pass
6688
-
6689
6651
  def _typecheckingstub__0d4359699d0ff82e6e6d493eefa33cd643cafd7ea12f638de022a962a125c66d(
6690
6652
  value: typing.Optional[builtins.str],
6691
6653
  ) -> None:
@@ -6775,7 +6737,6 @@ def _typecheckingstub__8386726baf4842aa1a4af40915bf45a4cc4edffd70ea82fa6a181cca6
6775
6737
  replication_info_list: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnReplicator.ReplicationInfoProperty, typing.Dict[builtins.str, typing.Any]]]]],
6776
6738
  replicator_name: builtins.str,
6777
6739
  service_execution_role_arn: builtins.str,
6778
- current_version: typing.Optional[builtins.str] = None,
6779
6740
  description: typing.Optional[builtins.str] = None,
6780
6741
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
6781
6742
  ) -> None:
@@ -292,7 +292,7 @@ domain = Domain(self, "Domain",
292
292
  ```
293
293
 
294
294
  For more complex use-cases, for example, to set the domain up to receive data from a
295
- [cross-account Kinesis Firehose](https://aws.amazon.com/premiumsupport/knowledge-center/kinesis-firehose-cross-account-streaming/) the `addAccessPolicies` helper method
295
+ [cross-account Amazon Data Firehose](https://aws.amazon.com/premiumsupport/knowledge-center/kinesis-firehose-cross-account-streaming/) the `addAccessPolicies` helper method
296
296
  allows for policies that include the explicit domain ARN.
297
297
 
298
298
  ```python
@@ -1107,8 +1107,10 @@ class CfnComputeNodeGroup(
1107
1107
  cfn_compute_node_group = pcs.CfnComputeNodeGroup(self, "MyCfnComputeNodeGroup",
1108
1108
  cluster_id="clusterId",
1109
1109
  custom_launch_template=pcs.CfnComputeNodeGroup.CustomLaunchTemplateProperty(
1110
- id="id",
1111
- version="version"
1110
+ version="version",
1111
+
1112
+ # the properties below are optional
1113
+ template_id="templateId"
1112
1114
  ),
1113
1115
  iam_instance_profile_arn="iamInstanceProfileArn",
1114
1116
  instance_configs=[pcs.CfnComputeNodeGroup.InstanceConfigProperty(
@@ -1460,14 +1462,19 @@ class CfnComputeNodeGroup(
1460
1462
  @jsii.data_type(
1461
1463
  jsii_type="aws-cdk-lib.aws_pcs.CfnComputeNodeGroup.CustomLaunchTemplateProperty",
1462
1464
  jsii_struct_bases=[],
1463
- name_mapping={"id": "id", "version": "version"},
1465
+ name_mapping={"version": "version", "template_id": "templateId"},
1464
1466
  )
1465
1467
  class CustomLaunchTemplateProperty:
1466
- def __init__(self, *, id: builtins.str, version: builtins.str) -> None:
1468
+ def __init__(
1469
+ self,
1470
+ *,
1471
+ version: builtins.str,
1472
+ template_id: typing.Optional[builtins.str] = None,
1473
+ ) -> None:
1467
1474
  '''An Amazon EC2 launch template AWS PCS uses to launch compute nodes.
1468
1475
 
1469
- :param id: The ID of the EC2 launch template to use to provision instances.
1470
1476
  :param version: The version of the EC2 launch template to use to provision instances.
1477
+ :param template_id: The ID of the EC2 launch template to use to provision instances.
1471
1478
 
1472
1479
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-computenodegroup-customlaunchtemplate.html
1473
1480
  :exampleMetadata: fixture=_generated
@@ -1479,28 +1486,21 @@ class CfnComputeNodeGroup(
1479
1486
  from aws_cdk import aws_pcs as pcs
1480
1487
 
1481
1488
  custom_launch_template_property = pcs.CfnComputeNodeGroup.CustomLaunchTemplateProperty(
1482
- id="id",
1483
- version="version"
1489
+ version="version",
1490
+
1491
+ # the properties below are optional
1492
+ template_id="templateId"
1484
1493
  )
1485
1494
  '''
1486
1495
  if __debug__:
1487
1496
  type_hints = typing.get_type_hints(_typecheckingstub__f5e18d4eaf127cbbf203643daa28b5c0a8105f4a3d48ce6e2c896d6f851d7911)
1488
- check_type(argname="argument id", value=id, expected_type=type_hints["id"])
1489
1497
  check_type(argname="argument version", value=version, expected_type=type_hints["version"])
1498
+ check_type(argname="argument template_id", value=template_id, expected_type=type_hints["template_id"])
1490
1499
  self._values: typing.Dict[builtins.str, typing.Any] = {
1491
- "id": id,
1492
1500
  "version": version,
1493
1501
  }
1494
-
1495
- @builtins.property
1496
- def id(self) -> builtins.str:
1497
- '''The ID of the EC2 launch template to use to provision instances.
1498
-
1499
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-computenodegroup-customlaunchtemplate.html#cfn-pcs-computenodegroup-customlaunchtemplate-id
1500
- '''
1501
- result = self._values.get("id")
1502
- assert result is not None, "Required property 'id' is missing"
1503
- return typing.cast(builtins.str, result)
1502
+ if template_id is not None:
1503
+ self._values["template_id"] = template_id
1504
1504
 
1505
1505
  @builtins.property
1506
1506
  def version(self) -> builtins.str:
@@ -1512,6 +1512,15 @@ class CfnComputeNodeGroup(
1512
1512
  assert result is not None, "Required property 'version' is missing"
1513
1513
  return typing.cast(builtins.str, result)
1514
1514
 
1515
+ @builtins.property
1516
+ def template_id(self) -> typing.Optional[builtins.str]:
1517
+ '''The ID of the EC2 launch template to use to provision instances.
1518
+
1519
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-computenodegroup-customlaunchtemplate.html#cfn-pcs-computenodegroup-customlaunchtemplate-templateid
1520
+ '''
1521
+ result = self._values.get("template_id")
1522
+ return typing.cast(typing.Optional[builtins.str], result)
1523
+
1515
1524
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
1516
1525
  return isinstance(rhs, self.__class__) and rhs._values == self._values
1517
1526
 
@@ -1986,8 +1995,10 @@ class CfnComputeNodeGroupProps:
1986
1995
  cfn_compute_node_group_props = pcs.CfnComputeNodeGroupProps(
1987
1996
  cluster_id="clusterId",
1988
1997
  custom_launch_template=pcs.CfnComputeNodeGroup.CustomLaunchTemplateProperty(
1989
- id="id",
1990
- version="version"
1998
+ version="version",
1999
+
2000
+ # the properties below are optional
2001
+ template_id="templateId"
1991
2002
  ),
1992
2003
  iam_instance_profile_arn="iamInstanceProfileArn",
1993
2004
  instance_configs=[pcs.CfnComputeNodeGroup.InstanceConfigProperty(
@@ -2895,8 +2906,8 @@ def _typecheckingstub__4f9d940f011938958eb70282b41c84f70c7f86093c1788ec73b310de3
2895
2906
 
2896
2907
  def _typecheckingstub__f5e18d4eaf127cbbf203643daa28b5c0a8105f4a3d48ce6e2c896d6f851d7911(
2897
2908
  *,
2898
- id: builtins.str,
2899
2909
  version: builtins.str,
2910
+ template_id: typing.Optional[builtins.str] = None,
2900
2911
  ) -> None:
2901
2912
  """Type checking stubs"""
2902
2913
  pass
@@ -5210,7 +5210,7 @@ class CfnDBCluster(
5210
5210
  :param network_type: The network type of the DB cluster. Valid values: - ``IPV4`` - ``DUAL`` The network type is determined by the ``DBSubnetGroup`` specified for the DB cluster. A ``DBSubnetGroup`` can support only the IPv4 protocol or the IPv4 and IPv6 protocols ( ``DUAL`` ). For more information, see `Working with a DB instance in a VPC <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html>`_ in the *Amazon Aurora User Guide.* Valid for: Aurora DB clusters only
5211
5211
  :param performance_insights_enabled: Specifies whether to turn on Performance Insights for the DB cluster. For more information, see `Using Amazon Performance Insights <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html>`_ in the *Amazon RDS User Guide* . Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
5212
5212
  :param performance_insights_kms_key_id: The AWS KMS key identifier for encryption of Performance Insights data. The AWS KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. If you don't specify a value for ``PerformanceInsightsKMSKeyId`` , then Amazon RDS uses your default KMS key. There is a default KMS key for your AWS account . Your AWS account has a different default KMS key for each AWS Region . Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
5213
- :param performance_insights_retention_period: The number of days to retain Performance Insights data. Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters Valid Values: - ``7`` - *month* * 31, where *month* is a number of months from 1-23. Examples: ``93`` (3 months * 31), ``341`` (11 months * 31), ``589`` (19 months * 31) - ``731`` Default: ``7`` days If you specify a retention period that isn't valid, such as ``94`` , Amazon RDS issues an error.
5213
+ :param performance_insights_retention_period: The number of days to retain Performance Insights data. When creating a DB cluster without enabling Performance Insights, you can't specify the parameter ``PerformanceInsightsRetentionPeriod`` . Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters Valid Values: - ``7`` - *month* * 31, where *month* is a number of months from 1-23. Examples: ``93`` (3 months * 31), ``341`` (11 months * 31), ``589`` (19 months * 31) - ``731`` Default: ``7`` days If you specify a retention period that isn't valid, such as ``94`` , Amazon RDS issues an error.
5214
5214
  :param port: The port number on which the DB instances in the DB cluster accept connections. Default: - When ``EngineMode`` is ``provisioned`` , ``3306`` (for both Aurora MySQL and Aurora PostgreSQL) - When ``EngineMode`` is ``serverless`` : - ``3306`` when ``Engine`` is ``aurora`` or ``aurora-mysql`` - ``5432`` when ``Engine`` is ``aurora-postgresql`` .. epigraph:: The ``No interruption`` on update behavior only applies to DB clusters. If you are updating a DB instance, see `Port <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-port>`_ for the AWS::RDS::DBInstance resource. Valid for: Aurora DB clusters and Multi-AZ DB clusters
5215
5215
  :param preferred_backup_window: The daily time range during which automated backups are created. For more information, see `Backup Window <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow>`_ in the *Amazon Aurora User Guide.* Constraints: - Must be in the format ``hh24:mi-hh24:mi`` . - Must be in Universal Coordinated Time (UTC). - Must not conflict with the preferred maintenance window. - Must be at least 30 minutes. Valid for: Aurora DB clusters and Multi-AZ DB clusters
5216
5216
  :param preferred_maintenance_window: The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ``ddd:hh24:mi-ddd:hh24:mi`` The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week. To see the time blocks available, see `Maintaining an Amazon Aurora DB cluster <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow.Aurora>`_ in the *Amazon Aurora User Guide.* Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun. Constraints: Minimum 30-minute window. Valid for: Aurora DB clusters and Multi-AZ DB clusters
@@ -7404,7 +7404,7 @@ class CfnDBClusterProps:
7404
7404
  :param network_type: The network type of the DB cluster. Valid values: - ``IPV4`` - ``DUAL`` The network type is determined by the ``DBSubnetGroup`` specified for the DB cluster. A ``DBSubnetGroup`` can support only the IPv4 protocol or the IPv4 and IPv6 protocols ( ``DUAL`` ). For more information, see `Working with a DB instance in a VPC <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html>`_ in the *Amazon Aurora User Guide.* Valid for: Aurora DB clusters only
7405
7405
  :param performance_insights_enabled: Specifies whether to turn on Performance Insights for the DB cluster. For more information, see `Using Amazon Performance Insights <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html>`_ in the *Amazon RDS User Guide* . Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
7406
7406
  :param performance_insights_kms_key_id: The AWS KMS key identifier for encryption of Performance Insights data. The AWS KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. If you don't specify a value for ``PerformanceInsightsKMSKeyId`` , then Amazon RDS uses your default KMS key. There is a default KMS key for your AWS account . Your AWS account has a different default KMS key for each AWS Region . Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
7407
- :param performance_insights_retention_period: The number of days to retain Performance Insights data. Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters Valid Values: - ``7`` - *month* * 31, where *month* is a number of months from 1-23. Examples: ``93`` (3 months * 31), ``341`` (11 months * 31), ``589`` (19 months * 31) - ``731`` Default: ``7`` days If you specify a retention period that isn't valid, such as ``94`` , Amazon RDS issues an error.
7407
+ :param performance_insights_retention_period: The number of days to retain Performance Insights data. When creating a DB cluster without enabling Performance Insights, you can't specify the parameter ``PerformanceInsightsRetentionPeriod`` . Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters Valid Values: - ``7`` - *month* * 31, where *month* is a number of months from 1-23. Examples: ``93`` (3 months * 31), ``341`` (11 months * 31), ``589`` (19 months * 31) - ``731`` Default: ``7`` days If you specify a retention period that isn't valid, such as ``94`` , Amazon RDS issues an error.
7408
7408
  :param port: The port number on which the DB instances in the DB cluster accept connections. Default: - When ``EngineMode`` is ``provisioned`` , ``3306`` (for both Aurora MySQL and Aurora PostgreSQL) - When ``EngineMode`` is ``serverless`` : - ``3306`` when ``Engine`` is ``aurora`` or ``aurora-mysql`` - ``5432`` when ``Engine`` is ``aurora-postgresql`` .. epigraph:: The ``No interruption`` on update behavior only applies to DB clusters. If you are updating a DB instance, see `Port <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-port>`_ for the AWS::RDS::DBInstance resource. Valid for: Aurora DB clusters and Multi-AZ DB clusters
7409
7409
  :param preferred_backup_window: The daily time range during which automated backups are created. For more information, see `Backup Window <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow>`_ in the *Amazon Aurora User Guide.* Constraints: - Must be in the format ``hh24:mi-hh24:mi`` . - Must be in Universal Coordinated Time (UTC). - Must not conflict with the preferred maintenance window. - Must be at least 30 minutes. Valid for: Aurora DB clusters and Multi-AZ DB clusters
7410
7410
  :param preferred_maintenance_window: The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ``ddd:hh24:mi-ddd:hh24:mi`` The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week. To see the time blocks available, see `Maintaining an Amazon Aurora DB cluster <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow.Aurora>`_ in the *Amazon Aurora User Guide.* Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun. Constraints: Minimum 30-minute window. Valid for: Aurora DB clusters and Multi-AZ DB clusters
@@ -8381,6 +8381,8 @@ class CfnDBClusterProps:
8381
8381
  def performance_insights_retention_period(self) -> typing.Optional[jsii.Number]:
8382
8382
  '''The number of days to retain Performance Insights data.
8383
8383
 
8384
+ When creating a DB cluster without enabling Performance Insights, you can't specify the parameter ``PerformanceInsightsRetentionPeriod`` .
8385
+
8384
8386
  Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
8385
8387
 
8386
8388
  Valid Values:
@@ -9035,7 +9037,7 @@ class CfnDBInstance(
9035
9037
  :param network_type: The network type of the DB instance. Valid values: - ``IPV4`` - ``DUAL`` The network type is determined by the ``DBSubnetGroup`` specified for the DB instance. A ``DBSubnetGroup`` can support only the IPv4 protocol or the IPv4 and IPv6 protocols ( ``DUAL`` ). For more information, see `Working with a DB instance in a VPC <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html>`_ in the *Amazon RDS User Guide.*
9036
9038
  :param option_group_name: Indicates that the DB instance should be associated with the specified option group. Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option group. Also, that option group can't be removed from a DB instance once it is associated with a DB instance.
9037
9039
  :param performance_insights_kms_key_id: The AWS KMS key identifier for encryption of Performance Insights data. The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. If you do not specify a value for ``PerformanceInsightsKMSKeyId`` , then Amazon RDS uses your default KMS key. There is a default KMS key for your AWS account. Your AWS account has a different default KMS key for each AWS Region. For information about enabling Performance Insights, see `EnablePerformanceInsights <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-enableperformanceinsights>`_ .
9038
- :param performance_insights_retention_period: The number of days to retain Performance Insights data. This setting doesn't apply to RDS Custom DB instances. Valid Values: - ``7`` - *month* * 31, where *month* is a number of months from 1-23. Examples: ``93`` (3 months * 31), ``341`` (11 months * 31), ``589`` (19 months * 31) - ``731`` Default: ``7`` days If you specify a retention period that isn't valid, such as ``94`` , Amazon RDS returns an error.
9040
+ :param performance_insights_retention_period: The number of days to retain Performance Insights data. When creating a DB instance without enabling Performance Insights, you can't specify the parameter ``PerformanceInsightsRetentionPeriod`` . This setting doesn't apply to RDS Custom DB instances. Valid Values: - ``7`` - *month* * 31, where *month* is a number of months from 1-23. Examples: ``93`` (3 months * 31), ``341`` (11 months * 31), ``589`` (19 months * 31) - ``731`` Default: ``7`` days If you specify a retention period that isn't valid, such as ``94`` , Amazon RDS returns an error.
9039
9041
  :param port: The port number on which the database accepts connections. This setting doesn't apply to Aurora DB instances. The port number is managed by the cluster. Valid Values: ``1150-65535`` Default: - RDS for Db2 - ``50000`` - RDS for MariaDB - ``3306`` - RDS for Microsoft SQL Server - ``1433`` - RDS for MySQL - ``3306`` - RDS for Oracle - ``1521`` - RDS for PostgreSQL - ``5432`` Constraints: - For RDS for Microsoft SQL Server, the value can't be ``1234`` , ``1434`` , ``3260`` , ``3343`` , ``3389`` , ``47001`` , or ``49152-49156`` .
9040
9042
  :param preferred_backup_window: The daily time range during which automated backups are created if automated backups are enabled, using the ``BackupRetentionPeriod`` parameter. For more information, see `Backup Window <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow>`_ in the *Amazon RDS User Guide.* Constraints: - Must be in the format ``hh24:mi-hh24:mi`` . - Must be in Universal Coordinated Time (UTC). - Must not conflict with the preferred maintenance window. - Must be at least 30 minutes. *Amazon Aurora* Not applicable. The daily time range for creating automated backups is managed by the DB cluster.
9041
9043
  :param preferred_maintenance_window: The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ``ddd:hh24:mi-ddd:hh24:mi`` The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week. To see the time blocks available, see `Maintaining a DB instance <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow>`_ in the *Amazon RDS User Guide.* .. epigraph:: This property applies when AWS CloudFormation initially creates the DB instance. If you use AWS CloudFormation to update the DB instance, those updates are applied immediately. Constraints: Minimum 30-minute window.
@@ -11107,7 +11109,7 @@ class CfnDBInstanceProps:
11107
11109
  :param network_type: The network type of the DB instance. Valid values: - ``IPV4`` - ``DUAL`` The network type is determined by the ``DBSubnetGroup`` specified for the DB instance. A ``DBSubnetGroup`` can support only the IPv4 protocol or the IPv4 and IPv6 protocols ( ``DUAL`` ). For more information, see `Working with a DB instance in a VPC <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html>`_ in the *Amazon RDS User Guide.*
11108
11110
  :param option_group_name: Indicates that the DB instance should be associated with the specified option group. Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option group. Also, that option group can't be removed from a DB instance once it is associated with a DB instance.
11109
11111
  :param performance_insights_kms_key_id: The AWS KMS key identifier for encryption of Performance Insights data. The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. If you do not specify a value for ``PerformanceInsightsKMSKeyId`` , then Amazon RDS uses your default KMS key. There is a default KMS key for your AWS account. Your AWS account has a different default KMS key for each AWS Region. For information about enabling Performance Insights, see `EnablePerformanceInsights <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-enableperformanceinsights>`_ .
11110
- :param performance_insights_retention_period: The number of days to retain Performance Insights data. This setting doesn't apply to RDS Custom DB instances. Valid Values: - ``7`` - *month* * 31, where *month* is a number of months from 1-23. Examples: ``93`` (3 months * 31), ``341`` (11 months * 31), ``589`` (19 months * 31) - ``731`` Default: ``7`` days If you specify a retention period that isn't valid, such as ``94`` , Amazon RDS returns an error.
11112
+ :param performance_insights_retention_period: The number of days to retain Performance Insights data. When creating a DB instance without enabling Performance Insights, you can't specify the parameter ``PerformanceInsightsRetentionPeriod`` . This setting doesn't apply to RDS Custom DB instances. Valid Values: - ``7`` - *month* * 31, where *month* is a number of months from 1-23. Examples: ``93`` (3 months * 31), ``341`` (11 months * 31), ``589`` (19 months * 31) - ``731`` Default: ``7`` days If you specify a retention period that isn't valid, such as ``94`` , Amazon RDS returns an error.
11111
11113
  :param port: The port number on which the database accepts connections. This setting doesn't apply to Aurora DB instances. The port number is managed by the cluster. Valid Values: ``1150-65535`` Default: - RDS for Db2 - ``50000`` - RDS for MariaDB - ``3306`` - RDS for Microsoft SQL Server - ``1433`` - RDS for MySQL - ``3306`` - RDS for Oracle - ``1521`` - RDS for PostgreSQL - ``5432`` Constraints: - For RDS for Microsoft SQL Server, the value can't be ``1234`` , ``1434`` , ``3260`` , ``3343`` , ``3389`` , ``47001`` , or ``49152-49156`` .
11112
11114
  :param preferred_backup_window: The daily time range during which automated backups are created if automated backups are enabled, using the ``BackupRetentionPeriod`` parameter. For more information, see `Backup Window <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow>`_ in the *Amazon RDS User Guide.* Constraints: - Must be in the format ``hh24:mi-hh24:mi`` . - Must be in Universal Coordinated Time (UTC). - Must not conflict with the preferred maintenance window. - Must be at least 30 minutes. *Amazon Aurora* Not applicable. The daily time range for creating automated backups is managed by the DB cluster.
11113
11115
  :param preferred_maintenance_window: The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ``ddd:hh24:mi-ddd:hh24:mi`` The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week. To see the time blocks available, see `Maintaining a DB instance <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow>`_ in the *Amazon RDS User Guide.* .. epigraph:: This property applies when AWS CloudFormation initially creates the DB instance. If you use AWS CloudFormation to update the DB instance, those updates are applied immediately. Constraints: Minimum 30-minute window.
@@ -12665,6 +12667,8 @@ class CfnDBInstanceProps:
12665
12667
  def performance_insights_retention_period(self) -> typing.Optional[jsii.Number]:
12666
12668
  '''The number of days to retain Performance Insights data.
12667
12669
 
12670
+ When creating a DB instance without enabling Performance Insights, you can't specify the parameter ``PerformanceInsightsRetentionPeriod`` .
12671
+
12668
12672
  This setting doesn't apply to RDS Custom DB instances.
12669
12673
 
12670
12674
  Valid Values: