[][src]Struct rusoto_codedeploy::CreateDeploymentConfigInput

pub struct CreateDeploymentConfigInput {
    pub compute_platform: Option<String>,
    pub deployment_config_name: String,
    pub minimum_healthy_hosts: Option<MinimumHealthyHosts>,
    pub traffic_routing_config: Option<TrafficRoutingConfig>,
}

Represents the input of a CreateDeploymentConfig operation.

Fields

compute_platform: Option<String>

The destination platform type for the deployment (Lambda or Server>).

deployment_config_name: String

The name of the deployment configuration to create.

minimum_healthy_hosts: Option<MinimumHealthyHosts>

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 instance 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.

traffic_routing_config: Option<TrafficRoutingConfig>

The configuration that specifies how the deployment traffic is routed.

Trait Implementations

impl PartialEq<CreateDeploymentConfigInput> for CreateDeploymentConfigInput[src]

impl Default for CreateDeploymentConfigInput[src]

impl Clone for CreateDeploymentConfigInput[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CreateDeploymentConfigInput[src]

impl Serialize for CreateDeploymentConfigInput[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self