aws-cdk-lib 2.170.0__py3-none-any.whl → 2.171.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.170.0.jsii.tgz → aws-cdk-lib@2.171.1.jsii.tgz} +0 -0
- aws_cdk/aws_rds/__init__.py +303 -154
- {aws_cdk_lib-2.170.0.dist-info → aws_cdk_lib-2.171.1.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.170.0.dist-info → aws_cdk_lib-2.171.1.dist-info}/RECORD +9 -9
- {aws_cdk_lib-2.170.0.dist-info → aws_cdk_lib-2.171.1.dist-info}/WHEEL +1 -1
- {aws_cdk_lib-2.170.0.dist-info → aws_cdk_lib-2.171.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.170.0.dist-info → aws_cdk_lib-2.171.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.170.0.dist-info → aws_cdk_lib-2.171.1.dist-info}/top_level.txt +0 -0
aws_cdk/_jsii/__init__.py
CHANGED
|
@@ -35,7 +35,7 @@ import aws_cdk.cloud_assembly_schema._jsii
|
|
|
35
35
|
import constructs._jsii
|
|
36
36
|
|
|
37
37
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
38
|
-
"aws-cdk-lib", "2.
|
|
38
|
+
"aws-cdk-lib", "2.171.1", __name__[0:-6], "aws-cdk-lib@2.171.1.jsii.tgz"
|
|
39
39
|
)
|
|
40
40
|
|
|
41
41
|
__all__ = [
|
|
Binary file
|
aws_cdk/aws_rds/__init__.py
CHANGED
|
@@ -261,6 +261,10 @@ things.
|
|
|
261
261
|
|
|
262
262
|
> *Info* More complete details can be found [in the docs](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.setting-capacity.html#aurora-serverless-v2-examples-setting-capacity-range-for-cluster)
|
|
263
263
|
|
|
264
|
+
You can also set minimum capacity to zero ACUs and automatically pause,
|
|
265
|
+
if they don't have any connections initiated by user activity within a specified time period.
|
|
266
|
+
For more information, see [Scaling to Zero ACUs with automatic pause and resume for Aurora Serverless v2](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2-auto-pause.html).
|
|
267
|
+
|
|
264
268
|
Another way that you control the capacity/scaling of your serverless v2 reader
|
|
265
269
|
instances is based on the [promotion tier](https://aws.amazon.com/blogs/aws/additional-failover-control-for-amazon-aurora/)
|
|
266
270
|
which can be between 0-15. Any serverless v2 instance in the 0-1 tiers will scale alongside the
|
|
@@ -1597,6 +1601,53 @@ To see Amazon RDS DB engines that support Performance Insights, see [Amazon RDS
|
|
|
1597
1601
|
To see Amazon Aurora DB engines that support Performance Insights, see [Amazon Aurora DB engine, Region, and instance class support for Performance Insights](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.Overview.Engines.html).
|
|
1598
1602
|
|
|
1599
1603
|
For more information about Performance Insights, see [Monitoring DB load with Performance Insights on Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html).
|
|
1604
|
+
|
|
1605
|
+
## Enhanced Monitoring
|
|
1606
|
+
|
|
1607
|
+
With [Enhanced Monitoring](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling), you can monitor the operating system of your DB instance in real time.
|
|
1608
|
+
|
|
1609
|
+
To enable Enhanced Monitoring for a clustered database, set the `monitoringInterval` property.
|
|
1610
|
+
This value is applied at instance level to all instances in the cluster by default.
|
|
1611
|
+
|
|
1612
|
+
If you want to enable enhanced monitoring at the cluster level, you can set the `enableClusterLevelEnhancedMonitoring` property to `true`. Note that you must set `monitoringInterval` when using `enableClusterLevelEnhancedMonitoring`
|
|
1613
|
+
|
|
1614
|
+
```python
|
|
1615
|
+
# vpc: ec2.Vpc
|
|
1616
|
+
|
|
1617
|
+
# Enable Enhanced Monitoring at instance level to all instances in the cluster
|
|
1618
|
+
rds.DatabaseCluster(self, "Cluster",
|
|
1619
|
+
engine=rds.DatabaseClusterEngine.aurora_postgres(version=rds.AuroraPostgresEngineVersion.VER_16_1),
|
|
1620
|
+
writer=rds.ClusterInstance.serverless_v2("writerInstance"),
|
|
1621
|
+
vpc=vpc,
|
|
1622
|
+
monitoring_interval=Duration.seconds(5)
|
|
1623
|
+
)
|
|
1624
|
+
|
|
1625
|
+
# Enable Enhanced Monitoring at the cluster level
|
|
1626
|
+
rds.DatabaseCluster(self, "Cluster",
|
|
1627
|
+
engine=rds.DatabaseClusterEngine.aurora_postgres(version=rds.AuroraPostgresEngineVersion.VER_16_1),
|
|
1628
|
+
writer=rds.ClusterInstance.serverless_v2("writerInstance"),
|
|
1629
|
+
vpc=vpc,
|
|
1630
|
+
monitoring_interval=Duration.seconds(5),
|
|
1631
|
+
enable_cluster_level_enhanced_monitoring=True
|
|
1632
|
+
)
|
|
1633
|
+
```
|
|
1634
|
+
|
|
1635
|
+
AWS CDK automatically generate the IAM role for Enhanced Monitoring.
|
|
1636
|
+
If you want to create the IAM role manually, you can use the `monitoringRole` property.
|
|
1637
|
+
|
|
1638
|
+
```python
|
|
1639
|
+
# vpc: ec2.Vpc
|
|
1640
|
+
# monitoring_role: iam.Role
|
|
1641
|
+
|
|
1642
|
+
|
|
1643
|
+
rds.DatabaseCluster(self, "Cluster",
|
|
1644
|
+
engine=rds.DatabaseClusterEngine.aurora_postgres(version=rds.AuroraPostgresEngineVersion.VER_16_1),
|
|
1645
|
+
writer=rds.ClusterInstance.serverless_v2("writerInstance"),
|
|
1646
|
+
vpc=vpc,
|
|
1647
|
+
monitoring_interval=Duration.seconds(5),
|
|
1648
|
+
monitoring_role=monitoring_role
|
|
1649
|
+
)
|
|
1650
|
+
```
|
|
1600
1651
|
'''
|
|
1601
1652
|
from pkgutil import extend_path
|
|
1602
1653
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -2911,67 +2962,22 @@ class AuroraPostgresClusterEngineProps:
|
|
|
2911
2962
|
|
|
2912
2963
|
Example::
|
|
2913
2964
|
|
|
2914
|
-
#
|
|
2915
|
-
# api: appsync.GraphqlApi
|
|
2916
|
-
# Create username and password secret for DB Cluster
|
|
2917
|
-
secret = rds.DatabaseSecret(self, "AuroraSecret",
|
|
2918
|
-
username="clusteradmin"
|
|
2919
|
-
)
|
|
2920
|
-
|
|
2921
|
-
# The VPC to place the cluster in
|
|
2922
|
-
vpc = ec2.Vpc(self, "AuroraVpc")
|
|
2923
|
-
|
|
2924
|
-
# Create the serverless cluster, provide all values needed to customise the database.
|
|
2925
|
-
cluster = rds.DatabaseCluster(self, "AuroraClusterV2",
|
|
2926
|
-
engine=rds.DatabaseClusterEngine.aurora_postgres(version=rds.AuroraPostgresEngineVersion.VER_15_5),
|
|
2927
|
-
credentials={"username": "clusteradmin"},
|
|
2928
|
-
cluster_identifier="db-endpoint-test",
|
|
2929
|
-
writer=rds.ClusterInstance.serverless_v2("writer"),
|
|
2930
|
-
serverless_v2_min_capacity=2,
|
|
2931
|
-
serverless_v2_max_capacity=10,
|
|
2932
|
-
vpc=vpc,
|
|
2933
|
-
default_database_name="demos",
|
|
2934
|
-
enable_data_api=True
|
|
2935
|
-
)
|
|
2936
|
-
rds_dS = api.add_rds_data_source_v2("rds", cluster, secret, "demos")
|
|
2937
|
-
|
|
2938
|
-
# Set up a resolver for an RDS query.
|
|
2939
|
-
rds_dS.create_resolver("QueryGetDemosRdsResolver",
|
|
2940
|
-
type_name="Query",
|
|
2941
|
-
field_name="getDemosRds",
|
|
2942
|
-
request_mapping_template=appsync.MappingTemplate.from_string("""
|
|
2943
|
-
{
|
|
2944
|
-
"version": "2018-05-29",
|
|
2945
|
-
"statements": [
|
|
2946
|
-
"SELECT * FROM demos"
|
|
2947
|
-
]
|
|
2948
|
-
}
|
|
2949
|
-
"""),
|
|
2950
|
-
response_mapping_template=appsync.MappingTemplate.from_string("""
|
|
2951
|
-
$utils.toJson($utils.rds.toJsonObject($ctx.result)[0])
|
|
2952
|
-
""")
|
|
2953
|
-
)
|
|
2965
|
+
# vpc: ec2.Vpc
|
|
2954
2966
|
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
}
|
|
2970
|
-
}
|
|
2971
|
-
"""),
|
|
2972
|
-
response_mapping_template=appsync.MappingTemplate.from_string("""
|
|
2973
|
-
$utils.toJson($utils.rds.toJsonObject($ctx.result)[1][0])
|
|
2974
|
-
""")
|
|
2967
|
+
cluster = rds.DatabaseCluster(self, "Database",
|
|
2968
|
+
engine=rds.DatabaseClusterEngine.aurora_postgres(version=rds.AuroraPostgresEngineVersion.VER_15_2),
|
|
2969
|
+
credentials=rds.Credentials.from_username("adminuser", password=SecretValue.unsafe_plain_text("7959866cacc02c2d243ecfe177464fe6")),
|
|
2970
|
+
writer=rds.ClusterInstance.provisioned("writer",
|
|
2971
|
+
publicly_accessible=False
|
|
2972
|
+
),
|
|
2973
|
+
readers=[
|
|
2974
|
+
rds.ClusterInstance.provisioned("reader")
|
|
2975
|
+
],
|
|
2976
|
+
storage_type=rds.DBClusterStorageType.AURORA_IOPT1,
|
|
2977
|
+
vpc_subnets=ec2.SubnetSelection(
|
|
2978
|
+
subnet_type=ec2.SubnetType.PRIVATE_WITH_EGRESS
|
|
2979
|
+
),
|
|
2980
|
+
vpc=vpc
|
|
2975
2981
|
)
|
|
2976
2982
|
'''
|
|
2977
2983
|
if __debug__:
|
|
@@ -3082,67 +3088,22 @@ class AuroraPostgresEngineVersion(
|
|
|
3082
3088
|
|
|
3083
3089
|
Example::
|
|
3084
3090
|
|
|
3085
|
-
#
|
|
3086
|
-
# api: appsync.GraphqlApi
|
|
3087
|
-
# Create username and password secret for DB Cluster
|
|
3088
|
-
secret = rds.DatabaseSecret(self, "AuroraSecret",
|
|
3089
|
-
username="clusteradmin"
|
|
3090
|
-
)
|
|
3091
|
-
|
|
3092
|
-
# The VPC to place the cluster in
|
|
3093
|
-
vpc = ec2.Vpc(self, "AuroraVpc")
|
|
3094
|
-
|
|
3095
|
-
# Create the serverless cluster, provide all values needed to customise the database.
|
|
3096
|
-
cluster = rds.DatabaseCluster(self, "AuroraClusterV2",
|
|
3097
|
-
engine=rds.DatabaseClusterEngine.aurora_postgres(version=rds.AuroraPostgresEngineVersion.VER_15_5),
|
|
3098
|
-
credentials={"username": "clusteradmin"},
|
|
3099
|
-
cluster_identifier="db-endpoint-test",
|
|
3100
|
-
writer=rds.ClusterInstance.serverless_v2("writer"),
|
|
3101
|
-
serverless_v2_min_capacity=2,
|
|
3102
|
-
serverless_v2_max_capacity=10,
|
|
3103
|
-
vpc=vpc,
|
|
3104
|
-
default_database_name="demos",
|
|
3105
|
-
enable_data_api=True
|
|
3106
|
-
)
|
|
3107
|
-
rds_dS = api.add_rds_data_source_v2("rds", cluster, secret, "demos")
|
|
3108
|
-
|
|
3109
|
-
# Set up a resolver for an RDS query.
|
|
3110
|
-
rds_dS.create_resolver("QueryGetDemosRdsResolver",
|
|
3111
|
-
type_name="Query",
|
|
3112
|
-
field_name="getDemosRds",
|
|
3113
|
-
request_mapping_template=appsync.MappingTemplate.from_string("""
|
|
3114
|
-
{
|
|
3115
|
-
"version": "2018-05-29",
|
|
3116
|
-
"statements": [
|
|
3117
|
-
"SELECT * FROM demos"
|
|
3118
|
-
]
|
|
3119
|
-
}
|
|
3120
|
-
"""),
|
|
3121
|
-
response_mapping_template=appsync.MappingTemplate.from_string("""
|
|
3122
|
-
$utils.toJson($utils.rds.toJsonObject($ctx.result)[0])
|
|
3123
|
-
""")
|
|
3124
|
-
)
|
|
3091
|
+
# vpc: ec2.Vpc
|
|
3125
3092
|
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
}
|
|
3141
|
-
}
|
|
3142
|
-
"""),
|
|
3143
|
-
response_mapping_template=appsync.MappingTemplate.from_string("""
|
|
3144
|
-
$utils.toJson($utils.rds.toJsonObject($ctx.result)[1][0])
|
|
3145
|
-
""")
|
|
3093
|
+
cluster = rds.DatabaseCluster(self, "Database",
|
|
3094
|
+
engine=rds.DatabaseClusterEngine.aurora_postgres(version=rds.AuroraPostgresEngineVersion.VER_15_2),
|
|
3095
|
+
credentials=rds.Credentials.from_username("adminuser", password=SecretValue.unsafe_plain_text("7959866cacc02c2d243ecfe177464fe6")),
|
|
3096
|
+
writer=rds.ClusterInstance.provisioned("writer",
|
|
3097
|
+
publicly_accessible=False
|
|
3098
|
+
),
|
|
3099
|
+
readers=[
|
|
3100
|
+
rds.ClusterInstance.provisioned("reader")
|
|
3101
|
+
],
|
|
3102
|
+
storage_type=rds.DBClusterStorageType.AURORA_IOPT1,
|
|
3103
|
+
vpc_subnets=ec2.SubnetSelection(
|
|
3104
|
+
subnet_type=ec2.SubnetType.PRIVATE_WITH_EGRESS
|
|
3105
|
+
),
|
|
3106
|
+
vpc=vpc
|
|
3146
3107
|
)
|
|
3147
3108
|
'''
|
|
3148
3109
|
|
|
@@ -3564,6 +3525,18 @@ class AuroraPostgresEngineVersion(
|
|
|
3564
3525
|
'''Version "12.20".'''
|
|
3565
3526
|
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_12_20"))
|
|
3566
3527
|
|
|
3528
|
+
@jsii.python.classproperty
|
|
3529
|
+
@jsii.member(jsii_name="VER_12_21")
|
|
3530
|
+
def VER_12_21(cls) -> "AuroraPostgresEngineVersion":
|
|
3531
|
+
'''Version "12.21".'''
|
|
3532
|
+
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_12_21"))
|
|
3533
|
+
|
|
3534
|
+
@jsii.python.classproperty
|
|
3535
|
+
@jsii.member(jsii_name="VER_12_22")
|
|
3536
|
+
def VER_12_22(cls) -> "AuroraPostgresEngineVersion":
|
|
3537
|
+
'''Version "12.22".'''
|
|
3538
|
+
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_12_22"))
|
|
3539
|
+
|
|
3567
3540
|
@jsii.python.classproperty
|
|
3568
3541
|
@jsii.member(jsii_name="VER_12_4")
|
|
3569
3542
|
def VER_12_4(cls) -> "AuroraPostgresEngineVersion":
|
|
@@ -3656,6 +3629,18 @@ class AuroraPostgresEngineVersion(
|
|
|
3656
3629
|
'''Version "13.16".'''
|
|
3657
3630
|
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_13_16"))
|
|
3658
3631
|
|
|
3632
|
+
@jsii.python.classproperty
|
|
3633
|
+
@jsii.member(jsii_name="VER_13_17")
|
|
3634
|
+
def VER_13_17(cls) -> "AuroraPostgresEngineVersion":
|
|
3635
|
+
'''Version "13.17".'''
|
|
3636
|
+
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_13_17"))
|
|
3637
|
+
|
|
3638
|
+
@jsii.python.classproperty
|
|
3639
|
+
@jsii.member(jsii_name="VER_13_18")
|
|
3640
|
+
def VER_13_18(cls) -> "AuroraPostgresEngineVersion":
|
|
3641
|
+
'''Version "13.18".'''
|
|
3642
|
+
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_13_18"))
|
|
3643
|
+
|
|
3659
3644
|
@jsii.python.classproperty
|
|
3660
3645
|
@jsii.member(jsii_name="VER_13_3")
|
|
3661
3646
|
def VER_13_3(cls) -> "AuroraPostgresEngineVersion":
|
|
@@ -3742,6 +3727,18 @@ class AuroraPostgresEngineVersion(
|
|
|
3742
3727
|
'''Version "14.13".'''
|
|
3743
3728
|
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_14_13"))
|
|
3744
3729
|
|
|
3730
|
+
@jsii.python.classproperty
|
|
3731
|
+
@jsii.member(jsii_name="VER_14_14")
|
|
3732
|
+
def VER_14_14(cls) -> "AuroraPostgresEngineVersion":
|
|
3733
|
+
'''Version "14.14".'''
|
|
3734
|
+
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_14_14"))
|
|
3735
|
+
|
|
3736
|
+
@jsii.python.classproperty
|
|
3737
|
+
@jsii.member(jsii_name="VER_14_15")
|
|
3738
|
+
def VER_14_15(cls) -> "AuroraPostgresEngineVersion":
|
|
3739
|
+
'''Version "14.15".'''
|
|
3740
|
+
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_14_15"))
|
|
3741
|
+
|
|
3745
3742
|
@jsii.python.classproperty
|
|
3746
3743
|
@jsii.member(jsii_name="VER_14_3")
|
|
3747
3744
|
def VER_14_3(cls) -> "AuroraPostgresEngineVersion":
|
|
@@ -3784,6 +3781,12 @@ class AuroraPostgresEngineVersion(
|
|
|
3784
3781
|
'''Version "14.9".'''
|
|
3785
3782
|
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_14_9"))
|
|
3786
3783
|
|
|
3784
|
+
@jsii.python.classproperty
|
|
3785
|
+
@jsii.member(jsii_name="VER_15_10")
|
|
3786
|
+
def VER_15_10(cls) -> "AuroraPostgresEngineVersion":
|
|
3787
|
+
'''Version "15.10".'''
|
|
3788
|
+
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_15_10"))
|
|
3789
|
+
|
|
3787
3790
|
@jsii.python.classproperty
|
|
3788
3791
|
@jsii.member(jsii_name="VER_15_2")
|
|
3789
3792
|
def VER_15_2(cls) -> "AuroraPostgresEngineVersion":
|
|
@@ -3826,6 +3829,12 @@ class AuroraPostgresEngineVersion(
|
|
|
3826
3829
|
'''Version "15.8".'''
|
|
3827
3830
|
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_15_8"))
|
|
3828
3831
|
|
|
3832
|
+
@jsii.python.classproperty
|
|
3833
|
+
@jsii.member(jsii_name="VER_15_9")
|
|
3834
|
+
def VER_15_9(cls) -> "AuroraPostgresEngineVersion":
|
|
3835
|
+
'''Version "15.9".'''
|
|
3836
|
+
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_15_9"))
|
|
3837
|
+
|
|
3829
3838
|
@jsii.python.classproperty
|
|
3830
3839
|
@jsii.member(jsii_name="VER_16_0")
|
|
3831
3840
|
def VER_16_0(cls) -> "AuroraPostgresEngineVersion":
|
|
@@ -3861,6 +3870,30 @@ class AuroraPostgresEngineVersion(
|
|
|
3861
3870
|
'''Version "16.4".'''
|
|
3862
3871
|
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_16_4"))
|
|
3863
3872
|
|
|
3873
|
+
@jsii.python.classproperty
|
|
3874
|
+
@jsii.member(jsii_name="VER_16_5")
|
|
3875
|
+
def VER_16_5(cls) -> "AuroraPostgresEngineVersion":
|
|
3876
|
+
'''Version "16.5".'''
|
|
3877
|
+
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_16_5"))
|
|
3878
|
+
|
|
3879
|
+
@jsii.python.classproperty
|
|
3880
|
+
@jsii.member(jsii_name="VER_16_6")
|
|
3881
|
+
def VER_16_6(cls) -> "AuroraPostgresEngineVersion":
|
|
3882
|
+
'''Version "16.6".'''
|
|
3883
|
+
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_16_6"))
|
|
3884
|
+
|
|
3885
|
+
@jsii.python.classproperty
|
|
3886
|
+
@jsii.member(jsii_name="VER_17_1")
|
|
3887
|
+
def VER_17_1(cls) -> "AuroraPostgresEngineVersion":
|
|
3888
|
+
'''Version "17.1".'''
|
|
3889
|
+
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_17_1"))
|
|
3890
|
+
|
|
3891
|
+
@jsii.python.classproperty
|
|
3892
|
+
@jsii.member(jsii_name="VER_17_2")
|
|
3893
|
+
def VER_17_2(cls) -> "AuroraPostgresEngineVersion":
|
|
3894
|
+
'''Version "17.2".'''
|
|
3895
|
+
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_17_2"))
|
|
3896
|
+
|
|
3864
3897
|
@jsii.python.classproperty
|
|
3865
3898
|
@jsii.member(jsii_name="VER_9_6_11")
|
|
3866
3899
|
def VER_9_6_11(cls) -> "AuroraPostgresEngineVersion":
|
|
@@ -20554,6 +20587,7 @@ class DatabaseClusterEngine(
|
|
|
20554
20587
|
"deletion_protection": "deletionProtection",
|
|
20555
20588
|
"domain": "domain",
|
|
20556
20589
|
"domain_role": "domainRole",
|
|
20590
|
+
"enable_cluster_level_enhanced_monitoring": "enableClusterLevelEnhancedMonitoring",
|
|
20557
20591
|
"enable_data_api": "enableDataApi",
|
|
20558
20592
|
"enable_local_write_forwarding": "enableLocalWriteForwarding",
|
|
20559
20593
|
"enable_performance_insights": "enablePerformanceInsights",
|
|
@@ -20609,6 +20643,7 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
20609
20643
|
deletion_protection: typing.Optional[builtins.bool] = None,
|
|
20610
20644
|
domain: typing.Optional[builtins.str] = None,
|
|
20611
20645
|
domain_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
20646
|
+
enable_cluster_level_enhanced_monitoring: typing.Optional[builtins.bool] = None,
|
|
20612
20647
|
enable_data_api: typing.Optional[builtins.bool] = None,
|
|
20613
20648
|
enable_local_write_forwarding: typing.Optional[builtins.bool] = None,
|
|
20614
20649
|
enable_performance_insights: typing.Optional[builtins.bool] = None,
|
|
@@ -20661,6 +20696,7 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
20661
20696
|
:param deletion_protection: Indicates whether the DB cluster should have deletion protection enabled. Default: - true if ``removalPolicy`` is RETAIN, ``undefined`` otherwise, which will not enable deletion protection. To disable deletion protection after it has been enabled, you must explicitly set this value to ``false``.
|
|
20662
20697
|
:param domain: Directory ID for associating the DB cluster with a specific Active Directory. Necessary for enabling Kerberos authentication. If specified, the DB cluster joins the given Active Directory, enabling Kerberos authentication. If not specified, the DB cluster will not be associated with any Active Directory, and Kerberos authentication will not be enabled. Default: - DB cluster is not associated with an Active Directory; Kerberos authentication is not enabled.
|
|
20663
20698
|
:param domain_role: The IAM role to be used when making API calls to the Directory Service. The role needs the AWS-managed policy ``AmazonRDSDirectoryServiceAccess`` or equivalent. Default: - If ``DatabaseClusterBaseProps.domain`` is specified, a role with the ``AmazonRDSDirectoryServiceAccess`` policy is automatically created.
|
|
20699
|
+
:param enable_cluster_level_enhanced_monitoring: Whether to enable enhanced monitoring at the cluster level. If set to true, ``monitoringInterval`` and ``monitoringRole`` are applied to not the instances, but the cluster. ``monitoringInterval`` is required to be set if ``enableClusterLevelEnhancedMonitoring`` is set to true. Default: - When the ``monitoringInterval`` is set, enhanced monitoring is enabled for each instance.
|
|
20664
20700
|
:param enable_data_api: Whether to enable the Data API for the cluster. Default: - false
|
|
20665
20701
|
:param enable_local_write_forwarding: Whether read replicas can forward write operations to the writer DB instance in the DB cluster. This setting can only be enabled for Aurora MySQL 3.04 or higher, and for Aurora PostgreSQL 16.4 or higher (for version 16), 15.8 or higher (for version 15), and 14.13 or higher (for version 14). Default: false
|
|
20666
20702
|
:param enable_performance_insights: Whether to enable Performance Insights for the DB cluster. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set.
|
|
@@ -20669,8 +20705,8 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
20669
20705
|
:param instance_props: (deprecated) Settings for the individual instances that are launched.
|
|
20670
20706
|
:param instances: (deprecated) How many replicas/instances to create. Has to be at least 1. Default: 2
|
|
20671
20707
|
:param instance_update_behaviour: The ordering of updates for instances. Default: InstanceUpdateBehaviour.BULK
|
|
20672
|
-
:param monitoring_interval: The interval
|
|
20673
|
-
:param monitoring_role: Role that will be used to manage DB
|
|
20708
|
+
:param monitoring_interval: The interval between points when Amazon RDS collects enhanced monitoring metrics. If you enable ``enableClusterLevelEnhancedMonitoring``, this property is applied to the cluster, otherwise it is applied to the instances. Default: - no enhanced monitoring
|
|
20709
|
+
:param monitoring_role: Role that will be used to manage DB monitoring. If you enable ``enableClusterLevelEnhancedMonitoring``, this property is applied to the cluster, otherwise it is applied to the instances. Default: - A role is automatically created for you
|
|
20674
20710
|
:param network_type: The network type of the DB instance. Default: - IPV4
|
|
20675
20711
|
:param parameter_group: Additional parameters to pass to the database engine. Default: - No parameter group.
|
|
20676
20712
|
:param parameters: The parameters in the DBClusterParameterGroup to create automatically. You can only specify parameterGroup or parameters but not both. You need to use a versioned engine to auto-generate a DBClusterParameterGroup. Default: - None
|
|
@@ -20684,9 +20720,9 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
20684
20720
|
:param s3_export_role: Role that will be associated with this DB cluster to enable S3 export. This feature is only supported by the Aurora database engine. This property must not be used if ``s3ExportBuckets`` is used. To use this property with Aurora PostgreSQL, it must be configured with the S3 export feature enabled when creating the DatabaseClusterEngine For MySQL: Default: - New role is created if ``s3ExportBuckets`` is set, no role is defined otherwise
|
|
20685
20721
|
:param s3_import_buckets: S3 buckets that you want to load data from. This feature is only supported by the Aurora database engine. This property must not be used if ``s3ImportRole`` is used. For MySQL: Default: - None
|
|
20686
20722
|
:param s3_import_role: Role that will be associated with this DB cluster to enable S3 import. This feature is only supported by the Aurora database engine. This property must not be used if ``s3ImportBuckets`` is used. To use this property with Aurora PostgreSQL, it must be configured with the S3 import feature enabled when creating the DatabaseClusterEngine For MySQL: Default: - New role is created if ``s3ImportBuckets`` is set, no role is defined otherwise
|
|
20687
|
-
:param security_groups: Security group. Default: a new security group is created.
|
|
20723
|
+
:param security_groups: Security group. Default: - a new security group is created.
|
|
20688
20724
|
:param serverless_v2_max_capacity: The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 40, 40.5, 41, and so on. The largest value that you can use is 256. The maximum capacity must be higher than 0.5 ACUs. Default: 2
|
|
20689
|
-
:param serverless_v2_min_capacity: The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. The smallest value that you can use is 0.5. Default: 0.5
|
|
20725
|
+
:param serverless_v2_min_capacity: The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. The smallest value that you can use is 0. For Aurora versions that support the Aurora Serverless v2 auto-pause feature, the smallest value that you can use is 0. For versions that don't support Aurora Serverless v2 auto-pause, the smallest value that you can use is 0.5. Default: 0.5
|
|
20690
20726
|
:param snapshot_credentials: Master user credentials. Note - It is not possible to change the master username for a snapshot; however, it is possible to provide (or generate) a new password. Default: - The existing username and password from the snapshot will be used.
|
|
20691
20727
|
:param storage_encrypted: Whether to enable storage encryption. Default: - true if storageEncryptionKey is provided, false otherwise
|
|
20692
20728
|
:param storage_encryption_key: The KMS key for storage encryption. If specified, ``storageEncrypted`` will be set to ``true``. Default: - if storageEncrypted is true then the default master key, no key otherwise
|
|
@@ -20694,7 +20730,7 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
20694
20730
|
:param subnet_group: Existing subnet group for the cluster. Default: - a new subnet group will be created.
|
|
20695
20731
|
:param vpc: What subnets to run the RDS instances in. Must be at least 2 subnets in two different AZs.
|
|
20696
20732
|
:param vpc_subnets: Where to place the instances within the VPC. Default: - the Vpc default strategy if not specified.
|
|
20697
|
-
:param writer: The instance to use for the cluster writer. Default: required if instanceProps is not provided
|
|
20733
|
+
:param writer: The instance to use for the cluster writer. Default: - required if instanceProps is not provided
|
|
20698
20734
|
|
|
20699
20735
|
:exampleMetadata: infused
|
|
20700
20736
|
|
|
@@ -20732,6 +20768,7 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
20732
20768
|
check_type(argname="argument deletion_protection", value=deletion_protection, expected_type=type_hints["deletion_protection"])
|
|
20733
20769
|
check_type(argname="argument domain", value=domain, expected_type=type_hints["domain"])
|
|
20734
20770
|
check_type(argname="argument domain_role", value=domain_role, expected_type=type_hints["domain_role"])
|
|
20771
|
+
check_type(argname="argument enable_cluster_level_enhanced_monitoring", value=enable_cluster_level_enhanced_monitoring, expected_type=type_hints["enable_cluster_level_enhanced_monitoring"])
|
|
20735
20772
|
check_type(argname="argument enable_data_api", value=enable_data_api, expected_type=type_hints["enable_data_api"])
|
|
20736
20773
|
check_type(argname="argument enable_local_write_forwarding", value=enable_local_write_forwarding, expected_type=type_hints["enable_local_write_forwarding"])
|
|
20737
20774
|
check_type(argname="argument enable_performance_insights", value=enable_performance_insights, expected_type=type_hints["enable_performance_insights"])
|
|
@@ -20796,6 +20833,8 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
20796
20833
|
self._values["domain"] = domain
|
|
20797
20834
|
if domain_role is not None:
|
|
20798
20835
|
self._values["domain_role"] = domain_role
|
|
20836
|
+
if enable_cluster_level_enhanced_monitoring is not None:
|
|
20837
|
+
self._values["enable_cluster_level_enhanced_monitoring"] = enable_cluster_level_enhanced_monitoring
|
|
20799
20838
|
if enable_data_api is not None:
|
|
20800
20839
|
self._values["enable_data_api"] = enable_data_api
|
|
20801
20840
|
if enable_local_write_forwarding is not None:
|
|
@@ -21036,6 +21075,20 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
21036
21075
|
result = self._values.get("domain_role")
|
|
21037
21076
|
return typing.cast(typing.Optional[_IRole_235f5d8e], result)
|
|
21038
21077
|
|
|
21078
|
+
@builtins.property
|
|
21079
|
+
def enable_cluster_level_enhanced_monitoring(
|
|
21080
|
+
self,
|
|
21081
|
+
) -> typing.Optional[builtins.bool]:
|
|
21082
|
+
'''Whether to enable enhanced monitoring at the cluster level.
|
|
21083
|
+
|
|
21084
|
+
If set to true, ``monitoringInterval`` and ``monitoringRole`` are applied to not the instances, but the cluster.
|
|
21085
|
+
``monitoringInterval`` is required to be set if ``enableClusterLevelEnhancedMonitoring`` is set to true.
|
|
21086
|
+
|
|
21087
|
+
:default: - When the ``monitoringInterval`` is set, enhanced monitoring is enabled for each instance.
|
|
21088
|
+
'''
|
|
21089
|
+
result = self._values.get("enable_cluster_level_enhanced_monitoring")
|
|
21090
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
21091
|
+
|
|
21039
21092
|
@builtins.property
|
|
21040
21093
|
def enable_data_api(self) -> typing.Optional[builtins.bool]:
|
|
21041
21094
|
'''Whether to enable the Data API for the cluster.
|
|
@@ -21128,16 +21181,22 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
21128
21181
|
|
|
21129
21182
|
@builtins.property
|
|
21130
21183
|
def monitoring_interval(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
21131
|
-
'''The interval
|
|
21184
|
+
'''The interval between points when Amazon RDS collects enhanced monitoring metrics.
|
|
21132
21185
|
|
|
21133
|
-
|
|
21186
|
+
If you enable ``enableClusterLevelEnhancedMonitoring``, this property is applied to the cluster,
|
|
21187
|
+
otherwise it is applied to the instances.
|
|
21188
|
+
|
|
21189
|
+
:default: - no enhanced monitoring
|
|
21134
21190
|
'''
|
|
21135
21191
|
result = self._values.get("monitoring_interval")
|
|
21136
21192
|
return typing.cast(typing.Optional[_Duration_4839e8c3], result)
|
|
21137
21193
|
|
|
21138
21194
|
@builtins.property
|
|
21139
21195
|
def monitoring_role(self) -> typing.Optional[_IRole_235f5d8e]:
|
|
21140
|
-
'''Role that will be used to manage DB
|
|
21196
|
+
'''Role that will be used to manage DB monitoring.
|
|
21197
|
+
|
|
21198
|
+
If you enable ``enableClusterLevelEnhancedMonitoring``, this property is applied to the cluster,
|
|
21199
|
+
otherwise it is applied to the instances.
|
|
21141
21200
|
|
|
21142
21201
|
:default: - A role is automatically created for you
|
|
21143
21202
|
'''
|
|
@@ -21305,7 +21364,7 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
21305
21364
|
def security_groups(self) -> typing.Optional[typing.List[_ISecurityGroup_acf8a799]]:
|
|
21306
21365
|
'''Security group.
|
|
21307
21366
|
|
|
21308
|
-
:default: a new security group is created.
|
|
21367
|
+
:default: - a new security group is created.
|
|
21309
21368
|
'''
|
|
21310
21369
|
result = self._values.get("security_groups")
|
|
21311
21370
|
return typing.cast(typing.Optional[typing.List[_ISecurityGroup_acf8a799]], result)
|
|
@@ -21331,11 +21390,14 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
21331
21390
|
'''The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster.
|
|
21332
21391
|
|
|
21333
21392
|
You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on.
|
|
21334
|
-
The smallest value that you can use is 0.
|
|
21393
|
+
The smallest value that you can use is 0.
|
|
21394
|
+
|
|
21395
|
+
For Aurora versions that support the Aurora Serverless v2 auto-pause feature, the smallest value that you can use is 0.
|
|
21396
|
+
For versions that don't support Aurora Serverless v2 auto-pause, the smallest value that you can use is 0.5.
|
|
21335
21397
|
|
|
21336
21398
|
:default: 0.5
|
|
21337
21399
|
|
|
21338
|
-
:see: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.setting-capacity.html#aurora-serverless-v2.
|
|
21400
|
+
:see: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.setting-capacity.html#aurora-serverless-v2.min_capacity_considerations
|
|
21339
21401
|
'''
|
|
21340
21402
|
result = self._values.get("serverless_v2_min_capacity")
|
|
21341
21403
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -21412,7 +21474,7 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
21412
21474
|
def writer(self) -> typing.Optional["IClusterInstance"]:
|
|
21413
21475
|
'''The instance to use for the cluster writer.
|
|
21414
21476
|
|
|
21415
|
-
:default: required if instanceProps is not provided
|
|
21477
|
+
:default: - required if instanceProps is not provided
|
|
21416
21478
|
'''
|
|
21417
21479
|
result = self._values.get("writer")
|
|
21418
21480
|
return typing.cast(typing.Optional["IClusterInstance"], result)
|
|
@@ -21447,6 +21509,7 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
21447
21509
|
"deletion_protection": "deletionProtection",
|
|
21448
21510
|
"domain": "domain",
|
|
21449
21511
|
"domain_role": "domainRole",
|
|
21512
|
+
"enable_cluster_level_enhanced_monitoring": "enableClusterLevelEnhancedMonitoring",
|
|
21450
21513
|
"enable_data_api": "enableDataApi",
|
|
21451
21514
|
"enable_local_write_forwarding": "enableLocalWriteForwarding",
|
|
21452
21515
|
"enable_performance_insights": "enablePerformanceInsights",
|
|
@@ -21500,6 +21563,7 @@ class DatabaseClusterProps:
|
|
|
21500
21563
|
deletion_protection: typing.Optional[builtins.bool] = None,
|
|
21501
21564
|
domain: typing.Optional[builtins.str] = None,
|
|
21502
21565
|
domain_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
21566
|
+
enable_cluster_level_enhanced_monitoring: typing.Optional[builtins.bool] = None,
|
|
21503
21567
|
enable_data_api: typing.Optional[builtins.bool] = None,
|
|
21504
21568
|
enable_local_write_forwarding: typing.Optional[builtins.bool] = None,
|
|
21505
21569
|
enable_performance_insights: typing.Optional[builtins.bool] = None,
|
|
@@ -21550,6 +21614,7 @@ class DatabaseClusterProps:
|
|
|
21550
21614
|
:param deletion_protection: Indicates whether the DB cluster should have deletion protection enabled. Default: - true if ``removalPolicy`` is RETAIN, ``undefined`` otherwise, which will not enable deletion protection. To disable deletion protection after it has been enabled, you must explicitly set this value to ``false``.
|
|
21551
21615
|
:param domain: Directory ID for associating the DB cluster with a specific Active Directory. Necessary for enabling Kerberos authentication. If specified, the DB cluster joins the given Active Directory, enabling Kerberos authentication. If not specified, the DB cluster will not be associated with any Active Directory, and Kerberos authentication will not be enabled. Default: - DB cluster is not associated with an Active Directory; Kerberos authentication is not enabled.
|
|
21552
21616
|
:param domain_role: The IAM role to be used when making API calls to the Directory Service. The role needs the AWS-managed policy ``AmazonRDSDirectoryServiceAccess`` or equivalent. Default: - If ``DatabaseClusterBaseProps.domain`` is specified, a role with the ``AmazonRDSDirectoryServiceAccess`` policy is automatically created.
|
|
21617
|
+
:param enable_cluster_level_enhanced_monitoring: Whether to enable enhanced monitoring at the cluster level. If set to true, ``monitoringInterval`` and ``monitoringRole`` are applied to not the instances, but the cluster. ``monitoringInterval`` is required to be set if ``enableClusterLevelEnhancedMonitoring`` is set to true. Default: - When the ``monitoringInterval`` is set, enhanced monitoring is enabled for each instance.
|
|
21553
21618
|
:param enable_data_api: Whether to enable the Data API for the cluster. Default: - false
|
|
21554
21619
|
:param enable_local_write_forwarding: Whether read replicas can forward write operations to the writer DB instance in the DB cluster. This setting can only be enabled for Aurora MySQL 3.04 or higher, and for Aurora PostgreSQL 16.4 or higher (for version 16), 15.8 or higher (for version 15), and 14.13 or higher (for version 14). Default: false
|
|
21555
21620
|
:param enable_performance_insights: Whether to enable Performance Insights for the DB cluster. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set.
|
|
@@ -21558,8 +21623,8 @@ class DatabaseClusterProps:
|
|
|
21558
21623
|
:param instance_props: (deprecated) Settings for the individual instances that are launched.
|
|
21559
21624
|
:param instances: (deprecated) How many replicas/instances to create. Has to be at least 1. Default: 2
|
|
21560
21625
|
:param instance_update_behaviour: The ordering of updates for instances. Default: InstanceUpdateBehaviour.BULK
|
|
21561
|
-
:param monitoring_interval: The interval
|
|
21562
|
-
:param monitoring_role: Role that will be used to manage DB
|
|
21626
|
+
:param monitoring_interval: The interval between points when Amazon RDS collects enhanced monitoring metrics. If you enable ``enableClusterLevelEnhancedMonitoring``, this property is applied to the cluster, otherwise it is applied to the instances. Default: - no enhanced monitoring
|
|
21627
|
+
:param monitoring_role: Role that will be used to manage DB monitoring. If you enable ``enableClusterLevelEnhancedMonitoring``, this property is applied to the cluster, otherwise it is applied to the instances. Default: - A role is automatically created for you
|
|
21563
21628
|
:param network_type: The network type of the DB instance. Default: - IPV4
|
|
21564
21629
|
:param parameter_group: Additional parameters to pass to the database engine. Default: - No parameter group.
|
|
21565
21630
|
:param parameters: The parameters in the DBClusterParameterGroup to create automatically. You can only specify parameterGroup or parameters but not both. You need to use a versioned engine to auto-generate a DBClusterParameterGroup. Default: - None
|
|
@@ -21573,16 +21638,16 @@ class DatabaseClusterProps:
|
|
|
21573
21638
|
:param s3_export_role: Role that will be associated with this DB cluster to enable S3 export. This feature is only supported by the Aurora database engine. This property must not be used if ``s3ExportBuckets`` is used. To use this property with Aurora PostgreSQL, it must be configured with the S3 export feature enabled when creating the DatabaseClusterEngine For MySQL: Default: - New role is created if ``s3ExportBuckets`` is set, no role is defined otherwise
|
|
21574
21639
|
:param s3_import_buckets: S3 buckets that you want to load data from. This feature is only supported by the Aurora database engine. This property must not be used if ``s3ImportRole`` is used. For MySQL: Default: - None
|
|
21575
21640
|
:param s3_import_role: Role that will be associated with this DB cluster to enable S3 import. This feature is only supported by the Aurora database engine. This property must not be used if ``s3ImportBuckets`` is used. To use this property with Aurora PostgreSQL, it must be configured with the S3 import feature enabled when creating the DatabaseClusterEngine For MySQL: Default: - New role is created if ``s3ImportBuckets`` is set, no role is defined otherwise
|
|
21576
|
-
:param security_groups: Security group. Default: a new security group is created.
|
|
21641
|
+
:param security_groups: Security group. Default: - a new security group is created.
|
|
21577
21642
|
:param serverless_v2_max_capacity: The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 40, 40.5, 41, and so on. The largest value that you can use is 256. The maximum capacity must be higher than 0.5 ACUs. Default: 2
|
|
21578
|
-
:param serverless_v2_min_capacity: The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. The smallest value that you can use is 0.5. Default: 0.5
|
|
21643
|
+
:param serverless_v2_min_capacity: The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. The smallest value that you can use is 0. For Aurora versions that support the Aurora Serverless v2 auto-pause feature, the smallest value that you can use is 0. For versions that don't support Aurora Serverless v2 auto-pause, the smallest value that you can use is 0.5. Default: 0.5
|
|
21579
21644
|
:param storage_encrypted: Whether to enable storage encryption. Default: - true if storageEncryptionKey is provided, false otherwise
|
|
21580
21645
|
:param storage_encryption_key: The KMS key for storage encryption. If specified, ``storageEncrypted`` will be set to ``true``. Default: - if storageEncrypted is true then the default master key, no key otherwise
|
|
21581
21646
|
:param storage_type: The storage type to be associated with the DB cluster. Default: - DBClusterStorageType.AURORA_IOPT1
|
|
21582
21647
|
:param subnet_group: Existing subnet group for the cluster. Default: - a new subnet group will be created.
|
|
21583
21648
|
:param vpc: What subnets to run the RDS instances in. Must be at least 2 subnets in two different AZs.
|
|
21584
21649
|
:param vpc_subnets: Where to place the instances within the VPC. Default: - the Vpc default strategy if not specified.
|
|
21585
|
-
:param writer: The instance to use for the cluster writer. Default: required if instanceProps is not provided
|
|
21650
|
+
:param writer: The instance to use for the cluster writer. Default: - required if instanceProps is not provided
|
|
21586
21651
|
|
|
21587
21652
|
:exampleMetadata: infused
|
|
21588
21653
|
|
|
@@ -21628,6 +21693,7 @@ class DatabaseClusterProps:
|
|
|
21628
21693
|
check_type(argname="argument deletion_protection", value=deletion_protection, expected_type=type_hints["deletion_protection"])
|
|
21629
21694
|
check_type(argname="argument domain", value=domain, expected_type=type_hints["domain"])
|
|
21630
21695
|
check_type(argname="argument domain_role", value=domain_role, expected_type=type_hints["domain_role"])
|
|
21696
|
+
check_type(argname="argument enable_cluster_level_enhanced_monitoring", value=enable_cluster_level_enhanced_monitoring, expected_type=type_hints["enable_cluster_level_enhanced_monitoring"])
|
|
21631
21697
|
check_type(argname="argument enable_data_api", value=enable_data_api, expected_type=type_hints["enable_data_api"])
|
|
21632
21698
|
check_type(argname="argument enable_local_write_forwarding", value=enable_local_write_forwarding, expected_type=type_hints["enable_local_write_forwarding"])
|
|
21633
21699
|
check_type(argname="argument enable_performance_insights", value=enable_performance_insights, expected_type=type_hints["enable_performance_insights"])
|
|
@@ -21690,6 +21756,8 @@ class DatabaseClusterProps:
|
|
|
21690
21756
|
self._values["domain"] = domain
|
|
21691
21757
|
if domain_role is not None:
|
|
21692
21758
|
self._values["domain_role"] = domain_role
|
|
21759
|
+
if enable_cluster_level_enhanced_monitoring is not None:
|
|
21760
|
+
self._values["enable_cluster_level_enhanced_monitoring"] = enable_cluster_level_enhanced_monitoring
|
|
21693
21761
|
if enable_data_api is not None:
|
|
21694
21762
|
self._values["enable_data_api"] = enable_data_api
|
|
21695
21763
|
if enable_local_write_forwarding is not None:
|
|
@@ -21905,6 +21973,20 @@ class DatabaseClusterProps:
|
|
|
21905
21973
|
result = self._values.get("domain_role")
|
|
21906
21974
|
return typing.cast(typing.Optional[_IRole_235f5d8e], result)
|
|
21907
21975
|
|
|
21976
|
+
@builtins.property
|
|
21977
|
+
def enable_cluster_level_enhanced_monitoring(
|
|
21978
|
+
self,
|
|
21979
|
+
) -> typing.Optional[builtins.bool]:
|
|
21980
|
+
'''Whether to enable enhanced monitoring at the cluster level.
|
|
21981
|
+
|
|
21982
|
+
If set to true, ``monitoringInterval`` and ``monitoringRole`` are applied to not the instances, but the cluster.
|
|
21983
|
+
``monitoringInterval`` is required to be set if ``enableClusterLevelEnhancedMonitoring`` is set to true.
|
|
21984
|
+
|
|
21985
|
+
:default: - When the ``monitoringInterval`` is set, enhanced monitoring is enabled for each instance.
|
|
21986
|
+
'''
|
|
21987
|
+
result = self._values.get("enable_cluster_level_enhanced_monitoring")
|
|
21988
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
21989
|
+
|
|
21908
21990
|
@builtins.property
|
|
21909
21991
|
def enable_data_api(self) -> typing.Optional[builtins.bool]:
|
|
21910
21992
|
'''Whether to enable the Data API for the cluster.
|
|
@@ -21997,16 +22079,22 @@ class DatabaseClusterProps:
|
|
|
21997
22079
|
|
|
21998
22080
|
@builtins.property
|
|
21999
22081
|
def monitoring_interval(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
22000
|
-
'''The interval
|
|
22082
|
+
'''The interval between points when Amazon RDS collects enhanced monitoring metrics.
|
|
22001
22083
|
|
|
22002
|
-
|
|
22084
|
+
If you enable ``enableClusterLevelEnhancedMonitoring``, this property is applied to the cluster,
|
|
22085
|
+
otherwise it is applied to the instances.
|
|
22086
|
+
|
|
22087
|
+
:default: - no enhanced monitoring
|
|
22003
22088
|
'''
|
|
22004
22089
|
result = self._values.get("monitoring_interval")
|
|
22005
22090
|
return typing.cast(typing.Optional[_Duration_4839e8c3], result)
|
|
22006
22091
|
|
|
22007
22092
|
@builtins.property
|
|
22008
22093
|
def monitoring_role(self) -> typing.Optional[_IRole_235f5d8e]:
|
|
22009
|
-
'''Role that will be used to manage DB
|
|
22094
|
+
'''Role that will be used to manage DB monitoring.
|
|
22095
|
+
|
|
22096
|
+
If you enable ``enableClusterLevelEnhancedMonitoring``, this property is applied to the cluster,
|
|
22097
|
+
otherwise it is applied to the instances.
|
|
22010
22098
|
|
|
22011
22099
|
:default: - A role is automatically created for you
|
|
22012
22100
|
'''
|
|
@@ -22174,7 +22262,7 @@ class DatabaseClusterProps:
|
|
|
22174
22262
|
def security_groups(self) -> typing.Optional[typing.List[_ISecurityGroup_acf8a799]]:
|
|
22175
22263
|
'''Security group.
|
|
22176
22264
|
|
|
22177
|
-
:default: a new security group is created.
|
|
22265
|
+
:default: - a new security group is created.
|
|
22178
22266
|
'''
|
|
22179
22267
|
result = self._values.get("security_groups")
|
|
22180
22268
|
return typing.cast(typing.Optional[typing.List[_ISecurityGroup_acf8a799]], result)
|
|
@@ -22200,11 +22288,14 @@ class DatabaseClusterProps:
|
|
|
22200
22288
|
'''The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster.
|
|
22201
22289
|
|
|
22202
22290
|
You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on.
|
|
22203
|
-
The smallest value that you can use is 0.
|
|
22291
|
+
The smallest value that you can use is 0.
|
|
22292
|
+
|
|
22293
|
+
For Aurora versions that support the Aurora Serverless v2 auto-pause feature, the smallest value that you can use is 0.
|
|
22294
|
+
For versions that don't support Aurora Serverless v2 auto-pause, the smallest value that you can use is 0.5.
|
|
22204
22295
|
|
|
22205
22296
|
:default: 0.5
|
|
22206
22297
|
|
|
22207
|
-
:see: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.setting-capacity.html#aurora-serverless-v2.
|
|
22298
|
+
:see: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.setting-capacity.html#aurora-serverless-v2.min_capacity_considerations
|
|
22208
22299
|
'''
|
|
22209
22300
|
result = self._values.get("serverless_v2_min_capacity")
|
|
22210
22301
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -22269,7 +22360,7 @@ class DatabaseClusterProps:
|
|
|
22269
22360
|
def writer(self) -> typing.Optional["IClusterInstance"]:
|
|
22270
22361
|
'''The instance to use for the cluster writer.
|
|
22271
22362
|
|
|
22272
|
-
:default: required if instanceProps is not provided
|
|
22363
|
+
:default: - required if instanceProps is not provided
|
|
22273
22364
|
'''
|
|
22274
22365
|
result = self._values.get("writer")
|
|
22275
22366
|
return typing.cast(typing.Optional["IClusterInstance"], result)
|
|
@@ -34605,6 +34696,12 @@ class PostgresEngineVersion(
|
|
|
34605
34696
|
'''Version "12.21".'''
|
|
34606
34697
|
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_12_21"))
|
|
34607
34698
|
|
|
34699
|
+
@jsii.python.classproperty
|
|
34700
|
+
@jsii.member(jsii_name="VER_12_22")
|
|
34701
|
+
def VER_12_22(cls) -> "PostgresEngineVersion":
|
|
34702
|
+
'''Version "12.22".'''
|
|
34703
|
+
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_12_22"))
|
|
34704
|
+
|
|
34608
34705
|
@jsii.python.classproperty
|
|
34609
34706
|
@jsii.member(jsii_name="VER_12_3")
|
|
34610
34707
|
def VER_12_3(cls) -> "PostgresEngineVersion":
|
|
@@ -34752,6 +34849,12 @@ class PostgresEngineVersion(
|
|
|
34752
34849
|
'''Version "13.17".'''
|
|
34753
34850
|
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_13_17"))
|
|
34754
34851
|
|
|
34852
|
+
@jsii.python.classproperty
|
|
34853
|
+
@jsii.member(jsii_name="VER_13_18")
|
|
34854
|
+
def VER_13_18(cls) -> "PostgresEngineVersion":
|
|
34855
|
+
'''Version "13.18".'''
|
|
34856
|
+
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_13_18"))
|
|
34857
|
+
|
|
34755
34858
|
@jsii.python.classproperty
|
|
34756
34859
|
@jsii.member(jsii_name="VER_13_2")
|
|
34757
34860
|
def VER_13_2(cls) -> "PostgresEngineVersion":
|
|
@@ -34887,6 +34990,12 @@ class PostgresEngineVersion(
|
|
|
34887
34990
|
'''Version "14.14".'''
|
|
34888
34991
|
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_14_14"))
|
|
34889
34992
|
|
|
34993
|
+
@jsii.python.classproperty
|
|
34994
|
+
@jsii.member(jsii_name="VER_14_15")
|
|
34995
|
+
def VER_14_15(cls) -> "PostgresEngineVersion":
|
|
34996
|
+
'''Version "14.15".'''
|
|
34997
|
+
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_14_15"))
|
|
34998
|
+
|
|
34890
34999
|
@jsii.python.classproperty
|
|
34891
35000
|
@jsii.member(jsii_name="VER_14_2")
|
|
34892
35001
|
def VER_14_2(cls) -> "PostgresEngineVersion":
|
|
@@ -34976,6 +35085,12 @@ class PostgresEngineVersion(
|
|
|
34976
35085
|
'''Version "15" (only a major version, without a specific minor version).'''
|
|
34977
35086
|
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_15"))
|
|
34978
35087
|
|
|
35088
|
+
@jsii.python.classproperty
|
|
35089
|
+
@jsii.member(jsii_name="VER_15_10")
|
|
35090
|
+
def VER_15_10(cls) -> "PostgresEngineVersion":
|
|
35091
|
+
'''Version "15.10".'''
|
|
35092
|
+
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_15_10"))
|
|
35093
|
+
|
|
34979
35094
|
@jsii.python.classproperty
|
|
34980
35095
|
@jsii.member(jsii_name="VER_15_2")
|
|
34981
35096
|
def VER_15_2(cls) -> "PostgresEngineVersion":
|
|
@@ -35070,6 +35185,12 @@ class PostgresEngineVersion(
|
|
|
35070
35185
|
'''Version "16.5".'''
|
|
35071
35186
|
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_16_5"))
|
|
35072
35187
|
|
|
35188
|
+
@jsii.python.classproperty
|
|
35189
|
+
@jsii.member(jsii_name="VER_16_6")
|
|
35190
|
+
def VER_16_6(cls) -> "PostgresEngineVersion":
|
|
35191
|
+
'''Version "16.6".'''
|
|
35192
|
+
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_16_6"))
|
|
35193
|
+
|
|
35073
35194
|
@jsii.python.classproperty
|
|
35074
35195
|
@jsii.member(jsii_name="VER_17")
|
|
35075
35196
|
def VER_17(cls) -> "PostgresEngineVersion":
|
|
@@ -35082,6 +35203,12 @@ class PostgresEngineVersion(
|
|
|
35082
35203
|
'''Version "17.1".'''
|
|
35083
35204
|
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_17_1"))
|
|
35084
35205
|
|
|
35206
|
+
@jsii.python.classproperty
|
|
35207
|
+
@jsii.member(jsii_name="VER_17_2")
|
|
35208
|
+
def VER_17_2(cls) -> "PostgresEngineVersion":
|
|
35209
|
+
'''Version "17.2".'''
|
|
35210
|
+
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_17_2"))
|
|
35211
|
+
|
|
35085
35212
|
@jsii.python.classproperty
|
|
35086
35213
|
@jsii.member(jsii_name="VER_9_6_24")
|
|
35087
35214
|
def VER_9_6_24(cls) -> "PostgresEngineVersion":
|
|
@@ -40668,6 +40795,7 @@ class DatabaseClusterFromSnapshot(
|
|
|
40668
40795
|
deletion_protection: typing.Optional[builtins.bool] = None,
|
|
40669
40796
|
domain: typing.Optional[builtins.str] = None,
|
|
40670
40797
|
domain_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
40798
|
+
enable_cluster_level_enhanced_monitoring: typing.Optional[builtins.bool] = None,
|
|
40671
40799
|
enable_data_api: typing.Optional[builtins.bool] = None,
|
|
40672
40800
|
enable_local_write_forwarding: typing.Optional[builtins.bool] = None,
|
|
40673
40801
|
enable_performance_insights: typing.Optional[builtins.bool] = None,
|
|
@@ -40721,6 +40849,7 @@ class DatabaseClusterFromSnapshot(
|
|
|
40721
40849
|
:param deletion_protection: Indicates whether the DB cluster should have deletion protection enabled. Default: - true if ``removalPolicy`` is RETAIN, ``undefined`` otherwise, which will not enable deletion protection. To disable deletion protection after it has been enabled, you must explicitly set this value to ``false``.
|
|
40722
40850
|
:param domain: Directory ID for associating the DB cluster with a specific Active Directory. Necessary for enabling Kerberos authentication. If specified, the DB cluster joins the given Active Directory, enabling Kerberos authentication. If not specified, the DB cluster will not be associated with any Active Directory, and Kerberos authentication will not be enabled. Default: - DB cluster is not associated with an Active Directory; Kerberos authentication is not enabled.
|
|
40723
40851
|
:param domain_role: The IAM role to be used when making API calls to the Directory Service. The role needs the AWS-managed policy ``AmazonRDSDirectoryServiceAccess`` or equivalent. Default: - If ``DatabaseClusterBaseProps.domain`` is specified, a role with the ``AmazonRDSDirectoryServiceAccess`` policy is automatically created.
|
|
40852
|
+
:param enable_cluster_level_enhanced_monitoring: Whether to enable enhanced monitoring at the cluster level. If set to true, ``monitoringInterval`` and ``monitoringRole`` are applied to not the instances, but the cluster. ``monitoringInterval`` is required to be set if ``enableClusterLevelEnhancedMonitoring`` is set to true. Default: - When the ``monitoringInterval`` is set, enhanced monitoring is enabled for each instance.
|
|
40724
40853
|
:param enable_data_api: Whether to enable the Data API for the cluster. Default: - false
|
|
40725
40854
|
:param enable_local_write_forwarding: Whether read replicas can forward write operations to the writer DB instance in the DB cluster. This setting can only be enabled for Aurora MySQL 3.04 or higher, and for Aurora PostgreSQL 16.4 or higher (for version 16), 15.8 or higher (for version 15), and 14.13 or higher (for version 14). Default: false
|
|
40726
40855
|
:param enable_performance_insights: Whether to enable Performance Insights for the DB cluster. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set.
|
|
@@ -40729,8 +40858,8 @@ class DatabaseClusterFromSnapshot(
|
|
|
40729
40858
|
:param instance_props: (deprecated) Settings for the individual instances that are launched.
|
|
40730
40859
|
:param instances: (deprecated) How many replicas/instances to create. Has to be at least 1. Default: 2
|
|
40731
40860
|
:param instance_update_behaviour: The ordering of updates for instances. Default: InstanceUpdateBehaviour.BULK
|
|
40732
|
-
:param monitoring_interval: The interval
|
|
40733
|
-
:param monitoring_role: Role that will be used to manage DB
|
|
40861
|
+
:param monitoring_interval: The interval between points when Amazon RDS collects enhanced monitoring metrics. If you enable ``enableClusterLevelEnhancedMonitoring``, this property is applied to the cluster, otherwise it is applied to the instances. Default: - no enhanced monitoring
|
|
40862
|
+
:param monitoring_role: Role that will be used to manage DB monitoring. If you enable ``enableClusterLevelEnhancedMonitoring``, this property is applied to the cluster, otherwise it is applied to the instances. Default: - A role is automatically created for you
|
|
40734
40863
|
:param network_type: The network type of the DB instance. Default: - IPV4
|
|
40735
40864
|
:param parameter_group: Additional parameters to pass to the database engine. Default: - No parameter group.
|
|
40736
40865
|
:param parameters: The parameters in the DBClusterParameterGroup to create automatically. You can only specify parameterGroup or parameters but not both. You need to use a versioned engine to auto-generate a DBClusterParameterGroup. Default: - None
|
|
@@ -40744,9 +40873,9 @@ class DatabaseClusterFromSnapshot(
|
|
|
40744
40873
|
:param s3_export_role: Role that will be associated with this DB cluster to enable S3 export. This feature is only supported by the Aurora database engine. This property must not be used if ``s3ExportBuckets`` is used. To use this property with Aurora PostgreSQL, it must be configured with the S3 export feature enabled when creating the DatabaseClusterEngine For MySQL: Default: - New role is created if ``s3ExportBuckets`` is set, no role is defined otherwise
|
|
40745
40874
|
:param s3_import_buckets: S3 buckets that you want to load data from. This feature is only supported by the Aurora database engine. This property must not be used if ``s3ImportRole`` is used. For MySQL: Default: - None
|
|
40746
40875
|
:param s3_import_role: Role that will be associated with this DB cluster to enable S3 import. This feature is only supported by the Aurora database engine. This property must not be used if ``s3ImportBuckets`` is used. To use this property with Aurora PostgreSQL, it must be configured with the S3 import feature enabled when creating the DatabaseClusterEngine For MySQL: Default: - New role is created if ``s3ImportBuckets`` is set, no role is defined otherwise
|
|
40747
|
-
:param security_groups: Security group. Default: a new security group is created.
|
|
40876
|
+
:param security_groups: Security group. Default: - a new security group is created.
|
|
40748
40877
|
:param serverless_v2_max_capacity: The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 40, 40.5, 41, and so on. The largest value that you can use is 256. The maximum capacity must be higher than 0.5 ACUs. Default: 2
|
|
40749
|
-
:param serverless_v2_min_capacity: The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. The smallest value that you can use is 0.5. Default: 0.5
|
|
40878
|
+
:param serverless_v2_min_capacity: The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. The smallest value that you can use is 0. For Aurora versions that support the Aurora Serverless v2 auto-pause feature, the smallest value that you can use is 0. For versions that don't support Aurora Serverless v2 auto-pause, the smallest value that you can use is 0.5. Default: 0.5
|
|
40750
40879
|
:param snapshot_credentials: Master user credentials. Note - It is not possible to change the master username for a snapshot; however, it is possible to provide (or generate) a new password. Default: - The existing username and password from the snapshot will be used.
|
|
40751
40880
|
:param storage_encrypted: Whether to enable storage encryption. Default: - true if storageEncryptionKey is provided, false otherwise
|
|
40752
40881
|
:param storage_encryption_key: The KMS key for storage encryption. If specified, ``storageEncrypted`` will be set to ``true``. Default: - if storageEncrypted is true then the default master key, no key otherwise
|
|
@@ -40754,7 +40883,7 @@ class DatabaseClusterFromSnapshot(
|
|
|
40754
40883
|
:param subnet_group: Existing subnet group for the cluster. Default: - a new subnet group will be created.
|
|
40755
40884
|
:param vpc: What subnets to run the RDS instances in. Must be at least 2 subnets in two different AZs.
|
|
40756
40885
|
:param vpc_subnets: Where to place the instances within the VPC. Default: - the Vpc default strategy if not specified.
|
|
40757
|
-
:param writer: The instance to use for the cluster writer. Default: required if instanceProps is not provided
|
|
40886
|
+
:param writer: The instance to use for the cluster writer. Default: - required if instanceProps is not provided
|
|
40758
40887
|
'''
|
|
40759
40888
|
if __debug__:
|
|
40760
40889
|
type_hints = typing.get_type_hints(_typecheckingstub__d1a2e259091e12a41b0f5818df495769518e049ebcc89ed340ffc7ba4f8296e2)
|
|
@@ -40776,6 +40905,7 @@ class DatabaseClusterFromSnapshot(
|
|
|
40776
40905
|
deletion_protection=deletion_protection,
|
|
40777
40906
|
domain=domain,
|
|
40778
40907
|
domain_role=domain_role,
|
|
40908
|
+
enable_cluster_level_enhanced_monitoring=enable_cluster_level_enhanced_monitoring,
|
|
40779
40909
|
enable_data_api=enable_data_api,
|
|
40780
40910
|
enable_local_write_forwarding=enable_local_write_forwarding,
|
|
40781
40911
|
enable_performance_insights=enable_performance_insights,
|
|
@@ -41082,6 +41212,12 @@ class DatabaseClusterFromSnapshot(
|
|
|
41082
41212
|
'''
|
|
41083
41213
|
return typing.cast(typing.Optional["IClusterEngine"], jsii.get(self, "engine"))
|
|
41084
41214
|
|
|
41215
|
+
@builtins.property
|
|
41216
|
+
@jsii.member(jsii_name="monitoringRole")
|
|
41217
|
+
def monitoring_role(self) -> typing.Optional[_IRole_235f5d8e]:
|
|
41218
|
+
'''The IAM role for the enhanced monitoring.'''
|
|
41219
|
+
return typing.cast(typing.Optional[_IRole_235f5d8e], jsii.get(self, "monitoringRole"))
|
|
41220
|
+
|
|
41085
41221
|
@builtins.property
|
|
41086
41222
|
@jsii.member(jsii_name="performanceInsightEncryptionKey")
|
|
41087
41223
|
def performance_insight_encryption_key(self) -> typing.Optional[_IKey_5f11635f]:
|
|
@@ -44693,6 +44829,7 @@ class DatabaseCluster(
|
|
|
44693
44829
|
deletion_protection: typing.Optional[builtins.bool] = None,
|
|
44694
44830
|
domain: typing.Optional[builtins.str] = None,
|
|
44695
44831
|
domain_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
44832
|
+
enable_cluster_level_enhanced_monitoring: typing.Optional[builtins.bool] = None,
|
|
44696
44833
|
enable_data_api: typing.Optional[builtins.bool] = None,
|
|
44697
44834
|
enable_local_write_forwarding: typing.Optional[builtins.bool] = None,
|
|
44698
44835
|
enable_performance_insights: typing.Optional[builtins.bool] = None,
|
|
@@ -44744,6 +44881,7 @@ class DatabaseCluster(
|
|
|
44744
44881
|
:param deletion_protection: Indicates whether the DB cluster should have deletion protection enabled. Default: - true if ``removalPolicy`` is RETAIN, ``undefined`` otherwise, which will not enable deletion protection. To disable deletion protection after it has been enabled, you must explicitly set this value to ``false``.
|
|
44745
44882
|
:param domain: Directory ID for associating the DB cluster with a specific Active Directory. Necessary for enabling Kerberos authentication. If specified, the DB cluster joins the given Active Directory, enabling Kerberos authentication. If not specified, the DB cluster will not be associated with any Active Directory, and Kerberos authentication will not be enabled. Default: - DB cluster is not associated with an Active Directory; Kerberos authentication is not enabled.
|
|
44746
44883
|
:param domain_role: The IAM role to be used when making API calls to the Directory Service. The role needs the AWS-managed policy ``AmazonRDSDirectoryServiceAccess`` or equivalent. Default: - If ``DatabaseClusterBaseProps.domain`` is specified, a role with the ``AmazonRDSDirectoryServiceAccess`` policy is automatically created.
|
|
44884
|
+
:param enable_cluster_level_enhanced_monitoring: Whether to enable enhanced monitoring at the cluster level. If set to true, ``monitoringInterval`` and ``monitoringRole`` are applied to not the instances, but the cluster. ``monitoringInterval`` is required to be set if ``enableClusterLevelEnhancedMonitoring`` is set to true. Default: - When the ``monitoringInterval`` is set, enhanced monitoring is enabled for each instance.
|
|
44747
44885
|
:param enable_data_api: Whether to enable the Data API for the cluster. Default: - false
|
|
44748
44886
|
:param enable_local_write_forwarding: Whether read replicas can forward write operations to the writer DB instance in the DB cluster. This setting can only be enabled for Aurora MySQL 3.04 or higher, and for Aurora PostgreSQL 16.4 or higher (for version 16), 15.8 or higher (for version 15), and 14.13 or higher (for version 14). Default: false
|
|
44749
44887
|
:param enable_performance_insights: Whether to enable Performance Insights for the DB cluster. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set.
|
|
@@ -44752,8 +44890,8 @@ class DatabaseCluster(
|
|
|
44752
44890
|
:param instance_props: (deprecated) Settings for the individual instances that are launched.
|
|
44753
44891
|
:param instances: (deprecated) How many replicas/instances to create. Has to be at least 1. Default: 2
|
|
44754
44892
|
:param instance_update_behaviour: The ordering of updates for instances. Default: InstanceUpdateBehaviour.BULK
|
|
44755
|
-
:param monitoring_interval: The interval
|
|
44756
|
-
:param monitoring_role: Role that will be used to manage DB
|
|
44893
|
+
:param monitoring_interval: The interval between points when Amazon RDS collects enhanced monitoring metrics. If you enable ``enableClusterLevelEnhancedMonitoring``, this property is applied to the cluster, otherwise it is applied to the instances. Default: - no enhanced monitoring
|
|
44894
|
+
:param monitoring_role: Role that will be used to manage DB monitoring. If you enable ``enableClusterLevelEnhancedMonitoring``, this property is applied to the cluster, otherwise it is applied to the instances. Default: - A role is automatically created for you
|
|
44757
44895
|
:param network_type: The network type of the DB instance. Default: - IPV4
|
|
44758
44896
|
:param parameter_group: Additional parameters to pass to the database engine. Default: - No parameter group.
|
|
44759
44897
|
:param parameters: The parameters in the DBClusterParameterGroup to create automatically. You can only specify parameterGroup or parameters but not both. You need to use a versioned engine to auto-generate a DBClusterParameterGroup. Default: - None
|
|
@@ -44767,16 +44905,16 @@ class DatabaseCluster(
|
|
|
44767
44905
|
:param s3_export_role: Role that will be associated with this DB cluster to enable S3 export. This feature is only supported by the Aurora database engine. This property must not be used if ``s3ExportBuckets`` is used. To use this property with Aurora PostgreSQL, it must be configured with the S3 export feature enabled when creating the DatabaseClusterEngine For MySQL: Default: - New role is created if ``s3ExportBuckets`` is set, no role is defined otherwise
|
|
44768
44906
|
:param s3_import_buckets: S3 buckets that you want to load data from. This feature is only supported by the Aurora database engine. This property must not be used if ``s3ImportRole`` is used. For MySQL: Default: - None
|
|
44769
44907
|
:param s3_import_role: Role that will be associated with this DB cluster to enable S3 import. This feature is only supported by the Aurora database engine. This property must not be used if ``s3ImportBuckets`` is used. To use this property with Aurora PostgreSQL, it must be configured with the S3 import feature enabled when creating the DatabaseClusterEngine For MySQL: Default: - New role is created if ``s3ImportBuckets`` is set, no role is defined otherwise
|
|
44770
|
-
:param security_groups: Security group. Default: a new security group is created.
|
|
44908
|
+
:param security_groups: Security group. Default: - a new security group is created.
|
|
44771
44909
|
:param serverless_v2_max_capacity: The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 40, 40.5, 41, and so on. The largest value that you can use is 256. The maximum capacity must be higher than 0.5 ACUs. Default: 2
|
|
44772
|
-
:param serverless_v2_min_capacity: The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. The smallest value that you can use is 0.5. Default: 0.5
|
|
44910
|
+
:param serverless_v2_min_capacity: The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. The smallest value that you can use is 0. For Aurora versions that support the Aurora Serverless v2 auto-pause feature, the smallest value that you can use is 0. For versions that don't support Aurora Serverless v2 auto-pause, the smallest value that you can use is 0.5. Default: 0.5
|
|
44773
44911
|
:param storage_encrypted: Whether to enable storage encryption. Default: - true if storageEncryptionKey is provided, false otherwise
|
|
44774
44912
|
:param storage_encryption_key: The KMS key for storage encryption. If specified, ``storageEncrypted`` will be set to ``true``. Default: - if storageEncrypted is true then the default master key, no key otherwise
|
|
44775
44913
|
:param storage_type: The storage type to be associated with the DB cluster. Default: - DBClusterStorageType.AURORA_IOPT1
|
|
44776
44914
|
:param subnet_group: Existing subnet group for the cluster. Default: - a new subnet group will be created.
|
|
44777
44915
|
:param vpc: What subnets to run the RDS instances in. Must be at least 2 subnets in two different AZs.
|
|
44778
44916
|
:param vpc_subnets: Where to place the instances within the VPC. Default: - the Vpc default strategy if not specified.
|
|
44779
|
-
:param writer: The instance to use for the cluster writer. Default: required if instanceProps is not provided
|
|
44917
|
+
:param writer: The instance to use for the cluster writer. Default: - required if instanceProps is not provided
|
|
44780
44918
|
'''
|
|
44781
44919
|
if __debug__:
|
|
44782
44920
|
type_hints = typing.get_type_hints(_typecheckingstub__c6184cbbefaa372690b9776dafecbf5857cf9bfbab91d1666aad22c5625f1aae)
|
|
@@ -44797,6 +44935,7 @@ class DatabaseCluster(
|
|
|
44797
44935
|
deletion_protection=deletion_protection,
|
|
44798
44936
|
domain=domain,
|
|
44799
44937
|
domain_role=domain_role,
|
|
44938
|
+
enable_cluster_level_enhanced_monitoring=enable_cluster_level_enhanced_monitoring,
|
|
44800
44939
|
enable_data_api=enable_data_api,
|
|
44801
44940
|
enable_local_write_forwarding=enable_local_write_forwarding,
|
|
44802
44941
|
enable_performance_insights=enable_performance_insights,
|
|
@@ -45157,6 +45296,12 @@ class DatabaseCluster(
|
|
|
45157
45296
|
'''
|
|
45158
45297
|
return typing.cast(typing.Optional[IClusterEngine], jsii.get(self, "engine"))
|
|
45159
45298
|
|
|
45299
|
+
@builtins.property
|
|
45300
|
+
@jsii.member(jsii_name="monitoringRole")
|
|
45301
|
+
def monitoring_role(self) -> typing.Optional[_IRole_235f5d8e]:
|
|
45302
|
+
'''The IAM role for the enhanced monitoring.'''
|
|
45303
|
+
return typing.cast(typing.Optional[_IRole_235f5d8e], jsii.get(self, "monitoringRole"))
|
|
45304
|
+
|
|
45160
45305
|
@builtins.property
|
|
45161
45306
|
@jsii.member(jsii_name="performanceInsightEncryptionKey")
|
|
45162
45307
|
def performance_insight_encryption_key(self) -> typing.Optional[_IKey_5f11635f]:
|
|
@@ -48434,6 +48579,7 @@ def _typecheckingstub__1e44b5aef872ca17869a17181382f06cd0166bdbe07e2c33701d3bf1e
|
|
|
48434
48579
|
deletion_protection: typing.Optional[builtins.bool] = None,
|
|
48435
48580
|
domain: typing.Optional[builtins.str] = None,
|
|
48436
48581
|
domain_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
48582
|
+
enable_cluster_level_enhanced_monitoring: typing.Optional[builtins.bool] = None,
|
|
48437
48583
|
enable_data_api: typing.Optional[builtins.bool] = None,
|
|
48438
48584
|
enable_local_write_forwarding: typing.Optional[builtins.bool] = None,
|
|
48439
48585
|
enable_performance_insights: typing.Optional[builtins.bool] = None,
|
|
@@ -48488,6 +48634,7 @@ def _typecheckingstub__a32e21c90ab65d3cfdb3b7ef2a0d741ba1528ec8824cd1817d1e485b4
|
|
|
48488
48634
|
deletion_protection: typing.Optional[builtins.bool] = None,
|
|
48489
48635
|
domain: typing.Optional[builtins.str] = None,
|
|
48490
48636
|
domain_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
48637
|
+
enable_cluster_level_enhanced_monitoring: typing.Optional[builtins.bool] = None,
|
|
48491
48638
|
enable_data_api: typing.Optional[builtins.bool] = None,
|
|
48492
48639
|
enable_local_write_forwarding: typing.Optional[builtins.bool] = None,
|
|
48493
48640
|
enable_performance_insights: typing.Optional[builtins.bool] = None,
|
|
@@ -49694,6 +49841,7 @@ def _typecheckingstub__d1a2e259091e12a41b0f5818df495769518e049ebcc89ed340ffc7ba4
|
|
|
49694
49841
|
deletion_protection: typing.Optional[builtins.bool] = None,
|
|
49695
49842
|
domain: typing.Optional[builtins.str] = None,
|
|
49696
49843
|
domain_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
49844
|
+
enable_cluster_level_enhanced_monitoring: typing.Optional[builtins.bool] = None,
|
|
49697
49845
|
enable_data_api: typing.Optional[builtins.bool] = None,
|
|
49698
49846
|
enable_local_write_forwarding: typing.Optional[builtins.bool] = None,
|
|
49699
49847
|
enable_performance_insights: typing.Optional[builtins.bool] = None,
|
|
@@ -50181,6 +50329,7 @@ def _typecheckingstub__c6184cbbefaa372690b9776dafecbf5857cf9bfbab91d1666aad22c56
|
|
|
50181
50329
|
deletion_protection: typing.Optional[builtins.bool] = None,
|
|
50182
50330
|
domain: typing.Optional[builtins.str] = None,
|
|
50183
50331
|
domain_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
50332
|
+
enable_cluster_level_enhanced_monitoring: typing.Optional[builtins.bool] = None,
|
|
50184
50333
|
enable_data_api: typing.Optional[builtins.bool] = None,
|
|
50185
50334
|
enable_local_write_forwarding: typing.Optional[builtins.bool] = None,
|
|
50186
50335
|
enable_performance_insights: typing.Optional[builtins.bool] = None,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
aws_cdk/__init__.py,sha256=6IHs0UN6C0omE3wTvMmecypWQZhlf4DwNMb6OJmjAOs,1918421
|
|
2
2
|
aws_cdk/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
3
|
-
aws_cdk/_jsii/__init__.py,sha256=
|
|
4
|
-
aws_cdk/_jsii/aws-cdk-lib@2.
|
|
3
|
+
aws_cdk/_jsii/__init__.py,sha256=NThOi7w_zunlT6hmq_TzS7Kce4P4l54DFZy5joLEPh8,1582
|
|
4
|
+
aws_cdk/_jsii/aws-cdk-lib@2.171.1.jsii.tgz,sha256=KGg6Ui6t_apb-DSdsrBG-KqL_Scv_qgdoPoZ5Mk-H-4,23262706
|
|
5
5
|
aws_cdk/alexa_ask/__init__.py,sha256=yF4ftch7XArzAniw_xoUmGi3wLGeBqIUlOjBTHSxDb4,36370
|
|
6
6
|
aws_cdk/assertions/__init__.py,sha256=vX--kb5ot1oIPFr5H5ElSpuie_TwWOzu1KZU9kcvmuw,92306
|
|
7
7
|
aws_cdk/aws_accessanalyzer/__init__.py,sha256=XiNBttjwK1s2CYyccwKCXH5Nzb74L1i6rVnZ9Zwh49I,57464
|
|
@@ -212,7 +212,7 @@ aws_cdk/aws_qldb/__init__.py,sha256=Y77mQlE_bPnvp2-xi6Zx7Nqq88MVjB0bGsFskfkTpj8,
|
|
|
212
212
|
aws_cdk/aws_quicksight/__init__.py,sha256=BBj03spKln8vaskKlu5Vj2KgJmHQA6cs1Ncn9bOASw0,14408550
|
|
213
213
|
aws_cdk/aws_ram/__init__.py,sha256=fQhBhvJnbX2GZyFzwunRlWfiXb4o0AqEvrcGLWDgGGg,51610
|
|
214
214
|
aws_cdk/aws_rbin/__init__.py,sha256=A0O7yCp92xCy4abJPLCoEh1fkKAuJV_cIuk6fpf8lDU,43964
|
|
215
|
-
aws_cdk/aws_rds/__init__.py,sha256=
|
|
215
|
+
aws_cdk/aws_rds/__init__.py,sha256=jpmkI1mI09Bx702DgDFdARwOp6uHbLkCTKXr4i1vC5E,2824409
|
|
216
216
|
aws_cdk/aws_redshift/__init__.py,sha256=y7VXFSOSEwpsj1FUFYFjgoUSeLs9D0EFH0PUbZ5JNUk,404916
|
|
217
217
|
aws_cdk/aws_redshiftserverless/__init__.py,sha256=IB6raKol5DXymB3BAKDyrqHw_aIcRYbLfleAyZtYtzU,161475
|
|
218
218
|
aws_cdk/aws_refactorspaces/__init__.py,sha256=HlrRPKH0kwPz6Ka6zooBl3hqU5s6lpjiLrMjJXHDIro,123625
|
|
@@ -288,9 +288,9 @@ aws_cdk/lambda_layer_node_proxy_agent/__init__.py,sha256=Q0PMbPsP4A7YO-YZe9esn-i
|
|
|
288
288
|
aws_cdk/pipelines/__init__.py,sha256=PMIOp-7-2JByt8yJ72-uv07gSSPJ1BTxdykdDG17nfA,397495
|
|
289
289
|
aws_cdk/region_info/__init__.py,sha256=29jwDjGrb4gSGedV1W1e5SuAYF9ZZKYsz0gsSFjdBO4,39658
|
|
290
290
|
aws_cdk/triggers/__init__.py,sha256=fPVnj7ot9BFSzO-cTWQz9bMuGPG1hqZFJ7ROMkq0vnk,123578
|
|
291
|
-
aws_cdk_lib-2.
|
|
292
|
-
aws_cdk_lib-2.
|
|
293
|
-
aws_cdk_lib-2.
|
|
294
|
-
aws_cdk_lib-2.
|
|
295
|
-
aws_cdk_lib-2.
|
|
296
|
-
aws_cdk_lib-2.
|
|
291
|
+
aws_cdk_lib-2.171.1.dist-info/LICENSE,sha256=kEDF86xJUQh1E9M7UPKKbHepBEdFxIUyoGfTwQB7zKg,11391
|
|
292
|
+
aws_cdk_lib-2.171.1.dist-info/METADATA,sha256=rxIXu3d7uF4B1VjBUYaMv0f-llSxth8-P4TH9Z5_3c8,60027
|
|
293
|
+
aws_cdk_lib-2.171.1.dist-info/NOTICE,sha256=p5UQgJ0CVV5-J24vpfPP0ijj274gNydvWDTD8KR1zTI,41177
|
|
294
|
+
aws_cdk_lib-2.171.1.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
295
|
+
aws_cdk_lib-2.171.1.dist-info/top_level.txt,sha256=1TALAKbuUGsMSrfKWEf268lySCmcqSEO6cDYe_XlLHM,8
|
|
296
|
+
aws_cdk_lib-2.171.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|