deleteLaunchConfiguration
inline suspend fun AutoScalingClient.deleteLaunchConfiguration(crossinline block: DeleteLaunchConfigurationRequest.Builder.() -> Unit): DeleteLaunchConfigurationResponse
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
}