Class CfnDeploymentConfigProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.codedeploy.CfnDeploymentConfigProps.Jsii$Proxy
All Implemented Interfaces:
CfnDeploymentConfigProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnDeploymentConfigProps

@Stability(Stable) @Internal public static final class CfnDeploymentConfigProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnDeploymentConfigProps
An implementation for CfnDeploymentConfigProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnDeploymentConfigProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnDeploymentConfigProps.Builder.
  • Method Details

    • getComputePlatform

      public final String getComputePlatform()
      Description copied from interface: CfnDeploymentConfigProps
      The destination platform type for the deployment ( Lambda , Server , or ECS ).
      Specified by:
      getComputePlatform in interface CfnDeploymentConfigProps
    • getDeploymentConfigName

      public final String getDeploymentConfigName()
      Description copied from interface: CfnDeploymentConfigProps
      A name for the deployment configuration.

      If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the deployment configuration name. For more information, see Name Type .

      If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.

      Specified by:
      getDeploymentConfigName in interface CfnDeploymentConfigProps
    • getMinimumHealthyHosts

      public final Object getMinimumHealthyHosts()
      Description copied from interface: CfnDeploymentConfigProps
      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.

      For more information about instance health, see CodeDeploy Instance Health in the AWS CodeDeploy User Guide.

      Specified by:
      getMinimumHealthyHosts in interface CfnDeploymentConfigProps
    • getTrafficRoutingConfig

      public final Object getTrafficRoutingConfig()
      Description copied from interface: CfnDeploymentConfigProps
      The configuration that specifies how the deployment traffic is routed.
      Specified by:
      getTrafficRoutingConfig in interface CfnDeploymentConfigProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object