Package com.amazonaws.services.autoscaling.model

Examples of com.amazonaws.services.autoscaling.model.DeleteLaunchConfigurationRequest


    this.launchConfigurationName = launchConfigurationName;
  }

  @Override
  public Void call() {
    DeleteLaunchConfigurationRequest request = new DeleteLaunchConfigurationRequest()
        .withLaunchConfigurationName(this.launchConfigurationName);
    getClient().getApi().deleteLaunchConfiguration(request);
    return null;
  }
View Full Code Here


    public void deleteLaunchConfiguration(String launchConfigName) {
        Validate.notEmpty(launchConfigName);
        LOGGER.info(String.format("Deleting launch configuration with name %s in region %s.",
                launchConfigName, region));
        AmazonAutoScalingClient asgClient = asgClient();
        DeleteLaunchConfigurationRequest request = new DeleteLaunchConfigurationRequest()
                .withLaunchConfigurationName(launchConfigName);
        asgClient.deleteLaunchConfiguration(request);
    }
View Full Code Here

TOP

Related Classes of com.amazonaws.services.autoscaling.model.DeleteLaunchConfigurationRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.