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

Description

 
Synopsis

Documentation

data ResponseLaunchTemplateData Source #

The information for a launch template.

See: newResponseLaunchTemplateData smart constructor.

Constructors

ResponseLaunchTemplateData' 

Fields

Instances

Instances details
FromXML ResponseLaunchTemplateData Source # 
Instance details

Defined in Amazonka.EC2.Types.ResponseLaunchTemplateData

Generic ResponseLaunchTemplateData Source # 
Instance details

Defined in Amazonka.EC2.Types.ResponseLaunchTemplateData

Associated Types

type Rep ResponseLaunchTemplateData :: Type -> Type #

Read ResponseLaunchTemplateData Source # 
Instance details

Defined in Amazonka.EC2.Types.ResponseLaunchTemplateData

Show ResponseLaunchTemplateData Source # 
Instance details

Defined in Amazonka.EC2.Types.ResponseLaunchTemplateData

NFData ResponseLaunchTemplateData Source # 
Instance details

Defined in Amazonka.EC2.Types.ResponseLaunchTemplateData

Eq ResponseLaunchTemplateData Source # 
Instance details

Defined in Amazonka.EC2.Types.ResponseLaunchTemplateData

Hashable ResponseLaunchTemplateData Source # 
Instance details

Defined in Amazonka.EC2.Types.ResponseLaunchTemplateData

type Rep ResponseLaunchTemplateData Source # 
Instance details

Defined in Amazonka.EC2.Types.ResponseLaunchTemplateData

type Rep ResponseLaunchTemplateData = D1 ('MetaData "ResponseLaunchTemplateData" "Amazonka.EC2.Types.ResponseLaunchTemplateData" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "ResponseLaunchTemplateData'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "blockDeviceMappings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LaunchTemplateBlockDeviceMapping])) :*: (S1 ('MetaSel ('Just "capacityReservationSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchTemplateCapacityReservationSpecificationResponse)) :*: S1 ('MetaSel ('Just "cpuOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchTemplateCpuOptions)))) :*: ((S1 ('MetaSel ('Just "creditSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CreditSpecification)) :*: S1 ('MetaSel ('Just "disableApiStop") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "disableApiTermination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "ebsOptimized") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: (((S1 ('MetaSel ('Just "elasticGpuSpecifications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ElasticGpuSpecificationResponse])) :*: S1 ('MetaSel ('Just "elasticInferenceAccelerators") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LaunchTemplateElasticInferenceAcceleratorResponse]))) :*: (S1 ('MetaSel ('Just "enclaveOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchTemplateEnclaveOptions)) :*: S1 ('MetaSel ('Just "hibernationOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchTemplateHibernationOptions)))) :*: ((S1 ('MetaSel ('Just "iamInstanceProfile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchTemplateIamInstanceProfileSpecification)) :*: S1 ('MetaSel ('Just "imageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "instanceInitiatedShutdownBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ShutdownBehavior)) :*: S1 ('MetaSel ('Just "instanceMarketOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchTemplateInstanceMarketOptions)))))) :*: ((((S1 ('MetaSel ('Just "instanceRequirements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceRequirements)) :*: 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 "licenseSpecifications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LaunchTemplateLicenseConfiguration])) :*: S1 ('MetaSel ('Just "maintenanceOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchTemplateInstanceMaintenanceOptions))) :*: (S1 ('MetaSel ('Just "metadataOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchTemplateInstanceMetadataOptions)) :*: S1 ('MetaSel ('Just "monitoring") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchTemplatesMonitoring))))) :*: (((S1 ('MetaSel ('Just "networkInterfaces") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LaunchTemplateInstanceNetworkInterfaceSpecification])) :*: S1 ('MetaSel ('Just "placement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchTemplatePlacement))) :*: (S1 ('MetaSel ('Just "privateDnsNameOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchTemplatePrivateDnsNameOptions)) :*: 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 "tagSpecifications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LaunchTemplateTagSpecification])) :*: S1 ('MetaSel ('Just "userData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))))

newResponseLaunchTemplateData :: ResponseLaunchTemplateData Source #

Create a value of ResponseLaunchTemplateData 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:ResponseLaunchTemplateData', responseLaunchTemplateData_blockDeviceMappings - The block device mappings.

$sel:capacityReservationSpecification:ResponseLaunchTemplateData', responseLaunchTemplateData_capacityReservationSpecification - Information about the Capacity Reservation targeting option.

$sel:cpuOptions:ResponseLaunchTemplateData', responseLaunchTemplateData_cpuOptions - The CPU options for the instance. For more information, see Optimizing CPU options in the Amazon Elastic Compute Cloud User Guide.

$sel:creditSpecification:ResponseLaunchTemplateData', responseLaunchTemplateData_creditSpecification - The credit option for CPU usage of the instance.

$sel:disableApiStop:ResponseLaunchTemplateData', responseLaunchTemplateData_disableApiStop - Indicates whether the instance is enabled for stop protection. For more information, see Stop Protection.

$sel:disableApiTermination:ResponseLaunchTemplateData', responseLaunchTemplateData_disableApiTermination - If set to true, indicates that the instance cannot be terminated using the Amazon EC2 console, command line tool, or API.

$sel:ebsOptimized:ResponseLaunchTemplateData', responseLaunchTemplateData_ebsOptimized - Indicates whether the instance is optimized for Amazon EBS I/O.

$sel:elasticGpuSpecifications:ResponseLaunchTemplateData', responseLaunchTemplateData_elasticGpuSpecifications - The elastic GPU specification.

$sel:elasticInferenceAccelerators:ResponseLaunchTemplateData', responseLaunchTemplateData_elasticInferenceAccelerators - The elastic inference accelerator for the instance.

