code: public void deleteLaunchConfiguration(String launchConfigName) {
  
      final AmazonAutoScaling autoScaling = getAmazonAutoScalingClient();
  
      final DeleteLaunchConfigurationRequest deleteLaunchConfigurationRequest = new DeleteLaunchConfigurationRequest()
          .withLaunchConfigurationName(launchConfigName);
  
      autoScaling.deleteLaunchConfiguration(deleteLaunchConfigurationRequest);
  
      LOGGER.info("Deleted Launch Configuration: " + launchConfigName);
    }
docs: *
  Delete a launch configuration by its name
  
  @param launchConfigName Name of launch config to delete