/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the eks-2017-11-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.EKS.Model
{
///
/// 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.
///
///
public partial class LaunchTemplateSpecification
{
private string _id;
private string _name;
private string _version;
///
/// Gets and sets the property 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.
///
///
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
///
/// Gets and sets the property 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.
///
///
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property Version.
///
/// The version number of the launch template to use. If no version is specified, then
/// the template's default version is used.
///
///
public string Version
{
get { return this._version; }
set { this._version = value; }
}
// Check to see if Version property is set
internal bool IsSetVersion()
{
return this._version != null;
}
}
}