aws-sdk-rds 1.102.0 → 1.107.0
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.
- checksums.yaml +4 -4
- data/lib/aws-sdk-rds.rb +1 -1
- data/lib/aws-sdk-rds/client.rb +517 -215
- data/lib/aws-sdk-rds/client_api.rb +68 -5
- data/lib/aws-sdk-rds/db_cluster.rb +60 -43
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +40 -22
- data/lib/aws-sdk-rds/db_engine_version.rb +0 -6
- data/lib/aws-sdk-rds/db_instance.rb +94 -72
- data/lib/aws-sdk-rds/db_snapshot.rb +38 -20
- data/lib/aws-sdk-rds/plugins/cross_region_copying.rb +11 -12
- data/lib/aws-sdk-rds/resource.rb +54 -67
- data/lib/aws-sdk-rds/types.rb +476 -260
- metadata +2 -2
@@ -119,12 +119,6 @@ module Aws::RDS
|
|
119
119
|
end
|
120
120
|
|
121
121
|
# A list of the supported DB engine modes.
|
122
|
-
#
|
123
|
-
# <note markdown="1"> `global` engine mode only applies for global database clusters created
|
124
|
-
# with Aurora MySQL version 5.6.10a. For higher Aurora MySQL versions,
|
125
|
-
# the clusters in a global database use `provisioned` engine mode.
|
126
|
-
#
|
127
|
-
# </note>
|
128
122
|
# @return [Array<String>]
|
129
123
|
def supported_engine_modes
|
130
124
|
data[:supported_engine_modes]
|
@@ -341,6 +341,9 @@ module Aws::RDS
|
|
341
341
|
|
342
342
|
# If `StorageEncrypted` is true, the AWS KMS key identifier for the
|
343
343
|
# encrypted DB instance.
|
344
|
+
#
|
345
|
+
# The AWS KMS key identifier is the key ARN, key ID, alias ARN, or alias
|
346
|
+
# name for the AWS KMS customer master key (CMK).
|
344
347
|
# @return [String]
|
345
348
|
def kms_key_id
|
346
349
|
data[:kms_key_id]
|
@@ -348,7 +351,7 @@ module Aws::RDS
|
|
348
351
|
|
349
352
|
# The AWS Region-unique, immutable identifier for the DB instance. This
|
350
353
|
# identifier is found in AWS CloudTrail log entries whenever the AWS KMS
|
351
|
-
# key for the DB instance is accessed.
|
354
|
+
# customer master key (CMK) for the DB instance is accessed.
|
352
355
|
# @return [String]
|
353
356
|
def dbi_resource_id
|
354
357
|
data[:dbi_resource_id]
|
@@ -454,8 +457,10 @@ module Aws::RDS
|
|
454
457
|
end
|
455
458
|
|
456
459
|
# The AWS KMS key identifier for encryption of Performance Insights
|
457
|
-
# data.
|
458
|
-
#
|
460
|
+
# data.
|
461
|
+
#
|
462
|
+
# The AWS KMS key identifier is the key ARN, key ID, alias ARN, or alias
|
463
|
+
# name for the AWS KMS customer master key (CMK).
|
459
464
|
# @return [String]
|
460
465
|
def performance_insights_kms_key_id
|
461
466
|
data[:performance_insights_kms_key_id]
|
@@ -522,6 +527,24 @@ module Aws::RDS
|
|
522
527
|
data[:max_allocated_storage]
|
523
528
|
end
|
524
529
|
|
530
|
+
# A list of tags. For more information, see [Tagging Amazon RDS
|
531
|
+
# Resources][1] in the *Amazon RDS User Guide.*
|
532
|
+
#
|
533
|
+
#
|
534
|
+
#
|
535
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
|
536
|
+
# @return [Array<Types::Tag>]
|
537
|
+
def tag_list
|
538
|
+
data[:tag_list]
|
539
|
+
end
|
540
|
+
|
541
|
+
# The list of replicated automated backups associated with the DB
|
542
|
+
# instance.
|
543
|
+
# @return [Array<Types::DBInstanceAutomatedBackupsReplication>]
|
544
|
+
def db_instance_automated_backups_replications
|
545
|
+
data[:db_instance_automated_backups_replications]
|
546
|
+
end
|
547
|
+
|
525
548
|
# @!endgroup
|
526
549
|
|
527
550
|
# @return [Client]
|
@@ -1216,8 +1239,8 @@ module Aws::RDS
|
|
1216
1239
|
#
|
1217
1240
|
# **Microsoft SQL Server**
|
1218
1241
|
#
|
1219
|
-
# See [
|
1220
|
-
# User Guide.*
|
1242
|
+
# See [Microsoft SQL Server Versions on Amazon RDS][2] in the *Amazon
|
1243
|
+
# RDS User Guide.*
|
1221
1244
|
#
|
1222
1245
|
# **MySQL**
|
1223
1246
|
#
|
@@ -1236,7 +1259,7 @@ module Aws::RDS
|
|
1236
1259
|
#
|
1237
1260
|
#
|
1238
1261
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt
|
1239
|
-
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.
|
1262
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport
|
1240
1263
|
# [3]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt
|
1241
1264
|
# [4]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.PatchComposition.html
|
1242
1265
|
# [5]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts.General.DBVersions
|
@@ -1344,22 +1367,19 @@ module Aws::RDS
|
|
1344
1367
|
# @option options [String] :kms_key_id
|
1345
1368
|
# The AWS KMS key identifier for an encrypted DB instance.
|
1346
1369
|
#
|
1347
|
-
# The KMS key identifier is the
|
1348
|
-
#
|
1349
|
-
# account
|
1350
|
-
# instance, then you can use the KMS key alias instead of the ARN for
|
1351
|
-
# the KM encryption key.
|
1370
|
+
# The AWS KMS key identifier is the key ARN, key ID, alias ARN, or alias
|
1371
|
+
# name for the AWS KMS customer master key (CMK). To use a CMK in a
|
1372
|
+
# different AWS account, specify the key ARN or alias ARN.
|
1352
1373
|
#
|
1353
1374
|
# **Amazon Aurora**
|
1354
1375
|
#
|
1355
|
-
# Not applicable. The KMS key identifier is managed by the DB
|
1356
|
-
# For more information, see `CreateDBCluster`.
|
1376
|
+
# Not applicable. The AWS KMS key identifier is managed by the DB
|
1377
|
+
# cluster. For more information, see `CreateDBCluster`.
|
1357
1378
|
#
|
1358
1379
|
# If `StorageEncrypted` is enabled, and you do not specify a value for
|
1359
|
-
# the `KmsKeyId` parameter, then Amazon RDS
|
1360
|
-
#
|
1361
|
-
#
|
1362
|
-
# for each AWS Region.
|
1380
|
+
# the `KmsKeyId` parameter, then Amazon RDS uses your default CMK. There
|
1381
|
+
# is a default CMK for your AWS account. Your AWS account has a
|
1382
|
+
# different default CMK for each AWS Region.
|
1363
1383
|
# @option options [String] :domain
|
1364
1384
|
# The Active Directory directory ID to create the DB instance in.
|
1365
1385
|
# Currently, only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB
|
@@ -1430,29 +1450,8 @@ module Aws::RDS
|
|
1430
1450
|
# Access Management (IAM) accounts to database accounts. By default,
|
1431
1451
|
# mapping is disabled.
|
1432
1452
|
#
|
1433
|
-
#
|
1434
|
-
#
|
1435
|
-
#
|
1436
|
-
# **Amazon Aurora**
|
1437
|
-
#
|
1438
|
-
# Not applicable. Mapping AWS IAM accounts to database accounts is
|
1439
|
-
# managed by the DB cluster.
|
1440
|
-
#
|
1441
|
-
# **MySQL**
|
1442
|
-
#
|
1443
|
-
# * For MySQL 5.6, minor version 5.6.34 or higher
|
1444
|
-
#
|
1445
|
-
# * For MySQL 5.7, minor version 5.7.16 or higher
|
1446
|
-
#
|
1447
|
-
# * For MySQL 8.0, minor version 8.0.16 or higher
|
1448
|
-
#
|
1449
|
-
# **PostgreSQL**
|
1450
|
-
#
|
1451
|
-
# * For PostgreSQL 9.5, minor version 9.5.15 or higher
|
1452
|
-
#
|
1453
|
-
# * For PostgreSQL 9.6, minor version 9.6.11 or higher
|
1454
|
-
#
|
1455
|
-
# * PostgreSQL 10.6, 10.7, and 10.9
|
1453
|
+
# This setting doesn't apply to Amazon Aurora. Mapping AWS IAM accounts
|
1454
|
+
# to database accounts is managed by the DB cluster.
|
1456
1455
|
#
|
1457
1456
|
# For more information, see [ IAM Database Authentication for MySQL and
|
1458
1457
|
# PostgreSQL][1] in the *Amazon RDS User Guide.*
|
@@ -1472,13 +1471,15 @@ module Aws::RDS
|
|
1472
1471
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html
|
1473
1472
|
# @option options [String] :performance_insights_kms_key_id
|
1474
1473
|
# The AWS KMS key identifier for encryption of Performance Insights
|
1475
|
-
# data.
|
1476
|
-
#
|
1474
|
+
# data.
|
1475
|
+
#
|
1476
|
+
# The AWS KMS key identifier is the key ARN, key ID, alias ARN, or alias
|
1477
|
+
# name for the AWS KMS customer master key (CMK).
|
1477
1478
|
#
|
1478
1479
|
# If you do not specify a value for `PerformanceInsightsKMSKeyId`, then
|
1479
|
-
# Amazon RDS uses your default
|
1480
|
-
#
|
1481
|
-
#
|
1480
|
+
# Amazon RDS uses your default CMK. There is a default CMK for your AWS
|
1481
|
+
# account. Your AWS account has a different default CMK for each AWS
|
1482
|
+
# Region.
|
1482
1483
|
# @option options [Integer] :performance_insights_retention_period
|
1483
1484
|
# The amount of time, in days, to retain Performance Insights data.
|
1484
1485
|
# Valid values are 7 or 731 (2 years).
|
@@ -1489,6 +1490,10 @@ module Aws::RDS
|
|
1489
1490
|
# CloudWatch Logs ][1] in the *Amazon Relational Database Service User
|
1490
1491
|
# Guide*.
|
1491
1492
|
#
|
1493
|
+
# **Amazon Aurora**
|
1494
|
+
#
|
1495
|
+
# Not applicable. CloudWatch Logs exports are managed by the DB cluster.
|
1496
|
+
#
|
1492
1497
|
# **MariaDB**
|
1493
1498
|
#
|
1494
1499
|
# Possible values are `audit`, `error`, `general`, and `slowquery`.
|
@@ -1588,6 +1593,7 @@ module Aws::RDS
|
|
1588
1593
|
# domain: "String",
|
1589
1594
|
# domain_iam_role_name: "String",
|
1590
1595
|
# replica_mode: "open-read-only", # accepts open-read-only, mounted
|
1596
|
+
# max_allocated_storage: 1,
|
1591
1597
|
# source_region: "String",
|
1592
1598
|
# })
|
1593
1599
|
# @param [Hash] options ({})
|
@@ -1752,20 +1758,21 @@ module Aws::RDS
|
|
1752
1758
|
#
|
1753
1759
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.html#USER_Monitoring.OS.IAMRole
|
1754
1760
|
# @option options [String] :kms_key_id
|
1755
|
-
# The AWS KMS key
|
1756
|
-
#
|
1757
|
-
#
|
1761
|
+
# The AWS KMS key identifier for an encrypted read replica.
|
1762
|
+
#
|
1763
|
+
# The AWS KMS key identifier is the key ARN, key ID, alias ARN, or alias
|
1764
|
+
# name for the AWS KMS CMK.
|
1758
1765
|
#
|
1759
1766
|
# If you create an encrypted read replica in the same AWS Region as the
|
1760
1767
|
# source DB instance, then you do not have to specify a value for this
|
1761
|
-
# parameter. The read replica is encrypted with the same KMS
|
1762
|
-
# source DB instance.
|
1768
|
+
# parameter. The read replica is encrypted with the same AWS KMS CMK as
|
1769
|
+
# the source DB instance.
|
1763
1770
|
#
|
1764
1771
|
# If you create an encrypted read replica in a different AWS Region,
|
1765
|
-
# then you must specify a KMS key for the destination AWS
|
1766
|
-
#
|
1767
|
-
# in, and you can't use
|
1768
|
-
#
|
1772
|
+
# then you must specify a AWS KMS key identifier for the destination AWS
|
1773
|
+
# Region. AWS KMS CMKs are specific to the AWS Region that they are
|
1774
|
+
# created in, and you can't use CMKs from one AWS Region in another AWS
|
1775
|
+
# Region.
|
1769
1776
|
#
|
1770
1777
|
# You can't create an encrypted read replica from an unencrypted DB
|
1771
1778
|
# instance.
|
@@ -1833,8 +1840,7 @@ module Aws::RDS
|
|
1833
1840
|
# @option options [Boolean] :enable_iam_database_authentication
|
1834
1841
|
# A value that indicates whether to enable mapping of AWS Identity and
|
1835
1842
|
# Access Management (IAM) accounts to database accounts. By default,
|
1836
|
-
# mapping is disabled.
|
1837
|
-
# see CreateDBInstance.
|
1843
|
+
# mapping is disabled.
|
1838
1844
|
#
|
1839
1845
|
# For more information about IAM database authentication, see [ IAM
|
1840
1846
|
# Database Authentication for MySQL and PostgreSQL][1] in the *Amazon
|
@@ -1855,13 +1861,15 @@ module Aws::RDS
|
|
1855
1861
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html
|
1856
1862
|
# @option options [String] :performance_insights_kms_key_id
|
1857
1863
|
# The AWS KMS key identifier for encryption of Performance Insights
|
1858
|
-
# data.
|
1859
|
-
#
|
1864
|
+
# data.
|
1865
|
+
#
|
1866
|
+
# The AWS KMS key identifier is the key ARN, key ID, alias ARN, or alias
|
1867
|
+
# name for the AWS KMS customer master key (CMK).
|
1860
1868
|
#
|
1861
1869
|
# If you do not specify a value for `PerformanceInsightsKMSKeyId`, then
|
1862
|
-
# Amazon RDS uses your default
|
1863
|
-
#
|
1864
|
-
#
|
1870
|
+
# Amazon RDS uses your default CMK. There is a default CMK for your AWS
|
1871
|
+
# account. Your AWS account has a different default CMK for each AWS
|
1872
|
+
# Region.
|
1865
1873
|
# @option options [Integer] :performance_insights_retention_period
|
1866
1874
|
# The amount of time, in days, to retain Performance Insights data.
|
1867
1875
|
# Valid values are 7 or 731 (2 years).
|
@@ -1924,7 +1932,9 @@ module Aws::RDS
|
|
1924
1932
|
#
|
1925
1933
|
#
|
1926
1934
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html
|
1927
|
-
# @option options [
|
1935
|
+
# @option options [Integer] :max_allocated_storage
|
1936
|
+
# The upper limit to which Amazon RDS can automatically scale the
|
1937
|
+
# storage of the DB instance.
|
1928
1938
|
# @option options [String] :source_region
|
1929
1939
|
# The source region of the snapshot. This is only needed when the
|
1930
1940
|
# shapshot is encrypted and in a different region.
|
@@ -2321,7 +2331,7 @@ module Aws::RDS
|
|
2321
2331
|
# The version number of the database engine to upgrade to. Changing this
|
2322
2332
|
# parameter results in an outage and the change is applied during the
|
2323
2333
|
# next maintenance window unless the `ApplyImmediately` parameter is
|
2324
|
-
#
|
2334
|
+
# enabled for this request.
|
2325
2335
|
#
|
2326
2336
|
# For major version upgrades, if a nondefault DB parameter group is
|
2327
2337
|
# currently in use, a new DB parameter group in the DB parameter group
|
@@ -2576,8 +2586,10 @@ module Aws::RDS
|
|
2576
2586
|
# @option options [Boolean] :enable_iam_database_authentication
|
2577
2587
|
# A value that indicates whether to enable mapping of AWS Identity and
|
2578
2588
|
# Access Management (IAM) accounts to database accounts. By default,
|
2579
|
-
# mapping is disabled.
|
2580
|
-
#
|
2589
|
+
# mapping is disabled.
|
2590
|
+
#
|
2591
|
+
# This setting doesn't apply to Amazon Aurora. Mapping AWS IAM accounts
|
2592
|
+
# to database accounts is managed by the DB cluster.
|
2581
2593
|
#
|
2582
2594
|
# For more information about IAM database authentication, see [ IAM
|
2583
2595
|
# Database Authentication for MySQL and PostgreSQL][1] in the *Amazon
|
@@ -2598,13 +2610,15 @@ module Aws::RDS
|
|
2598
2610
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html
|
2599
2611
|
# @option options [String] :performance_insights_kms_key_id
|
2600
2612
|
# The AWS KMS key identifier for encryption of Performance Insights
|
2601
|
-
# data.
|
2602
|
-
#
|
2613
|
+
# data.
|
2614
|
+
#
|
2615
|
+
# The AWS KMS key identifier is the key ARN, key ID, alias ARN, or alias
|
2616
|
+
# name for the AWS KMS customer master key (CMK).
|
2603
2617
|
#
|
2604
2618
|
# If you do not specify a value for `PerformanceInsightsKMSKeyId`, then
|
2605
|
-
# Amazon RDS uses your default
|
2606
|
-
#
|
2607
|
-
#
|
2619
|
+
# Amazon RDS uses your default CMK. There is a default CMK for your AWS
|
2620
|
+
# account. Your AWS account has a different default CMK for each AWS
|
2621
|
+
# Region.
|
2608
2622
|
# @option options [Integer] :performance_insights_retention_period
|
2609
2623
|
# The amount of time, in days, to retain Performance Insights data.
|
2610
2624
|
# Valid values are 7 or 731 (2 years).
|
@@ -2809,6 +2823,8 @@ module Aws::RDS
|
|
2809
2823
|
# db_parameter_group_name: "String",
|
2810
2824
|
# deletion_protection: false,
|
2811
2825
|
# source_dbi_resource_id: "String",
|
2826
|
+
# max_allocated_storage: 1,
|
2827
|
+
# source_db_instance_automated_backups_arn: "String",
|
2812
2828
|
# })
|
2813
2829
|
# @param [Hash] options ({})
|
2814
2830
|
# @option options [required, String] :target_db_instance_identifier
|
@@ -3008,8 +3024,7 @@ module Aws::RDS
|
|
3008
3024
|
# @option options [Boolean] :enable_iam_database_authentication
|
3009
3025
|
# A value that indicates whether to enable mapping of AWS Identity and
|
3010
3026
|
# Access Management (IAM) accounts to database accounts. By default,
|
3011
|
-
# mapping is disabled.
|
3012
|
-
# see CreateDBInstance.
|
3027
|
+
# mapping is disabled.
|
3013
3028
|
#
|
3014
3029
|
# For more information about IAM database authentication, see [ IAM
|
3015
3030
|
# Database Authentication for MySQL and PostgreSQL][1] in the *Amazon
|
@@ -3059,6 +3074,13 @@ module Aws::RDS
|
|
3059
3074
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
|
3060
3075
|
# @option options [String] :source_dbi_resource_id
|
3061
3076
|
# The resource ID of the source DB instance from which to restore.
|
3077
|
+
# @option options [Integer] :max_allocated_storage
|
3078
|
+
# The upper limit to which Amazon RDS can automatically scale the
|
3079
|
+
# storage of the DB instance.
|
3080
|
+
# @option options [String] :source_db_instance_automated_backups_arn
|
3081
|
+
# The Amazon Resource Name (ARN) of the replicated automated backups
|
3082
|
+
# from which to restore, for example,
|
3083
|
+
# `arn:aws:rds:useast-1:123456789012:auto-backup:ab-L2IJCEXJP7XQ7HOJ4SIEXAMPLE`.
|
3062
3084
|
# @return [DBInstance]
|
3063
3085
|
def restore(options = {})
|
3064
3086
|
options = options.merge(source_db_instance_identifier: @id)
|
@@ -44,7 +44,7 @@ module Aws::RDS
|
|
44
44
|
end
|
45
45
|
alias :db_snapshot_identifier :snapshot_id
|
46
46
|
|
47
|
-
# Specifies when the snapshot was taken in
|
47
|
+
# Specifies when the snapshot was taken in Coordinated Universal Time
|
48
48
|
# (UTC).
|
49
49
|
# @return [Time]
|
50
50
|
def snapshot_create_time
|
@@ -174,6 +174,9 @@ module Aws::RDS
|
|
174
174
|
|
175
175
|
# If `Encrypted` is true, the AWS KMS key identifier for the encrypted
|
176
176
|
# DB snapshot.
|
177
|
+
#
|
178
|
+
# The AWS KMS key identifier is the key ARN, key ID, alias ARN, or alias
|
179
|
+
# name for the AWS KMS customer master key (CMK).
|
177
180
|
# @return [String]
|
178
181
|
def kms_key_id
|
179
182
|
data[:kms_key_id]
|
@@ -215,6 +218,17 @@ module Aws::RDS
|
|
215
218
|
data[:dbi_resource_id]
|
216
219
|
end
|
217
220
|
|
221
|
+
# A list of tags. For more information, see [Tagging Amazon RDS
|
222
|
+
# Resources][1] in the *Amazon RDS User Guide.*
|
223
|
+
#
|
224
|
+
#
|
225
|
+
#
|
226
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
|
227
|
+
# @return [Array<Types::Tag>]
|
228
|
+
def tag_list
|
229
|
+
data[:tag_list]
|
230
|
+
end
|
231
|
+
|
218
232
|
# @!endgroup
|
219
233
|
|
220
234
|
# @return [Client]
|
@@ -396,6 +410,7 @@ module Aws::RDS
|
|
396
410
|
# copy_tags: false,
|
397
411
|
# pre_signed_url: "String",
|
398
412
|
# option_group_name: "String",
|
413
|
+
# target_custom_availability_zone: "String",
|
399
414
|
# source_region: "String",
|
400
415
|
# })
|
401
416
|
# @param [Hash] options ({})
|
@@ -414,14 +429,14 @@ module Aws::RDS
|
|
414
429
|
#
|
415
430
|
# Example: `my-db-snapshot`
|
416
431
|
# @option options [String] :kms_key_id
|
417
|
-
# The AWS KMS key
|
418
|
-
#
|
419
|
-
#
|
432
|
+
# The AWS KMS key identifier for an encrypted DB snapshot. The AWS KMS
|
433
|
+
# key identifier is the key ARN, key ID, alias ARN, or alias name for
|
434
|
+
# the AWS KMS customer master key (CMK).
|
420
435
|
#
|
421
436
|
# If you copy an encrypted DB snapshot from your AWS account, you can
|
422
|
-
# specify a value for this parameter to encrypt the copy with a new
|
423
|
-
#
|
424
|
-
#
|
437
|
+
# specify a value for this parameter to encrypt the copy with a new AWS
|
438
|
+
# KMS CMK. If you don't specify a value for this parameter, then the
|
439
|
+
# copy of the DB snapshot is encrypted with the same AWS KMS key as the
|
425
440
|
# source DB snapshot.
|
426
441
|
#
|
427
442
|
# If you copy an encrypted DB snapshot that is shared from another AWS
|
@@ -431,9 +446,9 @@ module Aws::RDS
|
|
431
446
|
# the copy is encrypted.
|
432
447
|
#
|
433
448
|
# If you copy an encrypted snapshot to a different AWS Region, then you
|
434
|
-
# must specify a KMS key for the destination AWS Region.
|
435
|
-
#
|
436
|
-
# can't use
|
449
|
+
# must specify a AWS KMS key identifier for the destination AWS Region.
|
450
|
+
# AWS KMS CMKs are specific to the AWS Region that they are created in,
|
451
|
+
# and you can't use CMKs from one AWS Region in another AWS Region.
|
437
452
|
# @option options [Array<Types::Tag>] :tags
|
438
453
|
# A list of tags. For more information, see [Tagging Amazon RDS
|
439
454
|
# Resources][1] in the *Amazon RDS User Guide.*
|
@@ -470,11 +485,11 @@ module Aws::RDS
|
|
470
485
|
# the us-west-2 AWS Region. For this example, the `DestinationRegion`
|
471
486
|
# in the presigned URL must be set to the us-east-1 AWS Region.
|
472
487
|
#
|
473
|
-
# * `KmsKeyId` - The AWS KMS key identifier for the
|
474
|
-
# encrypt the copy of the DB snapshot in the
|
475
|
-
# This is the same identifier for both the
|
476
|
-
# that is called in the destination AWS
|
477
|
-
# contained in the presigned URL.
|
488
|
+
# * `KmsKeyId` - The AWS KMS key identifier for the customer master key
|
489
|
+
# (CMK) to use to encrypt the copy of the DB snapshot in the
|
490
|
+
# destination AWS Region. This is the same identifier for both the
|
491
|
+
# `CopyDBSnapshot` action that is called in the destination AWS
|
492
|
+
# Region, and the action contained in the presigned URL.
|
478
493
|
#
|
479
494
|
# * `SourceDBSnapshotIdentifier` - The DB snapshot identifier for the
|
480
495
|
# encrypted snapshot to be copied. This identifier must be in the
|
@@ -514,7 +529,11 @@ module Aws::RDS
|
|
514
529
|
#
|
515
530
|
#
|
516
531
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_CopySnapshot.html#USER_CopySnapshot.Options
|
517
|
-
# @option options [String] :
|
532
|
+
# @option options [String] :target_custom_availability_zone
|
533
|
+
# The external custom Availability Zone (CAZ) identifier for the target
|
534
|
+
# CAZ.
|
535
|
+
#
|
536
|
+
# Example: `rds-caz-aiqhTgQv`.
|
518
537
|
# @option options [String] :source_region
|
519
538
|
# The source region of the snapshot. This is only needed when the
|
520
539
|
# shapshot is encrypted and in a different region.
|
@@ -778,8 +797,7 @@ module Aws::RDS
|
|
778
797
|
# @option options [Boolean] :enable_iam_database_authentication
|
779
798
|
# A value that indicates whether to enable mapping of AWS Identity and
|
780
799
|
# Access Management (IAM) accounts to database accounts. By default,
|
781
|
-
# mapping is disabled.
|
782
|
-
# see CreateDBInstance.
|
800
|
+
# mapping is disabled.
|
783
801
|
#
|
784
802
|
# For more information about IAM database authentication, see [ IAM
|
785
803
|
# Database Authentication for MySQL and PostgreSQL][1] in the *Amazon
|
@@ -792,11 +810,11 @@ module Aws::RDS
|
|
792
810
|
# The list of logs that the restored DB instance is to export to
|
793
811
|
# CloudWatch Logs. The values in the list depend on the DB engine being
|
794
812
|
# used. For more information, see [Publishing Database Logs to Amazon
|
795
|
-
# CloudWatch Logs][1] in the *Amazon
|
813
|
+
# CloudWatch Logs][1] in the *Amazon RDS User Guide*.
|
796
814
|
#
|
797
815
|
#
|
798
816
|
#
|
799
|
-
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/
|
817
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch
|
800
818
|
# @option options [Array<Types::ProcessorFeature>] :processor_features
|
801
819
|
# The number of CPU cores and the number of threads per core for the DB
|
802
820
|
# instance class of the DB instance.
|