amazonka-eks-2.0: Amazon Elastic Kubernetes Service 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.EKS.Types.LaunchTemplateSpecification

Description

 
Synopsis

Documentation

data LaunchTemplateSpecification Source #

An object representing a node group launch template specification. The launch template can't include SubnetId , IamInstanceProfile , RequestSpotInstances , HibernationOptions , or TerminateInstances , or the node group deployment or update will fail. For more information about launch templates, see CreateLaunchTemplate in the Amazon EC2 API Reference. For more information about using launch templates with Amazon EKS, see Launch template support in the Amazon EKS User Guide.

You must specify either the launch template ID or the launch template name in the request, but not both.

See: newLaunchTemplateSpecification smart constructor.

Constructors

LaunchTemplateSpecification' 

Fields

  • id :: Maybe Text

    The ID of the launch template.

    You must specify either the launch template ID or the launch template name in the request, but not both.

  • name :: Maybe Text

    The name of the launch template.

    You must specify either the launch template name or the launch template ID in the request, but not both.

  • version :: Maybe Text

    The version number of the launch template to use. If no version is specified, then the template's default version is used.

Instances

Instances details
FromJSON LaunchTemplateSpecification Source # 
Instance details

Defined in Amazonka.EKS.Types.LaunchTemplateSpecification

ToJSON LaunchTemplateSpecification Source # 
Instance details

Defined in Amazonka.EKS.Types.LaunchTemplateSpecification

Generic LaunchTemplateSpecification Source # 
Instance details

Defined in Amazonka.EKS.Types.LaunchTemplateSpecification

Associated Types

type Rep LaunchTemplateSpecification :: Type -> Type #

Read LaunchTemplateSpecification Source # 
Instance details

Defined in Amazonka.EKS.Types.LaunchTemplateSpecification

Show LaunchTemplateSpecification Source # 
Instance details

Defined in Amazonka.EKS.Types.LaunchTemplateSpecification

NFData LaunchTemplateSpecification Source # 
Instance details

Defined in Amazonka.EKS.Types.LaunchTemplateSpecification

Eq LaunchTemplateSpecification Source # 
Instance details

Defined in Amazonka.EKS.Types.LaunchTemplateSpecification

Hashable LaunchTemplateSpecification Source # 
Instance details

Defined in Amazonka.EKS.Types.LaunchTemplateSpecification

type Rep LaunchTemplateSpecification Source # 
Instance details

Defined in Amazonka.EKS.Types.LaunchTemplateSpecification

type Rep LaunchTemplateSpecification = D1 ('MetaData "LaunchTemplateSpecification" "Amazonka.EKS.Types.LaunchTemplateSpecification" "amazonka-eks-2.0-7cAibD4zEbE2zPO6gnUh5m" 'False) (C1 ('MetaCons "LaunchTemplateSpecification'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newLaunchTemplateSpecification :: LaunchTemplateSpecification Source #

Create a value of LaunchTemplateSpecification 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:id:LaunchTemplateSpecification', launchTemplateSpecification_id - The ID of the launch template.

You must specify either the launch template ID or the launch template name in the request, but not both.

$sel:name:LaunchTemplateSpecification', launchTemplateSpecification_name - The name of the launch template.

You must specify either the launch template name or the launch template ID in the request, but not both.

$sel:version:LaunchTemplateSpecification', launchTemplateSpecification_version - The version number of the launch template to use. If no version is specified, then the template's default version is used.

launchTemplateSpecification_id :: Lens' LaunchTemplateSpecification (Maybe Text) Source #

The ID of the launch template.

You must specify either the launch template ID or the launch template name in the request, but not both.

launchTemplateSpecification_name :: Lens' LaunchTemplateSpecification (Maybe Text) Source #

The name of the launch template.

You must specify either the launch template name or the launch template ID in the request, but not both.

launchTemplateSpecification_version :: Lens' LaunchTemplateSpecification (Maybe Text) Source #

The version number of the launch template to use. If no version is specified, then the template's default version is used.