Class: AWSCDK::Events::CfnEndpoint::ReplicationConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Events::CfnEndpoint::ReplicationConfigProperty
- Defined in:
- events/cfn_endpoint.rb
Overview
Endpoints can replicate all events to the secondary Region.
Instance Attribute Summary collapse
-
#state ⇒ String
readonly
The state of event replication.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(state:) ⇒ ReplicationConfigProperty
constructor
A new instance of ReplicationConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(state:) ⇒ ReplicationConfigProperty
Returns a new instance of ReplicationConfigProperty.
745 746 747 748 |
# File 'events/cfn_endpoint.rb', line 745 def initialize(state:) @state = state Jsii::Type.check_type(@state, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "state") end |
Instance Attribute Details
#state ⇒ String (readonly)
The state of event replication.
754 755 756 |
# File 'events/cfn_endpoint.rb', line 754 def state @state end |
Class Method Details
.jsii_properties ⇒ Object
756 757 758 759 760 |
# File 'events/cfn_endpoint.rb', line 756 def self.jsii_properties { :state => "state", } end |
Instance Method Details
#to_jsii ⇒ Object
762 763 764 765 766 767 768 |
# File 'events/cfn_endpoint.rb', line 762 def to_jsii result = {} result.merge!({ "state" => @state, }) result.compact end |