Class: Aws::CodeDeploy::Types::ZonalConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb

Overview

Configure the ZonalConfig object if you want CodeDeploy to deploy your application to one Availability Zone at a time, within an Amazon Web Services Region. By deploying to one Availability Zone at a time, you can expose your deployment to a progressively larger audience as confidence in the deployment's performance and viability grows. If you don't configure the ZonalConfig object, CodeDeploy deploys your application to a random selection of hosts across a Region.

For more information about the zonal configuration feature, see zonal configuration in the CodeDeploy User Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#first_zone_monitor_duration_in_secondsInteger

The period of time, in seconds, that CodeDeploy must wait after completing a deployment to the first Availability Zone. CodeDeploy will wait this amount of time before starting a deployment to the second Availability Zone. You might set this option if you want to allow extra bake time for the first Availability Zone. If you don't specify a value for firstZoneMonitorDurationInSeconds, then CodeDeploy uses the monitorDurationInSeconds value for the first Availability Zone.

For more information about the zonal configuration feature, see zonal configuration in the CodeDeploy User Guide.

Returns:

  • (Integer)


5251
5252
5253
5254
5255
5256
5257
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 5251

class ZonalConfig < Struct.new(
  :first_zone_monitor_duration_in_seconds,
  :monitor_duration_in_seconds,
  :minimum_healthy_hosts_per_zone)
  SENSITIVE = []
  include Aws::Structure
end

#minimum_healthy_hosts_per_zoneTypes::MinimumHealthyHostsPerZone

The number or percentage of instances that must remain available per Availability Zone during a deployment. This option works in conjunction with the MinimumHealthyHosts option. For more information, see About the minimum number of healthy hosts per Availability Zone in the CodeDeploy User Guide.

If you don't specify the minimumHealthyHostsPerZone option, then CodeDeploy uses a default value of 0 percent.

For more information about the zonal configuration feature, see zonal configuration in the CodeDeploy User Guide.



5251
5252
5253
5254
5255
5256
5257
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 5251

class ZonalConfig < Struct.new(
  :first_zone_monitor_duration_in_seconds,
  :monitor_duration_in_seconds,
  :minimum_healthy_hosts_per_zone)
  SENSITIVE = []
  include Aws::Structure
end

#monitor_duration_in_secondsInteger

The period of time, in seconds, that CodeDeploy must wait after completing a deployment to an Availability Zone. CodeDeploy will wait this amount of time before starting a deployment to the next Availability Zone. Consider adding a monitor duration to give the deployment some time to prove itself (or 'bake') in one Availability Zone before it is released in the next zone. If you don't specify a monitorDurationInSeconds, CodeDeploy starts deploying to the next Availability Zone immediately.

For more information about the zonal configuration feature, see zonal configuration in the CodeDeploy User Guide.

Returns:

  • (Integer)


5251
5252
5253
5254
5255
5256
5257
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 5251

class ZonalConfig < Struct.new(
  :first_zone_monitor_duration_in_seconds,
  :monitor_duration_in_seconds,
  :minimum_healthy_hosts_per_zone)
  SENSITIVE = []
  include Aws::Structure
end