LaunchConfiguration class
Describes a launch configuration.
Constructors
-
LaunchConfiguration.new({required DateTime createdTime, required String imageId, required String instanceType, required String launchConfigurationName, bool? associatePublicIpAddress, List<
BlockDeviceMapping> ? blockDeviceMappings, String? classicLinkVPCId, List<String> ? classicLinkVPCSecurityGroups, bool? ebsOptimized, String? iamInstanceProfile, InstanceMonitoring? instanceMonitoring, String? kernelId, String? keyName, String? launchConfigurationARN, InstanceMetadataOptions? metadataOptions, String? placementTenancy, String? ramdiskId, List<String> ? securityGroups, String? spotPrice, String? userData}) - LaunchConfiguration.fromXml(XmlElement elem)
-
factory
Properties
- associatePublicIpAddress → bool?
-
For Auto Scaling groups that are running in a VPC, specifies whether to
assign a public IP address to the group's instances. For more information,
see Launching
Auto Scaling instances in a VPC in the Amazon EC2 Auto Scaling User
Guide.
final
-
blockDeviceMappings
→ List<
BlockDeviceMapping> ? -
A block device mapping, which specifies the block devices for the instance.
For more information, see Block
Device Mapping in the Amazon EC2 User Guide for Linux Instances.
final
- classicLinkVPCId → String?
-
The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to.
For more information, see ClassicLink
in the Amazon EC2 User Guide for Linux Instances and Linking
EC2-Classic instances to a VPC in the Amazon EC2 Auto Scaling User
Guide.
final
-
classicLinkVPCSecurityGroups
→ List<
String> ? -
The IDs of one or more security groups for the VPC specified in
ClassicLinkVPCId
.final - createdTime → DateTime
-
The creation date and time for the launch configuration.
final
- ebsOptimized → bool?
-
Specifies whether the launch configuration is optimized for EBS I/O
(
true
) or not (false
). For more information, see Amazon EBS-Optimized Instances in the Amazon EC2 User Guide for Linux Instances.final - hashCode → int
-
The hash code for this object.
no setterinherited
- iamInstanceProfile → String?
-
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. For more information, see IAM
role for applications that run on Amazon EC2 instances in the Amazon
EC2 Auto Scaling User Guide.
final
- imageId → String
-
The ID of the Amazon Machine Image (AMI) to use to launch your EC2
instances. For more information, see Finding
an AMI in the Amazon EC2 User Guide for Linux Instances.
final
- instanceMonitoring → InstanceMonitoring?
-
Controls whether instances in this group are launched with detailed
(
true
) or basic (false
) monitoring.final - instanceType → String
-
The instance type for the instances.
final
- kernelId → String?
-
The ID of the kernel associated with the AMI.
final
- keyName → String?
-
The name of the key pair.
final
- launchConfigurationARN → String?
-
The Amazon Resource Name (ARN) of the launch configuration.
final
- launchConfigurationName → String
-
The name of the launch configuration.
final
- metadataOptions → InstanceMetadataOptions?
-
The metadata options for the instances. For more information, see Configuring
the Instance Metadata Options in the Amazon EC2 Auto Scaling User
Guide.
final
- placementTenancy → String?
-
The tenancy of the instance, either
default
ordedicated
. An instance withdedicated
tenancy runs on isolated, single-tenant hardware and can only be launched into a VPC.final - ramdiskId → String?
-
The ID of the RAM disk associated with the AMI.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
securityGroups
→ List<
String> ? -
A list that contains the security groups to assign to the instances in the
Auto Scaling group. For more information, see Security
Groups for Your VPC in the Amazon Virtual Private Cloud User
Guide.
final
- spotPrice → String?
-
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 price. For more information, see Requesting
Spot Instances in the Amazon EC2 Auto Scaling User Guide.
final
- userData → String?
-
The Base64-encoded user data to make available to the launched EC2
instances. For more information, see Instance
metadata and user data in the Amazon EC2 User Guide for Linux
Instances.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited