Class: AWSCDK::ECS::BaseServiceOptions
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ECS::BaseServiceOptions
- Defined in:
- ecs/base_service_options.rb
Overview
The properties for the base Ec2Service or FargateService service.
Direct Known Subclasses
BaseServiceProps, EC2ServiceProps, ExternalServiceProps, FargateServiceProps
Instance Attribute Summary collapse
-
#bake_time ⇒ AWSCDK::Duration?
readonly
bake time minutes for service.
-
#canary_configuration ⇒ AWSCDK::ECS::TrafficShiftConfig?
readonly
Configuration for canary deployment strategy.
-
#capacity_provider_strategies ⇒ Array<AWSCDK::ECS::CapacityProviderStrategy>?
readonly
A list of Capacity Provider strategies used to place a service.
-
#circuit_breaker ⇒ AWSCDK::ECS::DeploymentCircuitBreaker?
readonly
Whether to enable the deployment circuit breaker.
-
#cloud_map_options ⇒ AWSCDK::ECS::CloudMapOptions?
readonly
The options for configuring an Amazon ECS service to use service discovery.
-
#cluster ⇒ AWSCDK::ECS::ICluster
readonly
The name of the cluster that hosts the service.
-
#deployment_alarms ⇒ AWSCDK::ECS::DeploymentAlarmConfig?
readonly
The alarm(s) to monitor during deployment, and behavior to apply if at least one enters a state of alarm during the deployment or bake time.
-
#deployment_controller ⇒ AWSCDK::ECS::DeploymentController?
readonly
Specifies which deployment controller to use for the service.
-
#deployment_strategy ⇒ AWSCDK::ECS::DeploymentStrategy?
readonly
The deployment strategy to use for the service.
-
#desired_count ⇒ Numeric?
readonly
The desired number of instantiations of the task definition to keep running on the service.
-
#enable_ecs_managed_tags ⇒ Boolean?
readonly
Specifies whether to enable Amazon ECS managed tags for the tasks within the service.
-
#enable_execute_command ⇒ Boolean?
readonly
Whether to enable the ability to execute into a container.
-
#force_new_deployment ⇒ AWSCDK::ECS::ForceNewDeployment?
readonly
Configuration for forcing a new deployment of the service.
-
#health_check_grace_period ⇒ AWSCDK::Duration?
readonly
The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks after a task has first started.
-
#lifecycle_hooks ⇒ Array<AWSCDK::ECS::IDeploymentLifecycleHookTarget>?
readonly
The lifecycle hooks to execute during deployment stages.
-
#linear_configuration ⇒ AWSCDK::ECS::TrafficShiftConfig?
readonly
Configuration for linear deployment strategy.
-
#max_healthy_percent ⇒ Numeric?
readonly
The maximum number of tasks, specified as a percentage of the Amazon ECS service's DesiredCount value, that can run in a service during a deployment.
-
#min_healthy_percent ⇒ Numeric?
readonly
The minimum number of tasks, specified as a percentage of the Amazon ECS service's DesiredCount value, that must continue to run and remain healthy during a deployment.
-
#propagate_tags ⇒ AWSCDK::ECS::PropagatedTagSource?
readonly
Specifies whether to propagate the tags from the task definition or the service to the tasks in the service.
-
#service_connect_configuration ⇒ AWSCDK::ECS::ServiceConnectProps?
readonly
Configuration for Service Connect.
-
#service_name ⇒ String?
readonly
The name of the service.
-
#task_definition_revision ⇒ AWSCDK::ECS::TaskDefinitionRevision?
readonly
Revision number for the task definition or
latestto use the latest active task revision. -
#volume_configurations ⇒ Array<AWSCDK::ECS::ServiceManagedVolume>?
readonly
Configuration details for a volume used by the service.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cluster:, bake_time: nil, canary_configuration: nil, capacity_provider_strategies: nil, circuit_breaker: nil, cloud_map_options: nil, deployment_alarms: nil, deployment_controller: nil, deployment_strategy: nil, desired_count: nil, enable_ecs_managed_tags: nil, enable_execute_command: nil, force_new_deployment: nil, health_check_grace_period: nil, lifecycle_hooks: nil, linear_configuration: nil, max_healthy_percent: nil, min_healthy_percent: nil, propagate_tags: nil, service_connect_configuration: nil, service_name: nil, task_definition_revision: nil, volume_configurations: nil) ⇒ BaseServiceOptions
constructor
A new instance of BaseServiceOptions.
- #to_jsii ⇒ Object
Constructor Details
#initialize(cluster:, bake_time: nil, canary_configuration: nil, capacity_provider_strategies: nil, circuit_breaker: nil, cloud_map_options: nil, deployment_alarms: nil, deployment_controller: nil, deployment_strategy: nil, desired_count: nil, enable_ecs_managed_tags: nil, enable_execute_command: nil, force_new_deployment: nil, health_check_grace_period: nil, lifecycle_hooks: nil, linear_configuration: nil, max_healthy_percent: nil, min_healthy_percent: nil, propagate_tags: nil, service_connect_configuration: nil, service_name: nil, task_definition_revision: nil, volume_configurations: nil) ⇒ BaseServiceOptions
Returns a new instance of BaseServiceOptions.
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
# File 'ecs/base_service_options.rb', line 30 def initialize(cluster:, bake_time: nil, canary_configuration: nil, capacity_provider_strategies: nil, circuit_breaker: nil, cloud_map_options: nil, deployment_alarms: nil, deployment_controller: nil, deployment_strategy: nil, desired_count: nil, enable_ecs_managed_tags: nil, enable_execute_command: nil, force_new_deployment: nil, health_check_grace_period: nil, lifecycle_hooks: nil, linear_configuration: nil, max_healthy_percent: nil, min_healthy_percent: nil, propagate_tags: nil, service_connect_configuration: nil, service_name: nil, task_definition_revision: nil, volume_configurations: nil) @cluster = cluster Jsii::Type.check_type(@cluster, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWNzLklDbHVzdGVyIn0=")), "cluster") @bake_time = bake_time Jsii::Type.check_type(@bake_time, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5EdXJhdGlvbiJ9")), "bakeTime") unless @bake_time.nil? @canary_configuration = canary_configuration.is_a?(Hash) ? ::AWSCDK::ECS::TrafficShiftConfig.new(**canary_configuration.transform_keys(&:to_sym)) : canary_configuration Jsii::Type.check_type(@canary_configuration, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWNzLlRyYWZmaWNTaGlmdENvbmZpZyJ9")), "canaryConfiguration") unless @canary_configuration.nil? @capacity_provider_strategies = capacity_provider_strategies.is_a?(Array) ? capacity_provider_strategies.map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::ECS::CapacityProviderStrategy.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : capacity_provider_strategies Jsii::Type.check_type(@capacity_provider_strategies, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lY3MuQ2FwYWNpdHlQcm92aWRlclN0cmF0ZWd5In0sImtpbmQiOiJhcnJheSJ9fQ==")), "capacityProviderStrategies") unless @capacity_provider_strategies.nil? @circuit_breaker = circuit_breaker.is_a?(Hash) ? ::AWSCDK::ECS::DeploymentCircuitBreaker.new(**circuit_breaker.transform_keys(&:to_sym)) : circuit_breaker Jsii::Type.check_type(@circuit_breaker, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWNzLkRlcGxveW1lbnRDaXJjdWl0QnJlYWtlciJ9")), "circuitBreaker") unless @circuit_breaker.nil? @cloud_map_options = .is_a?(Hash) ? ::AWSCDK::ECS::CloudMapOptions.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@cloud_map_options, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWNzLkNsb3VkTWFwT3B0aW9ucyJ9")), "cloudMapOptions") unless @cloud_map_options.nil? @deployment_alarms = deployment_alarms.is_a?(Hash) ? ::AWSCDK::ECS::DeploymentAlarmConfig.new(**deployment_alarms.transform_keys(&:to_sym)) : deployment_alarms Jsii::Type.check_type(@deployment_alarms, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWNzLkRlcGxveW1lbnRBbGFybUNvbmZpZyJ9")), "deploymentAlarms") unless @deployment_alarms.nil? @deployment_controller = deployment_controller.is_a?(Hash) ? ::AWSCDK::ECS::DeploymentController.new(**deployment_controller.transform_keys(&:to_sym)) : deployment_controller Jsii::Type.check_type(@deployment_controller, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWNzLkRlcGxveW1lbnRDb250cm9sbGVyIn0=")), "deploymentController") unless @deployment_controller.nil? @deployment_strategy = deployment_strategy Jsii::Type.check_type(@deployment_strategy, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWNzLkRlcGxveW1lbnRTdHJhdGVneSJ9")), "deploymentStrategy") unless @deployment_strategy.nil? @desired_count = desired_count Jsii::Type.check_type(@desired_count, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "desiredCount") unless @desired_count.nil? @enable_ecs_managed_tags = Jsii::Type.check_type(@enable_ecs_managed_tags, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "enableECSManagedTags") unless @enable_ecs_managed_tags.nil? @enable_execute_command = enable_execute_command Jsii::Type.check_type(@enable_execute_command, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "enableExecuteCommand") unless @enable_execute_command.nil? @force_new_deployment = force_new_deployment.is_a?(Hash) ? ::AWSCDK::ECS::ForceNewDeployment.new(**force_new_deployment.transform_keys(&:to_sym)) : force_new_deployment Jsii::Type.check_type(@force_new_deployment, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWNzLkZvcmNlTmV3RGVwbG95bWVudCJ9")), "forceNewDeployment") unless @force_new_deployment.nil? @health_check_grace_period = health_check_grace_period Jsii::Type.check_type(@health_check_grace_period, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5EdXJhdGlvbiJ9")), "healthCheckGracePeriod") unless @health_check_grace_period.nil? @lifecycle_hooks = lifecycle_hooks Jsii::Type.check_type(@lifecycle_hooks, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lY3MuSURlcGxveW1lbnRMaWZlY3ljbGVIb29rVGFyZ2V0In0sImtpbmQiOiJhcnJheSJ9fQ==")), "lifecycleHooks") unless @lifecycle_hooks.nil? @linear_configuration = linear_configuration.is_a?(Hash) ? ::AWSCDK::ECS::TrafficShiftConfig.new(**linear_configuration.transform_keys(&:to_sym)) : linear_configuration Jsii::Type.check_type(@linear_configuration, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWNzLlRyYWZmaWNTaGlmdENvbmZpZyJ9")), "linearConfiguration") unless @linear_configuration.nil? @max_healthy_percent = max_healthy_percent Jsii::Type.check_type(@max_healthy_percent, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "maxHealthyPercent") unless @max_healthy_percent.nil? @min_healthy_percent = min_healthy_percent Jsii::Type.check_type(@min_healthy_percent, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "minHealthyPercent") unless @min_healthy_percent.nil? @propagate_tags = Jsii::Type.check_type(@propagate_tags, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWNzLlByb3BhZ2F0ZWRUYWdTb3VyY2UifQ==")), "propagateTags") unless @propagate_tags.nil? @service_connect_configuration = service_connect_configuration.is_a?(Hash) ? ::AWSCDK::ECS::ServiceConnectProps.new(**service_connect_configuration.transform_keys(&:to_sym)) : service_connect_configuration Jsii::Type.check_type(@service_connect_configuration, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWNzLlNlcnZpY2VDb25uZWN0UHJvcHMifQ==")), "serviceConnectConfiguration") unless @service_connect_configuration.nil? @service_name = service_name Jsii::Type.check_type(@service_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "serviceName") unless @service_name.nil? @task_definition_revision = task_definition_revision Jsii::Type.check_type(@task_definition_revision, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWNzLlRhc2tEZWZpbml0aW9uUmV2aXNpb24ifQ==")), "taskDefinitionRevision") unless @task_definition_revision.nil? @volume_configurations = volume_configurations Jsii::Type.check_type(@volume_configurations, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lY3MuU2VydmljZU1hbmFnZWRWb2x1bWUifSwia2luZCI6ImFycmF5In19")), "volumeConfigurations") unless @volume_configurations.nil? end |
Instance Attribute Details
#bake_time ⇒ AWSCDK::Duration? (readonly)
Default: - none
bake time minutes for service.
87 88 89 |
# File 'ecs/base_service_options.rb', line 87 def bake_time @bake_time end |
#canary_configuration ⇒ AWSCDK::ECS::TrafficShiftConfig? (readonly)
Default: - no canary configuration
Configuration for canary deployment strategy.
Only valid when deploymentStrategy is set to CANARY.
94 95 96 |
# File 'ecs/base_service_options.rb', line 94 def canary_configuration @canary_configuration end |
#capacity_provider_strategies ⇒ Array<AWSCDK::ECS::CapacityProviderStrategy>? (readonly)
Default: - undefined
A list of Capacity Provider strategies used to place a service.
99 100 101 |
# File 'ecs/base_service_options.rb', line 99 def capacity_provider_strategies @capacity_provider_strategies end |
#circuit_breaker ⇒ AWSCDK::ECS::DeploymentCircuitBreaker? (readonly)
Default: - disabled
Whether to enable the deployment circuit breaker.
If this property is defined, circuit breaker will be implicitly enabled.
107 108 109 |
# File 'ecs/base_service_options.rb', line 107 def circuit_breaker @circuit_breaker end |
#cloud_map_options ⇒ AWSCDK::ECS::CloudMapOptions? (readonly)
Default: - AWS Cloud Map service discovery is not enabled.
The options for configuring an Amazon ECS service to use service discovery.
112 113 114 |
# File 'ecs/base_service_options.rb', line 112 def @cloud_map_options end |
#cluster ⇒ AWSCDK::ECS::ICluster (readonly)
The name of the cluster that hosts the service.
82 83 84 |
# File 'ecs/base_service_options.rb', line 82 def cluster @cluster end |
#deployment_alarms ⇒ AWSCDK::ECS::DeploymentAlarmConfig? (readonly)
Default: - No alarms will be monitored during deployment.
The alarm(s) to monitor during deployment, and behavior to apply if at least one enters a state of alarm during the deployment or bake time.
117 118 119 |
# File 'ecs/base_service_options.rb', line 117 def deployment_alarms @deployment_alarms end |
#deployment_controller ⇒ AWSCDK::ECS::DeploymentController? (readonly)
Default: - Rolling update (ECS)
Specifies which deployment controller to use for the service.
For more information, see Amazon ECS Deployment Types
125 126 127 |
# File 'ecs/base_service_options.rb', line 125 def deployment_controller @deployment_controller end |
#deployment_strategy ⇒ AWSCDK::ECS::DeploymentStrategy? (readonly)
Default: ROLLING
The deployment strategy to use for the service.
130 131 132 |
# File 'ecs/base_service_options.rb', line 130 def deployment_strategy @deployment_strategy end |
#desired_count ⇒ Numeric? (readonly)
Default: - When creating the service, default is 1; when updating the service, default uses the current task number.
The desired number of instantiations of the task definition to keep running on the service.
135 136 137 |
# File 'ecs/base_service_options.rb', line 135 def desired_count @desired_count end |
#enable_ecs_managed_tags ⇒ Boolean? (readonly)
Default: false
Specifies whether to enable Amazon ECS managed tags for the tasks within the service.
For more information, see Tagging Your Amazon ECS Resources
143 144 145 |
# File 'ecs/base_service_options.rb', line 143 def @enable_ecs_managed_tags end |
#enable_execute_command ⇒ Boolean? (readonly)
Default: - undefined
Whether to enable the ability to execute into a container.
148 149 150 |
# File 'ecs/base_service_options.rb', line 148 def enable_execute_command @enable_execute_command end |
#force_new_deployment ⇒ AWSCDK::ECS::ForceNewDeployment? (readonly)
Default: - no forced deployment
Configuration for forcing a new deployment of the service.
By default, deployments aren't forced. You can use this option to start
a new deployment with no service definition changes. For example, you can
update a service's tasks to use a newer Docker image with the same
image/tag combination (my_image:latest) or to roll Fargate tasks onto
a newer platform version.
This is equivalent to calling the force_new_deployment() method, but allows
you to configure it declaratively at construction time, including the ability
to explicitly disable it with enabled: false.
164 165 166 |
# File 'ecs/base_service_options.rb', line 164 def force_new_deployment @force_new_deployment end |
#health_check_grace_period ⇒ AWSCDK::Duration? (readonly)
Default: - defaults to 60 seconds if at least one load balancer is in-use and it is not already set
The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks after a task has first started.
169 170 171 |
# File 'ecs/base_service_options.rb', line 169 def health_check_grace_period @health_check_grace_period end |
#lifecycle_hooks ⇒ Array<AWSCDK::ECS::IDeploymentLifecycleHookTarget>? (readonly)
Default: - none;
The lifecycle hooks to execute during deployment stages.
174 175 176 |
# File 'ecs/base_service_options.rb', line 174 def lifecycle_hooks @lifecycle_hooks end |
#linear_configuration ⇒ AWSCDK::ECS::TrafficShiftConfig? (readonly)
Default: - no linear configuration
Configuration for linear deployment strategy.
Only valid when deploymentStrategy is set to LINEAR.
181 182 183 |
# File 'ecs/base_service_options.rb', line 181 def linear_configuration @linear_configuration end |
#max_healthy_percent ⇒ Numeric? (readonly)
Default: - 100 if daemon, otherwise 200
The maximum number of tasks, specified as a percentage of the Amazon ECS service's DesiredCount value, that can run in a service during a deployment.
186 187 188 |
# File 'ecs/base_service_options.rb', line 186 def max_healthy_percent @max_healthy_percent end |
#min_healthy_percent ⇒ Numeric? (readonly)
Default: - 0 if daemon, otherwise 50
The minimum number of tasks, specified as a percentage of the Amazon ECS service's DesiredCount value, that must continue to run and remain healthy during a deployment.
191 192 193 |
# File 'ecs/base_service_options.rb', line 191 def min_healthy_percent @min_healthy_percent end |
#propagate_tags ⇒ AWSCDK::ECS::PropagatedTagSource? (readonly)
Default: PropagatedTagSource.NONE
Specifies whether to propagate the tags from the task definition or the service to the tasks in the service.
Valid values are: PropagatedTagSource.SERVICE, PropagatedTagSource.TASK_DEFINITION or PropagatedTagSource.NONE
198 199 200 |
# File 'ecs/base_service_options.rb', line 198 def @propagate_tags end |
#service_connect_configuration ⇒ AWSCDK::ECS::ServiceConnectProps? (readonly)
Default: No ports are advertised via Service Connect on this service, and the service cannot make requests to other services via Service Connect.
Configuration for Service Connect.
203 204 205 |
# File 'ecs/base_service_options.rb', line 203 def service_connect_configuration @service_connect_configuration end |
#service_name ⇒ String? (readonly)
Default: - CloudFormation-generated name.
The name of the service.
208 209 210 |
# File 'ecs/base_service_options.rb', line 208 def service_name @service_name end |
#task_definition_revision ⇒ AWSCDK::ECS::TaskDefinitionRevision? (readonly)
Default: - Uses the revision of the passed task definition deployed by CloudFormation
Revision number for the task definition or latest to use the latest active task revision.
213 214 215 |
# File 'ecs/base_service_options.rb', line 213 def task_definition_revision @task_definition_revision end |
#volume_configurations ⇒ Array<AWSCDK::ECS::ServiceManagedVolume>? (readonly)
Default: - undefined
Configuration details for a volume used by the service.
This allows you to specify details about the EBS volume that can be attached to ECS tasks.
221 222 223 |
# File 'ecs/base_service_options.rb', line 221 def volume_configurations @volume_configurations end |
Class Method Details
.jsii_properties ⇒ Object
223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 |
# File 'ecs/base_service_options.rb', line 223 def self.jsii_properties { :cluster => "cluster", :bake_time => "bakeTime", :canary_configuration => "canaryConfiguration", :capacity_provider_strategies => "capacityProviderStrategies", :circuit_breaker => "circuitBreaker", :cloud_map_options => "cloudMapOptions", :deployment_alarms => "deploymentAlarms", :deployment_controller => "deploymentController", :deployment_strategy => "deploymentStrategy", :desired_count => "desiredCount", :enable_ecs_managed_tags => "enableECSManagedTags", :enable_execute_command => "enableExecuteCommand", :force_new_deployment => "forceNewDeployment", :health_check_grace_period => "healthCheckGracePeriod", :lifecycle_hooks => "lifecycleHooks", :linear_configuration => "linearConfiguration", :max_healthy_percent => "maxHealthyPercent", :min_healthy_percent => "minHealthyPercent", :propagate_tags => "propagateTags", :service_connect_configuration => "serviceConnectConfiguration", :service_name => "serviceName", :task_definition_revision => "taskDefinitionRevision", :volume_configurations => "volumeConfigurations", } end |
Instance Method Details
#to_jsii ⇒ Object
251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 |
# File 'ecs/base_service_options.rb', line 251 def to_jsii result = {} result.merge!({ "cluster" => @cluster, "bakeTime" => @bake_time, "canaryConfiguration" => @canary_configuration, "capacityProviderStrategies" => @capacity_provider_strategies, "circuitBreaker" => @circuit_breaker, "cloudMapOptions" => @cloud_map_options, "deploymentAlarms" => @deployment_alarms, "deploymentController" => @deployment_controller, "deploymentStrategy" => @deployment_strategy, "desiredCount" => @desired_count, "enableECSManagedTags" => @enable_ecs_managed_tags, "enableExecuteCommand" => @enable_execute_command, "forceNewDeployment" => @force_new_deployment, "healthCheckGracePeriod" => @health_check_grace_period, "lifecycleHooks" => @lifecycle_hooks, "linearConfiguration" => @linear_configuration, "maxHealthyPercent" => @max_healthy_percent, "minHealthyPercent" => @min_healthy_percent, "propagateTags" => @propagate_tags, "serviceConnectConfiguration" => @service_connect_configuration, "serviceName" => @service_name, "taskDefinitionRevision" => @task_definition_revision, "volumeConfigurations" => @volume_configurations, }) result.compact end |