Class: AWSCDK::ECSPatterns::NetworkLoadBalancedServiceBaseProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ECSPatterns::NetworkLoadBalancedServiceBaseProps
- Defined in:
- ecs_patterns/network_load_balanced_service_base_props.rb
Overview
The properties for the base NetworkLoadBalancedEc2Service or NetworkLoadBalancedFargateService service.
Direct Known Subclasses
NetworkLoadBalancedEC2ServiceProps, NetworkLoadBalancedFargateServiceProps
Instance Attribute Summary collapse
-
#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_controller ⇒ AWSCDK::ECS::DeploymentController?
readonly
Specifies which deployment controller to use for the service.
-
#desired_count ⇒ Numeric?
readonly
The desired number of instantiations of the task definition to keep running on the service.
-
#domain_name ⇒ String?
readonly
The domain name for the service, e.g.
-
#domain_zone ⇒ AWSCDK::Route53::IHostedZone?
readonly
The Route53 hosted zone for the domain, e.g.
-
#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 ECS Exec should be enabled.
-
#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.
-
#ip_address_type ⇒ AWSCDK::ElasticLoadBalancingv2::IPAddressType?
readonly
The type of IP addresses to use.
-
#listener_certificate ⇒ AWSCDK::ElasticLoadBalancingv2::IListenerCertificate?
readonly
Listener certificate list of ACM cert ARNs.
-
#listener_port ⇒ Numeric?
readonly
Listener port of the network load balancer that will serve traffic to the service.
-
#load_balancer ⇒ AWSCDK::ElasticLoadBalancingv2::INetworkLoadBalancer?
readonly
The network load balancer that will serve traffic to the service.
-
#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.
-
#public_load_balancer ⇒ Boolean?
readonly
Determines whether the Load Balancer will be internet-facing.
-
#record_type ⇒ AWSCDK::ECSPatterns::NetworkLoadBalancedServiceRecordType?
readonly
Specifies whether the Route53 record should be a CNAME, an A record using the Alias feature or no record at all.
-
#service_name ⇒ String?
readonly
The name of the service.
-
#task_image_options ⇒ AWSCDK::ECSPatterns::NetworkLoadBalancedTaskImageOptions?
readonly
The properties required to create a new task definition.
-
#vpc ⇒ AWSCDK::EC2::IVPC?
readonly
The VPC where the container instances will be launched or the elastic network interfaces (ENIs) will be deployed.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(capacity_provider_strategies: nil, circuit_breaker: nil, cloud_map_options: nil, cluster: nil, deployment_controller: nil, desired_count: nil, domain_name: nil, domain_zone: nil, enable_ecs_managed_tags: nil, enable_execute_command: nil, health_check_grace_period: nil, ip_address_type: nil, listener_certificate: nil, listener_port: nil, load_balancer: nil, max_healthy_percent: nil, min_healthy_percent: nil, propagate_tags: nil, public_load_balancer: nil, record_type: nil, service_name: nil, task_image_options: nil, vpc: nil) ⇒ NetworkLoadBalancedServiceBaseProps
constructor
A new instance of NetworkLoadBalancedServiceBaseProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(capacity_provider_strategies: nil, circuit_breaker: nil, cloud_map_options: nil, cluster: nil, deployment_controller: nil, desired_count: nil, domain_name: nil, domain_zone: nil, enable_ecs_managed_tags: nil, enable_execute_command: nil, health_check_grace_period: nil, ip_address_type: nil, listener_certificate: nil, listener_port: nil, load_balancer: nil, max_healthy_percent: nil, min_healthy_percent: nil, propagate_tags: nil, public_load_balancer: nil, record_type: nil, service_name: nil, task_image_options: nil, vpc: nil) ⇒ NetworkLoadBalancedServiceBaseProps
Returns a new instance of NetworkLoadBalancedServiceBaseProps.
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_patterns/network_load_balanced_service_base_props.rb', line 30 def initialize(capacity_provider_strategies: nil, circuit_breaker: nil, cloud_map_options: nil, cluster: nil, deployment_controller: nil, desired_count: nil, domain_name: nil, domain_zone: nil, enable_ecs_managed_tags: nil, enable_execute_command: nil, health_check_grace_period: nil, ip_address_type: nil, listener_certificate: nil, listener_port: nil, load_balancer: nil, max_healthy_percent: nil, min_healthy_percent: nil, propagate_tags: nil, public_load_balancer: nil, record_type: nil, service_name: nil, task_image_options: nil, vpc: 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? @cluster = cluster Jsii::Type.check_type(@cluster, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWNzLklDbHVzdGVyIn0=")), "cluster") unless @cluster.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? @desired_count = desired_count Jsii::Type.check_type(@desired_count, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "desiredCount") unless @desired_count.nil? @domain_name = domain_name Jsii::Type.check_type(@domain_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domainName") unless @domain_name.nil? @domain_zone = domain_zone Jsii::Type.check_type(@domain_zone, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfcm91dGU1My5JSG9zdGVkWm9uZSJ9")), "domainZone") unless @domain_zone.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? @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? @ip_address_type = ip_address_type Jsii::Type.check_type(@ip_address_type, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWxhc3RpY2xvYWRiYWxhbmNpbmd2Mi5JcEFkZHJlc3NUeXBlIn0=")), "ipAddressType") unless @ip_address_type.nil? @listener_certificate = listener_certificate Jsii::Type.check_type(@listener_certificate, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWxhc3RpY2xvYWRiYWxhbmNpbmd2Mi5JTGlzdGVuZXJDZXJ0aWZpY2F0ZSJ9")), "listenerCertificate") unless @listener_certificate.nil? @listener_port = listener_port Jsii::Type.check_type(@listener_port, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "listenerPort") unless @listener_port.nil? @load_balancer = load_balancer Jsii::Type.check_type(@load_balancer, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWxhc3RpY2xvYWRiYWxhbmNpbmd2Mi5JTmV0d29ya0xvYWRCYWxhbmNlciJ9")), "loadBalancer") unless @load_balancer.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? @public_load_balancer = public_load_balancer Jsii::Type.check_type(@public_load_balancer, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "publicLoadBalancer") unless @public_load_balancer.nil? @record_type = record_type Jsii::Type.check_type(@record_type, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWNzX3BhdHRlcm5zLk5ldHdvcmtMb2FkQmFsYW5jZWRTZXJ2aWNlUmVjb3JkVHlwZSJ9")), "recordType") unless @record_type.nil? @service_name = service_name Jsii::Type.check_type(@service_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "serviceName") unless @service_name.nil? @task_image_options = .is_a?(Hash) ? ::AWSCDK::ECSPatterns::NetworkLoadBalancedTaskImageOptions.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@task_image_options, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWNzX3BhdHRlcm5zLk5ldHdvcmtMb2FkQmFsYW5jZWRUYXNrSW1hZ2VPcHRpb25zIn0=")), "taskImageOptions") unless @task_image_options.nil? @vpc = vpc Jsii::Type.check_type(@vpc, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWMyLklWcGMifQ==")), "vpc") unless @vpc.nil? end |
Instance Attribute Details
#capacity_provider_strategies ⇒ Array<AWSCDK::ECS::CapacityProviderStrategy>? (readonly)
Default: - undefined
A list of Capacity Provider strategies used to place a service.
83 84 85 |
# File 'ecs_patterns/network_load_balanced_service_base_props.rb', line 83 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.
91 92 93 |
# File 'ecs_patterns/network_load_balanced_service_base_props.rb', line 91 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.
96 97 98 |
# File 'ecs_patterns/network_load_balanced_service_base_props.rb', line 96 def @cloud_map_options end |
#cluster ⇒ AWSCDK::ECS::ICluster? (readonly)
Default: - create a new cluster; if both cluster and vpc are omitted, a new VPC will be created for you.
The name of the cluster that hosts the service.
If a cluster is specified, the vpc construct should be omitted. Alternatively, you can omit both cluster and vpc.
103 104 105 |
# File 'ecs_patterns/network_load_balanced_service_base_props.rb', line 103 def cluster @cluster 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
111 112 113 |
# File 'ecs_patterns/network_load_balanced_service_base_props.rb', line 111 def deployment_controller @deployment_controller end |
#desired_count ⇒ Numeric? (readonly)
Default: - The default is 1 for all new services and uses the existing service's desired count when updating an existing service.
The desired number of instantiations of the task definition to keep running on the service.
The minimum value is 1
118 119 120 |
# File 'ecs_patterns/network_load_balanced_service_base_props.rb', line 118 def desired_count @desired_count end |
#domain_name ⇒ String? (readonly)
Default: - No domain name.
The domain name for the service, e.g. "api.example.com.".
123 124 125 |
# File 'ecs_patterns/network_load_balanced_service_base_props.rb', line 123 def domain_name @domain_name end |
#domain_zone ⇒ AWSCDK::Route53::IHostedZone? (readonly)
Default: - No Route53 hosted domain zone.
The Route53 hosted zone for the domain, e.g. "example.com.".
128 129 130 |
# File 'ecs_patterns/network_load_balanced_service_base_props.rb', line 128 def domain_zone @domain_zone 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
136 137 138 |
# File 'ecs_patterns/network_load_balanced_service_base_props.rb', line 136 def @enable_ecs_managed_tags end |
#enable_execute_command ⇒ Boolean? (readonly)
Default: - false
Whether ECS Exec should be enabled.
141 142 143 |
# File 'ecs_patterns/network_load_balanced_service_base_props.rb', line 141 def enable_execute_command @enable_execute_command 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.
146 147 148 |
# File 'ecs_patterns/network_load_balanced_service_base_props.rb', line 146 def health_check_grace_period @health_check_grace_period end |
#ip_address_type ⇒ AWSCDK::ElasticLoadBalancingv2::IPAddressType? (readonly)
Default: IpAddressType.IPV4
The type of IP addresses to use.
If you want to add a UDP or TCP_UDP listener to the load balancer, you must choose IPv4.
155 156 157 |
# File 'ecs_patterns/network_load_balanced_service_base_props.rb', line 155 def ip_address_type @ip_address_type end |
#listener_certificate ⇒ AWSCDK::ElasticLoadBalancingv2::IListenerCertificate? (readonly)
Default: - none
Listener certificate list of ACM cert ARNs.
If you provide a certificate, the listener's protocol will be TLS. If not, the listener's protocol will be TCP.
163 164 165 |
# File 'ecs_patterns/network_load_balanced_service_base_props.rb', line 163 def listener_certificate @listener_certificate end |
#listener_port ⇒ Numeric? (readonly)
Default: 80 or 443 with listenerCertificate provided
Listener port of the network load balancer that will serve traffic to the service.
168 169 170 |
# File 'ecs_patterns/network_load_balanced_service_base_props.rb', line 168 def listener_port @listener_port end |
#load_balancer ⇒ AWSCDK::ElasticLoadBalancingv2::INetworkLoadBalancer? (readonly)
Default: - a new load balancer will be created.
The network load balancer that will serve traffic to the service.
If the load balancer has been imported, the vpc attribute must be specified in the call to fromNetworkLoadBalancerAttributes().
[disable-awslint:ref-via-interface]
178 179 180 |
# File 'ecs_patterns/network_load_balanced_service_base_props.rb', line 178 def load_balancer @load_balancer 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.
183 184 185 |
# File 'ecs_patterns/network_load_balanced_service_base_props.rb', line 183 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.
188 189 190 |
# File 'ecs_patterns/network_load_balanced_service_base_props.rb', line 188 def min_healthy_percent @min_healthy_percent end |
#propagate_tags ⇒ AWSCDK::ECS::PropagatedTagSource? (readonly)
Default: - none
Specifies whether to propagate the tags from the task definition or the service to the tasks in the service.
Tags can only be propagated to the tasks within the service during service creation.
195 196 197 |
# File 'ecs_patterns/network_load_balanced_service_base_props.rb', line 195 def @propagate_tags end |
#public_load_balancer ⇒ Boolean? (readonly)
Default: true
Determines whether the Load Balancer will be internet-facing.
200 201 202 |
# File 'ecs_patterns/network_load_balanced_service_base_props.rb', line 200 def public_load_balancer @public_load_balancer end |
#record_type ⇒ AWSCDK::ECSPatterns::NetworkLoadBalancedServiceRecordType? (readonly)
Default: NetworkLoadBalancedServiceRecordType.ALIAS
Specifies whether the Route53 record should be a CNAME, an A record using the Alias feature or no record at all.
This is useful if you need to work with DNS systems that do not support alias records.
207 208 209 |
# File 'ecs_patterns/network_load_balanced_service_base_props.rb', line 207 def record_type @record_type end |
#service_name ⇒ String? (readonly)
Default: - CloudFormation-generated name.
The name of the service.
212 213 214 |
# File 'ecs_patterns/network_load_balanced_service_base_props.rb', line 212 def service_name @service_name end |
#task_image_options ⇒ AWSCDK::ECSPatterns::NetworkLoadBalancedTaskImageOptions? (readonly)
Default: - none
The properties required to create a new task definition.
One of taskImageOptions or taskDefinition must be specified.
219 220 221 |
# File 'ecs_patterns/network_load_balanced_service_base_props.rb', line 219 def @task_image_options end |
#vpc ⇒ AWSCDK::EC2::IVPC? (readonly)
Default: - uses the VPC defined in the cluster or creates a new VPC.
The VPC where the container instances will be launched or the elastic network interfaces (ENIs) will be deployed.
If a vpc is specified, the cluster construct should be omitted. Alternatively, you can omit both vpc and cluster.
226 227 228 |
# File 'ecs_patterns/network_load_balanced_service_base_props.rb', line 226 def vpc @vpc end |
Class Method Details
.jsii_properties ⇒ Object
228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 |
# File 'ecs_patterns/network_load_balanced_service_base_props.rb', line 228 def self.jsii_properties { :capacity_provider_strategies => "capacityProviderStrategies", :circuit_breaker => "circuitBreaker", :cloud_map_options => "cloudMapOptions", :cluster => "cluster", :deployment_controller => "deploymentController", :desired_count => "desiredCount", :domain_name => "domainName", :domain_zone => "domainZone", :enable_ecs_managed_tags => "enableECSManagedTags", :enable_execute_command => "enableExecuteCommand", :health_check_grace_period => "healthCheckGracePeriod", :ip_address_type => "ipAddressType", :listener_certificate => "listenerCertificate", :listener_port => "listenerPort", :load_balancer => "loadBalancer", :max_healthy_percent => "maxHealthyPercent", :min_healthy_percent => "minHealthyPercent", :propagate_tags => "propagateTags", :public_load_balancer => "publicLoadBalancer", :record_type => "recordType", :service_name => "serviceName", :task_image_options => "taskImageOptions", :vpc => "vpc", } end |
Instance Method Details
#to_jsii ⇒ Object
256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 |
# File 'ecs_patterns/network_load_balanced_service_base_props.rb', line 256 def to_jsii result = {} result.merge!({ "capacityProviderStrategies" => @capacity_provider_strategies, "circuitBreaker" => @circuit_breaker, "cloudMapOptions" => @cloud_map_options, "cluster" => @cluster, "deploymentController" => @deployment_controller, "desiredCount" => @desired_count, "domainName" => @domain_name, "domainZone" => @domain_zone, "enableECSManagedTags" => @enable_ecs_managed_tags, "enableExecuteCommand" => @enable_execute_command, "healthCheckGracePeriod" => @health_check_grace_period, "ipAddressType" => @ip_address_type, "listenerCertificate" => @listener_certificate, "listenerPort" => @listener_port, "loadBalancer" => @load_balancer, "maxHealthyPercent" => @max_healthy_percent, "minHealthyPercent" => @min_healthy_percent, "propagateTags" => @propagate_tags, "publicLoadBalancer" => @public_load_balancer, "recordType" => @record_type, "serviceName" => @service_name, "taskImageOptions" => @task_image_options, "vpc" => @vpc, }) result.compact end |