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.
Declaration Syntax
C# |
public class CreateLaunchConfigurationRequest : AmazonWebServiceRequest
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description | ||
---|---|---|---|---|
CreateLaunchConfigurationRequest()()()() | Initializes a new instance of the CreateLaunchConfigurationRequest class | |||
AssociatePublicIpAddress |
Used for Auto Scaling groups that launch instances into an Amazon Virtual Private Cloud (Amazon VPC). Specifies whether to assign a public
IP address to each instance launched in a Amazon VPC.
| |||
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, go to Block Device Mapping in the
Amazon EC2 product documentation.
| |||
EbsOptimized |
Whether the instance is optimized for EBS I/O. The optimization provides dedicated throughput to Amazon EBS and an optimized configuration
stack to provide optimal EBS I/O performance. This optimization is not available with all instance types. Additional usage charges apply
when using an EBS Optimized instance. By default the instance is not optimized for EBS I/O. For information about EBS-optimized instances,
go to EBS-Optimized Instances in the
Amazon Elastic Compute Cloud User Guide.
| |||
Equals(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.) | |||
IamInstanceProfile |
The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. Amazon EC2 instances
launched with an IAM role will automatically have AWS security credentials available. You can use IAM roles with Auto Scaling to
automatically enable applications running on your Amazon EC2 instances to securely access other AWS resources. For information on launching
EC2 instances with an IAM role, go to Launching Auto
Scaling Instances With an IAM Role in the Auto Scaling Developer Guide.
Constraints: | |||
ImageId |
Unique ID of the Amazon Machine Image (AMI) you want to use to launch your EC2 instances. For information about finding Amazon EC2 AMIs, see
Finding a Suitable AMI in the Amazon Elastic Compute
Cloud User Guide.
Constraints: | |||
InstanceId |
The ID of the Amazon EC2 instance you want to use to create the launch configuration. Use this attribute if you want the launch
configuration to derive its attributes from an EC2 instance. When you use an instance to create a launch configuration, all you need to
specify is the InstanceId. The new launch configuration, by default, derives all the attributes from the specified instance with the
exception of BlockDeviceMapping. If you want to create a launch configuration with BlockDeviceMapping or override any other
instance attributes, specify them as part of the same request. For more information on using an InstanceID to create a launch configuration,
see Create a Launch Configuration
Using an Amazon EC2 Instance in the Auto Scaling Developer Guide.
Constraints: | |||
InstanceMonitoring |
Enables detailed monitoring if it is disabled. Detailed monitoring is enabled by default. When detailed monitoring is enabled, Amazon
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 more information, see Monitor Your Auto Scaling Instances. For
information about Amazon CloudWatch, see the Amazon
CloudWatch Developer Guide.
| |||
InstanceType |
The instance type of the Amazon EC2 instance. For information about available Amazon EC2 instance types, see Available Instance Types in the
Amazon Elastic Cloud Compute User Guide. Constraints: | |||
KernelId |
The ID of the kernel associated with the Amazon EC2 AMI.
Constraints: | |||
KeyName |
The name of the Amazon EC2 key pair. For more information, see Getting a Key Pair in the Amazon Elastic Compute
Cloud User Guide.
Constraints: | |||
LaunchConfigurationName |
The name of the launch configuration to create.
Constraints: | |||
PlacementTenancy |
The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware and can only be launched into a
VPC. For more information, see Auto Scaling
in Amazon Virtual Private Cloud in the Auto Scaling Developer Guide. Valid values: default | dedicated Constraints: | |||
RamdiskId |
The ID of the RAM disk associated with the Amazon EC2 AMI.
Constraints: | |||
SecurityGroups |
The security groups with which to associate Amazon EC2 or Amazon VPC instances. If your instances are launched in EC2, you can either
specify Amazon EC2 security group names or the security group IDs. For more information about Amazon EC2 security groups, see Using Security Groups in the Amazon
Elastic Compute Cloud User Guide. If your instances are launched within VPC, specify Amazon VPC security group IDs. For more information
about Amazon VPC security groups, see Security Groups in the Amazon Virtual
Private Cloud User Guide.
| |||
SpotPrice |
The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances are launched when the price you
specify exceeds the current Spot market price. For more information on launching Spot Instances, see Using Auto Scaling to Launch Spot Instances
in the Auto Scaling Developer Guide.
Constraints: | |||
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |||
UserData |
The user data to make available to the launched Amazon EC2 instances. For more information about Amazon EC2 user data, see User Data
Retrieval in the Amazon Elastic Compute Cloud User Guide.
Constraints: | |||
WithAssociatePublicIpAddress(Boolean) | Obsolete.
Sets the AssociatePublicIpAddress property
| |||
WithBlockDeviceMappings(array<BlockDeviceMapping>[]()[][]) | Obsolete.
Adds elements to the BlockDeviceMappings collection
| |||
WithBlockDeviceMappings(IEnumerable<(Of <<'(BlockDeviceMapping>)>>)) | Obsolete.
Adds elements to the BlockDeviceMappings collection
| |||
WithEbsOptimized(Boolean) | Obsolete.
Sets the EbsOptimized property
| |||
WithIamInstanceProfile(String) | Obsolete.
Sets the IamInstanceProfile property
| |||
WithImageId(String) | Obsolete.
Sets the ImageId property
| |||
WithInstanceId(String) | Obsolete.
Sets the InstanceId property
| |||
WithInstanceMonitoring(InstanceMonitoring) | Obsolete.
Sets the InstanceMonitoring property
| |||
WithInstanceType(String) | Obsolete.
Sets the InstanceType property
| |||
WithKernelId(String) | Obsolete.
Sets the KernelId property
| |||
WithKeyName(String) | Obsolete.
Sets the KeyName property
| |||
WithLaunchConfigurationName(String) | Obsolete.
Sets the LaunchConfigurationName property
| |||
WithPlacementTenancy(String) | Obsolete.
Sets the PlacementTenancy property
| |||
WithRamdiskId(String) | Obsolete.
Sets the RamdiskId property
| |||
WithSecurityGroups(array<String>[]()[][]) | Obsolete.
Adds elements to the SecurityGroups collection
| |||
WithSecurityGroups(IEnumerable<(Of <<'(String>)>>)) | Obsolete.
Adds elements to the SecurityGroups collection
| |||
WithSpotPrice(String) | Obsolete.
Sets the SpotPrice property
| |||
WithUserData(String) | Obsolete.
Sets the UserData property
|
Inheritance Hierarchy
Object | ||
AmazonWebServiceRequest | ||
CreateLaunchConfigurationRequest |