Class: AWSCDK::Events::CfnEndpoint::ReplicationConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
events/cfn_endpoint.rb

Overview

Endpoints can replicate all events to the secondary Region.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(state:) ⇒ ReplicationConfigProperty

Returns a new instance of ReplicationConfigProperty.

Parameters:

  • state (String)

    The state of event replication.



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

#stateString (readonly)

The state of event replication.



754
755
756
# File 'events/cfn_endpoint.rb', line 754

def state
  @state
end

Class Method Details

.jsii_propertiesObject



756
757
758
759
760
# File 'events/cfn_endpoint.rb', line 756

def self.jsii_properties
  {
    :state => "state",
  }
end

Instance Method Details

#to_jsiiObject



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