@Generated(value="software.amazon.awssdk:codegen") public final class LaunchConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LaunchConfiguration.Builder,LaunchConfiguration>
Describes a launch configuration.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LaunchConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
associatePublicIpAddress()
[EC2-VPC] Indicates whether to assign a public IP address to each instance.
|
List<BlockDeviceMapping> |
blockDeviceMappings()
A block device mapping, which specifies the block devices for the instance.
|
static LaunchConfiguration.Builder |
builder() |
String |
classicLinkVPCId()
The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to.
|
List<String> |
classicLinkVPCSecurityGroups()
The IDs of one or more security groups for the VPC specified in
ClassicLinkVPCId. |
Instant |
createdTime()
The creation date and time for the launch configuration.
|
Boolean |
ebsOptimized()
Controls whether the instance is optimized for EBS I/O (
true) or not (false). |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
iamInstanceProfile()
The name or Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance.
|
String |
imageId()
The ID of the Amazon Machine Image (AMI).
|
InstanceMonitoring |
instanceMonitoring()
Controls whether instances in this group are launched with detailed (
true) or basic (
false) monitoring. |
String |
instanceType()
The instance type for the instances.
|
String |
kernelId()
The ID of the kernel associated with the AMI.
|
String |
keyName()
The name of the key pair.
|
String |
launchConfigurationARN()
The Amazon Resource Name (ARN) of the launch configuration.
|
String |
launchConfigurationName()
The name of the launch configuration.
|
String |
placementTenancy()
The tenancy of the instance, either
default or dedicated. |
String |
ramdiskId()
The ID of the RAM disk associated with the AMI.
|
List<SdkField<?>> |
sdkFields() |
List<String> |
securityGroups()
The security groups to associate with the instances.
|
static Class<? extends LaunchConfiguration.Builder> |
serializableBuilderClass() |
String |
spotPrice()
The price to bid when launching Spot Instances.
|
LaunchConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userData()
The user data available to the instances.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String launchConfigurationName()
The name of the launch configuration.
public String launchConfigurationARN()
The Amazon Resource Name (ARN) of the launch configuration.
public String imageId()
The ID of the Amazon Machine Image (AMI).
public String keyName()
The name of the key pair.
public List<String> securityGroups()
The security groups to associate with the instances.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String classicLinkVPCId()
The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. This parameter can only be used if you are launching EC2-Classic instances. 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.
public List<String> classicLinkVPCSecurityGroups()
The IDs of one or more security groups for the VPC specified in ClassicLinkVPCId. 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.
Conditional: This parameter is required if you specify a ClassicLink-enabled VPC, and cannot be used otherwise.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
ClassicLinkVPCId. 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.
Conditional: This parameter is required if you specify a ClassicLink-enabled VPC, and cannot be used otherwise.
public String userData()
The user data available to the instances.
public String instanceType()
The instance type for the instances.
public String kernelId()
The ID of the kernel associated with the AMI.
public String ramdiskId()
The ID of the RAM disk associated with the AMI.
public List<BlockDeviceMapping> blockDeviceMappings()
A block device mapping, which specifies the block devices for the instance.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public InstanceMonitoring instanceMonitoring()
Controls whether instances in this group are launched with detailed (true) or basic (
false) monitoring.
true) or basic (
false) monitoring.public String spotPrice()
The price to bid when launching Spot Instances.
public String iamInstanceProfile()
The name or Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance.
public Instant createdTime()
The creation date and time for the launch configuration.
public Boolean ebsOptimized()
Controls whether the instance is optimized for EBS I/O (true) or not (false).
true) or not (false).public Boolean associatePublicIpAddress()
[EC2-VPC] Indicates whether to assign a public IP address to each instance.
public String placementTenancy()
The tenancy of the instance, either default or dedicated. An instance with
dedicated tenancy runs in an isolated, single-tenant hardware and can only be launched into a VPC.
default or dedicated. An instance with
dedicated tenancy runs in an isolated, single-tenant hardware and can only be launched into
a VPC.public LaunchConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LaunchConfiguration.Builder,LaunchConfiguration>public static LaunchConfiguration.Builder builder()
public static Class<? extends LaunchConfiguration.Builder> serializableBuilderClass()
public String toString()
Copyright © 2019. All rights reserved.