Show / Hide Table of Contents

Class CfnNodegroupPropsMixin.LaunchTemplateSpecificationProperty

An object representing a node group launch template specification.

Inheritance
object
CfnNodegroupPropsMixin.LaunchTemplateSpecificationProperty
Implements
CfnNodegroupPropsMixin.ILaunchTemplateSpecificationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.EKS.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnNodegroupPropsMixin.LaunchTemplateSpecificationProperty : CfnNodegroupPropsMixin.ILaunchTemplateSpecificationProperty
Syntax (vb)
Public Class CfnNodegroupPropsMixin.LaunchTemplateSpecificationProperty Implements CfnNodegroupPropsMixin.ILaunchTemplateSpecificationProperty
Remarks

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 Customizing managed nodes with launch templates 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: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-nodegroup-launchtemplatespecification.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.AWS.EKS.Mixins;

             var launchTemplateSpecificationProperty = new LaunchTemplateSpecificationProperty {
                 Id = "id",
                 Name = "name",
                 Version = "version"
             };

Synopsis

Constructors

LaunchTemplateSpecificationProperty()

An object representing a node group launch template specification.

Properties

Id

The ID of the launch template.

Name

The name of the launch template.

Version

The version number of the launch template to use.

Constructors

LaunchTemplateSpecificationProperty()

An object representing a node group launch template specification.

public LaunchTemplateSpecificationProperty()
Remarks

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 Customizing managed nodes with launch templates 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: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-nodegroup-launchtemplatespecification.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.AWS.EKS.Mixins;

             var launchTemplateSpecificationProperty = new LaunchTemplateSpecificationProperty {
                 Id = "id",
                 Name = "name",
                 Version = "version"
             };

Properties

Id

The ID of the launch template.

public string? Id { get; set; }
Property Value

string

Remarks

You must specify either the launch template ID or the launch template name in the request, but not both. After node group creation, you cannot use a different ID.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-nodegroup-launchtemplatespecification.html#cfn-eks-nodegroup-launchtemplatespecification-id

Name

The name of the launch template.

public string? Name { get; set; }
Property Value

string

Remarks

You must specify either the launch template name or the launch template ID in the request, but not both. After node group creation, you cannot use a different name.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-nodegroup-launchtemplatespecification.html#cfn-eks-nodegroup-launchtemplatespecification-name

Version

The version number of the launch template to use.

public string? Version { get; set; }
Property Value

string

Remarks

If no version is specified, then the template's default version is used. You can use a different version for node group updates.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-nodegroup-launchtemplatespecification.html#cfn-eks-nodegroup-launchtemplatespecification-version

Implements

CfnNodegroupPropsMixin.ILaunchTemplateSpecificationProperty
Back to top Generated by DocFX