|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.autoscaling.model.CreateLaunchConfigurationRequest
public class CreateLaunchConfigurationRequest
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.
AmazonAutoScaling.createLaunchConfiguration(CreateLaunchConfigurationRequest)
,
Serialized FormConstructor Summary | |
---|---|
CreateLaunchConfigurationRequest()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Boolean |
getAssociatePublicIpAddress()
Used for Auto Scaling groups that launch instances into an Amazon Virtual Private Cloud (Amazon VPC). |
java.util.List<BlockDeviceMapping> |
getBlockDeviceMappings()
A list of mappings that specify how block devices are exposed to the instance. |
java.lang.Boolean |
getEbsOptimized()
Whether the instance is optimized for EBS I/O. |
java.lang.String |
getIamInstanceProfile()
The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. |
java.lang.String |
getImageId()
Unique ID of the Amazon Machine Image (AMI) you want to use to launch your EC2 instances. |
java.lang.String |
getInstanceId()
The ID of the Amazon EC2 instance you want to use to create the launch configuration. |
InstanceMonitoring |
getInstanceMonitoring()
Enables detailed monitoring if it is disabled. |
java.lang.String |
getInstanceType()
The instance type of the Amazon EC2 instance. |
java.lang.String |
getKernelId()
The ID of the kernel associated with the Amazon EC2 AMI. |
java.lang.String |
getKeyName()
The name of the Amazon EC2 key pair. |
java.lang.String |
getLaunchConfigurationName()
The name of the launch configuration to create. |
java.lang.String |
getPlacementTenancy()
The tenancy of the instance. |
java.lang.String |
getRamdiskId()
The ID of the RAM disk associated with the Amazon EC2 AMI. |
java.util.List<java.lang.String> |
getSecurityGroups()
The security groups with which to associate Amazon EC2 or Amazon VPC instances. |
java.lang.String |
getSpotPrice()
The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. |
java.lang.String |
getUserData()
The user data to make available to the launched Amazon EC2 instances. |
int |
hashCode()
|
java.lang.Boolean |
isAssociatePublicIpAddress()
Used for Auto Scaling groups that launch instances into an Amazon Virtual Private Cloud (Amazon VPC). |
java.lang.Boolean |
isEbsOptimized()
Whether the instance is optimized for EBS I/O. |
void |
setAssociatePublicIpAddress(java.lang.Boolean associatePublicIpAddress)
Used for Auto Scaling groups that launch instances into an Amazon Virtual Private Cloud (Amazon VPC). |
void |
setBlockDeviceMappings(java.util.Collection<BlockDeviceMapping> blockDeviceMappings)
A list of mappings that specify how block devices are exposed to the instance. |
void |
setEbsOptimized(java.lang.Boolean ebsOptimized)
Whether the instance is optimized for EBS I/O. |
void |
setIamInstanceProfile(java.lang.String iamInstanceProfile)
The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. |
void |
setImageId(java.lang.String imageId)
Unique ID of the Amazon Machine Image (AMI) you want to use to launch your EC2 instances. |
void |
setInstanceId(java.lang.String instanceId)
The ID of the Amazon EC2 instance you want to use to create the launch configuration. |
void |
setInstanceMonitoring(InstanceMonitoring instanceMonitoring)
Enables detailed monitoring if it is disabled. |
void |
setInstanceType(java.lang.String instanceType)
The instance type of the Amazon EC2 instance. |
void |
setKernelId(java.lang.String kernelId)
The ID of the kernel associated with the Amazon EC2 AMI. |
void |
setKeyName(java.lang.String keyName)
The name of the Amazon EC2 key pair. |
void |
setLaunchConfigurationName(java.lang.String launchConfigurationName)
The name of the launch configuration to create. |
void |
setPlacementTenancy(java.lang.String placementTenancy)
The tenancy of the instance. |
void |
setRamdiskId(java.lang.String ramdiskId)
The ID of the RAM disk associated with the Amazon EC2 AMI. |
void |
setSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
The security groups with which to associate Amazon EC2 or Amazon VPC instances. |
void |
setSpotPrice(java.lang.String spotPrice)
The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. |
void |
setUserData(java.lang.String userData)
The user data to make available to the launched Amazon EC2 instances. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateLaunchConfigurationRequest |
withAssociatePublicIpAddress(java.lang.Boolean associatePublicIpAddress)
Used for Auto Scaling groups that launch instances into an Amazon Virtual Private Cloud (Amazon VPC). |
CreateLaunchConfigurationRequest |
withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
A list of mappings that specify how block devices are exposed to the instance. |
CreateLaunchConfigurationRequest |
withBlockDeviceMappings(java.util.Collection<BlockDeviceMapping> blockDeviceMappings)
A list of mappings that specify how block devices are exposed to the instance. |
CreateLaunchConfigurationRequest |
withEbsOptimized(java.lang.Boolean ebsOptimized)
Whether the instance is optimized for EBS I/O. |
CreateLaunchConfigurationRequest |
withIamInstanceProfile(java.lang.String iamInstanceProfile)
The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. |
CreateLaunchConfigurationRequest |
withImageId(java.lang.String imageId)
Unique ID of the Amazon Machine Image (AMI) you want to use to launch your EC2 instances. |
CreateLaunchConfigurationRequest |
withInstanceId(java.lang.String instanceId)
The ID of the Amazon EC2 instance you want to use to create the launch configuration. |
CreateLaunchConfigurationRequest |
withInstanceMonitoring(InstanceMonitoring instanceMonitoring)
Enables detailed monitoring if it is disabled. |
CreateLaunchConfigurationRequest |
withInstanceType(java.lang.String instanceType)
The instance type of the Amazon EC2 instance. |
CreateLaunchConfigurationRequest |
withKernelId(java.lang.String kernelId)
The ID of the kernel associated with the Amazon EC2 AMI. |
CreateLaunchConfigurationRequest |
withKeyName(java.lang.String keyName)
The name of the Amazon EC2 key pair. |
CreateLaunchConfigurationRequest |
withLaunchConfigurationName(java.lang.String launchConfigurationName)
The name of the launch configuration to create. |
CreateLaunchConfigurationRequest |
withPlacementTenancy(java.lang.String placementTenancy)
The tenancy of the instance. |
CreateLaunchConfigurationRequest |
withRamdiskId(java.lang.String ramdiskId)
The ID of the RAM disk associated with the Amazon EC2 AMI. |
CreateLaunchConfigurationRequest |
withSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
The security groups with which to associate Amazon EC2 or Amazon VPC instances. |
CreateLaunchConfigurationRequest |
withSecurityGroups(java.lang.String... securityGroups)
The security groups with which to associate Amazon EC2 or Amazon VPC instances. |
CreateLaunchConfigurationRequest |
withSpotPrice(java.lang.String spotPrice)
The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. |
CreateLaunchConfigurationRequest |
withUserData(java.lang.String userData)
The user data to make available to the launched Amazon EC2 instances. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateLaunchConfigurationRequest()
Method Detail |
---|
public java.lang.String getLaunchConfigurationName()
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setLaunchConfigurationName(java.lang.String launchConfigurationName)
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
launchConfigurationName
- The name of the launch configuration to create.public CreateLaunchConfigurationRequest withLaunchConfigurationName(java.lang.String launchConfigurationName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
launchConfigurationName
- The name of the launch configuration to create.
public java.lang.String getImageId()
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setImageId(java.lang.String imageId)
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
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.public CreateLaunchConfigurationRequest withImageId(java.lang.String imageId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
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.
public java.lang.String getKeyName()
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setKeyName(java.lang.String keyName)
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
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.public CreateLaunchConfigurationRequest withKeyName(java.lang.String keyName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
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.
public java.util.List<java.lang.String> getSecurityGroups()
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.
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.
public void setSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
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.
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.
public CreateLaunchConfigurationRequest withSecurityGroups(java.lang.String... securityGroups)
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.
Returns a reference to this object so that method calls can be chained together.
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.
public CreateLaunchConfigurationRequest withSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
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.
Returns a reference to this object so that method calls can be chained together.
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.
public java.lang.String getUserData()
Constraints:
Length: 0 - 21847
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setUserData(java.lang.String userData)
Constraints:
Length: 0 - 21847
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
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. public CreateLaunchConfigurationRequest withUserData(java.lang.String userData)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 21847
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
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. public java.lang.String getInstanceId()
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:
Length: 1 - 16
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
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.
public void setInstanceId(java.lang.String instanceId)
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:
Length: 1 - 16
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
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.
public CreateLaunchConfigurationRequest withInstanceId(java.lang.String instanceId)
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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 16
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
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.
public java.lang.String getInstanceType()
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setInstanceType(java.lang.String instanceType)
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
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.public CreateLaunchConfigurationRequest withInstanceType(java.lang.String instanceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
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.
public java.lang.String getKernelId()
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setKernelId(java.lang.String kernelId)
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
kernelId
- The ID of the kernel associated with the Amazon EC2 AMI.public CreateLaunchConfigurationRequest withKernelId(java.lang.String kernelId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
kernelId
- The ID of the kernel associated with the Amazon EC2 AMI.
public java.lang.String getRamdiskId()
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setRamdiskId(java.lang.String ramdiskId)
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
ramdiskId
- The ID of the RAM disk associated with the Amazon EC2 AMI.public CreateLaunchConfigurationRequest withRamdiskId(java.lang.String ramdiskId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
ramdiskId
- The ID of the RAM disk associated with the Amazon EC2 AMI.
public java.util.List<BlockDeviceMapping> getBlockDeviceMappings()
public void setBlockDeviceMappings(java.util.Collection<BlockDeviceMapping> blockDeviceMappings)
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.public CreateLaunchConfigurationRequest withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
Returns a reference to this object so that method calls can be chained together.
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.
public CreateLaunchConfigurationRequest withBlockDeviceMappings(java.util.Collection<BlockDeviceMapping> blockDeviceMappings)
Returns a reference to this object so that method calls can be chained together.
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.
public InstanceMonitoring getInstanceMonitoring()
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.
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.
public void setInstanceMonitoring(InstanceMonitoring instanceMonitoring)
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.
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.
public CreateLaunchConfigurationRequest withInstanceMonitoring(InstanceMonitoring instanceMonitoring)
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.
Returns a reference to this object so that method calls can be chained together.
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.
public java.lang.String getSpotPrice()
Constraints:
Length: 1 - 255
public void setSpotPrice(java.lang.String spotPrice)
Constraints:
Length: 1 - 255
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.public CreateLaunchConfigurationRequest withSpotPrice(java.lang.String spotPrice)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
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.
public java.lang.String getIamInstanceProfile()
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:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
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.
public void setIamInstanceProfile(java.lang.String iamInstanceProfile)
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:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
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.
public CreateLaunchConfigurationRequest withIamInstanceProfile(java.lang.String iamInstanceProfile)
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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
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.
public java.lang.Boolean isEbsOptimized()
public void setEbsOptimized(java.lang.Boolean ebsOptimized)
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.public CreateLaunchConfigurationRequest withEbsOptimized(java.lang.Boolean ebsOptimized)
Returns a reference to this object so that method calls can be chained together.
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.
public java.lang.Boolean getEbsOptimized()
public java.lang.Boolean isAssociatePublicIpAddress()
If you specify a value for this parameter, be sure to specify at least one VPC subnet using the VPCZoneIdentifier parameter when you create your Auto Scaling group.
Default: If the
instance is launched into a default subnet in a default VPC, the
default is true
. If the instance is launched into a
nondefault subnet in a VPC, the default is false
. For
information about the platforms supported by Auto Scaling, see Get
Started with Auto Scaling Using the Command Line Interface.
If you specify a value for this parameter, be sure to specify at least one VPC subnet using the VPCZoneIdentifier parameter when you create your Auto Scaling group.
Default: If the
instance is launched into a default subnet in a default VPC, the
default is true
. If the instance is launched into a
nondefault subnet in a VPC, the default is false
. For
information about the platforms supported by Auto Scaling, see Get
Started with Auto Scaling Using the Command Line Interface.
public void setAssociatePublicIpAddress(java.lang.Boolean associatePublicIpAddress)
If you specify a value for this parameter, be sure to specify at least one VPC subnet using the VPCZoneIdentifier parameter when you create your Auto Scaling group.
Default: If the
instance is launched into a default subnet in a default VPC, the
default is true
. If the instance is launched into a
nondefault subnet in a VPC, the default is false
. For
information about the platforms supported by Auto Scaling, see Get
Started with Auto Scaling Using the Command Line Interface.
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. If you specify a value for this parameter, be sure to specify at least one VPC subnet using the VPCZoneIdentifier parameter when you create your Auto Scaling group.
Default: If the
instance is launched into a default subnet in a default VPC, the
default is true
. If the instance is launched into a
nondefault subnet in a VPC, the default is false
. For
information about the platforms supported by Auto Scaling, see Get
Started with Auto Scaling Using the Command Line Interface.
public CreateLaunchConfigurationRequest withAssociatePublicIpAddress(java.lang.Boolean associatePublicIpAddress)
If you specify a value for this parameter, be sure to specify at least one VPC subnet using the VPCZoneIdentifier parameter when you create your Auto Scaling group.
Default: If the
instance is launched into a default subnet in a default VPC, the
default is true
. If the instance is launched into a
nondefault subnet in a VPC, the default is false
. For
information about the platforms supported by Auto Scaling, see Get
Started with Auto Scaling Using the Command Line Interface.
Returns a reference to this object so that method calls can be chained together.
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. If you specify a value for this parameter, be sure to specify at least one VPC subnet using the VPCZoneIdentifier parameter when you create your Auto Scaling group.
Default: If the
instance is launched into a default subnet in a default VPC, the
default is true
. If the instance is launched into a
nondefault subnet in a VPC, the default is false
. For
information about the platforms supported by Auto Scaling, see Get
Started with Auto Scaling Using the Command Line Interface.
public java.lang.Boolean getAssociatePublicIpAddress()
If you specify a value for this parameter, be sure to specify at least one VPC subnet using the VPCZoneIdentifier parameter when you create your Auto Scaling group.
Default: If the
instance is launched into a default subnet in a default VPC, the
default is true
. If the instance is launched into a
nondefault subnet in a VPC, the default is false
. For
information about the platforms supported by Auto Scaling, see Get
Started with Auto Scaling Using the Command Line Interface.
If you specify a value for this parameter, be sure to specify at least one VPC subnet using the VPCZoneIdentifier parameter when you create your Auto Scaling group.
Default: If the
instance is launched into a default subnet in a default VPC, the
default is true
. If the instance is launched into a
nondefault subnet in a VPC, the default is false
. For
information about the platforms supported by Auto Scaling, see Get
Started with Auto Scaling Using the Command Line Interface.
public java.lang.String getPlacementTenancy()
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:
Length: 1 - 64
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
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
public void setPlacementTenancy(java.lang.String placementTenancy)
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:
Length: 1 - 64
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
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
public CreateLaunchConfigurationRequest withPlacementTenancy(java.lang.String placementTenancy)
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
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
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
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |