Class: AWSCDK::CodeDeploy::AllAtOnceTrafficRouting
- Inherits:
-
TrafficRouting
- Object
- TrafficRouting
- AWSCDK::CodeDeploy::AllAtOnceTrafficRouting
- Defined in:
- code_deploy/all_at_once_traffic_routing.rb
Overview
Define a traffic routing config of type 'AllAtOnce'.
Class Method Summary collapse
Instance Method Summary collapse
-
#bind(_scope) ⇒ AWSCDK::CodeDeploy::TrafficRoutingConfig
Return a TrafficRoutingConfig of type
AllAtOnce. -
#initialize ⇒ AllAtOnceTrafficRouting
constructor
A new instance of AllAtOnceTrafficRouting.
Constructor Details
#initialize ⇒ AllAtOnceTrafficRouting
Returns a new instance of AllAtOnceTrafficRouting.
8 9 10 |
# File 'code_deploy/all_at_once_traffic_routing.rb', line 8 def initialize Jsii::Object.instance_method(:initialize).bind(self).call end |
Class Method Details
.jsii_overridable_methods ⇒ Object
12 13 14 15 16 |
# File 'code_deploy/all_at_once_traffic_routing.rb', line 12 def self.jsii_overridable_methods { :bind => { kind: :method, name: "bind", is_optional: false }, } end |
Instance Method Details
#bind(_scope) ⇒ AWSCDK::CodeDeploy::TrafficRoutingConfig
Return a TrafficRoutingConfig of type AllAtOnce.
22 23 24 25 |
# File 'code_deploy/all_at_once_traffic_routing.rb', line 22 def bind(_scope) Jsii::Type.check_type(_scope, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLkNvbnN0cnVjdCJ9")), "_scope") jsii_call_method("bind", [_scope]) end |