class Aws::CodeDeploy::Types::CreateDeploymentConfigInput

Represents the input of a `CreateDeploymentConfig` operation.

@note When making an API call, you may pass CreateDeploymentConfigInput

data as a hash:

    {
      deployment_config_name: "DeploymentConfigName", # required
      minimum_healthy_hosts: {
        type: "HOST_COUNT", # accepts HOST_COUNT, FLEET_PERCENT
        value: 1,
      },
      traffic_routing_config: {
        type: "TimeBasedCanary", # accepts TimeBasedCanary, TimeBasedLinear, AllAtOnce
        time_based_canary: {
          canary_percentage: 1,
          canary_interval: 1,
        },
        time_based_linear: {
          linear_percentage: 1,
          linear_interval: 1,
        },
      },
      compute_platform: "Server", # accepts Server, Lambda, ECS
    }

@!attribute [rw] deployment_config_name

The name of the deployment configuration to create.
@return [String]

@!attribute [rw] minimum_healthy_hosts

The minimum number of healthy instances that should be available at
any time during the deployment. There are two parameters expected in
the input: type and value.

The type parameter takes either of the following values:

* HOST\_COUNT: The value parameter represents the minimum number of
  healthy instances as an absolute value.

* FLEET\_PERCENT: The value parameter represents the minimum number
  of healthy instances as a percentage of the total number of
  instances in the deployment. If you specify FLEET\_PERCENT, at the
  start of the deployment, AWS CodeDeploy converts the percentage to
  the equivalent number of instances and rounds up fractional
  instances.

The value parameter takes an integer.

For example, to set a minimum of 95% healthy instance, specify a
type of FLEET\_PERCENT and a value of 95.
@return [Types::MinimumHealthyHosts]

@!attribute [rw] traffic_routing_config

The configuration that specifies how the deployment traffic is
routed.
@return [Types::TrafficRoutingConfig]

@!attribute [rw] compute_platform

The destination platform type for the deployment (`Lambda`,
`Server`, or `ECS`).
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfigInput AWS API Documentation

Constants

SENSITIVE