amazonka-autoscaling-2.0: Amazon Auto Scaling 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.AutoScaling.Types.LaunchConfiguration

Description

 
Synopsis

Documentation

data LaunchConfiguration Source #

Describes a launch configuration.

See: newLaunchConfiguration smart constructor.

Constructors

LaunchConfiguration' 

Fields

Instances

Instances details
FromXML LaunchConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchConfiguration

Generic LaunchConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchConfiguration

Associated Types

type Rep LaunchConfiguration :: Type -> Type #

Read LaunchConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchConfiguration

Show LaunchConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchConfiguration

NFData LaunchConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchConfiguration

Methods

rnf :: LaunchConfiguration -> () #

Eq LaunchConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchConfiguration

Hashable LaunchConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchConfiguration

type Rep LaunchConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchConfiguration

type Rep LaunchConfiguration = D1 ('MetaData "LaunchConfiguration" "Amazonka.AutoScaling.Types.LaunchConfiguration" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "LaunchConfiguration'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "associatePublicIpAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "blockDeviceMappings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BlockDeviceMapping]))) :*: (S1 ('MetaSel ('Just "classicLinkVPCId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "classicLinkVPCSecurityGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "ebsOptimized") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "iamInstanceProfile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "instanceMonitoring") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceMonitoring))) :*: (S1 ('MetaSel ('Just "kernelId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "keyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "launchConfigurationARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "metadataOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceMetadataOptions)) :*: S1 ('MetaSel ('Just "placementTenancy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "ramdiskId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "securityGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "spotPrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "userData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "launchConfigurationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "imageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "createdTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601)))))))

newLaunchConfiguration Source #

Create a value of LaunchConfiguration 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:associatePublicIpAddress:LaunchConfiguration', launchConfiguration_associatePublicIpAddress - Specifies whether to assign a public IPv4 address to the group's instances. If the instance is launched into a default subnet, the default is to assign a public IPv4 address, unless you disabled the option to assign a public IPv4 address on the subnet. If the instance is launched into a nondefault subnet, the default is not to assign a public IPv4 address, unless you enabled the option to assign a public IPv4 address on the subnet. For more information, see Launching Auto Scaling instances in a VPC in the Amazon EC2 Auto Scaling User Guide.

$sel:blockDeviceMappings:LaunchConfiguration', launchConfiguration_blockDeviceMappings - The block device mapping entries that define the block devices to attach to the instances at launch. By default, the block devices specified in the block device mapping for the AMI are used. For more information, see Block Device Mapping in the Amazon EC2 User Guide for Linux Instances.

$sel:classicLinkVPCId:LaunchConfiguration', launchConfiguration_classicLinkVPCId - Available for backward compatibility.

$sel:classicLinkVPCSecurityGroups:LaunchConfiguration', launchConfiguration_classicLinkVPCSecurityGroups - Available for backward compatibility.

$sel:ebsOptimized:LaunchConfiguration', launchConfiguration_ebsOptimized - Specifies whether the launch configuration is optimized for EBS I/O (true) or not (false). For more information, see Amazon EBS-Optimized Instances in the Amazon EC2 User Guide for Linux Instances.

$sel:iamInstanceProfile:LaunchConfiguration', launchConfiguration_iamInstanceProfile - The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role. For more information, see IAM role for applications that run on Amazon EC2 instances in the Amazon EC2 Auto Scaling User Guide.

$sel:instanceMonitoring:LaunchConfiguration', launchConfiguration_instanceMonitoring - Controls whether instances in this group are launched with detailed (true) or basic (false) monitoring.

For more information, see Configure Monitoring for Auto Scaling Instances in the Amazon EC2 Auto Scaling User Guide.

$sel:kernelId:LaunchConfiguration', launchConfiguration_kernelId - The ID of the kernel associated with the AMI.

$sel:keyName:LaunchConfiguration', launchConfiguration_keyName - The name of the key pair.

For more information, see Amazon EC2 Key Pairs in the Amazon EC2 User Guide for Linux Instances.

$sel:launchConfigurationARN:LaunchConfiguration', launchConfiguration_launchConfigurationARN - The Amazon Resource Name (ARN) of the launch configuration.

$sel:metadataOptions:LaunchConfiguration', launchConfiguration_metadataOptions - The metadata options for the instances. For more information, see Configuring the Instance Metadata Options in the Amazon EC2 Auto Scaling User Guide.

$sel:placementTenancy:LaunchConfiguration', launchConfiguration_placementTenancy - The tenancy of the instance, either default or dedicated. An instance with dedicated tenancy runs on isolated, single-tenant hardware and can only be launched into a VPC.

For more information, see Configuring instance tenancy with Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

$sel:ramdiskId:LaunchConfiguration', launchConfiguration_ramdiskId - The ID of the RAM disk associated with the AMI.

$sel:securityGroups:LaunchConfiguration', launchConfiguration_securityGroups - A list that contains the security groups to assign to the instances in the Auto Scaling group. For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide.

$sel:spotPrice:LaunchConfiguration', launchConfiguration_spotPrice - The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances are launched when the price you specify exceeds the current Spot price. For more information, see Requesting Spot Instances in the Amazon EC2 Auto Scaling User Guide.

$sel:userData:LaunchConfiguration', launchConfiguration_userData - The user data to make available to the launched EC2 instances. For more information, see Instance metadata and user data (Linux) and Instance metadata and user data (Windows). If you are using a command line tool, base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide base64-encoded text. User data is limited to 16 KB.

$sel:launchConfigurationName:LaunchConfiguration', launchConfiguration_launchConfigurationName - The name of the launch configuration.

$sel:imageId:LaunchConfiguration', launchConfiguration_imageId - The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. For more information, see Find a Linux AMI in the Amazon EC2 User Guide for Linux Instances.

$sel:instanceType:LaunchConfiguration', launchConfiguration_instanceType - The instance type for the instances. For information about available instance types, see Available instance types in the Amazon EC2 User Guide for Linux Instances.

$sel:createdTime:LaunchConfiguration', launchConfiguration_createdTime - The creation date and time for the launch configuration.

launchConfiguration_associatePublicIpAddress :: Lens' LaunchConfiguration (Maybe Bool) Source #

Specifies whether to assign a public IPv4 address to the group's instances. If the instance is launched into a default subnet, the default is to assign a public IPv4 address, unless you disabled the option to assign a public IPv4 address on the subnet. If the instance is launched into a nondefault subnet, the default is not to assign a public IPv4 address, unless you enabled the option to assign a public IPv4 address on the subnet. For more information, see Launching Auto Scaling instances in a VPC in the Amazon EC2 Auto Scaling User Guide.

launchConfiguration_blockDeviceMappings :: Lens' LaunchConfiguration (Maybe [BlockDeviceMapping]) Source #

The block device mapping entries that define the block devices to attach to the instances at launch. By default, the block devices specified in the block device mapping for the AMI are used. For more information, see Block Device Mapping in the Amazon EC2 User Guide for Linux Instances.

launchConfiguration_ebsOptimized :: Lens' LaunchConfiguration (Maybe Bool) Source #

Specifies whether the launch configuration is optimized for EBS I/O (true) or not (false). For more information, see Amazon EBS-Optimized Instances in the Amazon EC2 User Guide for Linux Instances.

launchConfiguration_iamInstanceProfile :: Lens' LaunchConfiguration (Maybe Text) Source #

The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role. For more information, see IAM role for applications that run on Amazon EC2 instances in the Amazon EC2 Auto Scaling User Guide.

launchConfiguration_instanceMonitoring :: Lens' LaunchConfiguration (Maybe InstanceMonitoring) Source #

Controls whether instances in this group are launched with detailed (true) or basic (false) monitoring.

For more information, see Configure Monitoring for Auto Scaling Instances in the Amazon EC2 Auto Scaling User Guide.

launchConfiguration_kernelId :: Lens' LaunchConfiguration (Maybe Text) Source #

The ID of the kernel associated with the AMI.

launchConfiguration_keyName :: Lens' LaunchConfiguration (Maybe Text) Source #

The name of the key pair.

For more information, see Amazon EC2 Key Pairs in the Amazon EC2 User Guide for Linux Instances.

launchConfiguration_launchConfigurationARN :: Lens' LaunchConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) of the launch configuration.

launchConfiguration_metadataOptions :: Lens' LaunchConfiguration (Maybe InstanceMetadataOptions) Source #

The metadata options for the instances. For more information, see Configuring the Instance Metadata Options in the Amazon EC2 Auto Scaling User Guide.

launchConfiguration_placementTenancy :: Lens' LaunchConfiguration (Maybe Text) Source #

The tenancy of the instance, either default or dedicated. An instance with dedicated tenancy runs on isolated, single-tenant hardware and can only be launched into a VPC.

For more information, see Configuring instance tenancy with Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

launchConfiguration_ramdiskId :: Lens' LaunchConfiguration (Maybe Text) Source #

The ID of the RAM disk associated with the AMI.

launchConfiguration_securityGroups :: Lens' LaunchConfiguration (Maybe [Text]) Source #

A list that contains the security groups to assign to the instances in the Auto Scaling group. For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide.

launchConfiguration_spotPrice :: Lens' LaunchConfiguration (Maybe Text) Source #

The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances are launched when the price you specify exceeds the current Spot price. For more information, see Requesting Spot Instances in the Amazon EC2 Auto Scaling User Guide.

launchConfiguration_userData :: Lens' LaunchConfiguration (Maybe Text) Source #

The user data to make available to the launched EC2 instances. For more information, see Instance metadata and user data (Linux) and Instance metadata and user data (Windows). If you are using a command line tool, base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide base64-encoded text. User data is limited to 16 KB.

launchConfiguration_imageId :: Lens' LaunchConfiguration Text Source #

The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. For more information, see Find a Linux AMI in the Amazon EC2 User Guide for Linux Instances.

launchConfiguration_instanceType :: Lens' LaunchConfiguration Text Source #

The instance type for the instances. For information about available instance types, see Available instance types in the Amazon EC2 User Guide for Linux Instances.

launchConfiguration_createdTime :: Lens' LaunchConfiguration UTCTime Source #

The creation date and time for the launch configuration.