/*
* 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 resiliencehub-2020-04-30.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.ResilienceHub.Model
{
///
/// The input source of the Amazon Elastic Kubernetes Service cluster.
///
public partial class EksSource
{
private string _eksClusterArn;
private List _namespaces = new List();
///
/// Gets and sets the property EksClusterArn.
///
/// The Amazon Resource Name (ARN) of the Amazon Elastic Kubernetes Service cluster. The
/// format for this ARN is: arn:aws
:eks:region
:account-id
:cluster/cluster-name
.
/// For more information about ARNs, see
/// Amazon Resource Names (ARNs) in the AWS General Reference guide.
///
///
[AWSProperty(Required=true)]
public string EksClusterArn
{
get { return this._eksClusterArn; }
set { this._eksClusterArn = value; }
}
// Check to see if EksClusterArn property is set
internal bool IsSetEksClusterArn()
{
return this._eksClusterArn != null;
}
///
/// Gets and sets the property Namespaces.
///
/// The list of namespaces located on your Amazon Elastic Kubernetes Service cluster.
///
///
[AWSProperty(Required=true)]
public List Namespaces
{
get { return this._namespaces; }
set { this._namespaces = value; }
}
// Check to see if Namespaces property is set
internal bool IsSetNamespaces()
{
return this._namespaces != null && this._namespaces.Count > 0;
}
}
}