Class: AWSCDK::ECS::DeploymentController

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ecs/deployment_controller.rb

Overview

The deployment controller to use for the service.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type: nil) ⇒ DeploymentController

Returns a new instance of DeploymentController.

Parameters:



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

#typeAWSCDK::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_propertiesObject



19
20
21
22
23
# File 'ecs/deployment_controller.rb', line 19

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

Instance Method Details

#to_jsiiObject



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