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 LaunchSpecification = LaunchSpecification' {
- 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
- securityGroups :: Maybe [GroupIdentifier]
- subnetId :: Maybe Text
- userData :: Maybe Text
- newLaunchSpecification :: LaunchSpecification
- launchSpecification_addressingType :: Lens' LaunchSpecification (Maybe Text)
- launchSpecification_blockDeviceMappings :: Lens' LaunchSpecification (Maybe [BlockDeviceMapping])
- launchSpecification_ebsOptimized :: Lens' LaunchSpecification (Maybe Bool)
- launchSpecification_iamInstanceProfile :: Lens' LaunchSpecification (Maybe IamInstanceProfileSpecification)
- launchSpecification_imageId :: Lens' LaunchSpecification (Maybe Text)
- launchSpecification_instanceType :: Lens' LaunchSpecification (Maybe InstanceType)
- launchSpecification_kernelId :: Lens' LaunchSpecification (Maybe Text)
- launchSpecification_keyName :: Lens' LaunchSpecification (Maybe Text)
- launchSpecification_monitoring :: Lens' LaunchSpecification (Maybe RunInstancesMonitoringEnabled)
- launchSpecification_networkInterfaces :: Lens' LaunchSpecification (Maybe [InstanceNetworkInterfaceSpecification])
- launchSpecification_placement :: Lens' LaunchSpecification (Maybe SpotPlacement)
- launchSpecification_ramdiskId :: Lens' LaunchSpecification (Maybe Text)
- launchSpecification_securityGroups :: Lens' LaunchSpecification (Maybe [GroupIdentifier])
- launchSpecification_subnetId :: Lens' LaunchSpecification (Maybe Text)
- launchSpecification_userData :: Lens' LaunchSpecification (Maybe Text)
Documentation
data LaunchSpecification Source #
Describes the launch specification for an instance.
See: newLaunchSpecification
smart constructor.
LaunchSpecification' | |
|
Instances
newLaunchSpecification :: LaunchSpecification Source #
Create a value of LaunchSpecification
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:LaunchSpecification'
, launchSpecification_addressingType
- Deprecated.
$sel:blockDeviceMappings:LaunchSpecification'
, launchSpecification_blockDeviceMappings
- One or more block device mapping entries.
$sel:ebsOptimized:LaunchSpecification'
, launchSpecification_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:LaunchSpecification'
, launchSpecification_iamInstanceProfile
- The IAM instance profile.
$sel:imageId:LaunchSpecification'
, launchSpecification_imageId
- The ID of the AMI.
$sel:instanceType:LaunchSpecification'
, launchSpecification_instanceType
- The instance type. Only one instance type can be specified.
$sel:kernelId:LaunchSpecification'
, launchSpecification_kernelId
- The ID of the kernel.
$sel:keyName:LaunchSpecification'
, launchSpecification_keyName
- The name of the key pair.
$sel:monitoring:LaunchSpecification'
, launchSpecification_monitoring
- Undocumented member.
$sel:networkInterfaces:LaunchSpecification'
, launchSpecification_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:LaunchSpecification'
, launchSpecification_placement
- The placement information for the instance.
$sel:ramdiskId:LaunchSpecification'
, launchSpecification_ramdiskId
- The ID of the RAM disk.
$sel:securityGroups:LaunchSpecification'
, launchSpecification_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.
LaunchSpecification
, launchSpecification_subnetId
- The ID of the subnet in which to launch the instance.
$sel:userData:LaunchSpecification'
, launchSpecification_userData
- The Base64-encoded user data for the instance.
launchSpecification_addressingType :: Lens' LaunchSpecification (Maybe Text) Source #
Deprecated.
launchSpecification_blockDeviceMappings :: Lens' LaunchSpecification (Maybe [BlockDeviceMapping]) Source #
One or more block device mapping entries.
launchSpecification_ebsOptimized :: Lens' LaunchSpecification (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
launchSpecification_iamInstanceProfile :: Lens' LaunchSpecification (Maybe IamInstanceProfileSpecification) Source #
The IAM instance profile.
launchSpecification_imageId :: Lens' LaunchSpecification (Maybe Text) Source #
The ID of the AMI.
launchSpecification_instanceType :: Lens' LaunchSpecification (Maybe InstanceType) Source #
The instance type. Only one instance type can be specified.
launchSpecification_kernelId :: Lens' LaunchSpecification (Maybe Text) Source #
The ID of the kernel.
launchSpecification_keyName :: Lens' LaunchSpecification (Maybe Text) Source #
The name of the key pair.
launchSpecification_monitoring :: Lens' LaunchSpecification (Maybe RunInstancesMonitoringEnabled) Source #
Undocumented member.
launchSpecification_networkInterfaces :: Lens' LaunchSpecification (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.
launchSpecification_placement :: Lens' LaunchSpecification (Maybe SpotPlacement) Source #
The placement information for the instance.
launchSpecification_ramdiskId :: Lens' LaunchSpecification (Maybe Text) Source #
The ID of the RAM disk.
launchSpecification_securityGroups :: Lens' LaunchSpecification (Maybe [GroupIdentifier]) 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.
launchSpecification_subnetId :: Lens' LaunchSpecification (Maybe Text) Source #
The ID of the subnet in which to launch the instance.
launchSpecification_userData :: Lens' LaunchSpecification (Maybe Text) Source #
The Base64-encoded user data for the instance.