public class CreateLaunchConfigurationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for CreateLaunchConfiguration.
NOOP
Constructor and Description |
---|
CreateLaunchConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateLaunchConfigurationRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Boolean |
getAssociatePublicIpAddress()
Used for groups that launch instances into a virtual private cloud (VPC).
|
List<BlockDeviceMapping> |
getBlockDeviceMappings()
One or more mappings that specify how block devices are exposed to the
instance.
|
String |
getClassicLinkVPCId()
The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances
to.
|
List<String> |
getClassicLinkVPCSecurityGroups()
The IDs of one or more security groups for the specified
ClassicLink-enabled VPC.
|
Boolean |
getEbsOptimized()
Indicates whether the instance is optimized for Amazon EBS I/O.
|
String |
getIamInstanceProfile()
The name or the Amazon Resource Name (ARN) of the instance profile
associated with the IAM role for the instance.
|
String |
getImageId()
The ID of the Amazon Machine Image (AMI) to use to launch your EC2
instances.
|
String |
getInstanceId()
The ID of the instance to use to create the launch configuration.
|
InstanceMonitoring |
getInstanceMonitoring()
Enables detailed monitoring if it is disabled.
|
String |
getInstanceType()
The instance type of the EC2 instance.
|
String |
getKernelId()
The ID of the kernel associated with the AMI.
|
String |
getKeyName()
The name of the key pair.
|
String |
getLaunchConfigurationName()
The name of the launch configuration.
|
String |
getPlacementTenancy()
The tenancy of the instance.
|
String |
getRamdiskId()
The ID of the RAM disk associated with the AMI.
|
List<String> |
getSecurityGroups()
One or more security groups with which to associate the instances.
|
String |
getSpotPrice()
The maximum hourly price to be paid for any Spot Instance launched to
fulfill the request.
|
String |
getUserData()
The user data to make available to the launched EC2 instances.
|
int |
hashCode() |
Boolean |
isAssociatePublicIpAddress()
Used for groups that launch instances into a virtual private cloud (VPC).
|
Boolean |
isEbsOptimized()
Indicates whether the instance is optimized for Amazon EBS I/O.
|
void |
setAssociatePublicIpAddress(Boolean associatePublicIpAddress)
Used for groups that launch instances into a virtual private cloud (VPC).
|
void |
setBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
One or more mappings that specify how block devices are exposed to the
instance.
|
void |
setClassicLinkVPCId(String classicLinkVPCId)
The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances
to.
|
void |
setClassicLinkVPCSecurityGroups(Collection<String> classicLinkVPCSecurityGroups)
The IDs of one or more security groups for the specified
ClassicLink-enabled VPC.
|
void |
setEbsOptimized(Boolean ebsOptimized)
Indicates whether the instance is optimized for Amazon EBS I/O.
|
void |
setIamInstanceProfile(String iamInstanceProfile)
The name or the Amazon Resource Name (ARN) of the instance profile
associated with the IAM role for the instance.
|
void |
setImageId(String imageId)
The ID of the Amazon Machine Image (AMI) to use to launch your EC2
instances.
|
void |
setInstanceId(String instanceId)
The ID of the instance to use to create the launch configuration.
|
void |
setInstanceMonitoring(InstanceMonitoring instanceMonitoring)
Enables detailed monitoring if it is disabled.
|
void |
setInstanceType(String instanceType)
The instance type of the EC2 instance.
|
void |
setKernelId(String kernelId)
The ID of the kernel associated with the AMI.
|
void |
setKeyName(String keyName)
The name of the key pair.
|
void |
setLaunchConfigurationName(String launchConfigurationName)
The name of the launch configuration.
|
void |
setPlacementTenancy(String placementTenancy)
The tenancy of the instance.
|
void |
setRamdiskId(String ramdiskId)
The ID of the RAM disk associated with the AMI.
|
void |
setSecurityGroups(Collection<String> securityGroups)
One or more security groups with which to associate the instances.
|
void |
setSpotPrice(String spotPrice)
The maximum hourly price to be paid for any Spot Instance launched to
fulfill the request.
|
void |
setUserData(String userData)
The user data to make available to the launched EC2 instances.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateLaunchConfigurationRequest |
withAssociatePublicIpAddress(Boolean associatePublicIpAddress)
Used for groups that launch instances into a virtual private cloud (VPC).
|
CreateLaunchConfigurationRequest |
withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
One or more mappings that specify how block devices are exposed to the
instance.
|
CreateLaunchConfigurationRequest |
withBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
One or more mappings that specify how block devices are exposed to the
instance.
|
CreateLaunchConfigurationRequest |
withClassicLinkVPCId(String classicLinkVPCId)
The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances
to.
|
CreateLaunchConfigurationRequest |
withClassicLinkVPCSecurityGroups(Collection<String> classicLinkVPCSecurityGroups)
The IDs of one or more security groups for the specified
ClassicLink-enabled VPC.
|
CreateLaunchConfigurationRequest |
withClassicLinkVPCSecurityGroups(String... classicLinkVPCSecurityGroups)
The IDs of one or more security groups for the specified
ClassicLink-enabled VPC.
|
CreateLaunchConfigurationRequest |
withEbsOptimized(Boolean ebsOptimized)
Indicates whether the instance is optimized for Amazon EBS I/O.
|
CreateLaunchConfigurationRequest |
withIamInstanceProfile(String iamInstanceProfile)
The name or the Amazon Resource Name (ARN) of the instance profile
associated with the IAM role for the instance.
|
CreateLaunchConfigurationRequest |
withImageId(String imageId)
The ID of the Amazon Machine Image (AMI) to use to launch your EC2
instances.
|
CreateLaunchConfigurationRequest |
withInstanceId(String instanceId)
The ID of the instance to use to create the launch configuration.
|
CreateLaunchConfigurationRequest |
withInstanceMonitoring(InstanceMonitoring instanceMonitoring)
Enables detailed monitoring if it is disabled.
|
CreateLaunchConfigurationRequest |
withInstanceType(String instanceType)
The instance type of the EC2 instance.
|
CreateLaunchConfigurationRequest |
withKernelId(String kernelId)
The ID of the kernel associated with the AMI.
|
CreateLaunchConfigurationRequest |
withKeyName(String keyName)
The name of the key pair.
|
CreateLaunchConfigurationRequest |
withLaunchConfigurationName(String launchConfigurationName)
The name of the launch configuration.
|
CreateLaunchConfigurationRequest |
withPlacementTenancy(String placementTenancy)
The tenancy of the instance.
|
CreateLaunchConfigurationRequest |
withRamdiskId(String ramdiskId)
The ID of the RAM disk associated with the AMI.
|
CreateLaunchConfigurationRequest |
withSecurityGroups(Collection<String> securityGroups)
One or more security groups with which to associate the instances.
|
CreateLaunchConfigurationRequest |
withSecurityGroups(String... securityGroups)
One or more security groups with which to associate the instances.
|
CreateLaunchConfigurationRequest |
withSpotPrice(String spotPrice)
The maximum hourly price to be paid for any Spot Instance launched to
fulfill the request.
|
CreateLaunchConfigurationRequest |
withUserData(String userData)
The user data to make available to the launched EC2 instances.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setLaunchConfigurationName(String launchConfigurationName)
The name of the launch configuration. This name must be unique within the scope of your AWS account.
launchConfigurationName
- The name of the launch configuration. This name must be unique
within the scope of your AWS account.public String getLaunchConfigurationName()
The name of the launch configuration. This name must be unique within the scope of your AWS account.
public CreateLaunchConfigurationRequest withLaunchConfigurationName(String launchConfigurationName)
The name of the launch configuration. This name must be unique within the scope of your AWS account.
launchConfigurationName
- The name of the launch configuration. This name must be unique
within the scope of your AWS account.public void setImageId(String imageId)
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 Elastic Compute Cloud User Guide.
imageId
- 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 Elastic Compute Cloud User
Guide.public String getImageId()
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 Elastic Compute Cloud User Guide.
public CreateLaunchConfigurationRequest withImageId(String imageId)
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 Elastic Compute Cloud User Guide.
imageId
- 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 Elastic Compute Cloud User
Guide.public void setKeyName(String keyName)
The name of the key pair. For more information, see Amazon EC2 Key Pairs in the Amazon Elastic Compute Cloud User Guide.
keyName
- The name of the key pair. For more information, see Amazon EC2 Key Pairs in the Amazon Elastic Compute Cloud
User Guide.public String getKeyName()
The name of the key pair. For more information, see Amazon EC2 Key Pairs in the Amazon Elastic Compute Cloud User Guide.
public CreateLaunchConfigurationRequest withKeyName(String keyName)
The name of the key pair. For more information, see Amazon EC2 Key Pairs in the Amazon Elastic Compute Cloud User Guide.
keyName
- The name of the key pair. For more information, see Amazon EC2 Key Pairs in the Amazon Elastic Compute Cloud
User Guide.public List<String> getSecurityGroups()
One or more security groups with which to associate the instances.
If your instances are launched in EC2-Classic, you can either specify security group names or the security group IDs. For more information about security groups for EC2-Classic, see Amazon EC2 Security Groups in the Amazon Elastic Compute Cloud User Guide.
If your instances are launched into a VPC, specify security group IDs. For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide.
If your instances are launched in EC2-Classic, you can either specify security group names or the security group IDs. For more information about security groups for EC2-Classic, see Amazon EC2 Security Groups in the Amazon Elastic Compute Cloud User Guide.
If your instances are launched into a VPC, specify security group IDs. For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide.
public void setSecurityGroups(Collection<String> securityGroups)
One or more security groups with which to associate the instances.
If your instances are launched in EC2-Classic, you can either specify security group names or the security group IDs. For more information about security groups for EC2-Classic, see Amazon EC2 Security Groups in the Amazon Elastic Compute Cloud User Guide.
If your instances are launched into a VPC, specify security group IDs. For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide.
securityGroups
- One or more security groups with which to associate the
instances.
If your instances are launched in EC2-Classic, you can either specify security group names or the security group IDs. For more information about security groups for EC2-Classic, see Amazon EC2 Security Groups in the Amazon Elastic Compute Cloud User Guide.
If your instances are launched into a VPC, specify security group IDs. For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide.
public CreateLaunchConfigurationRequest withSecurityGroups(String... securityGroups)
One or more security groups with which to associate the instances.
If your instances are launched in EC2-Classic, you can either specify security group names or the security group IDs. For more information about security groups for EC2-Classic, see Amazon EC2 Security Groups in the Amazon Elastic Compute Cloud User Guide.
If your instances are launched into a VPC, specify security group IDs. For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide.
NOTE: This method appends the values to the existing list (if
any). Use setSecurityGroups(java.util.Collection)
or
withSecurityGroups(java.util.Collection)
if you want to override
the existing values.
securityGroups
- One or more security groups with which to associate the
instances.
If your instances are launched in EC2-Classic, you can either specify security group names or the security group IDs. For more information about security groups for EC2-Classic, see Amazon EC2 Security Groups in the Amazon Elastic Compute Cloud User Guide.
If your instances are launched into a VPC, specify security group IDs. For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide.
public CreateLaunchConfigurationRequest withSecurityGroups(Collection<String> securityGroups)
One or more security groups with which to associate the instances.
If your instances are launched in EC2-Classic, you can either specify security group names or the security group IDs. For more information about security groups for EC2-Classic, see Amazon EC2 Security Groups in the Amazon Elastic Compute Cloud User Guide.
If your instances are launched into a VPC, specify security group IDs. For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide.
securityGroups
- One or more security groups with which to associate the
instances.
If your instances are launched in EC2-Classic, you can either specify security group names or the security group IDs. For more information about security groups for EC2-Classic, see Amazon EC2 Security Groups in the Amazon Elastic Compute Cloud User Guide.
If your instances are launched into a VPC, specify security group IDs. For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide.
public void setClassicLinkVPCId(String classicLinkVPCId)
The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. This parameter is supported only if you are launching EC2-Classic instances. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.
classicLinkVPCId
- The ID of a ClassicLink-enabled VPC to link your EC2-Classic
instances to. This parameter is supported only if you are
launching EC2-Classic instances. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User
Guide.public String getClassicLinkVPCId()
The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. This parameter is supported only if you are launching EC2-Classic instances. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.
public CreateLaunchConfigurationRequest withClassicLinkVPCId(String classicLinkVPCId)
The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. This parameter is supported only if you are launching EC2-Classic instances. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.
classicLinkVPCId
- The ID of a ClassicLink-enabled VPC to link your EC2-Classic
instances to. This parameter is supported only if you are
launching EC2-Classic instances. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User
Guide.public List<String> getClassicLinkVPCSecurityGroups()
The IDs of one or more security groups for the specified ClassicLink-enabled VPC. This parameter is required if you specify a ClassicLink-enabled VPC, and is not supported otherwise. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.
public void setClassicLinkVPCSecurityGroups(Collection<String> classicLinkVPCSecurityGroups)
The IDs of one or more security groups for the specified ClassicLink-enabled VPC. This parameter is required if you specify a ClassicLink-enabled VPC, and is not supported otherwise. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.
classicLinkVPCSecurityGroups
- The IDs of one or more security groups for the specified
ClassicLink-enabled VPC. This parameter is required if you specify
a ClassicLink-enabled VPC, and is not supported otherwise. For
more information, see ClassicLink in the Amazon Elastic Compute Cloud User
Guide.public CreateLaunchConfigurationRequest withClassicLinkVPCSecurityGroups(String... classicLinkVPCSecurityGroups)
The IDs of one or more security groups for the specified ClassicLink-enabled VPC. This parameter is required if you specify a ClassicLink-enabled VPC, and is not supported otherwise. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.
NOTE: This method appends the values to the existing list (if
any). Use setClassicLinkVPCSecurityGroups(java.util.Collection)
or withClassicLinkVPCSecurityGroups(java.util.Collection)
if you
want to override the existing values.
classicLinkVPCSecurityGroups
- The IDs of one or more security groups for the specified
ClassicLink-enabled VPC. This parameter is required if you specify
a ClassicLink-enabled VPC, and is not supported otherwise. For
more information, see ClassicLink in the Amazon Elastic Compute Cloud User
Guide.public CreateLaunchConfigurationRequest withClassicLinkVPCSecurityGroups(Collection<String> classicLinkVPCSecurityGroups)
The IDs of one or more security groups for the specified ClassicLink-enabled VPC. This parameter is required if you specify a ClassicLink-enabled VPC, and is not supported otherwise. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.
classicLinkVPCSecurityGroups
- The IDs of one or more security groups for the specified
ClassicLink-enabled VPC. This parameter is required if you specify
a ClassicLink-enabled VPC, and is not supported otherwise. For
more information, see ClassicLink in the Amazon Elastic Compute Cloud User
Guide.public void setUserData(String userData)
The user data to make available to the launched EC2 instances. For more information, see Instance Metadata and User Data in the Amazon Elastic Compute Cloud User Guide.
userData
- The user data to make available to the launched EC2 instances. For
more information, see Instance Metadata and User Data in the Amazon Elastic
Compute Cloud User Guide.public String getUserData()
The user data to make available to the launched EC2 instances. For more information, see Instance Metadata and User Data in the Amazon Elastic Compute Cloud User Guide.
public CreateLaunchConfigurationRequest withUserData(String userData)
The user data to make available to the launched EC2 instances. For more information, see Instance Metadata and User Data in the Amazon Elastic Compute Cloud User Guide.
userData
- The user data to make available to the launched EC2 instances. For
more information, see Instance Metadata and User Data in the Amazon Elastic
Compute Cloud User Guide.public void setInstanceId(String instanceId)
The ID of the instance to use to create the launch configuration.
The new launch configuration derives attributes from the instance, with the exception of the block device mapping.
To create a launch configuration with a block device mapping or override any other instance attributes, specify them as part of the same request.
For more information, see Create a Launch Configuration Using an EC2 Instance in the Auto Scaling User Guide.
instanceId
- The ID of the instance to use to create the launch
configuration.
The new launch configuration derives attributes from the instance, with the exception of the block device mapping.
To create a launch configuration with a block device mapping or override any other instance attributes, specify them as part of the same request.
For more information, see Create a Launch Configuration Using an EC2 Instance in the Auto Scaling User Guide.
public String getInstanceId()
The ID of the instance to use to create the launch configuration.
The new launch configuration derives attributes from the instance, with the exception of the block device mapping.
To create a launch configuration with a block device mapping or override any other instance attributes, specify them as part of the same request.
For more information, see Create a Launch Configuration Using an EC2 Instance in the Auto Scaling User Guide.
The new launch configuration derives attributes from the instance, with the exception of the block device mapping.
To create a launch configuration with a block device mapping or override any other instance attributes, specify them as part of the same request.
For more information, see Create a Launch Configuration Using an EC2 Instance in the Auto Scaling User Guide.
public CreateLaunchConfigurationRequest withInstanceId(String instanceId)
The ID of the instance to use to create the launch configuration.
The new launch configuration derives attributes from the instance, with the exception of the block device mapping.
To create a launch configuration with a block device mapping or override any other instance attributes, specify them as part of the same request.
For more information, see Create a Launch Configuration Using an EC2 Instance in the Auto Scaling User Guide.
instanceId
- The ID of the instance to use to create the launch
configuration.
The new launch configuration derives attributes from the instance, with the exception of the block device mapping.
To create a launch configuration with a block device mapping or override any other instance attributes, specify them as part of the same request.
For more information, see Create a Launch Configuration Using an EC2 Instance in the Auto Scaling User Guide.
public void setInstanceType(String instanceType)
The instance type of the EC2 instance. For information about available instance types, see Available Instance Types in the Amazon Elastic Compute Cloud User Guide.
instanceType
- The instance type of the EC2 instance. For information about
available instance types, see Available Instance Types in the Amazon Elastic Compute
Cloud User Guide.public String getInstanceType()
The instance type of the EC2 instance. For information about available instance types, see Available Instance Types in the Amazon Elastic Compute Cloud User Guide.
public CreateLaunchConfigurationRequest withInstanceType(String instanceType)
The instance type of the EC2 instance. For information about available instance types, see Available Instance Types in the Amazon Elastic Compute Cloud User Guide.
instanceType
- The instance type of the EC2 instance. For information about
available instance types, see Available Instance Types in the Amazon Elastic Compute
Cloud User Guide.public void setKernelId(String kernelId)
The ID of the kernel associated with the AMI.
kernelId
- The ID of the kernel associated with the AMI.public String getKernelId()
The ID of the kernel associated with the AMI.
public CreateLaunchConfigurationRequest withKernelId(String kernelId)
The ID of the kernel associated with the AMI.
kernelId
- The ID of the kernel associated with the AMI.public void setRamdiskId(String ramdiskId)
The ID of the RAM disk associated with the AMI.
ramdiskId
- The ID of the RAM disk associated with the AMI.public String getRamdiskId()
The ID of the RAM disk associated with the AMI.
public CreateLaunchConfigurationRequest withRamdiskId(String ramdiskId)
The ID of the RAM disk associated with the AMI.
ramdiskId
- The ID of the RAM disk associated with the AMI.public List<BlockDeviceMapping> getBlockDeviceMappings()
One or more mappings that specify how block devices are exposed to the instance. For more information, see Block Device Mapping in the Amazon Elastic Compute Cloud User Guide.
public void setBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
One or more mappings that specify how block devices are exposed to the instance. For more information, see Block Device Mapping in the Amazon Elastic Compute Cloud User Guide.
blockDeviceMappings
- One or more mappings that specify how block devices are exposed to
the instance. For more information, see Block Device Mapping in the Amazon Elastic Compute Cloud
User Guide.public CreateLaunchConfigurationRequest withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
One or more mappings that specify how block devices are exposed to the instance. For more information, see Block Device Mapping in the Amazon Elastic Compute Cloud User Guide.
NOTE: This method appends the values to the existing list (if
any). Use setBlockDeviceMappings(java.util.Collection)
or
withBlockDeviceMappings(java.util.Collection)
if you want to
override the existing values.
blockDeviceMappings
- One or more mappings that specify how block devices are exposed to
the instance. For more information, see Block Device Mapping in the Amazon Elastic Compute Cloud
User Guide.public CreateLaunchConfigurationRequest withBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
One or more mappings that specify how block devices are exposed to the instance. For more information, see Block Device Mapping in the Amazon Elastic Compute Cloud User Guide.
blockDeviceMappings
- One or more mappings that specify how block devices are exposed to
the instance. For more information, see Block Device Mapping in the Amazon Elastic Compute Cloud
User Guide.public void setInstanceMonitoring(InstanceMonitoring instanceMonitoring)
Enables detailed monitoring if it is disabled. Detailed monitoring is enabled by default.
When detailed monitoring is enabled, Amazon CloudWatch generates metrics
every minute and your account is charged a fee. When you disable detailed
monitoring, by specifying False
, CloudWatch generates
metrics every 5 minutes. For more information, see Monitoring Your Auto Scaling Instances and Groups in the Auto
Scaling User Guide.
instanceMonitoring
- Enables detailed monitoring if it is disabled. Detailed monitoring
is enabled by default.
When detailed monitoring is enabled, Amazon CloudWatch generates
metrics every minute and your account is charged a fee. When you
disable detailed monitoring, by specifying False
,
CloudWatch generates metrics every 5 minutes. For more
information, see Monitoring Your Auto Scaling Instances and Groups in the
Auto Scaling User Guide.
public InstanceMonitoring getInstanceMonitoring()
Enables detailed monitoring if it is disabled. Detailed monitoring is enabled by default.
When detailed monitoring is enabled, Amazon CloudWatch generates metrics
every minute and your account is charged a fee. When you disable detailed
monitoring, by specifying False
, CloudWatch generates
metrics every 5 minutes. For more information, see Monitoring Your Auto Scaling Instances and Groups in the Auto
Scaling User Guide.
When detailed monitoring is enabled, Amazon CloudWatch generates
metrics every minute and your account is charged a fee. When you
disable detailed monitoring, by specifying False
,
CloudWatch generates metrics every 5 minutes. For more
information, see Monitoring Your Auto Scaling Instances and Groups in the
Auto Scaling User Guide.
public CreateLaunchConfigurationRequest withInstanceMonitoring(InstanceMonitoring instanceMonitoring)
Enables detailed monitoring if it is disabled. Detailed monitoring is enabled by default.
When detailed monitoring is enabled, Amazon CloudWatch generates metrics
every minute and your account is charged a fee. When you disable detailed
monitoring, by specifying False
, CloudWatch generates
metrics every 5 minutes. For more information, see Monitoring Your Auto Scaling Instances and Groups in the Auto
Scaling User Guide.
instanceMonitoring
- Enables detailed monitoring if it is disabled. Detailed monitoring
is enabled by default.
When detailed monitoring is enabled, Amazon CloudWatch generates
metrics every minute and your account is charged a fee. When you
disable detailed monitoring, by specifying False
,
CloudWatch generates metrics every 5 minutes. For more
information, see Monitoring Your Auto Scaling Instances and Groups in the
Auto Scaling User Guide.
public void setSpotPrice(String 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, see Launching Spot Instances in Your Auto Scaling Group in the Auto Scaling 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, see Launching Spot Instances in Your Auto Scaling Group in the
Auto Scaling User Guide.public String getSpotPrice()
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, see Launching Spot Instances in Your Auto Scaling Group in the Auto Scaling User Guide.
public CreateLaunchConfigurationRequest withSpotPrice(String 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, see Launching Spot Instances in Your Auto Scaling Group in the Auto Scaling 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, see Launching Spot Instances in Your Auto Scaling Group in the
Auto Scaling User Guide.public void setIamInstanceProfile(String iamInstanceProfile)
The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance.
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 EC2 instances to securely access other AWS resources. For more information, see Launch Auto Scaling Instances with an IAM Role in the Auto Scaling User Guide.
iamInstanceProfile
- The name or the Amazon Resource Name (ARN) of the instance profile
associated with the IAM role for the instance.
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 EC2 instances to securely access other AWS resources. For more information, see Launch Auto Scaling Instances with an IAM Role in the Auto Scaling User Guide.
public String getIamInstanceProfile()
The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance.
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 EC2 instances to securely access other AWS resources. For more information, see Launch Auto Scaling Instances with an IAM Role in the Auto Scaling User Guide.
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 EC2 instances to securely access other AWS resources. For more information, see Launch Auto Scaling Instances with an IAM Role in the Auto Scaling User Guide.
public CreateLaunchConfigurationRequest withIamInstanceProfile(String iamInstanceProfile)
The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance.
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 EC2 instances to securely access other AWS resources. For more information, see Launch Auto Scaling Instances with an IAM Role in the Auto Scaling User Guide.
iamInstanceProfile
- The name or the Amazon Resource Name (ARN) of the instance profile
associated with the IAM role for the instance.
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 EC2 instances to securely access other AWS resources. For more information, see Launch Auto Scaling Instances with an IAM Role in the Auto Scaling User Guide.
public void setEbsOptimized(Boolean ebsOptimized)
Indicates whether the instance is optimized for Amazon EBS I/O. By default, the instance is not optimized for EBS I/O. The optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization is not available with all instance types. Additional usage charges apply. For more information, see Amazon EBS-Optimized Instances in the Amazon Elastic Compute Cloud User Guide.
ebsOptimized
- Indicates whether the instance is optimized for Amazon EBS I/O. By
default, the instance is not optimized for EBS I/O. The
optimization provides dedicated throughput to Amazon EBS and an
optimized configuration stack to provide optimal I/O performance.
This optimization is not available with all instance types.
Additional usage charges apply. For more information, see Amazon EBS-Optimized Instances in the Amazon Elastic
Compute Cloud User Guide.public Boolean getEbsOptimized()
Indicates whether the instance is optimized for Amazon EBS I/O. By default, the instance is not optimized for EBS I/O. The optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization is not available with all instance types. Additional usage charges apply. For more information, see Amazon EBS-Optimized Instances in the Amazon Elastic Compute Cloud User Guide.
public CreateLaunchConfigurationRequest withEbsOptimized(Boolean ebsOptimized)
Indicates whether the instance is optimized for Amazon EBS I/O. By default, the instance is not optimized for EBS I/O. The optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization is not available with all instance types. Additional usage charges apply. For more information, see Amazon EBS-Optimized Instances in the Amazon Elastic Compute Cloud User Guide.
ebsOptimized
- Indicates whether the instance is optimized for Amazon EBS I/O. By
default, the instance is not optimized for EBS I/O. The
optimization provides dedicated throughput to Amazon EBS and an
optimized configuration stack to provide optimal I/O performance.
This optimization is not available with all instance types.
Additional usage charges apply. For more information, see Amazon EBS-Optimized Instances in the Amazon Elastic
Compute Cloud User Guide.public Boolean isEbsOptimized()
Indicates whether the instance is optimized for Amazon EBS I/O. By default, the instance is not optimized for EBS I/O. The optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization is not available with all instance types. Additional usage charges apply. For more information, see Amazon EBS-Optimized Instances in the Amazon Elastic Compute Cloud User Guide.
public void setAssociatePublicIpAddress(Boolean associatePublicIpAddress)
Used for groups that launch instances into a virtual private cloud (VPC). Specifies whether to assign a public IP address to each instance. For more information, see Launching Auto Scaling Instances in a VPC in the Auto Scaling User Guide.
If you specify this parameter, be sure to specify at least one subnet when you create your group.
Default: If the instance is launched into a default subnet, the default
is true
. If the instance is launched into a nondefault
subnet, the default is false
. For more information, see Supported Platforms in the Amazon Elastic Compute Cloud User
Guide.
associatePublicIpAddress
- Used for groups that launch instances into a virtual private cloud
(VPC). Specifies whether to assign a public IP address to each
instance. For more information, see Launching Auto Scaling Instances in a VPC in the Auto
Scaling User Guide.
If you specify this parameter, be sure to specify at least one subnet when you create your group.
Default: If the instance is launched into a default subnet, the
default is true
. If the instance is launched into a
nondefault subnet, the default is false
. For more
information, see Supported Platforms in the Amazon Elastic Compute Cloud
User Guide.
public Boolean getAssociatePublicIpAddress()
Used for groups that launch instances into a virtual private cloud (VPC). Specifies whether to assign a public IP address to each instance. For more information, see Launching Auto Scaling Instances in a VPC in the Auto Scaling User Guide.
If you specify this parameter, be sure to specify at least one subnet when you create your group.
Default: If the instance is launched into a default subnet, the default
is true
. If the instance is launched into a nondefault
subnet, the default is false
. For more information, see Supported Platforms in the Amazon Elastic Compute Cloud User
Guide.
If you specify this parameter, be sure to specify at least one subnet when you create your group.
Default: If the instance is launched into a default subnet, the
default is true
. If the instance is launched into a
nondefault subnet, the default is false
. For more
information, see Supported Platforms in the Amazon Elastic Compute Cloud
User Guide.
public CreateLaunchConfigurationRequest withAssociatePublicIpAddress(Boolean associatePublicIpAddress)
Used for groups that launch instances into a virtual private cloud (VPC). Specifies whether to assign a public IP address to each instance. For more information, see Launching Auto Scaling Instances in a VPC in the Auto Scaling User Guide.
If you specify this parameter, be sure to specify at least one subnet when you create your group.
Default: If the instance is launched into a default subnet, the default
is true
. If the instance is launched into a nondefault
subnet, the default is false
. For more information, see Supported Platforms in the Amazon Elastic Compute Cloud User
Guide.
associatePublicIpAddress
- Used for groups that launch instances into a virtual private cloud
(VPC). Specifies whether to assign a public IP address to each
instance. For more information, see Launching Auto Scaling Instances in a VPC in the Auto
Scaling User Guide.
If you specify this parameter, be sure to specify at least one subnet when you create your group.
Default: If the instance is launched into a default subnet, the
default is true
. If the instance is launched into a
nondefault subnet, the default is false
. For more
information, see Supported Platforms in the Amazon Elastic Compute Cloud
User Guide.
public Boolean isAssociatePublicIpAddress()
Used for groups that launch instances into a virtual private cloud (VPC). Specifies whether to assign a public IP address to each instance. For more information, see Launching Auto Scaling Instances in a VPC in the Auto Scaling User Guide.
If you specify this parameter, be sure to specify at least one subnet when you create your group.
Default: If the instance is launched into a default subnet, the default
is true
. If the instance is launched into a nondefault
subnet, the default is false
. For more information, see Supported Platforms in the Amazon Elastic Compute Cloud User
Guide.
If you specify this parameter, be sure to specify at least one subnet when you create your group.
Default: If the instance is launched into a default subnet, the
default is true
. If the instance is launched into a
nondefault subnet, the default is false
. For more
information, see Supported Platforms in the Amazon Elastic Compute Cloud
User Guide.
public void setPlacementTenancy(String 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.
You must set the value of this parameter to dedicated
if
want to launch Dedicated Instances into a shared tenancy VPC (VPC with
instance placement tenancy attribute set to default
).
If you specify this parameter, be sure to specify at least one subnet when you create your group.
For more information, see Launching Auto Scaling Instances in a VPC in the Auto Scaling User Guide.
Valid values: default
| dedicated
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.
You must set the value of this parameter to dedicated
if want to launch Dedicated Instances into a shared tenancy VPC
(VPC with instance placement tenancy attribute set to
default
).
If you specify this parameter, be sure to specify at least one subnet when you create your group.
For more information, see Launching Auto Scaling Instances in a VPC in the Auto Scaling User Guide.
Valid values: default
| dedicated
public String getPlacementTenancy()
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.
You must set the value of this parameter to dedicated
if
want to launch Dedicated Instances into a shared tenancy VPC (VPC with
instance placement tenancy attribute set to default
).
If you specify this parameter, be sure to specify at least one subnet when you create your group.
For more information, see Launching Auto Scaling Instances in a VPC in the Auto Scaling User Guide.
Valid values: default
| dedicated
dedicated
runs on single-tenant hardware and can
only be launched into a VPC.
You must set the value of this parameter to
dedicated
if want to launch Dedicated Instances into
a shared tenancy VPC (VPC with instance placement tenancy
attribute set to default
).
If you specify this parameter, be sure to specify at least one subnet when you create your group.
For more information, see Launching Auto Scaling Instances in a VPC in the Auto Scaling User Guide.
Valid values: default
| dedicated
public CreateLaunchConfigurationRequest withPlacementTenancy(String 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.
You must set the value of this parameter to dedicated
if
want to launch Dedicated Instances into a shared tenancy VPC (VPC with
instance placement tenancy attribute set to default
).
If you specify this parameter, be sure to specify at least one subnet when you create your group.
For more information, see Launching Auto Scaling Instances in a VPC in the Auto Scaling User Guide.
Valid values: default
| dedicated
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.
You must set the value of this parameter to dedicated
if want to launch Dedicated Instances into a shared tenancy VPC
(VPC with instance placement tenancy attribute set to
default
).
If you specify this parameter, be sure to specify at least one subnet when you create your group.
For more information, see Launching Auto Scaling Instances in a VPC in the Auto Scaling User Guide.
Valid values: default
| dedicated
public String toString()
toString
in class Object
Object.toString()
public CreateLaunchConfigurationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.