AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the DeleteLaunchConfiguration operation. 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.
Namespace: Amazon.AutoScaling.Model
Assembly: AWSSDK.AutoScaling.dll
Version: 3.x.y.z
public class DeleteLaunchConfigurationRequest : AmazonAutoScalingRequest IAmazonWebServiceRequest
The DeleteLaunchConfigurationRequest type exposes the following members
Name | Description | |
---|---|---|
DeleteLaunchConfigurationRequest() |
Name | Type | Description | |
---|---|---|---|
LaunchConfigurationName | System.String |
Gets and sets the property LaunchConfigurationName. The name of the launch configuration. |
This example deletes the specified launch configuration.
var client = new AmazonAutoScalingClient(); var response = client.DeleteLaunchConfiguration(new DeleteLaunchConfigurationRequest { LaunchConfigurationName = "my-launch-config" });
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5