$sel:enclaveOptions:ResponseLaunchTemplateData', responseLaunchTemplateData_enclaveOptions - Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.

$sel:hibernationOptions:ResponseLaunchTemplateData', responseLaunchTemplateData_hibernationOptions - Indicates whether an instance is configured for hibernation. For more information, see Hibernate your instance in the Amazon Elastic Compute Cloud User Guide.

$sel:iamInstanceProfile:ResponseLaunchTemplateData', responseLaunchTemplateData_iamInstanceProfile - The IAM instance profile.

$sel:imageId:ResponseLaunchTemplateData', responseLaunchTemplateData_imageId - The ID of the AMI that was used to launch the instance.

$sel:instanceInitiatedShutdownBehavior:ResponseLaunchTemplateData', responseLaunchTemplateData_instanceInitiatedShutdownBehavior - Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

$sel:instanceMarketOptions:ResponseLaunchTemplateData', responseLaunchTemplateData_instanceMarketOptions - The market (purchasing) option for the instances.

$sel:instanceRequirements:ResponseLaunchTemplateData', responseLaunchTemplateData_instanceRequirements - The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with these attributes.

If you specify InstanceRequirements, you can't specify InstanceTypes.

$sel:instanceType:ResponseLaunchTemplateData', responseLaunchTemplateData_instanceType - The instance type.

$sel:kernelId:ResponseLaunchTemplateData', responseLaunchTemplateData_kernelId - The ID of the kernel, if applicable.

$sel:keyName:ResponseLaunchTemplateData', responseLaunchTemplateData_keyName - The name of the key pair.

$sel:licenseSpecifications:ResponseLaunchTemplateData', responseLaunchTemplateData_licenseSpecifications - The license configurations.

$sel:maintenanceOptions:ResponseLaunchTemplateData', responseLaunchTemplateData_maintenanceOptions - The maintenance options for your instance.

$sel:metadataOptions:ResponseLaunchTemplateData', responseLaunchTemplateData_metadataOptions - The metadata options for the instance. For more information, see Instance metadata and user data in the Amazon Elastic Compute Cloud User Guide.

$sel:monitoring:ResponseLaunchTemplateData', responseLaunchTemplateData_monitoring - The monitoring for the instance.

$sel:networkInterfaces:ResponseLaunchTemplateData', responseLaunchTemplateData_networkInterfaces - The network interfaces.

$sel:placement:ResponseLaunchTemplateData', responseLaunchTemplateData_placement - The placement of the instance.

$sel:privateDnsNameOptions:ResponseLaunchTemplateData', responseLaunchTemplateData_privateDnsNameOptions - The options for the instance hostname.

$sel:ramDiskId:ResponseLaunchTemplateData', responseLaunchTemplateData_ramDiskId - The ID of the RAM disk, if applicable.

$sel:securityGroupIds:ResponseLaunchTemplateData', responseLaunchTemplateData_securityGroupIds - The security group IDs.

$sel:securityGroups:ResponseLaunchTemplateData', responseLaunchTemplateData_securityGroups - The security group names.

$sel:tagSpecifications:ResponseLaunchTemplateData', responseLaunchTemplateData_tagSpecifications - The tags that are applied to the resources that are created during instance launch.

$sel:userData:ResponseLaunchTemplateData', responseLaunchTemplateData_userData - The user data for the instance.

responseLaunchTemplateData_cpuOptions :: Lens' ResponseLaunchTemplateData (Maybe LaunchTemplateCpuOptions) Source #

The CPU options for the instance. For more information, see Optimizing CPU options in the Amazon Elastic Compute Cloud User Guide.

responseLaunchTemplateData_disableApiStop :: Lens' ResponseLaunchTemplateData (Maybe Bool) Source #

Indicates whether the instance is enabled for stop protection. For more information, see Stop Protection.

responseLaunchTemplateData_disableApiTermination :: Lens' ResponseLaunchTemplateData (Maybe Bool) Source #

If set to true, indicates that the instance cannot be terminated using the Amazon EC2 console, command line tool, or API.

responseLaunchTemplateData_ebsOptimized :: Lens' ResponseLaunchTemplateData (Maybe Bool) Source #

Indicates whether the instance is optimized for Amazon EBS I/O.

responseLaunchTemplateData_enclaveOptions :: Lens' ResponseLaunchTemplateData (Maybe LaunchTemplateEnclaveOptions) Source #

Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.

responseLaunchTemplateData_hibernationOptions :: Lens' ResponseLaunchTemplateData (Maybe LaunchTemplateHibernationOptions) Source #

Indicates whether an instance is configured for hibernation. For more information, see Hibernate your instance in the Amazon Elastic Compute Cloud User Guide.

responseLaunchTemplateData_imageId :: Lens' ResponseLaunchTemplateData (Maybe Text) Source #

The ID of the AMI that was used to launch the instance.

responseLaunchTemplateData_instanceInitiatedShutdownBehavior :: Lens' ResponseLaunchTemplateData (Maybe ShutdownBehavior) Source #

Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

responseLaunchTemplateData_instanceRequirements :: Lens' ResponseLaunchTemplateData (Maybe InstanceRequirements) Source #

The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with these attributes.

If you specify InstanceRequirements, you can't specify InstanceTypes.

responseLaunchTemplateData_metadataOptions :: Lens' ResponseLaunchTemplateData (Maybe LaunchTemplateInstanceMetadataOptions) Source #

The metadata options for the instance. For more information, see Instance metadata and user data in the Amazon Elastic Compute Cloud User Guide.

responseLaunchTemplateData_tagSpecifications :: Lens' ResponseLaunchTemplateData (Maybe [LaunchTemplateTagSpecification]) Source #

The tags that are applied to the resources that are created during instance launch.