/*
* 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
{
///
/// The configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost.
/// Before creating a cluster on an Outpost, review Creating
/// a local cluster on an Outpost in the Amazon EKS User Guide. This API isn't
/// available for Amazon EKS clusters on the Amazon Web Services cloud.
///
public partial class OutpostConfigRequest
{
private string _controlPlaneInstanceType;
private ControlPlanePlacementRequest _controlPlanePlacement;
private List _outpostArns = new List();
///
/// Gets and sets the property ControlPlaneInstanceType.
///
/// The Amazon EC2 instance type that you want to use for your local Amazon EKS cluster
/// on Outposts. Choose an instance type based on the number of nodes that your cluster
/// will have. For more information, see Capacity
/// considerations in the Amazon EKS User Guide.
///
///
///
/// The instance type that you specify is used for all Kubernetes control plane instances.
/// The instance type can't be changed after cluster creation. The control plane is not
/// automatically scaled by Amazon EKS.
///
///
///
///
///
///
[AWSProperty(Required=true)]
public string ControlPlaneInstanceType
{
get { return this._controlPlaneInstanceType; }
set { this._controlPlaneInstanceType = value; }
}
// Check to see if ControlPlaneInstanceType property is set
internal bool IsSetControlPlaneInstanceType()
{
return this._controlPlaneInstanceType != null;
}
///
/// Gets and sets the property ControlPlanePlacement.
///
/// An object representing the placement configuration for all the control plane instances
/// of your local Amazon EKS cluster on an Amazon Web Services Outpost. For more information,
/// see Capacity
/// considerations in the Amazon EKS User Guide.
///
///
public ControlPlanePlacementRequest ControlPlanePlacement
{
get { return this._controlPlanePlacement; }
set { this._controlPlanePlacement = value; }
}
// Check to see if ControlPlanePlacement property is set
internal bool IsSetControlPlanePlacement()
{
return this._controlPlanePlacement != null;
}
///
/// Gets and sets the property OutpostArns.
///
/// The ARN of the Outpost that you want to use for your local Amazon EKS cluster on Outposts.
/// Only a single Outpost ARN is supported.
///
///
[AWSProperty(Required=true)]
public List OutpostArns
{
get { return this._outpostArns; }
set { this._outpostArns = value; }
}
// Check to see if OutpostArns property is set
internal bool IsSetOutpostArns()
{
return this._outpostArns != null && this._outpostArns.Count > 0;
}
}
}