Class ServerDeploymentConfig

All Implemented Interfaces:
IConstruct, IDependable, IResource, IServerDeploymentConfig,, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:46.390Z") @Stability(Stable) public class ServerDeploymentConfig extends Resource implements IServerDeploymentConfig
A custom Deployment Configuration for an EC2/on-premise Deployment Group.


 ServerDeploymentGroup deploymentGroup = ServerDeploymentGroup.Builder.create(this, "CodeDeployDeploymentGroup")
  • Field Details

  • Constructor Details

    • ServerDeploymentConfig

      protected ServerDeploymentConfig( objRef)
    • ServerDeploymentConfig

      protected ServerDeploymentConfig( initializationMode)
    • ServerDeploymentConfig

      @Stability(Stable) public ServerDeploymentConfig(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ServerDeploymentConfigProps props)
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details

    • fromServerDeploymentConfigName

      @Stability(Stable) @NotNull public static IServerDeploymentConfig fromServerDeploymentConfigName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String serverDeploymentConfigName)
      Import a custom Deployment Configuration for an EC2/on-premise Deployment Group defined either outside the CDK app, or in a different region.

      scope - the parent Construct for this new Construct. This parameter is required.
      id - the logical ID of this new Construct. This parameter is required.
      serverDeploymentConfigName - the properties of the referenced custom Deployment Configuration. This parameter is required.
      a Construct representing a reference to an existing custom Deployment Configuration
    • validate

      @Stability(Stable) @NotNull protected List<String> validate()
      Validate the current construct.

      This method can be implemented by derived constructs in order to perform validation logic. It is called on all constructs before synthesis.

      validate in class Construct
      An array of validation error messages, or an empty array if the construct is valid.
    • getDeploymentConfigArn

      @Stability(Stable) @NotNull public String getDeploymentConfigArn()
      Specified by:
      getDeploymentConfigArn in interface IServerDeploymentConfig
    • getDeploymentConfigName

      @Stability(Stable) @NotNull public String getDeploymentConfigName()
      Specified by:
      getDeploymentConfigName in interface IServerDeploymentConfig