ClusterState constructor
- Input<
ClusterAccessConfig?> ? accessConfig, - Input<
String?> ? arn, - Input<
bool?> ? bootstrapSelfManagedAddons, - Input<
ClusterCertificateAuthority?> ? certificateAuthority, - Input<
String?> ? clusterId, - Input<
ClusterComputeConfig?> ? computeConfig, - Input<
ClusterControlPlaneScalingConfig?> ? controlPlaneScalingConfig, - Input<
String?> ? createdAt, - Input<
List< ? defaultAddonsToRemoves,String> ?> - Input<
bool?> ? deletionProtection, - Input<
List< ? enabledClusterLogTypes,String> ?> - Input<
ClusterEncryptionConfig?> ? encryptionConfig, - Input<
String?> ? endpoint, - Input<
bool?> ? forceUpdateVersion, - Input<
List< ? identities,ClusterIdentity> ?> - Input<
ClusterKubeApiServerConfig?> ? kubeApiServerConfig, - Input<
ClusterKubeControllerManagerConfig?> ? kubeControllerManagerConfig, - Input<
ClusterKubeSchedulerConfig?> ? kubeSchedulerConfig, - Input<
ClusterKubernetesNetworkConfig?> ? kubernetesNetworkConfig, - Input<
String?> ? name, - Input<
ClusterOutpostConfig?> ? outpostConfig, - Input<
String?> ? platformVersion, - Input<
String?> ? region, - Input<
ClusterRemoteNetworkConfig?> ? remoteNetworkConfig, - Input<
String?> ? roleArn, - Input<
String?> ? status, - Input<
ClusterStorageConfig?> ? storageConfig, - Input<
Map< ? tags,String, String> ?> - Input<
Map< ? tagsAll,String, String> ?> - Input<
ClusterUpgradePolicy?> ? upgradePolicy, - Input<
String?> ? version, - Input<
ClusterVpcConfig?> ? vpcConfig, - Input<
ClusterZonalShiftConfig?> ? zonalShiftConfig,
Creates a new ClusterState.
accessConfig Configuration block for the access config associated with your cluster, see Amazon EKS Access Entries. Detailed below.
arn ARN of the cluster.
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.
certificateAuthority Attribute block containing certificate-authority-data for your cluster. Detailed below.
clusterId The ID of your local Amazon EKS cluster on the AWS Outpost. This attribute isn't available for an AWS EKS cluster on AWS cloud.
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.
createdAt Unix epoch timestamp in seconds for when the cluster was created.
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.
endpoint Endpoint for your Kubernetes API server.
forceUpdateVersion Force version update by overriding upgrade-blocking readiness checks when updating a cluster.
identities Attribute block containing identity provider information for your cluster. Only available on Kubernetes version 1.13 and 1.14 clusters created or upgraded on or after September 3, 2019. Detailed below.
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.
platformVersion Platform version for the cluster.
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.
status Status of the EKS cluster. One of CREATING, ACTIVE, DELETING, FAILED.
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.
tagsAll Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
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 ClusterState({
this.accessConfig,
this.arn,
this.bootstrapSelfManagedAddons,
this.certificateAuthority,
this.clusterId,
this.computeConfig,
this.controlPlaneScalingConfig,
this.createdAt,
this.defaultAddonsToRemoves,
this.deletionProtection,
this.enabledClusterLogTypes,
this.encryptionConfig,
this.endpoint,
this.forceUpdateVersion,
this.identities,
this.kubeApiServerConfig,
this.kubeControllerManagerConfig,
this.kubeSchedulerConfig,
this.kubernetesNetworkConfig,
this.name,
this.outpostConfig,
this.platformVersion,
this.region,
this.remoteNetworkConfig,
this.roleArn,
this.status,
this.storageConfig,
this.tags,
this.tagsAll,
this.upgradePolicy,
this.version,
this.vpcConfig,
this.zonalShiftConfig,
});