Class: AWSCDK::Cognito::CfnUserPoolDomain::FailoverTypeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Cognito::CfnUserPoolDomain::FailoverTypeProperty
- Defined in:
- cognito/cfn_user_pool_domain.rb
Overview
Instance Attribute Summary collapse
- #primary_route53_health_check_id ⇒ String readonly
- #secondary_region ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(primary_route53_health_check_id:, secondary_region:) ⇒ FailoverTypeProperty
constructor
A new instance of FailoverTypeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(primary_route53_health_check_id:, secondary_region:) ⇒ FailoverTypeProperty
Returns a new instance of FailoverTypeProperty.
586 587 588 589 590 591 |
# File 'cognito/cfn_user_pool_domain.rb', line 586 def initialize(primary_route53_health_check_id:, secondary_region:) @primary_route53_health_check_id = primary_route53_health_check_id Jsii::Type.check_type(@primary_route53_health_check_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "primaryRoute53HealthCheckId") @secondary_region = secondary_region Jsii::Type.check_type(@secondary_region, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "secondaryRegion") end |
Instance Attribute Details
#primary_route53_health_check_id ⇒ String (readonly)
595 596 597 |
# File 'cognito/cfn_user_pool_domain.rb', line 595 def primary_route53_health_check_id @primary_route53_health_check_id end |
#secondary_region ⇒ String (readonly)
598 599 600 |
# File 'cognito/cfn_user_pool_domain.rb', line 598 def secondary_region @secondary_region end |
Class Method Details
.jsii_properties ⇒ Object
600 601 602 603 604 605 |
# File 'cognito/cfn_user_pool_domain.rb', line 600 def self.jsii_properties { :primary_route53_health_check_id => "primaryRoute53HealthCheckId", :secondary_region => "secondaryRegion", } end |
Instance Method Details
#to_jsii ⇒ Object
607 608 609 610 611 612 613 614 |
# File 'cognito/cfn_user_pool_domain.rb', line 607 def to_jsii result = {} result.merge!({ "primaryRoute53HealthCheckId" => @primary_route53_health_check_id, "secondaryRegion" => @secondary_region, }) result.compact end |