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

Description

 
Synopsis

Documentation

data RequestSpotLaunchSpecification Source #

Describes the launch specification for an instance.

See: newRequestSpotLaunchSpecification smart constructor.

Constructors

RequestSpotLaunchSpecification' 

Fields

Instances

Instances details
ToQuery RequestSpotLaunchSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.RequestSpotLaunchSpecification

Generic RequestSpotLaunchSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.RequestSpotLaunchSpecification

Associated Types

type Rep RequestSpotLaunchSpecification :: Type -> Type #

Read RequestSpotLaunchSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.RequestSpotLaunchSpecification

Show RequestSpotLaunchSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.RequestSpotLaunchSpecification

NFData RequestSpotLaunchSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.RequestSpotLaunchSpecification

Eq RequestSpotLaunchSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.RequestSpotLaunchSpecification

Hashable RequestSpotLaunchSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.RequestSpotLaunchSpecification

type Rep RequestSpotLaunchSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.RequestSpotLaunchSpecification

type Rep RequestSpotLaunchSpecification = D1 ('MetaData "RequestSpotLaunchSpecification" "Amazonka.EC2.Types.RequestSpotLaunchSpecification" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "RequestSpotLaunchSpecification'" '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 "securityGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "securityGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "subnetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "userData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

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

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

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