Container for the parameters to the CreateLaunchConfiguration operation.

Creates a new launch configuration. The launch configuration name must be unique within the scope of the client's AWS account. The maximum limit of launch configurations, which by default is 100, must not yet have been met; otherwise, the call will fail. When created, the new launch configuration is available for immediate use.

You can create a launch configuration with Amazon EC2 security groups or with Amazon VPC security groups. However, you can't use Amazon EC2 security groups together with Amazon VPC security groups, or vice versa.

NOTE: At this time, Auto Scaling launch configurations don't support compressed (e.g. gzipped) user data files.

Namespace: Amazon.AutoScaling.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class CreateLaunchConfigurationRequest : AmazonWebServiceRequest
Public Class CreateLaunchConfigurationRequest _
	Inherits AmazonWebServiceRequest
public ref class CreateLaunchConfigurationRequest : public AmazonWebServiceRequest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
CreateLaunchConfigurationRequest()()()()
Initializes a new instance of the CreateLaunchConfigurationRequest class
BlockDeviceMappings
A list of mappings that specify how block devices are exposed to the instance. Each mapping is made up of a VirtualName, a DeviceName, and an ebs data structure that contains information about the associated Elastic Block Storage volume. For more information about Amazon EC2 BlockDeviceMappings, please go to Block Device Mapping in the Amazon EC2 product documentation.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
ImageId
Unique ID of the Amazon Machine Image (AMI) which was assigned during registration. For more information about Amazon EC2 images, please see Amazon EC2 product documentation

Constraints:

Length
1 - 255
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

InstanceMonitoring
Enables detailed monitoring, which is enabled by default. When detailed monitoring is enabled, CloudWatch will generate metrics every minute and your account will be charged a fee. When you disable detailed monitoring, by specifying False, Cloudwatch will generate metrics every 5 minutes. For information about monitoring, see the Amazon CloudWatch product page.
InstanceType
The instance type of the EC2 instance. For more information about Amazon EC2 instance types, please see Amazon EC2 product documentation

Constraints:

Length
1 - 255
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

KernelId
The ID of the kernel associated with the EC2 AMI.

Constraints:

Length
1 - 255
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

KeyName
The name of the EC2 key pair.

Constraints:

Length
1 - 255
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

LaunchConfigurationName
The name of the launch configuration to create.

Constraints:

Length
1 - 255
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

RamdiskId
The ID of the RAM disk associated with the EC2 AMI.

Constraints:

Length
1 - 255
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

SecurityGroups
The names of the security groups with which to associate Amazon EC2 or Amazon VPC instances. Specify Amazon EC2 security groups using security group names, such as websrv. Specify Amazon VPC security groups using security group IDs, such as sg-12345678. For more information about Amazon EC2 security groups, go to Using Security Groups in the Amazon EC2 product documentation. For more information about Amazon VPC security groups, go to Security Groups in the Amazon VPC product documentation.
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
UserData
The user data available to the launched Amazon EC2 instances. For more information about Amazon EC2 user data, please see Amazon EC2 product documentation.

Constraints:

Length
0 - 21847
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

WithBlockDeviceMappings(array<BlockDeviceMapping>[]()[][])
Adds elements to the BlockDeviceMappings collection
WithBlockDeviceMappings(IEnumerable<(Of <<'(BlockDeviceMapping>)>>))
Adds elements to the BlockDeviceMappings collection
WithImageId(String)
Sets the ImageId property
WithInstanceMonitoring(InstanceMonitoring)
Sets the InstanceMonitoring property
WithInstanceType(String)
Sets the InstanceType property
WithKernelId(String)
Sets the KernelId property
WithKeyName(String)
Sets the KeyName property
WithLaunchConfigurationName(String)
Sets the LaunchConfigurationName property
WithRamdiskId(String)
Sets the RamdiskId property
WithSecurityGroups(IEnumerable<(Of <<'(String>)>>))
Adds elements to the SecurityGroups collection
WithSecurityGroups(array<String>[]()[][])
Adds elements to the SecurityGroups collection
WithUserData(String)
Sets the UserData property

Inheritance Hierarchy

System..::..Object
  Amazon.Runtime..::..AmazonWebServiceRequest
    Amazon.AutoScaling.Model..::..CreateLaunchConfigurationRequest

See Also