Class: AWSCDK::ARCRegionSwitch::CfnPlan::AuroraServerlessScalingConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ARCRegionSwitch::CfnPlan::AuroraServerlessScalingConfigurationProperty
- Defined in:
- arc_region_switch/cfn_plan.rb
Overview
Instance Attribute Summary collapse
- #cross_account_role ⇒ String? readonly
- #external_id ⇒ String? readonly
- #global_cluster_identifier ⇒ String readonly
- #region_database_cluster_arns ⇒ AWSCDK::IResolvable, Hash{String => String} readonly
- #target_percent ⇒ Numeric? readonly
- #timeout_minutes ⇒ Numeric? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(global_cluster_identifier:, region_database_cluster_arns:, cross_account_role: nil, external_id: nil, target_percent: nil, timeout_minutes: nil) ⇒ AuroraServerlessScalingConfigurationProperty
constructor
A new instance of AuroraServerlessScalingConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(global_cluster_identifier:, region_database_cluster_arns:, cross_account_role: nil, external_id: nil, target_percent: nil, timeout_minutes: nil) ⇒ AuroraServerlessScalingConfigurationProperty
Returns a new instance of AuroraServerlessScalingConfigurationProperty.
990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 |
# File 'arc_region_switch/cfn_plan.rb', line 990 def initialize(global_cluster_identifier:, region_database_cluster_arns:, cross_account_role: nil, external_id: nil, target_percent: nil, timeout_minutes: nil) @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? @target_percent = target_percent Jsii::Type.check_type(@target_percent, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "targetPercent") unless @target_percent.nil? @timeout_minutes = timeout_minutes Jsii::Type.check_type(@timeout_minutes, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "timeoutMinutes") unless @timeout_minutes.nil? end |
Instance Attribute Details
#cross_account_role ⇒ String? (readonly)
1013 1014 1015 |
# File 'arc_region_switch/cfn_plan.rb', line 1013 def cross_account_role @cross_account_role end |
#external_id ⇒ String? (readonly)
1016 1017 1018 |
# File 'arc_region_switch/cfn_plan.rb', line 1016 def external_id @external_id end |
#global_cluster_identifier ⇒ String (readonly)
1007 1008 1009 |
# File 'arc_region_switch/cfn_plan.rb', line 1007 def global_cluster_identifier @global_cluster_identifier end |
#region_database_cluster_arns ⇒ AWSCDK::IResolvable, Hash{String => String} (readonly)
1010 1011 1012 |
# File 'arc_region_switch/cfn_plan.rb', line 1010 def region_database_cluster_arns @region_database_cluster_arns end |
#target_percent ⇒ Numeric? (readonly)
Note:
Default: - 100
1020 1021 1022 |
# File 'arc_region_switch/cfn_plan.rb', line 1020 def target_percent @target_percent end |
#timeout_minutes ⇒ Numeric? (readonly)
Note:
Default: - 60
1024 1025 1026 |
# File 'arc_region_switch/cfn_plan.rb', line 1024 def timeout_minutes @timeout_minutes end |
Class Method Details
.jsii_properties ⇒ Object
1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 |
# File 'arc_region_switch/cfn_plan.rb', line 1026 def self.jsii_properties { :global_cluster_identifier => "globalClusterIdentifier", :region_database_cluster_arns => "regionDatabaseClusterArns", :cross_account_role => "crossAccountRole", :external_id => "externalId", :target_percent => "targetPercent", :timeout_minutes => "timeoutMinutes", } end |
Instance Method Details
#to_jsii ⇒ Object
1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 |
# File 'arc_region_switch/cfn_plan.rb', line 1037 def to_jsii result = {} result.merge!({ "globalClusterIdentifier" => @global_cluster_identifier, "regionDatabaseClusterArns" => @region_database_cluster_arns, "crossAccountRole" => @cross_account_role, "externalId" => @external_id, "targetPercent" => @target_percent, "timeoutMinutes" => @timeout_minutes, }) result.compact end |