aws-sdk-rds 1.290.0 → 1.294.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/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/client.rb +1518 -1355
- data/lib/aws-sdk-rds/client_api.rb +220 -159
- data/lib/aws-sdk-rds/customizations.rb +0 -1
- data/lib/aws-sdk-rds/db_cluster.rb +374 -341
- data/lib/aws-sdk-rds/db_cluster_parameter_group.rb +2 -2
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +25 -25
- data/lib/aws-sdk-rds/db_engine_version.rb +55 -55
- data/lib/aws-sdk-rds/db_instance.rb +317 -289
- data/lib/aws-sdk-rds/db_parameter_group.rb +2 -2
- data/lib/aws-sdk-rds/db_snapshot.rb +74 -74
- data/lib/aws-sdk-rds/option_group.rb +1 -1
- data/lib/aws-sdk-rds/resource.rb +212 -182
- data/lib/aws-sdk-rds/types.rb +1228 -1017
- data/lib/aws-sdk-rds.rb +1 -1
- data/sig/client.rbs +114 -105
- data/sig/db_cluster.rbs +68 -66
- data/sig/db_cluster_snapshot.rbs +6 -6
- data/sig/db_engine_version.rbs +21 -21
- data/sig/db_instance.rbs +47 -45
- data/sig/db_snapshot.rbs +14 -14
- data/sig/event.rbs +1 -1
- data/sig/resource.rbs +24 -22
- data/sig/types.rbs +133 -120
- metadata +1 -1
data/lib/aws-sdk-rds/resource.rb
CHANGED
@@ -50,7 +50,7 @@ module Aws::RDS
|
|
50
50
|
# engine_version: "String",
|
51
51
|
# port: 1,
|
52
52
|
# master_username: "String",
|
53
|
-
# master_user_password: "
|
53
|
+
# master_user_password: "SensitiveString",
|
54
54
|
# option_group_name: "String",
|
55
55
|
# preferred_backup_window: "String",
|
56
56
|
# preferred_maintenance_window: "String",
|
@@ -63,7 +63,7 @@ module Aws::RDS
|
|
63
63
|
# ],
|
64
64
|
# storage_encrypted: false,
|
65
65
|
# kms_key_id: "String",
|
66
|
-
# pre_signed_url: "
|
66
|
+
# pre_signed_url: "SensitiveString",
|
67
67
|
# enable_iam_database_authentication: false,
|
68
68
|
# backtrack_window: 1,
|
69
69
|
# enable_cloudwatch_logs_exports: ["String"],
|
@@ -81,19 +81,25 @@ module Aws::RDS
|
|
81
81
|
# transit_gateway_multicast_domain_id: "String",
|
82
82
|
# replica_mode: "open-read-only", # accepts open-read-only, mounted
|
83
83
|
# },
|
84
|
-
# deletion_protection: false,
|
85
|
-
# global_cluster_identifier: "String",
|
86
|
-
# enable_http_endpoint: false,
|
87
|
-
# copy_tags_to_snapshot: false,
|
88
|
-
# domain: "String",
|
89
|
-
# domain_iam_role_name: "String",
|
90
|
-
# enable_global_write_forwarding: false,
|
91
84
|
# db_cluster_instance_class: "String",
|
92
85
|
# allocated_storage: 1,
|
93
86
|
# storage_type: "String",
|
94
87
|
# iops: 1,
|
95
88
|
# publicly_accessible: false,
|
96
89
|
# auto_minor_version_upgrade: false,
|
90
|
+
# deletion_protection: false,
|
91
|
+
# global_cluster_identifier: "GlobalClusterIdentifier",
|
92
|
+
# enable_http_endpoint: false,
|
93
|
+
# copy_tags_to_snapshot: false,
|
94
|
+
# domain: "String",
|
95
|
+
# domain_iam_role_name: "String",
|
96
|
+
# enable_global_write_forwarding: false,
|
97
|
+
# network_type: "String",
|
98
|
+
# serverless_v2_scaling_configuration: {
|
99
|
+
# min_capacity: 1.0,
|
100
|
+
# max_capacity: 1.0,
|
101
|
+
# seconds_until_auto_pause: 1,
|
102
|
+
# },
|
97
103
|
# monitoring_interval: 1,
|
98
104
|
# monitoring_role_arn: "String",
|
99
105
|
# database_insights_mode: "standard", # accepts standard, advanced
|
@@ -101,19 +107,14 @@ module Aws::RDS
|
|
101
107
|
# performance_insights_kms_key_id: "String",
|
102
108
|
# performance_insights_retention_period: 1,
|
103
109
|
# enable_limitless_database: false,
|
104
|
-
#
|
105
|
-
# min_capacity: 1.0,
|
106
|
-
# max_capacity: 1.0,
|
107
|
-
# seconds_until_auto_pause: 1,
|
108
|
-
# },
|
109
|
-
# network_type: "String",
|
110
|
-
# cluster_scalability_type: "standard", # accepts standard, limitless
|
110
|
+
# cluster_scalability_type: "standard", # accepts standard, limitless, scaleout
|
111
111
|
# db_system_id: "String",
|
112
112
|
# manage_master_user_password: false,
|
113
|
-
# master_user_secret_kms_key_id: "String",
|
114
113
|
# enable_local_write_forwarding: false,
|
114
|
+
# master_user_secret_kms_key_id: "String",
|
115
115
|
# ca_certificate_identifier: "String",
|
116
116
|
# engine_lifecycle_support: "String",
|
117
|
+
# master_user_authentication_type: "password", # accepts password, iam-db-auth
|
117
118
|
# source_region: "String",
|
118
119
|
# })
|
119
120
|
# @param [Hash] options ({})
|
@@ -563,73 +564,6 @@ module Aws::RDS
|
|
563
564
|
# Valid for Cluster Type: Aurora DB clusters only
|
564
565
|
# @option options [Types::RdsCustomClusterConfiguration] :rds_custom_cluster_configuration
|
565
566
|
# Reserved for future use.
|
566
|
-
# @option options [Boolean] :deletion_protection
|
567
|
-
# Specifies whether the DB cluster has deletion protection enabled. The
|
568
|
-
# database can't be deleted when deletion protection is enabled. By
|
569
|
-
# default, deletion protection isn't enabled.
|
570
|
-
#
|
571
|
-
# Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
572
|
-
# @option options [String] :global_cluster_identifier
|
573
|
-
# The global cluster ID of an Aurora cluster that becomes the primary
|
574
|
-
# cluster in the new global database cluster.
|
575
|
-
#
|
576
|
-
# Valid for Cluster Type: Aurora DB clusters only
|
577
|
-
# @option options [Boolean] :enable_http_endpoint
|
578
|
-
# Specifies whether to enable the HTTP endpoint for the DB cluster. By
|
579
|
-
# default, the HTTP endpoint isn't enabled.
|
580
|
-
#
|
581
|
-
# When enabled, the HTTP endpoint provides a connectionless web service
|
582
|
-
# API (RDS Data API) for running SQL queries on the DB cluster. You can
|
583
|
-
# also query your database from inside the RDS console with the RDS
|
584
|
-
# query editor.
|
585
|
-
#
|
586
|
-
# For more information, see [Using RDS Data API][1] in the *Amazon
|
587
|
-
# Aurora User Guide*.
|
588
|
-
#
|
589
|
-
# Valid for Cluster Type: Aurora DB clusters only
|
590
|
-
#
|
591
|
-
#
|
592
|
-
#
|
593
|
-
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html
|
594
|
-
# @option options [Boolean] :copy_tags_to_snapshot
|
595
|
-
# Specifies whether to copy all tags from the DB cluster to snapshots of
|
596
|
-
# the DB cluster. The default is not to copy them.
|
597
|
-
#
|
598
|
-
# Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
599
|
-
# @option options [String] :domain
|
600
|
-
# The Active Directory directory ID to create the DB cluster in.
|
601
|
-
#
|
602
|
-
# For Amazon Aurora DB clusters, Amazon RDS can use Kerberos
|
603
|
-
# authentication to authenticate users that connect to the DB cluster.
|
604
|
-
#
|
605
|
-
# For more information, see [Kerberos authentication][1] in the *Amazon
|
606
|
-
# Aurora User Guide*.
|
607
|
-
#
|
608
|
-
# Valid for Cluster Type: Aurora DB clusters only
|
609
|
-
#
|
610
|
-
#
|
611
|
-
#
|
612
|
-
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/kerberos-authentication.html
|
613
|
-
# @option options [String] :domain_iam_role_name
|
614
|
-
# The name of the IAM role to use when making API calls to the Directory
|
615
|
-
# Service.
|
616
|
-
#
|
617
|
-
# Valid for Cluster Type: Aurora DB clusters only
|
618
|
-
# @option options [Boolean] :enable_global_write_forwarding
|
619
|
-
# Specifies whether to enable this DB cluster to forward write
|
620
|
-
# operations to the primary cluster of a global cluster (Aurora global
|
621
|
-
# database). By default, write operations are not allowed on Aurora DB
|
622
|
-
# clusters that are secondary clusters in an Aurora global database.
|
623
|
-
#
|
624
|
-
# You can set this value only on Aurora DB clusters that are members of
|
625
|
-
# an Aurora global database. With this parameter enabled, a secondary
|
626
|
-
# cluster can forward writes to the current primary cluster, and the
|
627
|
-
# resulting changes are replicated back to this cluster. For the primary
|
628
|
-
# DB cluster of an Aurora global database, this value is used
|
629
|
-
# immediately if the primary is demoted by a global cluster API
|
630
|
-
# operation, but it does nothing until then.
|
631
|
-
#
|
632
|
-
# Valid for Cluster Type: Aurora DB clusters only
|
633
567
|
# @option options [String] :db_cluster_instance_class
|
634
568
|
# The compute and memory capacity of each DB instance in the Multi-AZ DB
|
635
569
|
# cluster, for example `db.m6gd.xlarge`. Not all DB instance classes are
|
@@ -762,6 +696,100 @@ module Aws::RDS
|
|
762
696
|
#
|
763
697
|
#
|
764
698
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades
|
699
|
+
# @option options [Boolean] :deletion_protection
|
700
|
+
# Specifies whether the DB cluster has deletion protection enabled. The
|
701
|
+
# database can't be deleted when deletion protection is enabled. By
|
702
|
+
# default, deletion protection isn't enabled.
|
703
|
+
#
|
704
|
+
# Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
705
|
+
# @option options [String] :global_cluster_identifier
|
706
|
+
# The global cluster ID of an Aurora cluster that becomes the primary
|
707
|
+
# cluster in the new global database cluster.
|
708
|
+
#
|
709
|
+
# Valid for Cluster Type: Aurora DB clusters only
|
710
|
+
# @option options [Boolean] :enable_http_endpoint
|
711
|
+
# Specifies whether to enable the HTTP endpoint for the DB cluster. By
|
712
|
+
# default, the HTTP endpoint isn't enabled.
|
713
|
+
#
|
714
|
+
# When enabled, the HTTP endpoint provides a connectionless web service
|
715
|
+
# API (RDS Data API) for running SQL queries on the DB cluster. You can
|
716
|
+
# also query your database from inside the RDS console with the RDS
|
717
|
+
# query editor.
|
718
|
+
#
|
719
|
+
# For more information, see [Using RDS Data API][1] in the *Amazon
|
720
|
+
# Aurora User Guide*.
|
721
|
+
#
|
722
|
+
# Valid for Cluster Type: Aurora DB clusters only
|
723
|
+
#
|
724
|
+
#
|
725
|
+
#
|
726
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html
|
727
|
+
# @option options [Boolean] :copy_tags_to_snapshot
|
728
|
+
# Specifies whether to copy all tags from the DB cluster to snapshots of
|
729
|
+
# the DB cluster. The default is not to copy them.
|
730
|
+
#
|
731
|
+
# Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
732
|
+
# @option options [String] :domain
|
733
|
+
# The Active Directory directory ID to create the DB cluster in.
|
734
|
+
#
|
735
|
+
# For Amazon Aurora DB clusters, Amazon RDS can use Kerberos
|
736
|
+
# authentication to authenticate users that connect to the DB cluster.
|
737
|
+
#
|
738
|
+
# For more information, see [Kerberos authentication][1] in the *Amazon
|
739
|
+
# Aurora User Guide*.
|
740
|
+
#
|
741
|
+
# Valid for Cluster Type: Aurora DB clusters only
|
742
|
+
#
|
743
|
+
#
|
744
|
+
#
|
745
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/kerberos-authentication.html
|
746
|
+
# @option options [String] :domain_iam_role_name
|
747
|
+
# The name of the IAM role to use when making API calls to the Directory
|
748
|
+
# Service.
|
749
|
+
#
|
750
|
+
# Valid for Cluster Type: Aurora DB clusters only
|
751
|
+
# @option options [Boolean] :enable_global_write_forwarding
|
752
|
+
# Specifies whether to enable this DB cluster to forward write
|
753
|
+
# operations to the primary cluster of a global cluster (Aurora global
|
754
|
+
# database). By default, write operations are not allowed on Aurora DB
|
755
|
+
# clusters that are secondary clusters in an Aurora global database.
|
756
|
+
#
|
757
|
+
# You can set this value only on Aurora DB clusters that are members of
|
758
|
+
# an Aurora global database. With this parameter enabled, a secondary
|
759
|
+
# cluster can forward writes to the current primary cluster, and the
|
760
|
+
# resulting changes are replicated back to this cluster. For the primary
|
761
|
+
# DB cluster of an Aurora global database, this value is used
|
762
|
+
# immediately if the primary is demoted by a global cluster API
|
763
|
+
# operation, but it does nothing until then.
|
764
|
+
#
|
765
|
+
# Valid for Cluster Type: Aurora DB clusters only
|
766
|
+
# @option options [String] :network_type
|
767
|
+
# The network type of the DB cluster.
|
768
|
+
#
|
769
|
+
# The network type is determined by the `DBSubnetGroup` specified for
|
770
|
+
# the DB cluster. A `DBSubnetGroup` can support only the IPv4 protocol
|
771
|
+
# or the IPv4 and the IPv6 protocols (`DUAL`).
|
772
|
+
#
|
773
|
+
# For more information, see [ Working with a DB instance in a VPC][1] in
|
774
|
+
# the *Amazon Aurora User Guide.*
|
775
|
+
#
|
776
|
+
# Valid for Cluster Type: Aurora DB clusters only
|
777
|
+
#
|
778
|
+
# Valid Values: `IPV4 | DUAL`
|
779
|
+
#
|
780
|
+
#
|
781
|
+
#
|
782
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
|
783
|
+
# @option options [Types::ServerlessV2ScalingConfiguration] :serverless_v2_scaling_configuration
|
784
|
+
# Contains the scaling configuration of an Aurora Serverless v2 DB
|
785
|
+
# cluster.
|
786
|
+
#
|
787
|
+
# For more information, see [Using Amazon Aurora Serverless v2][1] in
|
788
|
+
# the *Amazon Aurora User Guide*.
|
789
|
+
#
|
790
|
+
#
|
791
|
+
#
|
792
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html
|
765
793
|
# @option options [Integer] :monitoring_interval
|
766
794
|
# The interval, in seconds, between points when Enhanced Monitoring
|
767
795
|
# metrics are collected for the DB cluster. To turn off collecting
|
@@ -851,33 +879,6 @@ module Aws::RDS
|
|
851
879
|
# `ClusterScalabilityType` setting.
|
852
880
|
#
|
853
881
|
# </note>
|
854
|
-
# @option options [Types::ServerlessV2ScalingConfiguration] :serverless_v2_scaling_configuration
|
855
|
-
# Contains the scaling configuration of an Aurora Serverless v2 DB
|
856
|
-
# cluster.
|
857
|
-
#
|
858
|
-
# For more information, see [Using Amazon Aurora Serverless v2][1] in
|
859
|
-
# the *Amazon Aurora User Guide*.
|
860
|
-
#
|
861
|
-
#
|
862
|
-
#
|
863
|
-
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html
|
864
|
-
# @option options [String] :network_type
|
865
|
-
# The network type of the DB cluster.
|
866
|
-
#
|
867
|
-
# The network type is determined by the `DBSubnetGroup` specified for
|
868
|
-
# the DB cluster. A `DBSubnetGroup` can support only the IPv4 protocol
|
869
|
-
# or the IPv4 and the IPv6 protocols (`DUAL`).
|
870
|
-
#
|
871
|
-
# For more information, see [ Working with a DB instance in a VPC][1] in
|
872
|
-
# the *Amazon Aurora User Guide.*
|
873
|
-
#
|
874
|
-
# Valid for Cluster Type: Aurora DB clusters only
|
875
|
-
#
|
876
|
-
# Valid Values: `IPV4 | DUAL`
|
877
|
-
#
|
878
|
-
#
|
879
|
-
#
|
880
|
-
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
|
881
882
|
# @option options [String] :cluster_scalability_type
|
882
883
|
# Specifies the scalability mode of the Aurora DB cluster. When set to
|
883
884
|
# `limitless`, the cluster operates as an Aurora Limitless Database.
|
@@ -913,6 +914,12 @@ module Aws::RDS
|
|
913
914
|
#
|
914
915
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html
|
915
916
|
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html
|
917
|
+
# @option options [Boolean] :enable_local_write_forwarding
|
918
|
+
# Specifies whether read replicas can forward write operations to the
|
919
|
+
# writer DB instance in the DB cluster. By default, write operations
|
920
|
+
# aren't allowed on reader DB instances.
|
921
|
+
#
|
922
|
+
# Valid for: Aurora DB clusters only
|
916
923
|
# @option options [String] :master_user_secret_kms_key_id
|
917
924
|
# The Amazon Web Services KMS key identifier to encrypt a secret that is
|
918
925
|
# automatically generated and managed in Amazon Web Services Secrets
|
@@ -937,12 +944,6 @@ module Aws::RDS
|
|
937
944
|
# Amazon Web Services Region.
|
938
945
|
#
|
939
946
|
# Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
940
|
-
# @option options [Boolean] :enable_local_write_forwarding
|
941
|
-
# Specifies whether read replicas can forward write operations to the
|
942
|
-
# writer DB instance in the DB cluster. By default, write operations
|
943
|
-
# aren't allowed on reader DB instances.
|
944
|
-
#
|
945
|
-
# Valid for: Aurora DB clusters only
|
946
947
|
# @option options [String] :ca_certificate_identifier
|
947
948
|
# The CA certificate identifier to use for the DB cluster's server
|
948
949
|
# certificate.
|
@@ -990,6 +991,21 @@ module Aws::RDS
|
|
990
991
|
#
|
991
992
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html
|
992
993
|
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html
|
994
|
+
# @option options [String] :master_user_authentication_type
|
995
|
+
# Specifies the authentication type for the master user. With IAM master
|
996
|
+
# user authentication, you can configure the master DB user with IAM
|
997
|
+
# database authentication when you create a DB cluster.
|
998
|
+
#
|
999
|
+
# You can specify one of the following values:
|
1000
|
+
#
|
1001
|
+
# * `password` - Use standard database authentication with a password.
|
1002
|
+
#
|
1003
|
+
# * `iam-db-auth` - Use IAM database authentication for the master user.
|
1004
|
+
#
|
1005
|
+
# Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
1006
|
+
#
|
1007
|
+
# This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL
|
1008
|
+
# engines.
|
993
1009
|
# @option options [String] :source_region
|
994
1010
|
# The source region of the snapshot. This is only needed when the
|
995
1011
|
# shapshot is encrypted and in a different region.
|
@@ -1105,7 +1121,7 @@ module Aws::RDS
|
|
1105
1121
|
# db_instance_class: "String", # required
|
1106
1122
|
# engine: "String", # required
|
1107
1123
|
# master_username: "String",
|
1108
|
-
# master_user_password: "
|
1124
|
+
# master_user_password: "SensitiveString",
|
1109
1125
|
# db_security_groups: ["String"],
|
1110
1126
|
# vpc_security_group_ids: ["String"],
|
1111
1127
|
# availability_zone: "String",
|
@@ -1120,6 +1136,7 @@ module Aws::RDS
|
|
1120
1136
|
# auto_minor_version_upgrade: false,
|
1121
1137
|
# license_model: "String",
|
1122
1138
|
# iops: 1,
|
1139
|
+
# storage_throughput: 1,
|
1123
1140
|
# option_group_name: "String",
|
1124
1141
|
# character_set_name: "String",
|
1125
1142
|
# nchar_character_set_name: "String",
|
@@ -1133,7 +1150,7 @@ module Aws::RDS
|
|
1133
1150
|
# db_cluster_identifier: "String",
|
1134
1151
|
# storage_type: "String",
|
1135
1152
|
# tde_credential_arn: "String",
|
1136
|
-
# tde_credential_password: "
|
1153
|
+
# tde_credential_password: "SensitiveString",
|
1137
1154
|
# storage_encrypted: false,
|
1138
1155
|
# kms_key_id: "String",
|
1139
1156
|
# domain: "String",
|
@@ -1162,17 +1179,17 @@ module Aws::RDS
|
|
1162
1179
|
# deletion_protection: false,
|
1163
1180
|
# max_allocated_storage: 1,
|
1164
1181
|
# enable_customer_owned_ip: false,
|
1165
|
-
# custom_iam_instance_profile: "String",
|
1166
|
-
# backup_target: "String",
|
1167
1182
|
# network_type: "String",
|
1168
|
-
#
|
1183
|
+
# backup_target: "String",
|
1184
|
+
# custom_iam_instance_profile: "String",
|
1185
|
+
# db_system_id: "String",
|
1186
|
+
# ca_certificate_identifier: "String",
|
1169
1187
|
# manage_master_user_password: false,
|
1170
1188
|
# master_user_secret_kms_key_id: "String",
|
1171
|
-
# ca_certificate_identifier: "String",
|
1172
|
-
# db_system_id: "String",
|
1173
|
-
# dedicated_log_volume: false,
|
1174
1189
|
# multi_tenant: false,
|
1190
|
+
# dedicated_log_volume: false,
|
1175
1191
|
# engine_lifecycle_support: "String",
|
1192
|
+
# master_user_authentication_type: "password", # accepts password, iam-db-auth
|
1176
1193
|
# })
|
1177
1194
|
# @param [Hash] options ({})
|
1178
1195
|
# @option options [String] :db_name
|
@@ -1847,6 +1864,14 @@ module Aws::RDS
|
|
1847
1864
|
#
|
1848
1865
|
#
|
1849
1866
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html
|
1867
|
+
# @option options [Integer] :storage_throughput
|
1868
|
+
# The storage throughput value, in mebibyte per second (MiBps), for the
|
1869
|
+
# DB instance.
|
1870
|
+
#
|
1871
|
+
# This setting applies only to the `gp3` storage type.
|
1872
|
+
#
|
1873
|
+
# This setting doesn't apply to Amazon Aurora or RDS Custom DB
|
1874
|
+
# instances.
|
1850
1875
|
# @option options [String] :option_group_name
|
1851
1876
|
# The option group to associate the DB instance with.
|
1852
1877
|
#
|
@@ -2250,28 +2275,21 @@ module Aws::RDS
|
|
2250
2275
|
#
|
2251
2276
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html
|
2252
2277
|
# [2]: https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing
|
2253
|
-
# @option options [String] :
|
2254
|
-
# The
|
2255
|
-
# instance of an RDS Custom DB instance.
|
2256
|
-
#
|
2257
|
-
# This setting is required for RDS Custom.
|
2258
|
-
#
|
2259
|
-
# Constraints:
|
2260
|
-
#
|
2261
|
-
# * The profile must exist in your account.
|
2278
|
+
# @option options [String] :network_type
|
2279
|
+
# The network type of the DB instance.
|
2262
2280
|
#
|
2263
|
-
#
|
2264
|
-
#
|
2281
|
+
# The network type is determined by the `DBSubnetGroup` specified for
|
2282
|
+
# the DB instance. A `DBSubnetGroup` can support only the IPv4 protocol
|
2283
|
+
# or the IPv4 and the IPv6 protocols (`DUAL`).
|
2265
2284
|
#
|
2266
|
-
#
|
2267
|
-
#
|
2285
|
+
# For more information, see [ Working with a DB instance in a VPC][1] in
|
2286
|
+
# the *Amazon RDS User Guide.*
|
2268
2287
|
#
|
2269
|
-
#
|
2270
|
-
# IAM and your VPC][1] in the *Amazon RDS User Guide*.
|
2288
|
+
# Valid Values: `IPV4 | DUAL`
|
2271
2289
|
#
|
2272
2290
|
#
|
2273
2291
|
#
|
2274
|
-
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/
|
2292
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
|
2275
2293
|
# @option options [String] :backup_target
|
2276
2294
|
# The location for storing automated backups and manual snapshots.
|
2277
2295
|
#
|
@@ -2291,29 +2309,50 @@ module Aws::RDS
|
|
2291
2309
|
#
|
2292
2310
|
#
|
2293
2311
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html
|
2294
|
-
# @option options [String] :
|
2295
|
-
# The
|
2312
|
+
# @option options [String] :custom_iam_instance_profile
|
2313
|
+
# The instance profile associated with the underlying Amazon EC2
|
2314
|
+
# instance of an RDS Custom DB instance.
|
2296
2315
|
#
|
2297
|
-
#
|
2298
|
-
# the DB instance. A `DBSubnetGroup` can support only the IPv4 protocol
|
2299
|
-
# or the IPv4 and the IPv6 protocols (`DUAL`).
|
2316
|
+
# This setting is required for RDS Custom.
|
2300
2317
|
#
|
2301
|
-
#
|
2302
|
-
# the *Amazon RDS User Guide.*
|
2318
|
+
# Constraints:
|
2303
2319
|
#
|
2304
|
-
#
|
2320
|
+
# * The profile must exist in your account.
|
2305
2321
|
#
|
2322
|
+
# * The profile must have an IAM role that Amazon EC2 has permissions to
|
2323
|
+
# assume.
|
2306
2324
|
#
|
2325
|
+
# * The instance profile name and the associated IAM role name must
|
2326
|
+
# start with the prefix `AWSRDSCustom`.
|
2307
2327
|
#
|
2308
|
-
# [
|
2309
|
-
#
|
2310
|
-
# The storage throughput value, in mebibyte per second (MiBps), for the
|
2311
|
-
# DB instance.
|
2328
|
+
# For the list of permissions required for the IAM role, see [ Configure
|
2329
|
+
# IAM and your VPC][1] in the *Amazon RDS User Guide*.
|
2312
2330
|
#
|
2313
|
-
# This setting applies only to the `gp3` storage type.
|
2314
2331
|
#
|
2315
|
-
#
|
2316
|
-
#
|
2332
|
+
#
|
2333
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-setup-orcl.html#custom-setup-orcl.iam-vpc
|
2334
|
+
# @option options [String] :db_system_id
|
2335
|
+
# The Oracle system identifier (SID), which is the name of the Oracle
|
2336
|
+
# database instance that manages your database files. In this context,
|
2337
|
+
# the term "Oracle database instance" refers exclusively to the system
|
2338
|
+
# global area (SGA) and Oracle background processes. If you don't
|
2339
|
+
# specify a SID, the value defaults to `RDSCDB`. The Oracle SID is also
|
2340
|
+
# the name of your CDB.
|
2341
|
+
# @option options [String] :ca_certificate_identifier
|
2342
|
+
# The CA certificate identifier to use for the DB instance's server
|
2343
|
+
# certificate.
|
2344
|
+
#
|
2345
|
+
# This setting doesn't apply to RDS Custom DB instances.
|
2346
|
+
#
|
2347
|
+
# For more information, see [Using SSL/TLS to encrypt a connection to a
|
2348
|
+
# DB instance][1] in the *Amazon RDS User Guide* and [ Using SSL/TLS to
|
2349
|
+
# encrypt a connection to a DB cluster][2] in the *Amazon Aurora User
|
2350
|
+
# Guide*.
|
2351
|
+
#
|
2352
|
+
#
|
2353
|
+
#
|
2354
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html
|
2355
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html
|
2317
2356
|
# @option options [Boolean] :manage_master_user_password
|
2318
2357
|
# Specifies whether to manage the master user password with Amazon Web
|
2319
2358
|
# Services Secrets Manager.
|
@@ -2353,31 +2392,6 @@ module Aws::RDS
|
|
2353
2392
|
# There is a default KMS key for your Amazon Web Services account. Your
|
2354
2393
|
# Amazon Web Services account has a different default KMS key for each
|
2355
2394
|
# Amazon Web Services Region.
|
2356
|
-
# @option options [String] :ca_certificate_identifier
|
2357
|
-
# The CA certificate identifier to use for the DB instance's server
|
2358
|
-
# certificate.
|
2359
|
-
#
|
2360
|
-
# This setting doesn't apply to RDS Custom DB instances.
|
2361
|
-
#
|
2362
|
-
# For more information, see [Using SSL/TLS to encrypt a connection to a
|
2363
|
-
# DB instance][1] in the *Amazon RDS User Guide* and [ Using SSL/TLS to
|
2364
|
-
# encrypt a connection to a DB cluster][2] in the *Amazon Aurora User
|
2365
|
-
# Guide*.
|
2366
|
-
#
|
2367
|
-
#
|
2368
|
-
#
|
2369
|
-
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html
|
2370
|
-
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html
|
2371
|
-
# @option options [String] :db_system_id
|
2372
|
-
# The Oracle system identifier (SID), which is the name of the Oracle
|
2373
|
-
# database instance that manages your database files. In this context,
|
2374
|
-
# the term "Oracle database instance" refers exclusively to the system
|
2375
|
-
# global area (SGA) and Oracle background processes. If you don't
|
2376
|
-
# specify a SID, the value defaults to `RDSCDB`. The Oracle SID is also
|
2377
|
-
# the name of your CDB.
|
2378
|
-
# @option options [Boolean] :dedicated_log_volume
|
2379
|
-
# Indicates whether the DB instance has a dedicated log volume (DLV)
|
2380
|
-
# enabled.
|
2381
2395
|
# @option options [Boolean] :multi_tenant
|
2382
2396
|
# Specifies whether to use the multi-tenant configuration or the
|
2383
2397
|
# single-tenant configuration (default). This parameter only applies to
|
@@ -2393,6 +2407,9 @@ module Aws::RDS
|
|
2393
2407
|
# * If you specify the multi-tenant configuration when you create your
|
2394
2408
|
# DB instance, you can't later modify this DB instance to use the
|
2395
2409
|
# single-tenant configuration.
|
2410
|
+
# @option options [Boolean] :dedicated_log_volume
|
2411
|
+
# Indicates whether the DB instance has a dedicated log volume (DLV)
|
2412
|
+
# enabled.
|
2396
2413
|
# @option options [String] :engine_lifecycle_support
|
2397
2414
|
# The life cycle type for this DB instance.
|
2398
2415
|
#
|
@@ -2424,6 +2441,19 @@ module Aws::RDS
|
|
2424
2441
|
#
|
2425
2442
|
#
|
2426
2443
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html
|
2444
|
+
# @option options [String] :master_user_authentication_type
|
2445
|
+
# Specifies the authentication type for the master user. With IAM master
|
2446
|
+
# user authentication, you can configure the master DB user with IAM
|
2447
|
+
# database authentication when you create a DB instance.
|
2448
|
+
#
|
2449
|
+
# You can specify one of the following values:
|
2450
|
+
#
|
2451
|
+
# * `password` - Use standard database authentication with a password.
|
2452
|
+
#
|
2453
|
+
# * `iam-db-auth` - Use IAM database authentication for the master user.
|
2454
|
+
#
|
2455
|
+
# This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL
|
2456
|
+
# engines.
|
2427
2457
|
# @return [DBInstance]
|
2428
2458
|
def create_db_instance(options = {})
|
2429
2459
|
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
@@ -3666,7 +3696,7 @@ module Aws::RDS
|
|
3666
3696
|
#
|
3667
3697
|
# events = rds.events({
|
3668
3698
|
# source_identifier: "String",
|
3669
|
-
# source_type: "db-instance", # accepts db-instance, db-parameter-group, db-security-group, db-snapshot, db-cluster, db-cluster-snapshot, custom-engine-version, db-proxy, blue-green-deployment
|
3699
|
+
# source_type: "db-instance", # accepts db-instance, db-parameter-group, db-security-group, db-snapshot, db-cluster, db-cluster-snapshot, custom-engine-version, db-proxy, blue-green-deployment, db-shard-group, zero-etl
|
3670
3700
|
# start_time: Time.now,
|
3671
3701
|
# end_time: Time.now,
|
3672
3702
|
# duration: 1,
|