deleteLaunchConfiguration

Deletes the specified launch configuration.

The launch configuration must not be attached to an Auto Scaling group. When this call completes, the launch configuration is no longer available for use.

Samples


fun main() { 
   //sampleStart 
   // This example deletes the specified launch configuration.
autoScalingClient.deleteLaunchConfiguration {
    launchConfigurationName = "my-launch-config"
} 
   //sampleEnd
}