amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.Types.LaunchSpecification

Description

 
Synopsis

Documentation

data LaunchSpecification Source #

Describes the launch specification for an instance.

See: newLaunchSpecification smart constructor.

Constructors

LaunchSpecification' 

Fields

Instances

Instances details
FromXML LaunchSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchSpecification

Generic LaunchSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchSpecification

Associated Types

type Rep LaunchSpecification :: Type -> Type #

Read LaunchSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchSpecification

Show LaunchSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchSpecification

NFData LaunchSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchSpecification

Methods

rnf :: LaunchSpecification -> () #

Eq LaunchSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchSpecification

Hashable LaunchSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchSpecification

type Rep LaunchSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchSpecification

type Rep LaunchSpecification = D1 ('MetaData "LaunchSpecification" "Amazonka.EC2.Types.LaunchSpecification" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "LaunchSpecification'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "addressingType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "blockDeviceMappings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BlockDeviceMapping])) :*: S1 ('MetaSel ('Just "ebsOptimized") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "iamInstanceProfile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IamInstanceProfileSpecification)) :*: S1 ('MetaSel ('Just "imageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceType)) :*: S1 ('MetaSel ('Just "kernelId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "keyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "monitoring") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RunInstancesMonitoringEnabled))) :*: (S1 ('MetaSel ('Just "networkInterfaces") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InstanceNetworkInterfaceSpecification])) :*: S1 ('MetaSel ('Just "placement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SpotPlacement)))) :*: ((S1 ('MetaSel ('Just "ramdiskId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "securityGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GroupIdentifier]))) :*: (S1 ('MetaSel ('Just "subnetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "userData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

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_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_instanceType :: Lens' LaunchSpecification (Maybe InstanceType) Source #

The instance type. Only one instance type can be specified.

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_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.