CreateClusterRequest
public struct CreateClusterRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Declaration
Swift
public let clientRequestToken: String?
-
The encryption configuration for the cluster.
Declaration
Swift
public let encryptionConfig: [EncryptionConfig]?
-
Enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs. By default, cluster control plane logs aren’t exported to CloudWatch Logs. For more information, see Amazon EKS Cluster Control Plane Logs in the Amazon EKS User Guide . CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported control plane logs. For more information, see Amazon CloudWatch Pricing.
Declaration
Swift
public let logging: Logging?
-
The unique name to give to your cluster.
Declaration
Swift
public let name: String
-
The VPC configuration used by the cluster control plane. Amazon EKS VPC resources have specific requirements to work properly with Kubernetes. For more information, see Cluster VPC Considerations and Cluster Security Group Considerations in the Amazon EKS User Guide. You must specify at least two subnets. You can specify up to five security groups, but we recommend that you use a dedicated security group for your cluster control plane.
Declaration
Swift
public let resourcesVpcConfig: VpcConfigRequest
-
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf. For more information, see Amazon EKS Service IAM Role in the Amazon EKS User Guide .
Declaration
Swift
public let roleArn: String
-
The metadata to apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define.
Declaration
Swift
public let tags: [String : String]?
-
The desired Kubernetes version for your cluster. If you don’t specify a value here, the latest version available in Amazon EKS is used.
Declaration
Swift
public let version: String?
-
Undocumented
Declaration
Swift
public init(clientRequestToken: String? = CreateClusterRequest.idempotencyToken(), encryptionConfig: [EncryptionConfig]? = nil, logging: Logging? = nil, name: String, resourcesVpcConfig: VpcConfigRequest, roleArn: String, tags: [String : String]? = nil, version: String? = nil)
-
Declaration
Swift
public func validate(name: String) throws