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

Description

 
Synopsis

Documentation

data ScheduledInstancesLaunchSpecification Source #

Describes the launch specification for a Scheduled Instance.

If you are launching the Scheduled Instance in EC2-VPC, you must specify the ID of the subnet. You can specify the subnet using either SubnetId or NetworkInterface.

See: newScheduledInstancesLaunchSpecification smart constructor.

Constructors

ScheduledInstancesLaunchSpecification' 

Fields

Instances

Instances details
ToQuery ScheduledInstancesLaunchSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstancesLaunchSpecification

Generic ScheduledInstancesLaunchSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstancesLaunchSpecification

Read ScheduledInstancesLaunchSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstancesLaunchSpecification

Show ScheduledInstancesLaunchSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstancesLaunchSpecification

NFData ScheduledInstancesLaunchSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstancesLaunchSpecification

Eq ScheduledInstancesLaunchSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstancesLaunchSpecification

Hashable ScheduledInstancesLaunchSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstancesLaunchSpecification

type Rep ScheduledInstancesLaunchSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstancesLaunchSpecification

type Rep ScheduledInstancesLaunchSpecification = D1 ('MetaData "ScheduledInstancesLaunchSpecification" "Amazonka.EC2.Types.ScheduledInstancesLaunchSpecification" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "ScheduledInstancesLaunchSpecification'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "blockDeviceMappings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ScheduledInstancesBlockDeviceMapping])) :*: (S1 ('MetaSel ('Just "ebsOptimized") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "iamInstanceProfile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ScheduledInstancesIamInstanceProfile)))) :*: ((S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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 ScheduledInstancesMonitoring))))) :*: ((S1 ('MetaSel ('Just "networkInterfaces") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ScheduledInstancesNetworkInterface])) :*: (S1 ('MetaSel ('Just "placement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ScheduledInstancesPlacement)) :*: S1 ('MetaSel ('Just "ramdiskId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "securityGroupIds") '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)) :*: S1 ('MetaSel ('Just "imageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newScheduledInstancesLaunchSpecification Source #

Create a value of ScheduledInstancesLaunchSpecification 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:blockDeviceMappings:ScheduledInstancesLaunchSpecification', scheduledInstancesLaunchSpecification_blockDeviceMappings - The block device mapping entries.

$sel:ebsOptimized:ScheduledInstancesLaunchSpecification', scheduledInstancesLaunchSpecification_ebsOptimized - Indicates whether the instances are 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:ScheduledInstancesLaunchSpecification', scheduledInstancesLaunchSpecification_iamInstanceProfile - The IAM instance profile.

$sel:instanceType:ScheduledInstancesLaunchSpecification', scheduledInstancesLaunchSpecification_instanceType - The instance type.

$sel:kernelId:ScheduledInstancesLaunchSpecification', scheduledInstancesLaunchSpecification_kernelId - The ID of the kernel.

$sel:keyName:ScheduledInstancesLaunchSpecification', scheduledInstancesLaunchSpecification_keyName - The name of the key pair.

$sel:monitoring:ScheduledInstancesLaunchSpecification', scheduledInstancesLaunchSpecification_monitoring - Enable or disable monitoring for the instances.

$sel:networkInterfaces:ScheduledInstancesLaunchSpecification', scheduledInstancesLaunchSpecification_networkInterfaces - The network interfaces.

$sel:placement:ScheduledInstancesLaunchSpecification', scheduledInstancesLaunchSpecification_placement - The placement information.

$sel:ramdiskId:ScheduledInstancesLaunchSpecification', scheduledInstancesLaunchSpecification_ramdiskId - The ID of the RAM disk.

$sel:securityGroupIds:ScheduledInstancesLaunchSpecification', scheduledInstancesLaunchSpecification_securityGroupIds - The IDs of the security groups.

ScheduledInstancesLaunchSpecification, scheduledInstancesLaunchSpecification_subnetId - The ID of the subnet in which to launch the instances.

$sel:userData:ScheduledInstancesLaunchSpecification', scheduledInstancesLaunchSpecification_userData - The base64-encoded MIME user data.

$sel:imageId:ScheduledInstancesLaunchSpecification', scheduledInstancesLaunchSpecification_imageId - The ID of the Amazon Machine Image (AMI).

scheduledInstancesLaunchSpecification_ebsOptimized :: Lens' ScheduledInstancesLaunchSpecification (Maybe Bool) Source #

Indicates whether the instances are 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