[][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, Server, or ECS).

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 Clone for CreateDeploymentConfigInput[src]

impl Default for CreateDeploymentConfigInput[src]

impl PartialEq<CreateDeploymentConfigInput> for CreateDeploymentConfigInput[src]

impl Debug for CreateDeploymentConfigInput[src]

impl Serialize for CreateDeploymentConfigInput[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for T[src]

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,