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

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

Introduction

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

Prototype


public String getLaunchConfigurationName() 

Source Link

Document

The launch configuration associated with the instance.

Usage

From source file:org.xmlsh.aws.asDescribeGroups.java

License:BSD License

private void writeInstances(List<Instance> instances) throws XMLStreamException {
    startElement("instances");
    for (Instance inst : instances) {
        startElement("instance");
        attribute("availability-zone", inst.getAvailabilityZone());
        attribute("health-status", inst.getHealthStatus());
        attribute("instance-id", inst.getInstanceId());
        attribute("launch-configuration", inst.getLaunchConfigurationName());
        attribute("lifecycle-state", inst.getLifecycleState());
        endElement();/* w w w.  j a va  2s  .c o m*/

    }
    endElement();

}