Module: AWSCDK::RDS::IClusterInstance
- Included in:
- ClusterInstance
- Defined in:
- rds/i_cluster_instance.rb
Overview
Represents an Aurora cluster instance This can be either a provisioned instance or a serverless v2 instance.
Class Method Summary collapse
Instance Method Summary collapse
-
#bind(scope, cluster, options) ⇒ AWSCDK::RDS::IAuroraClusterInstance
Create the database instance within the provided cluster.
Class Method Details
.jsii_overridable_methods ⇒ Object
21 22 23 24 25 |
# File 'rds/i_cluster_instance.rb', line 21 def self.jsii_overridable_methods { :bind => { kind: :method, name: "bind", is_optional: false }, } end |
Instance Method Details
#bind(scope, cluster, options) ⇒ AWSCDK::RDS::IAuroraClusterInstance
Create the database instance within the provided cluster.
13 14 15 16 17 18 19 |
# File 'rds/i_cluster_instance.rb', line 13 def bind(scope, cluster, ) Jsii::Type.check_type(scope, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLkNvbnN0cnVjdCJ9")), "scope") Jsii::Type.check_type(cluster, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcmRzLklEYXRhYmFzZUNsdXN0ZXIifQ==")), "cluster") = .is_a?(Hash) ? ::AWSCDK::RDS::ClusterInstanceBindOptions.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcmRzLkNsdXN0ZXJJbnN0YW5jZUJpbmRPcHRpb25zIn0=")), "options") jsii_call_method("bind", [scope, cluster, ]) end |