Class: AWSCDK::RefactorSpaces::CfnRoute::DefaultRouteInputProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
refactor_spaces/cfn_route.rb

Overview

The configuration for the default route type.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(activation_state:) ⇒ DefaultRouteInputProperty

Returns a new instance of DefaultRouteInputProperty.

Parameters:

  • activation_state (String)

    If set to ACTIVE , traffic is forwarded to this route’s service after the route is created.



645
646
647
648
# File 'refactor_spaces/cfn_route.rb', line 645

def initialize(activation_state:)
  @activation_state = activation_state
  Jsii::Type.check_type(@activation_state, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "activationState")
end

Instance Attribute Details

#activation_stateString (readonly)

If set to ACTIVE , traffic is forwarded to this route’s service after the route is created.



654
655
656
# File 'refactor_spaces/cfn_route.rb', line 654

def activation_state
  @activation_state
end

Class Method Details

.jsii_propertiesObject



656
657
658
659
660
# File 'refactor_spaces/cfn_route.rb', line 656

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

Instance Method Details

#to_jsiiObject



662
663
664
665
666
667
668
# File 'refactor_spaces/cfn_route.rb', line 662

def to_jsii
  result = {}
  result.merge!({
    "activationState" => @activation_state,
  })
  result.compact
end