AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.AutoScaling.AmazonAutoScalingRequest
      Amazon.AutoScaling.Model.DeleteLaunchConfigurationRequest

Namespace: Amazon.AutoScaling.Model
Assembly: AWSSDK.AutoScaling.dll
Version: 3.x.y.z

Syntax

C#
public class DeleteLaunchConfigurationRequest : AmazonAutoScalingRequest
         IAmazonWebServiceRequest

The DeleteLaunchConfigurationRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property LaunchConfigurationName System.String

Gets and sets the property LaunchConfigurationName.

The name of the launch configuration.

Examples

This example deletes the specified launch configuration.

To delete a launch configuration


var client = new AmazonAutoScalingClient();
var response = client.DeleteLaunchConfiguration(new DeleteLaunchConfigurationRequest 
{
    LaunchConfigurationName = "my-launch-config"
});


            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5