ClusterArgs constructor
- Input<
ClusterAccessConfig?> ? accessConfig, - Input<
bool?> ? bootstrapSelfManagedAddons, - Input<
ClusterComputeConfig?> ? computeConfig, - Input<
ClusterControlPlaneScalingConfig?> ? controlPlaneScalingConfig, - Input<
List< ? defaultAddonsToRemoves,String> ?> - Input<
bool?> ? deletionProtection, - Input<
List< ? enabledClusterLogTypes,String> ?> - Input<
ClusterEncryptionConfig?> ? encryptionConfig, - Input<
bool?> ? forceUpdateVersion, - Input<
ClusterKubeApiServerConfig?> ? kubeApiServerConfig, - Input<
ClusterKubeControllerManagerConfig?> ? kubeControllerManagerConfig, - Input<
ClusterKubeSchedulerConfig?> ? kubeSchedulerConfig, - Input<
ClusterKubernetesNetworkConfig?> ? kubernetesNetworkConfig, - Input<
String?> ? name, - Input<
ClusterOutpostConfig?> ? outpostConfig, - Input<
String?> ? region, - Input<
ClusterRemoteNetworkConfig?> ? remoteNetworkConfig, - required Input<
String> roleArn, - Input<
ClusterStorageConfig?> ? storageConfig, - Input<
Map< ? tags,String, String> ?> - Input<
ClusterUpgradePolicy?> ? upgradePolicy, - Input<
String?> ? version, - required Input<
ClusterVpcConfig> vpcConfig, - Input<
ClusterZonalShiftConfig?> ? zonalShiftConfig,
Creates a new ClusterArgs.
accessConfig Configuration block for the access config associated with your cluster, see Amazon EKS Access Entries. Detailed below.
bootstrapSelfManagedAddons Install default unmanaged add-ons, such as aws-cni, kube-proxy, and CoreDNS during cluster creation. If false, you must manually install desired add-ons. Changing this value will force a new cluster to be created. Defaults to true.
computeConfig Configuration block with compute configuration for EKS Auto Mode. Detailed below.
controlPlaneScalingConfig Configuration block for the control plane scaling tier. See EKS Provisioned Control Plane for more information. Detailed below.
defaultAddonsToRemoves Optional.
deletionProtection Whether to enable deletion protection for the cluster. When enabled, the cluster cannot be deleted unless deletion protection is first disabled. Default: false.
enabledClusterLogTypes List of the desired control plane logging to enable. For more information, see Amazon EKS Control Plane Logging.
encryptionConfig Configuration block with encryption configuration for the cluster. Detailed below.
forceUpdateVersion Force version update by overriding upgrade-blocking readiness checks when updating a cluster.
kubeApiServerConfig Configuration block for customizing the Kubernetes API server. Detailed below.
kubeControllerManagerConfig Configuration block for customizing the Kubernetes controller manager. Detailed below.
kubeSchedulerConfig Configuration block for customizing the Kubernetes scheduler. Detailed below.
kubernetesNetworkConfig Configuration block with kubernetes network configuration for the cluster. Detailed below. If removed, the provider will only perform drift detection if a configuration value is provided.
name Name of the cluster. Must be between 1-100 characters in length. Must begin with an alphanumeric character, and must only contain alphanumeric characters, dashes and underscores (^[0-9A-Za-z][A-Za-z0-9\-_]*$).
outpostConfig Configuration block representing the configuration of your local Amazon EKS cluster on an AWS Outpost. This block isn't available for creating Amazon EKS clusters on the AWS cloud.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
remoteNetworkConfig Configuration block with remote network configuration for EKS Hybrid Nodes. Detailed below.
roleArn ARN of the IAM role that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf. Ensure the resource configuration includes explicit dependencies on the IAM Role permissions by adding dependsOn if using the aws.iam.RolePolicy resource or aws.iam.RolePolicyAttachment resource, otherwise EKS cannot delete EKS managed EC2 infrastructure such as Security Groups on EKS Cluster deletion.
storageConfig Configuration block with storage configuration for EKS Auto Mode. Detailed below.
tags Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
upgradePolicy Configuration block for the support policy to use for the cluster. See upgradePolicy for details.
version Desired Kubernetes master version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except those automatically triggered by EKS. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by EKS.
vpcConfig Configuration block for the VPC associated with your cluster. 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. Detailed below. Also contains attributes detailed in the Attributes section.
zonalShiftConfig Configuration block with zonal shift configuration for the cluster. Detailed below.
Implementation
const ClusterArgs({
this.accessConfig,
this.bootstrapSelfManagedAddons,
this.computeConfig,
this.controlPlaneScalingConfig,
this.defaultAddonsToRemoves,
this.deletionProtection,
this.enabledClusterLogTypes,
this.encryptionConfig,
this.forceUpdateVersion,
this.kubeApiServerConfig,
this.kubeControllerManagerConfig,
this.kubeSchedulerConfig,
this.kubernetesNetworkConfig,
this.name,
this.outpostConfig,
this.region,
this.remoteNetworkConfig,
required this.roleArn,
this.storageConfig,
this.tags,
this.upgradePolicy,
this.version,
required this.vpcConfig,
this.zonalShiftConfig,
});