Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data RequestSpotLaunchSpecification = RequestSpotLaunchSpecification' {
- addressingType :: Maybe Text
- blockDeviceMappings :: Maybe [BlockDeviceMapping]
- ebsOptimized :: Maybe Bool
- iamInstanceProfile :: Maybe IamInstanceProfileSpecification
- imageId :: Maybe Text
- instanceType :: Maybe InstanceType
- kernelId :: Maybe Text
- keyName :: Maybe Text
- monitoring :: Maybe RunInstancesMonitoringEnabled
- networkInterfaces :: Maybe [InstanceNetworkInterfaceSpecification]
- placement :: Maybe SpotPlacement
- ramdiskId :: Maybe Text
- securityGroupIds :: Maybe [Text]
- securityGroups :: Maybe [Text]
- subnetId :: Maybe Text
- userData :: Maybe Text
- newRequestSpotLaunchSpecification :: RequestSpotLaunchSpecification
- requestSpotLaunchSpecification_addressingType :: Lens' RequestSpotLaunchSpecification (Maybe Text)
- requestSpotLaunchSpecification_blockDeviceMappings :: Lens' RequestSpotLaunchSpecification (Maybe [BlockDeviceMapping])
- requestSpotLaunchSpecification_ebsOptimized :: Lens' RequestSpotLaunchSpecification (Maybe Bool)
- requestSpotLaunchSpecification_iamInstanceProfile :: Lens' RequestSpotLaunchSpecification (Maybe IamInstanceProfileSpecification)
- requestSpotLaunchSpecification_imageId :: Lens' RequestSpotLaunchSpecification (Maybe Text)
- requestSpotLaunchSpecification_instanceType :: Lens' RequestSpotLaunchSpecification (Maybe InstanceType)
- requestSpotLaunchSpecification_kernelId :: Lens' RequestSpotLaunchSpecification (Maybe Text)
- requestSpotLaunchSpecification_keyName :: Lens' RequestSpotLaunchSpecification (Maybe Text)
- requestSpotLaunchSpecification_monitoring :: Lens' RequestSpotLaunchSpecification (Maybe RunInstancesMonitoringEnabled)
- requestSpotLaunchSpecification_networkInterfaces :: Lens' RequestSpotLaunchSpecification (Maybe [InstanceNetworkInterfaceSpecification])
- requestSpotLaunchSpecification_placement :: Lens' RequestSpotLaunchSpecification (Maybe SpotPlacement)
- requestSpotLaunchSpecification_ramdiskId :: Lens' RequestSpotLaunchSpecification (Maybe Text)
- requestSpotLaunchSpecification_securityGroupIds :: Lens' RequestSpotLaunchSpecification (Maybe [Text])
- requestSpotLaunchSpecification_securityGroups :: Lens' RequestSpotLaunchSpecification (Maybe [Text])
- requestSpotLaunchSpecification_subnetId :: Lens' RequestSpotLaunchSpecification (Maybe Text)
- requestSpotLaunchSpecification_userData :: Lens' RequestSpotLaunchSpecification (Maybe Text)
Documentation
data RequestSpotLaunchSpecification Source #
Describes the launch specification for an instance.
See: newRequestSpotLaunchSpecification
smart constructor.
RequestSpotLaunchSpecification' | |
|
Instances
newRequestSpotLaunchSpecification :: RequestSpotLaunchSpecification Source #
Create a value of RequestSpotLaunchSpecification
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:addressingType:RequestSpotLaunchSpecification'
, requestSpotLaunchSpecification_addressingType
- Deprecated.
$sel:blockDeviceMappings:RequestSpotLaunchSpecification'
, requestSpotLaunchSpecification_blockDeviceMappings
- One or more block device mapping entries. You can't specify both a
snapshot ID and an encryption value. This is because only blank volumes
can be encrypted on creation. If a snapshot is the basis for a volume,
it is not blank and its encryption status is used for the volume
encryption status.
$sel:ebsOptimized:RequestSpotLaunchSpecification'
, requestSpotLaunchSpecification_ebsOptimized
- Indicates whether the instance is optimized for EBS I/O. This
optimization provides dedicated throughput to Amazon EBS and an
optimized configuration stack to provide optimal EBS I/O performance.
This optimization isn't available with all instance types. Additional
usage charges apply when using an EBS Optimized instance.
Default: false
$sel:iamInstanceProfile:RequestSpotLaunchSpecification'
, requestSpotLaunchSpecification_iamInstanceProfile
- The IAM instance profile.
$sel:imageId:RequestSpotLaunchSpecification'
, requestSpotLaunchSpecification_imageId
- The ID of the AMI.
$sel:instanceType:RequestSpotLaunchSpecification'
, requestSpotLaunchSpecification_instanceType
- The instance type. Only one instance type can be specified.
$sel:kernelId:RequestSpotLaunchSpecification'
, requestSpotLaunchSpecification_kernelId
- The ID of the kernel.
$sel:keyName:RequestSpotLaunchSpecification'
, requestSpotLaunchSpecification_keyName
- The name of the key pair.
$sel:monitoring:RequestSpotLaunchSpecification'
, requestSpotLaunchSpecification_monitoring
- Indicates whether basic or detailed monitoring is enabled for the
instance.
Default: Disabled
$sel:networkInterfaces:RequestSpotLaunchSpecification'
, requestSpotLaunchSpecification_networkInterfaces
- One or more network interfaces. If you specify a network interface, you
must specify subnet IDs and security group IDs using the network
interface.
$sel:placement:RequestSpotLaunchSpecification'
, requestSpotLaunchSpecification_placement
- The placement information for the instance.
$sel:ramdiskId:RequestSpotLaunchSpecification'
, requestSpotLaunchSpecification_ramdiskId
- The ID of the RAM disk.
$sel:securityGroupIds:RequestSpotLaunchSpecification'
, requestSpotLaunchSpecification_securityGroupIds
- One or more security group IDs.
$sel:securityGroups:RequestSpotLaunchSpecification'
, requestSpotLaunchSpecification_securityGroups
- One or more security groups. When requesting instances in a VPC, you
must specify the IDs of the security groups. When requesting instances
in EC2-Classic, you can specify the names or the IDs of the security
groups.
RequestSpotLaunchSpecification
, requestSpotLaunchSpecification_subnetId
- The ID of the subnet in which to launch the instance.
$sel:userData:RequestSpotLaunchSpecification'
, requestSpotLaunchSpecification_userData
- The Base64-encoded user data for the instance. User data is limited to
16 KB.
requestSpotLaunchSpecification_addressingType :: Lens' RequestSpotLaunchSpecification (Maybe Text) Source #
Deprecated.
requestSpotLaunchSpecification_blockDeviceMappings :: Lens' RequestSpotLaunchSpecification (Maybe [BlockDeviceMapping]) Source #
One or more block device mapping entries. You can't specify both a snapshot ID and an encryption value. This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its encryption status is used for the volume encryption status.
requestSpotLaunchSpecification_ebsOptimized :: Lens' RequestSpotLaunchSpecification (Maybe Bool) Source #
Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.
Default: false
requestSpotLaunchSpecification_iamInstanceProfile :: Lens' RequestSpotLaunchSpecification (Maybe IamInstanceProfileSpecification) Source #
The IAM instance profile.
requestSpotLaunchSpecification_imageId :: Lens' RequestSpotLaunchSpecification (Maybe Text) Source #
The ID of the AMI.
requestSpotLaunchSpecification_instanceType :: Lens' RequestSpotLaunchSpecification (Maybe InstanceType) Source #
The instance type. Only one instance type can be specified.
requestSpotLaunchSpecification_kernelId :: Lens' RequestSpotLaunchSpecification (Maybe Text) Source #
The ID of the kernel.
requestSpotLaunchSpecification_keyName :: Lens' RequestSpotLaunchSpecification (Maybe Text) Source #
The name of the key pair.
requestSpotLaunchSpecification_monitoring :: Lens' RequestSpotLaunchSpecification (Maybe RunInstancesMonitoringEnabled) Source #
Indicates whether basic or detailed monitoring is enabled for the instance.
Default: Disabled
requestSpotLaunchSpecification_networkInterfaces :: Lens' RequestSpotLaunchSpecification (Maybe [InstanceNetworkInterfaceSpecification]) Source #
One or more network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.
requestSpotLaunchSpecification_placement :: Lens' RequestSpotLaunchSpecification (Maybe SpotPlacement) Source #
The placement information for the instance.
requestSpotLaunchSpecification_ramdiskId :: Lens' RequestSpotLaunchSpecification (Maybe Text) Source #
The ID of the RAM disk.
requestSpotLaunchSpecification_securityGroupIds :: Lens' RequestSpotLaunchSpecification (Maybe [Text]) Source #
One or more security group IDs.
requestSpotLaunchSpecification_securityGroups :: Lens' RequestSpotLaunchSpecification (Maybe [Text]) Source #
One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.
requestSpotLaunchSpecification_subnetId :: Lens' RequestSpotLaunchSpecification (Maybe Text) Source #
The ID of the subnet in which to launch the instance.
requestSpotLaunchSpecification_userData :: Lens' RequestSpotLaunchSpecification (Maybe Text) Source #
The Base64-encoded user data for the instance. User data is limited to 16 KB.