Class: AWSCDK::SSMIncidents::CfnReplicationSet::ReplicationRegionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SSMIncidents::CfnReplicationSet::ReplicationRegionProperty
- Defined in:
- ssm_incidents/cfn_replication_set.rb
Overview
The ReplicationRegion property type specifies the Region and AWS Key Management Service key to add to the replication set.
Instance Attribute Summary collapse
-
#region_configuration ⇒ AWSCDK::IResolvable, ...
readonly
Specifies the Region configuration.
-
#region_name ⇒ String?
readonly
Specifies the region name to add to the replication set.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(region_configuration: nil, region_name: nil) ⇒ ReplicationRegionProperty
constructor
A new instance of ReplicationRegionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(region_configuration: nil, region_name: nil) ⇒ ReplicationRegionProperty
Returns a new instance of ReplicationRegionProperty.
577 578 579 580 581 582 |
# File 'ssm_incidents/cfn_replication_set.rb', line 577 def initialize(region_configuration: nil, region_name: nil) @region_configuration = region_configuration.is_a?(Hash) ? ::AWSCDK::SSMIncidents::CfnReplicationSet::RegionConfigurationProperty.new(**region_configuration.transform_keys(&:to_sym)) : region_configuration Jsii::Type.check_type(@region_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zc21pbmNpZGVudHMuQ2ZuUmVwbGljYXRpb25TZXQuUmVnaW9uQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "regionConfiguration") unless @region_configuration.nil? @region_name = region_name Jsii::Type.check_type(@region_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "regionName") unless @region_name.nil? end |
Instance Attribute Details
#region_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
Specifies the Region configuration.
588 589 590 |
# File 'ssm_incidents/cfn_replication_set.rb', line 588 def region_configuration @region_configuration end |
#region_name ⇒ String? (readonly)
Specifies the region name to add to the replication set.
593 594 595 |
# File 'ssm_incidents/cfn_replication_set.rb', line 593 def region_name @region_name end |
Class Method Details
.jsii_properties ⇒ Object
595 596 597 598 599 600 |
# File 'ssm_incidents/cfn_replication_set.rb', line 595 def self.jsii_properties { :region_configuration => "regionConfiguration", :region_name => "regionName", } end |
Instance Method Details
#to_jsii ⇒ Object
602 603 604 605 606 607 608 609 |
# File 'ssm_incidents/cfn_replication_set.rb', line 602 def to_jsii result = {} result.merge!({ "regionConfiguration" => @region_configuration, "regionName" => @region_name, }) result.compact end |