AWS SDK for .NET Documentation
LaunchConfiguration Class
AmazonAmazon.AutoScaling.ModelLaunchConfiguration Did this page help you?   Yes   No    Tell us about it...

The LaunchConfiguration data type.

Declaration Syntax
C#
public class LaunchConfiguration
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
LaunchConfiguration()()()()
Initializes a new instance of the LaunchConfiguration class

AssociatePublicIpAddress
Specifies whether the instance is associated with a public IP address (true) or not (false).

BlockDeviceMappings
Specifies how block devices are exposed to the instance. Each mapping is made up of a virtualName and a deviceName.

CreatedTime
Provides the creation date and time for this launch configuration.

EbsOptimized
Specifies whether the instance is optimized for EBS I/O (true) or not (false).

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.)
IamInstanceProfile
Provides the name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role.

Constraints:

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


ImageId
Provides the unique ID of the Amazon Machine Image (AMI) that was assigned during registration.

Constraints:

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


InstanceMonitoring
Controls whether instances in this group are launched with detailed monitoring or not.

InstanceType
Specifies the instance type of the Amazon EC2 instance.

Constraints:

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


KernelId
Provides the ID of the kernel associated with the Amazon EC2 AMI.

Constraints:

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


KeyName
Provides the name of the Amazon EC2 key pair.

Constraints:

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


LaunchConfigurationARN
The launch configuration's Amazon Resource Name (ARN).

Constraints:

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


LaunchConfigurationName
Specifies the name of the launch configuration.

Constraints:

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


PlacementTenancy
Specifies the tenancy of the instance. It can be either default or dedicated. An instance with dedicated tenancy runs in an isolated, single-tenant hardware and it can only be launched in a VPC.

Constraints:

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


RamdiskId
Provides ID of the RAM disk associated with the Amazon EC2 AMI.

Constraints:

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


SecurityGroups
A description of the security groups to associate with the Amazon EC2 instances.

SpotPrice
Specifies the price to bid when launching Spot Instances.

Constraints:

Length
1 - 255


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
UserData
The user data available to the launched Amazon EC2 instances.

Constraints:

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


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

WithCreatedTime(DateTime) Obsolete.
Sets the CreatedTime property

WithEbsOptimized(Boolean) Obsolete.
Sets the EbsOptimized property

WithIamInstanceProfile(String) Obsolete.
Sets the IamInstanceProfile property

WithImageId(String) Obsolete.
Sets the ImageId 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

WithLaunchConfigurationARN(String) Obsolete.
Sets the LaunchConfigurationARN 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
LaunchConfiguration

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)