Example usage for com.amazonaws.services.autoscaling.model CreateLaunchConfigurationRequest getLaunchConfigurationName

List of usage examples for com.amazonaws.services.autoscaling.model CreateLaunchConfigurationRequest getLaunchConfigurationName

Introduction

In this page you can find the example usage for com.amazonaws.services.autoscaling.model CreateLaunchConfigurationRequest getLaunchConfigurationName.

Prototype


public String getLaunchConfigurationName() 

Source Link

Document

The name of the launch configuration.

Usage

From source file:web.component.impl.aws.AWSAutoScalingImpl.java

@Override
public void createLaunchConfiguration(CreateLaunchConfigurationRequest request) {

    if (request.getLaunchConfigurationName() == null || request.getLaunchConfigurationName().isEmpty())
        throw new IllegalArgumentException("Launch configuration name not specified.");

    awsHttpClient.createLaunchConfiguration(request);
}