Class: AWSCDK::ECS::DeploymentController
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ECS::DeploymentController
- Defined in:
- ecs/deployment_controller.rb
Overview
The deployment controller to use for the service.
Instance Attribute Summary collapse
-
#type ⇒ AWSCDK::ECS::DeploymentControllerType?
readonly
The deployment controller type to use.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type: nil) ⇒ DeploymentController
constructor
A new instance of DeploymentController.
- #to_jsii ⇒ Object
Constructor Details
#initialize(type: nil) ⇒ DeploymentController
Returns a new instance of DeploymentController.
8 9 10 11 |
# File 'ecs/deployment_controller.rb', line 8 def initialize(type: nil) @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWNzLkRlcGxveW1lbnRDb250cm9sbGVyVHlwZSJ9")), "type") unless @type.nil? end |
Instance Attribute Details
#type ⇒ AWSCDK::ECS::DeploymentControllerType? (readonly)
Note:
Default: DeploymentControllerType.ECS
The deployment controller type to use.
17 18 19 |
# File 'ecs/deployment_controller.rb', line 17 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
19 20 21 22 23 |
# File 'ecs/deployment_controller.rb', line 19 def self.jsii_properties { :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
25 26 27 28 29 30 31 |
# File 'ecs/deployment_controller.rb', line 25 def to_jsii result = {} result.merge!({ "type" => @type, }) result.compact end |