libZSservicesZSamazonka-eksZSamazonka-eks
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.EKS.Types.LaunchTemplateSpecification

Description

 
Synopsis

Documentation

data LaunchTemplateSpecification Source #

An object representing a node group launch template specification. The launch template cannot 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.

Specify either name or id, but not both.

See: newLaunchTemplateSpecification smart constructor.

Constructors

LaunchTemplateSpecification' 

Fields

  • name :: Maybe Text

    The name of the launch template.

  • version :: Maybe Text

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

  • id :: Maybe Text

    The ID of the launch template.

Instances

Instances details
Eq LaunchTemplateSpecification Source # 
Instance details

Defined in Amazonka.EKS.Types.LaunchTemplateSpecification

Read LaunchTemplateSpecification Source # 
Instance details

Defined in Amazonka.EKS.Types.LaunchTemplateSpecification

Show 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 #

NFData LaunchTemplateSpecification Source # 
Instance details

Defined in Amazonka.EKS.Types.LaunchTemplateSpecification

Hashable LaunchTemplateSpecification Source # 
Instance details

Defined in Amazonka.EKS.Types.LaunchTemplateSpecification

ToJSON LaunchTemplateSpecification Source # 
Instance details

Defined in Amazonka.EKS.Types.LaunchTemplateSpecification

FromJSON 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" "libZSservicesZSamazonka-eksZSamazonka-eks" 'False) (C1 ('MetaCons "LaunchTemplateSpecification'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") '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:name:LaunchTemplateSpecification', launchTemplateSpecification_name - The name of the launch template.

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

$sel:id:LaunchTemplateSpecification', launchTemplateSpecification_id - The ID of the launch template.

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

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