aws-cdk-lib 2.211.0__py3-none-any.whl → 2.213.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +398 -43
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.211.0.jsii.tgz → aws-cdk-lib@2.213.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +2 -0
- aws_cdk/aws_apigatewayv2/__init__.py +1798 -74
- aws_cdk/aws_appintegrations/__init__.py +395 -0
- aws_cdk/aws_arcregionswitch/__init__.py +118 -0
- aws_cdk/aws_batch/__init__.py +4 -4
- aws_cdk/aws_bedrock/__init__.py +18 -0
- aws_cdk/aws_billingconductor/__init__.py +3 -3
- aws_cdk/aws_cloudfront/__init__.py +19 -0
- aws_cdk/aws_codebuild/__init__.py +122 -0
- aws_cdk/aws_codepipeline/__init__.py +51 -50
- aws_cdk/aws_connect/__init__.py +40 -15
- aws_cdk/aws_deadline/__init__.py +16 -5
- aws_cdk/aws_dynamodb/__init__.py +477 -56
- aws_cdk/aws_ec2/__init__.py +266 -55
- aws_cdk/aws_ecs/__init__.py +7 -9
- aws_cdk/aws_eks/__init__.py +6 -4
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +2 -2
- aws_cdk/aws_gameliftstreams/__init__.py +7 -6
- aws_cdk/aws_glue/__init__.py +18 -9
- aws_cdk/aws_guardduty/__init__.py +1233 -113
- aws_cdk/aws_iam/__init__.py +21 -6
- aws_cdk/aws_imagebuilder/__init__.py +34 -20
- aws_cdk/aws_inspectorv2/__init__.py +1516 -0
- aws_cdk/aws_ivs/__init__.py +1 -1
- aws_cdk/aws_lakeformation/__init__.py +1 -1
- aws_cdk/aws_lambda/__init__.py +6 -6
- aws_cdk/aws_omics/__init__.py +1 -1
- aws_cdk/aws_opensearchservice/__init__.py +128 -0
- aws_cdk/aws_pcs/__init__.py +16 -8
- aws_cdk/aws_quicksight/__init__.py +81 -83
- aws_cdk/aws_rds/__init__.py +31 -163
- aws_cdk/aws_s3express/__init__.py +7 -3
- aws_cdk/aws_s3tables/__init__.py +2 -2
- aws_cdk/aws_sagemaker/__init__.py +62 -20
- aws_cdk/aws_sqs/__init__.py +4 -3
- aws_cdk/aws_stepfunctions_tasks/__init__.py +16 -9
- aws_cdk/aws_synthetics/__init__.py +116 -0
- aws_cdk/cx_api/__init__.py +22 -0
- {aws_cdk_lib-2.211.0.dist-info → aws_cdk_lib-2.213.0.dist-info}/METADATA +329 -9
- {aws_cdk_lib-2.211.0.dist-info → aws_cdk_lib-2.213.0.dist-info}/RECORD +47 -47
- {aws_cdk_lib-2.211.0.dist-info → aws_cdk_lib-2.213.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.211.0.dist-info → aws_cdk_lib-2.213.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.211.0.dist-info → aws_cdk_lib-2.213.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.211.0.dist-info → aws_cdk_lib-2.213.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_rds/__init__.py
CHANGED
|
@@ -9198,114 +9198,36 @@ class CfnDBInstance(
|
|
|
9198
9198
|
|
|
9199
9199
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html
|
|
9200
9200
|
:cloudformationResource: AWS::RDS::DBInstance
|
|
9201
|
-
:exampleMetadata:
|
|
9201
|
+
:exampleMetadata: infused
|
|
9202
9202
|
|
|
9203
9203
|
Example::
|
|
9204
9204
|
|
|
9205
|
-
#
|
|
9206
|
-
#
|
|
9207
|
-
|
|
9205
|
+
# scope: Construct
|
|
9206
|
+
# parent: Construct
|
|
9207
|
+
# bucket: s3.CfnBucket
|
|
9208
9208
|
|
|
9209
|
-
|
|
9210
|
-
|
|
9211
|
-
|
|
9212
|
-
|
|
9213
|
-
|
|
9214
|
-
|
|
9215
|
-
|
|
9216
|
-
|
|
9217
|
-
|
|
9218
|
-
|
|
9219
|
-
|
|
9220
|
-
|
|
9221
|
-
|
|
9222
|
-
|
|
9223
|
-
|
|
9224
|
-
|
|
9225
|
-
|
|
9226
|
-
|
|
9227
|
-
|
|
9228
|
-
|
|
9229
|
-
|
|
9230
|
-
|
|
9231
|
-
db_cluster_snapshot_identifier="dbClusterSnapshotIdentifier",
|
|
9232
|
-
db_instance_class="dbInstanceClass",
|
|
9233
|
-
db_instance_identifier="dbInstanceIdentifier",
|
|
9234
|
-
db_name="dbName",
|
|
9235
|
-
db_parameter_group_name="dbParameterGroupName",
|
|
9236
|
-
db_security_groups=["dbSecurityGroups"],
|
|
9237
|
-
db_snapshot_identifier="dbSnapshotIdentifier",
|
|
9238
|
-
db_subnet_group_name="dbSubnetGroupName",
|
|
9239
|
-
db_system_id="dbSystemId",
|
|
9240
|
-
dedicated_log_volume=False,
|
|
9241
|
-
delete_automated_backups=False,
|
|
9242
|
-
deletion_protection=False,
|
|
9243
|
-
domain="domain",
|
|
9244
|
-
domain_auth_secret_arn="domainAuthSecretArn",
|
|
9245
|
-
domain_dns_ips=["domainDnsIps"],
|
|
9246
|
-
domain_fqdn="domainFqdn",
|
|
9247
|
-
domain_iam_role_name="domainIamRoleName",
|
|
9248
|
-
domain_ou="domainOu",
|
|
9249
|
-
enable_cloudwatch_logs_exports=["enableCloudwatchLogsExports"],
|
|
9250
|
-
enable_iam_database_authentication=False,
|
|
9251
|
-
enable_performance_insights=False,
|
|
9252
|
-
engine="engine",
|
|
9253
|
-
engine_lifecycle_support="engineLifecycleSupport",
|
|
9254
|
-
engine_version="engineVersion",
|
|
9255
|
-
iops=123,
|
|
9256
|
-
kms_key_id="kmsKeyId",
|
|
9257
|
-
license_model="licenseModel",
|
|
9258
|
-
manage_master_user_password=False,
|
|
9259
|
-
master_username="masterUsername",
|
|
9260
|
-
master_user_password="masterUserPassword",
|
|
9261
|
-
master_user_secret=rds.CfnDBInstance.MasterUserSecretProperty(
|
|
9262
|
-
kms_key_id="kmsKeyId",
|
|
9263
|
-
secret_arn="secretArn"
|
|
9264
|
-
),
|
|
9265
|
-
max_allocated_storage=123,
|
|
9266
|
-
monitoring_interval=123,
|
|
9267
|
-
monitoring_role_arn="monitoringRoleArn",
|
|
9268
|
-
multi_az=False,
|
|
9269
|
-
nchar_character_set_name="ncharCharacterSetName",
|
|
9270
|
-
network_type="networkType",
|
|
9271
|
-
option_group_name="optionGroupName",
|
|
9272
|
-
performance_insights_kms_key_id="performanceInsightsKmsKeyId",
|
|
9273
|
-
performance_insights_retention_period=123,
|
|
9274
|
-
port="port",
|
|
9275
|
-
preferred_backup_window="preferredBackupWindow",
|
|
9276
|
-
preferred_maintenance_window="preferredMaintenanceWindow",
|
|
9277
|
-
processor_features=[rds.CfnDBInstance.ProcessorFeatureProperty(
|
|
9278
|
-
name="name",
|
|
9279
|
-
value="value"
|
|
9280
|
-
)],
|
|
9281
|
-
promotion_tier=123,
|
|
9282
|
-
publicly_accessible=False,
|
|
9283
|
-
replica_mode="replicaMode",
|
|
9284
|
-
restore_time="restoreTime",
|
|
9285
|
-
source_db_cluster_identifier="sourceDbClusterIdentifier",
|
|
9286
|
-
source_db_instance_automated_backups_arn="sourceDbInstanceAutomatedBackupsArn",
|
|
9287
|
-
source_db_instance_identifier="sourceDbInstanceIdentifier",
|
|
9288
|
-
source_dbi_resource_id="sourceDbiResourceId",
|
|
9289
|
-
source_region="sourceRegion",
|
|
9290
|
-
status_infos=[rds.CfnDBInstance.DBInstanceStatusInfoProperty(
|
|
9291
|
-
message="message",
|
|
9292
|
-
normal=False,
|
|
9293
|
-
status="status",
|
|
9294
|
-
status_type="statusType"
|
|
9295
|
-
)],
|
|
9296
|
-
storage_encrypted=False,
|
|
9297
|
-
storage_throughput=123,
|
|
9298
|
-
storage_type="storageType",
|
|
9299
|
-
tags=[CfnTag(
|
|
9300
|
-
key="key",
|
|
9301
|
-
value="value"
|
|
9302
|
-
)],
|
|
9303
|
-
tde_credential_arn="tdeCredentialArn",
|
|
9304
|
-
tde_credential_password="tdeCredentialPassword",
|
|
9305
|
-
timezone="timezone",
|
|
9306
|
-
use_default_processor_features=False,
|
|
9307
|
-
use_latest_restorable_time=False,
|
|
9308
|
-
vpc_security_groups=["vpcSecurityGroups"]
|
|
9209
|
+
|
|
9210
|
+
# Apply DESTROY policy to all resources in a scope
|
|
9211
|
+
RemovalPolicies.of(scope).destroy()
|
|
9212
|
+
|
|
9213
|
+
# Apply RETAIN policy to all resources in a scope
|
|
9214
|
+
RemovalPolicies.of(scope).retain()
|
|
9215
|
+
|
|
9216
|
+
# Apply SNAPSHOT policy to all resources in a scope
|
|
9217
|
+
RemovalPolicies.of(scope).snapshot()
|
|
9218
|
+
|
|
9219
|
+
# Apply RETAIN_ON_UPDATE_OR_DELETE policy to all resources in a scope
|
|
9220
|
+
RemovalPolicies.of(scope).retain_on_update_or_delete()
|
|
9221
|
+
|
|
9222
|
+
# Apply RETAIN policy only to specific resource types
|
|
9223
|
+
RemovalPolicies.of(parent).retain(
|
|
9224
|
+
apply_to_resource_types=["AWS::DynamoDB::Table", bucket.cfn_resource_type, rds.CfnDBInstance.CFN_RESOURCE_TYPE_NAME
|
|
9225
|
+
]
|
|
9226
|
+
)
|
|
9227
|
+
|
|
9228
|
+
# Apply SNAPSHOT policy excluding specific resource types
|
|
9229
|
+
RemovalPolicies.of(scope).snapshot(
|
|
9230
|
+
exclude_resource_types=["AWS::Test::Resource"]
|
|
9309
9231
|
)
|
|
9310
9232
|
'''
|
|
9311
9233
|
|
|
@@ -9385,7 +9307,6 @@ class CfnDBInstance(
|
|
|
9385
9307
|
source_db_instance_identifier: typing.Optional[builtins.str] = None,
|
|
9386
9308
|
source_dbi_resource_id: typing.Optional[builtins.str] = None,
|
|
9387
9309
|
source_region: typing.Optional[builtins.str] = None,
|
|
9388
|
-
status_infos: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDBInstance.DBInstanceStatusInfoProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
9389
9310
|
storage_encrypted: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
9390
9311
|
storage_throughput: typing.Optional[jsii.Number] = None,
|
|
9391
9312
|
storage_type: typing.Optional[builtins.str] = None,
|
|
@@ -9471,7 +9392,6 @@ class CfnDBInstance(
|
|
|
9471
9392
|
:param source_db_instance_identifier: If you want to create a read replica DB instance, specify the ID of the source DB instance. Each DB instance can have a limited number of read replicas. For more information, see `Working with Read Replicas <https://docs.aws.amazon.com/AmazonRDS/latest/DeveloperGuide/USER_ReadRepl.html>`_ in the *Amazon RDS User Guide* . For information about constraints that apply to DB instance identifiers, see `Naming constraints in Amazon RDS <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints>`_ in the *Amazon RDS User Guide* . The ``SourceDBInstanceIdentifier`` property determines whether a DB instance is a read replica. If you remove the ``SourceDBInstanceIdentifier`` property from your template and then update your stack, AWS CloudFormation promotes the read replica to a standalone DB instance. If you specify the ``UseLatestRestorableTime`` or ``RestoreTime`` properties in conjunction with the ``SourceDBInstanceIdentifier`` property, RDS restores the DB instance to the requested point in time, thereby creating a new DB instance. .. epigraph:: - If you specify a source DB instance that uses VPC security groups, we recommend that you specify the ``VPCSecurityGroups`` property. If you don't specify the property, the read replica inherits the value of the ``VPCSecurityGroups`` property from the source DB when you create the replica. However, if you update the stack, AWS CloudFormation reverts the replica's ``VPCSecurityGroups`` property to the default value because it's not defined in the stack's template. This change might cause unexpected issues. - Read replicas don't support deletion policies. AWS CloudFormation ignores any deletion policy that's associated with a read replica. - If you specify ``SourceDBInstanceIdentifier`` , don't specify the ``DBSnapshotIdentifier`` property. You can't create a read replica from a snapshot. - Don't set the ``BackupRetentionPeriod`` , ``DBName`` , ``MasterUsername`` , ``MasterUserPassword`` , and ``PreferredBackupWindow`` properties. The database attributes are inherited from the source DB instance, and backups are disabled for read replicas. - If the source DB instance is in a different region than the read replica, specify the source region in ``SourceRegion`` , and specify an ARN for a valid DB instance in ``SourceDBInstanceIdentifier`` . For more information, see `Constructing a Amazon RDS Amazon Resource Name (ARN) <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html#USER_Tagging.ARN>`_ in the *Amazon RDS User Guide* . - For DB instances in Amazon Aurora clusters, don't specify this property. Amazon RDS automatically assigns writer and reader DB instances.
|
|
9472
9393
|
:param source_dbi_resource_id: The resource ID of the source DB instance from which to restore.
|
|
9473
9394
|
:param source_region: The ID of the region that contains the source DB instance for the read replica.
|
|
9474
|
-
:param status_infos: The status of a read replica. If the DB instance isn't a read replica, the value is blank.
|
|
9475
9395
|
:param storage_encrypted: A value that indicates whether the DB instance is encrypted. By default, it isn't encrypted. If you specify the ``KmsKeyId`` property, then you must enable encryption. If you specify the ``SourceDBInstanceIdentifier`` or ``SourceDbiResourceId`` property, don't specify this property. The value is inherited from the source DB instance, and if the DB instance is encrypted, the specified ``KmsKeyId`` property is used. If you specify the ``SourceDBInstanceAutomatedBackupsArn`` property, don't specify this property. The value is inherited from the source DB instance automated backup. If you specify ``DBSnapshotIdentifier`` property, don't specify this property. The value is inherited from the snapshot. *Amazon Aurora* Not applicable. The encryption for DB instances is managed by the DB cluster.
|
|
9476
9396
|
:param storage_throughput: Specifies the storage throughput value, in mebibyte per second (MiBps), for the DB instance. This setting applies only to the ``gp3`` storage type. This setting doesn't apply to RDS Custom or Amazon Aurora.
|
|
9477
9397
|
:param storage_type: The storage type to associate with the DB instance. If you specify ``io1`` , ``io2`` , or ``gp3`` , you must also include a value for the ``Iops`` parameter. This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster. Valid Values: ``gp2 | gp3 | io1 | io2 | standard`` Default: ``io1`` , if the ``Iops`` parameter is specified. Otherwise, ``gp3`` .
|
|
@@ -9559,7 +9479,6 @@ class CfnDBInstance(
|
|
|
9559
9479
|
source_db_instance_identifier=source_db_instance_identifier,
|
|
9560
9480
|
source_dbi_resource_id=source_dbi_resource_id,
|
|
9561
9481
|
source_region=source_region,
|
|
9562
|
-
status_infos=status_infos,
|
|
9563
9482
|
storage_encrypted=storage_encrypted,
|
|
9564
9483
|
storage_throughput=storage_throughput,
|
|
9565
9484
|
storage_type=storage_type,
|
|
@@ -10929,24 +10848,6 @@ class CfnDBInstance(
|
|
|
10929
10848
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10930
10849
|
jsii.set(self, "sourceRegion", value) # pyright: ignore[reportArgumentType]
|
|
10931
10850
|
|
|
10932
|
-
@builtins.property
|
|
10933
|
-
@jsii.member(jsii_name="statusInfos")
|
|
10934
|
-
def status_infos(
|
|
10935
|
-
self,
|
|
10936
|
-
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDBInstance.DBInstanceStatusInfoProperty"]]]]:
|
|
10937
|
-
'''The status of a read replica.'''
|
|
10938
|
-
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDBInstance.DBInstanceStatusInfoProperty"]]]], jsii.get(self, "statusInfos"))
|
|
10939
|
-
|
|
10940
|
-
@status_infos.setter
|
|
10941
|
-
def status_infos(
|
|
10942
|
-
self,
|
|
10943
|
-
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDBInstance.DBInstanceStatusInfoProperty"]]]],
|
|
10944
|
-
) -> None:
|
|
10945
|
-
if __debug__:
|
|
10946
|
-
type_hints = typing.get_type_hints(_typecheckingstub__4884ce950f15c984dfbc419b109b2a3debd2bad2b67c4c46d41dcddbe16eadc4)
|
|
10947
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10948
|
-
jsii.set(self, "statusInfos", value) # pyright: ignore[reportArgumentType]
|
|
10949
|
-
|
|
10950
10851
|
@builtins.property
|
|
10951
10852
|
@jsii.member(jsii_name="storageEncrypted")
|
|
10952
10853
|
def storage_encrypted(
|
|
@@ -11681,7 +11582,6 @@ class CfnDBInstance(
|
|
|
11681
11582
|
"source_db_instance_identifier": "sourceDbInstanceIdentifier",
|
|
11682
11583
|
"source_dbi_resource_id": "sourceDbiResourceId",
|
|
11683
11584
|
"source_region": "sourceRegion",
|
|
11684
|
-
"status_infos": "statusInfos",
|
|
11685
11585
|
"storage_encrypted": "storageEncrypted",
|
|
11686
11586
|
"storage_throughput": "storageThroughput",
|
|
11687
11587
|
"storage_type": "storageType",
|
|
@@ -11769,7 +11669,6 @@ class CfnDBInstanceProps:
|
|
|
11769
11669
|
source_db_instance_identifier: typing.Optional[builtins.str] = None,
|
|
11770
11670
|
source_dbi_resource_id: typing.Optional[builtins.str] = None,
|
|
11771
11671
|
source_region: typing.Optional[builtins.str] = None,
|
|
11772
|
-
status_infos: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDBInstance.DBInstanceStatusInfoProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
11773
11672
|
storage_encrypted: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
11774
11673
|
storage_throughput: typing.Optional[jsii.Number] = None,
|
|
11775
11674
|
storage_type: typing.Optional[builtins.str] = None,
|
|
@@ -11854,7 +11753,6 @@ class CfnDBInstanceProps:
|
|
|
11854
11753
|
:param source_db_instance_identifier: If you want to create a read replica DB instance, specify the ID of the source DB instance. Each DB instance can have a limited number of read replicas. For more information, see `Working with Read Replicas <https://docs.aws.amazon.com/AmazonRDS/latest/DeveloperGuide/USER_ReadRepl.html>`_ in the *Amazon RDS User Guide* . For information about constraints that apply to DB instance identifiers, see `Naming constraints in Amazon RDS <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints>`_ in the *Amazon RDS User Guide* . The ``SourceDBInstanceIdentifier`` property determines whether a DB instance is a read replica. If you remove the ``SourceDBInstanceIdentifier`` property from your template and then update your stack, AWS CloudFormation promotes the read replica to a standalone DB instance. If you specify the ``UseLatestRestorableTime`` or ``RestoreTime`` properties in conjunction with the ``SourceDBInstanceIdentifier`` property, RDS restores the DB instance to the requested point in time, thereby creating a new DB instance. .. epigraph:: - If you specify a source DB instance that uses VPC security groups, we recommend that you specify the ``VPCSecurityGroups`` property. If you don't specify the property, the read replica inherits the value of the ``VPCSecurityGroups`` property from the source DB when you create the replica. However, if you update the stack, AWS CloudFormation reverts the replica's ``VPCSecurityGroups`` property to the default value because it's not defined in the stack's template. This change might cause unexpected issues. - Read replicas don't support deletion policies. AWS CloudFormation ignores any deletion policy that's associated with a read replica. - If you specify ``SourceDBInstanceIdentifier`` , don't specify the ``DBSnapshotIdentifier`` property. You can't create a read replica from a snapshot. - Don't set the ``BackupRetentionPeriod`` , ``DBName`` , ``MasterUsername`` , ``MasterUserPassword`` , and ``PreferredBackupWindow`` properties. The database attributes are inherited from the source DB instance, and backups are disabled for read replicas. - If the source DB instance is in a different region than the read replica, specify the source region in ``SourceRegion`` , and specify an ARN for a valid DB instance in ``SourceDBInstanceIdentifier`` . For more information, see `Constructing a Amazon RDS Amazon Resource Name (ARN) <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html#USER_Tagging.ARN>`_ in the *Amazon RDS User Guide* . - For DB instances in Amazon Aurora clusters, don't specify this property. Amazon RDS automatically assigns writer and reader DB instances.
|
|
11855
11754
|
:param source_dbi_resource_id: The resource ID of the source DB instance from which to restore.
|
|
11856
11755
|
:param source_region: The ID of the region that contains the source DB instance for the read replica.
|
|
11857
|
-
:param status_infos: The status of a read replica. If the DB instance isn't a read replica, the value is blank.
|
|
11858
11756
|
:param storage_encrypted: A value that indicates whether the DB instance is encrypted. By default, it isn't encrypted. If you specify the ``KmsKeyId`` property, then you must enable encryption. If you specify the ``SourceDBInstanceIdentifier`` or ``SourceDbiResourceId`` property, don't specify this property. The value is inherited from the source DB instance, and if the DB instance is encrypted, the specified ``KmsKeyId`` property is used. If you specify the ``SourceDBInstanceAutomatedBackupsArn`` property, don't specify this property. The value is inherited from the source DB instance automated backup. If you specify ``DBSnapshotIdentifier`` property, don't specify this property. The value is inherited from the snapshot. *Amazon Aurora* Not applicable. The encryption for DB instances is managed by the DB cluster.
|
|
11859
11757
|
:param storage_throughput: Specifies the storage throughput value, in mebibyte per second (MiBps), for the DB instance. This setting applies only to the ``gp3`` storage type. This setting doesn't apply to RDS Custom or Amazon Aurora.
|
|
11860
11758
|
:param storage_type: The storage type to associate with the DB instance. If you specify ``io1`` , ``io2`` , or ``gp3`` , you must also include a value for the ``Iops`` parameter. This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster. Valid Values: ``gp2 | gp3 | io1 | io2 | standard`` Default: ``io1`` , if the ``Iops`` parameter is specified. Otherwise, ``gp3`` .
|
|
@@ -11956,12 +11854,6 @@ class CfnDBInstanceProps:
|
|
|
11956
11854
|
source_db_instance_identifier="sourceDbInstanceIdentifier",
|
|
11957
11855
|
source_dbi_resource_id="sourceDbiResourceId",
|
|
11958
11856
|
source_region="sourceRegion",
|
|
11959
|
-
status_infos=[rds.CfnDBInstance.DBInstanceStatusInfoProperty(
|
|
11960
|
-
message="message",
|
|
11961
|
-
normal=False,
|
|
11962
|
-
status="status",
|
|
11963
|
-
status_type="statusType"
|
|
11964
|
-
)],
|
|
11965
11857
|
storage_encrypted=False,
|
|
11966
11858
|
storage_throughput=123,
|
|
11967
11859
|
storage_type="storageType",
|
|
@@ -12050,7 +11942,6 @@ class CfnDBInstanceProps:
|
|
|
12050
11942
|
check_type(argname="argument source_db_instance_identifier", value=source_db_instance_identifier, expected_type=type_hints["source_db_instance_identifier"])
|
|
12051
11943
|
check_type(argname="argument source_dbi_resource_id", value=source_dbi_resource_id, expected_type=type_hints["source_dbi_resource_id"])
|
|
12052
11944
|
check_type(argname="argument source_region", value=source_region, expected_type=type_hints["source_region"])
|
|
12053
|
-
check_type(argname="argument status_infos", value=status_infos, expected_type=type_hints["status_infos"])
|
|
12054
11945
|
check_type(argname="argument storage_encrypted", value=storage_encrypted, expected_type=type_hints["storage_encrypted"])
|
|
12055
11946
|
check_type(argname="argument storage_throughput", value=storage_throughput, expected_type=type_hints["storage_throughput"])
|
|
12056
11947
|
check_type(argname="argument storage_type", value=storage_type, expected_type=type_hints["storage_type"])
|
|
@@ -12204,8 +12095,6 @@ class CfnDBInstanceProps:
|
|
|
12204
12095
|
self._values["source_dbi_resource_id"] = source_dbi_resource_id
|
|
12205
12096
|
if source_region is not None:
|
|
12206
12097
|
self._values["source_region"] = source_region
|
|
12207
|
-
if status_infos is not None:
|
|
12208
|
-
self._values["status_infos"] = status_infos
|
|
12209
12098
|
if storage_encrypted is not None:
|
|
12210
12099
|
self._values["storage_encrypted"] = storage_encrypted
|
|
12211
12100
|
if storage_throughput is not None:
|
|
@@ -13661,19 +13550,6 @@ class CfnDBInstanceProps:
|
|
|
13661
13550
|
result = self._values.get("source_region")
|
|
13662
13551
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
13663
13552
|
|
|
13664
|
-
@builtins.property
|
|
13665
|
-
def status_infos(
|
|
13666
|
-
self,
|
|
13667
|
-
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnDBInstance.DBInstanceStatusInfoProperty]]]]:
|
|
13668
|
-
'''The status of a read replica.
|
|
13669
|
-
|
|
13670
|
-
If the DB instance isn't a read replica, the value is blank.
|
|
13671
|
-
|
|
13672
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-statusinfos
|
|
13673
|
-
'''
|
|
13674
|
-
result = self._values.get("status_infos")
|
|
13675
|
-
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnDBInstance.DBInstanceStatusInfoProperty]]]], result)
|
|
13676
|
-
|
|
13677
13553
|
@builtins.property
|
|
13678
13554
|
def storage_encrypted(
|
|
13679
13555
|
self,
|
|
@@ -14288,7 +14164,7 @@ class CfnDBProxy(
|
|
|
14288
14164
|
:param engine_family: The kinds of databases that the proxy can connect to. This value determines which database network protocol the proxy recognizes when it interprets network traffic to and from the database. For Aurora MySQL, RDS for MariaDB, and RDS for MySQL databases, specify ``MYSQL`` . For Aurora PostgreSQL and RDS for PostgreSQL databases, specify ``POSTGRESQL`` . For RDS for Microsoft SQL Server, specify ``SQLSERVER`` .
|
|
14289
14165
|
:param role_arn: The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in AWS Secrets Manager.
|
|
14290
14166
|
:param vpc_subnet_ids: One or more VPC subnet IDs to associate with the new proxy.
|
|
14291
|
-
:param debug_logging: Specifies whether the proxy
|
|
14167
|
+
:param debug_logging: Specifies whether the proxy logs detailed connection and query information. When you enable ``DebugLogging`` , the proxy captures connection details and connection pool behavior from your queries. Debug logging increases CloudWatch costs and can impact proxy performance. Enable this option only when you need to troubleshoot connection or performance issues.
|
|
14292
14168
|
:param idle_client_timeout: The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it. You can set this value higher or lower than the connection timeout limit for the associated database.
|
|
14293
14169
|
:param require_tls: Specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy. By enabling this setting, you can enforce encrypted TLS connections to the proxy.
|
|
14294
14170
|
:param tags: An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
|
|
@@ -14458,7 +14334,7 @@ class CfnDBProxy(
|
|
|
14458
14334
|
def debug_logging(
|
|
14459
14335
|
self,
|
|
14460
14336
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
14461
|
-
'''Specifies whether the proxy
|
|
14337
|
+
'''Specifies whether the proxy logs detailed connection and query information.'''
|
|
14462
14338
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "debugLogging"))
|
|
14463
14339
|
|
|
14464
14340
|
@debug_logging.setter
|
|
@@ -15242,7 +15118,7 @@ class CfnDBProxyProps:
|
|
|
15242
15118
|
:param engine_family: The kinds of databases that the proxy can connect to. This value determines which database network protocol the proxy recognizes when it interprets network traffic to and from the database. For Aurora MySQL, RDS for MariaDB, and RDS for MySQL databases, specify ``MYSQL`` . For Aurora PostgreSQL and RDS for PostgreSQL databases, specify ``POSTGRESQL`` . For RDS for Microsoft SQL Server, specify ``SQLSERVER`` .
|
|
15243
15119
|
:param role_arn: The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in AWS Secrets Manager.
|
|
15244
15120
|
:param vpc_subnet_ids: One or more VPC subnet IDs to associate with the new proxy.
|
|
15245
|
-
:param debug_logging: Specifies whether the proxy
|
|
15121
|
+
:param debug_logging: Specifies whether the proxy logs detailed connection and query information. When you enable ``DebugLogging`` , the proxy captures connection details and connection pool behavior from your queries. Debug logging increases CloudWatch costs and can impact proxy performance. Enable this option only when you need to troubleshoot connection or performance issues.
|
|
15246
15122
|
:param idle_client_timeout: The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it. You can set this value higher or lower than the connection timeout limit for the associated database.
|
|
15247
15123
|
:param require_tls: Specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy. By enabling this setting, you can enforce encrypted TLS connections to the proxy.
|
|
15248
15124
|
:param tags: An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
|
|
@@ -15371,9 +15247,9 @@ class CfnDBProxyProps:
|
|
|
15371
15247
|
def debug_logging(
|
|
15372
15248
|
self,
|
|
15373
15249
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
15374
|
-
'''Specifies whether the proxy
|
|
15250
|
+
'''Specifies whether the proxy logs detailed connection and query information.
|
|
15375
15251
|
|
|
15376
|
-
|
|
15252
|
+
When you enable ``DebugLogging`` , the proxy captures connection details and connection pool behavior from your queries. Debug logging increases CloudWatch costs and can impact proxy performance. Enable this option only when you need to troubleshoot connection or performance issues.
|
|
15377
15253
|
|
|
15378
15254
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxy.html#cfn-rds-dbproxy-debuglogging
|
|
15379
15255
|
'''
|
|
@@ -50270,7 +50146,6 @@ def _typecheckingstub__255b0779ca741853674876540bf77279f6293bea05de2cd18724d2b92
|
|
|
50270
50146
|
source_db_instance_identifier: typing.Optional[builtins.str] = None,
|
|
50271
50147
|
source_dbi_resource_id: typing.Optional[builtins.str] = None,
|
|
50272
50148
|
source_region: typing.Optional[builtins.str] = None,
|
|
50273
|
-
status_infos: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDBInstance.DBInstanceStatusInfoProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
50274
50149
|
storage_encrypted: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
50275
50150
|
storage_throughput: typing.Optional[jsii.Number] = None,
|
|
50276
50151
|
storage_type: typing.Optional[builtins.str] = None,
|
|
@@ -50723,12 +50598,6 @@ def _typecheckingstub__54e6abd38ac0878b58009488af0c37180d8361eafe2d4e20fd21251d2
|
|
|
50723
50598
|
"""Type checking stubs"""
|
|
50724
50599
|
pass
|
|
50725
50600
|
|
|
50726
|
-
def _typecheckingstub__4884ce950f15c984dfbc419b109b2a3debd2bad2b67c4c46d41dcddbe16eadc4(
|
|
50727
|
-
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnDBInstance.DBInstanceStatusInfoProperty]]]],
|
|
50728
|
-
) -> None:
|
|
50729
|
-
"""Type checking stubs"""
|
|
50730
|
-
pass
|
|
50731
|
-
|
|
50732
50601
|
def _typecheckingstub__e45dbb04a9f91d51cce34e9ad406fb8b0bf3ca45ebf5191d2c3fe3ef60c0f73a(
|
|
50733
50602
|
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
50734
50603
|
) -> None:
|
|
@@ -50913,7 +50782,6 @@ def _typecheckingstub__3bddb1be0bd1f1699e3a084c5859d94d8879ff15011f2f2eaac29ec16
|
|
|
50913
50782
|
source_db_instance_identifier: typing.Optional[builtins.str] = None,
|
|
50914
50783
|
source_dbi_resource_id: typing.Optional[builtins.str] = None,
|
|
50915
50784
|
source_region: typing.Optional[builtins.str] = None,
|
|
50916
|
-
status_infos: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDBInstance.DBInstanceStatusInfoProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
50917
50785
|
storage_encrypted: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
50918
50786
|
storage_throughput: typing.Optional[jsii.Number] = None,
|
|
50919
50787
|
storage_type: typing.Optional[builtins.str] = None,
|
|
@@ -151,7 +151,7 @@ class CfnAccessPoint(
|
|
|
151
151
|
:param policy: The access point policy associated with the specified access point.
|
|
152
152
|
:param public_access_block_configuration: Public access is blocked by default to access points for directory buckets.
|
|
153
153
|
:param scope: You can use the access point scope to restrict access to specific prefixes, API operations, or a combination of both. For more information, see `Manage the scope of your access points for directory buckets. <https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points-directory-buckets-manage-scope.html>`_
|
|
154
|
-
:param tags:
|
|
154
|
+
:param tags: An array of tags that you can apply to access points. Tags are key-value pairs of metadata used to categorize your access points and control access. For more information, see `Using tags for attribute-based access control (ABAC) <https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html#using-tags-for-abac>`_ .
|
|
155
155
|
:param vpc_configuration: If you include this field, Amazon S3 restricts access to this access point to requests from the specified virtual private cloud (VPC).
|
|
156
156
|
'''
|
|
157
157
|
if __debug__:
|
|
@@ -321,6 +321,7 @@ class CfnAccessPoint(
|
|
|
321
321
|
@builtins.property
|
|
322
322
|
@jsii.member(jsii_name="tags")
|
|
323
323
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
324
|
+
'''An array of tags that you can apply to access points.'''
|
|
324
325
|
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
325
326
|
|
|
326
327
|
@tags.setter
|
|
@@ -640,7 +641,7 @@ class CfnAccessPointProps:
|
|
|
640
641
|
:param policy: The access point policy associated with the specified access point.
|
|
641
642
|
:param public_access_block_configuration: Public access is blocked by default to access points for directory buckets.
|
|
642
643
|
:param scope: You can use the access point scope to restrict access to specific prefixes, API operations, or a combination of both. For more information, see `Manage the scope of your access points for directory buckets. <https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points-directory-buckets-manage-scope.html>`_
|
|
643
|
-
:param tags:
|
|
644
|
+
:param tags: An array of tags that you can apply to access points. Tags are key-value pairs of metadata used to categorize your access points and control access. For more information, see `Using tags for attribute-based access control (ABAC) <https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html#using-tags-for-abac>`_ .
|
|
644
645
|
:param vpc_configuration: If you include this field, Amazon S3 restricts access to this access point to requests from the specified virtual private cloud (VPC).
|
|
645
646
|
|
|
646
647
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3express-accesspoint.html
|
|
@@ -773,7 +774,10 @@ class CfnAccessPointProps:
|
|
|
773
774
|
|
|
774
775
|
@builtins.property
|
|
775
776
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
776
|
-
'''
|
|
777
|
+
'''An array of tags that you can apply to access points.
|
|
778
|
+
|
|
779
|
+
Tags are key-value pairs of metadata used to categorize your access points and control access. For more information, see `Using tags for attribute-based access control (ABAC) <https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html#using-tags-for-abac>`_ .
|
|
780
|
+
|
|
777
781
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3express-accesspoint.html#cfn-s3express-accesspoint-tags
|
|
778
782
|
'''
|
|
779
783
|
result = self._values.get("tags")
|
aws_cdk/aws_s3tables/__init__.py
CHANGED
|
@@ -1267,7 +1267,7 @@ class CfnTableBucketPolicy(
|
|
|
1267
1267
|
metaclass=jsii.JSIIMeta,
|
|
1268
1268
|
jsii_type="aws-cdk-lib.aws_s3tables.CfnTableBucketPolicy",
|
|
1269
1269
|
):
|
|
1270
|
-
'''Creates a new
|
|
1270
|
+
'''Creates a new table bucket policy or replaces an existing table bucket policy for a table bucket.
|
|
1271
1271
|
|
|
1272
1272
|
For more information, see `Adding a table bucket policy <https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-bucket-policy.html#table-bucket-policy-add>`_ in the *Amazon Simple Storage Service User Guide* .
|
|
1273
1273
|
|
|
@@ -1568,7 +1568,7 @@ class CfnTablePolicy(
|
|
|
1568
1568
|
metaclass=jsii.JSIIMeta,
|
|
1569
1569
|
jsii_type="aws-cdk-lib.aws_s3tables.CfnTablePolicy",
|
|
1570
1570
|
):
|
|
1571
|
-
'''Creates a new
|
|
1571
|
+
'''Creates a new table policy or replaces an existing table policy for a table.
|
|
1572
1572
|
|
|
1573
1573
|
For more information, see `Adding a table policy <https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-table-policy.html#table-policy-add>`_ in the *Amazon Simple Storage Service User Guide* .
|
|
1574
1574
|
|