Class: AWSCDK::ARCRegionSwitch::CfnPlan::NeptuneGlobalDatabaseConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ARCRegionSwitch::CfnPlan::NeptuneGlobalDatabaseConfigurationProperty
- Defined in:
- arc_region_switch/cfn_plan.rb
Overview
Instance Attribute Summary collapse
- #behavior ⇒ String readonly
- #cross_account_role ⇒ String? readonly
- #external_id ⇒ String? readonly
- #global_cluster_identifier ⇒ String readonly
- #region_database_cluster_arns ⇒ AWSCDK::IResolvable, Hash{String => String} readonly
- #timeout_minutes ⇒ Numeric? readonly
- #ungraceful ⇒ AWSCDK::IResolvable, ... readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(behavior:, global_cluster_identifier:, region_database_cluster_arns:, cross_account_role: nil, external_id: nil, timeout_minutes: nil, ungraceful: nil) ⇒ NeptuneGlobalDatabaseConfigurationProperty
constructor
A new instance of NeptuneGlobalDatabaseConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(behavior:, global_cluster_identifier:, region_database_cluster_arns:, cross_account_role: nil, external_id: nil, timeout_minutes: nil, ungraceful: nil) ⇒ NeptuneGlobalDatabaseConfigurationProperty
Returns a new instance of NeptuneGlobalDatabaseConfigurationProperty.
2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 |
# File 'arc_region_switch/cfn_plan.rb', line 2362 def initialize(behavior:, global_cluster_identifier:, region_database_cluster_arns:, cross_account_role: nil, external_id: nil, timeout_minutes: nil, ungraceful: nil) @behavior = behavior Jsii::Type.check_type(@behavior, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "behavior") @global_cluster_identifier = global_cluster_identifier Jsii::Type.check_type(@global_cluster_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "globalClusterIdentifier") @region_database_cluster_arns = region_database_cluster_arns Jsii::Type.check_type(@region_database_cluster_arns, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsicHJpbWl0aXZlIjoic3RyaW5nIn0sImtpbmQiOiJtYXAifX1dfX0=")), "regionDatabaseClusterArns") @cross_account_role = cross_account_role Jsii::Type.check_type(@cross_account_role, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "crossAccountRole") unless @cross_account_role.nil? @external_id = external_id Jsii::Type.check_type(@external_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "externalId") unless @external_id.nil? @timeout_minutes = timeout_minutes Jsii::Type.check_type(@timeout_minutes, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "timeoutMinutes") unless @timeout_minutes.nil? @ungraceful = ungraceful.is_a?(Hash) ? ::AWSCDK::ARCRegionSwitch::CfnPlan::NeptuneUngracefulProperty.new(**ungraceful.transform_keys(&:to_sym)) : ungraceful Jsii::Type.check_type(@ungraceful, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcmNyZWdpb25zd2l0Y2guQ2ZuUGxhbi5OZXB0dW5lVW5ncmFjZWZ1bFByb3BlcnR5In1dfX0=")), "ungraceful") unless @ungraceful.nil? end |
Instance Attribute Details
#behavior ⇒ String (readonly)
2381 2382 2383 |
# File 'arc_region_switch/cfn_plan.rb', line 2381 def behavior @behavior end |
#cross_account_role ⇒ String? (readonly)
2390 2391 2392 |
# File 'arc_region_switch/cfn_plan.rb', line 2390 def cross_account_role @cross_account_role end |
#external_id ⇒ String? (readonly)
2393 2394 2395 |
# File 'arc_region_switch/cfn_plan.rb', line 2393 def external_id @external_id end |
#global_cluster_identifier ⇒ String (readonly)
2384 2385 2386 |
# File 'arc_region_switch/cfn_plan.rb', line 2384 def global_cluster_identifier @global_cluster_identifier end |
#region_database_cluster_arns ⇒ AWSCDK::IResolvable, Hash{String => String} (readonly)
2387 2388 2389 |
# File 'arc_region_switch/cfn_plan.rb', line 2387 def region_database_cluster_arns @region_database_cluster_arns end |
#timeout_minutes ⇒ Numeric? (readonly)
Note:
Default: - 60
2397 2398 2399 |
# File 'arc_region_switch/cfn_plan.rb', line 2397 def timeout_minutes @timeout_minutes end |
#ungraceful ⇒ AWSCDK::IResolvable, ... (readonly)
2400 2401 2402 |
# File 'arc_region_switch/cfn_plan.rb', line 2400 def ungraceful @ungraceful end |
Class Method Details
.jsii_properties ⇒ Object
2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 |
# File 'arc_region_switch/cfn_plan.rb', line 2402 def self.jsii_properties { :behavior => "behavior", :global_cluster_identifier => "globalClusterIdentifier", :region_database_cluster_arns => "regionDatabaseClusterArns", :cross_account_role => "crossAccountRole", :external_id => "externalId", :timeout_minutes => "timeoutMinutes", :ungraceful => "ungraceful", } end |
Instance Method Details
#to_jsii ⇒ Object
2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 |
# File 'arc_region_switch/cfn_plan.rb', line 2414 def to_jsii result = {} result.merge!({ "behavior" => @behavior, "globalClusterIdentifier" => @global_cluster_identifier, "regionDatabaseClusterArns" => @region_database_cluster_arns, "crossAccountRole" => @cross_account_role, "externalId" => @external_id, "timeoutMinutes" => @timeout_minutes, "ungraceful" => @ungraceful, }) result.compact end |