update_capability
¶
update_capability(
cluster_name: String,
capability_name: String,
*,
config_overrides: Optional[EKSClientConfig] = None,
role_arn: Optional[String] = None,
configuration: Optional[UpdateCapabilityConfiguration] = None,
client_request_token: Optional[String] = None,
delete_propagation_policy: Optional[CapabilityDeletePropagationPolicy] = None,
) -> UpdateCapabilityResponse
Updates the configuration of a managed capability in your Amazon EKS cluster. You can update the IAM role, configuration settings, and delete propagation policy for a capability.
When you update a capability, Amazon EKS applies the changes and may restart capability components as needed. The capability remains available during the update process, but some operations may be temporarily unavailable.
Parameters:
-
cluster_name(String) –The name of the Amazon EKS cluster that contains the capability you want to update configuration for.
-
capability_name(String) –The name of the capability to update configuration for.
-
role_arn(Optional[String], default:None) –The Amazon Resource Name (ARN) of the IAM role that the capability uses to interact with Amazon Web Services services. If you specify a new role ARN, the capability will start using the new role for all subsequent operations.
-
configuration(Optional[UpdateCapabilityConfiguration], default:None) –The updated configuration settings for the capability. You only need to specify the configuration parameters you want to change. For Argo CD capabilities, you can update RBAC role mappings and network access settings.
-
client_request_token(Optional[String], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This token is valid for 24 hours after creation.
-
delete_propagation_policy(Optional[CapabilityDeletePropagationPolicy], default:None) –The updated delete propagation policy for the capability. Currently, the only supported value is
RETAIN.
Raises:
-
AccessDeniedException–You don't have permissions to perform the requested operation. The IAM principal making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management in the IAM User Guide.
-
InvalidParameterException–The specified parameter is invalid. Review the available parameters for the API request.
-
ResourceInUseException–The specified resource is in use.
-
ResourceNotFoundException–The specified resource could not be found. You can view your available clusters with
ListClusters. You can view your available managed node groups withListNodegroups. Amazon EKS clusters and node groups are Amazon Web Services Region specific. -
ServerException–These errors are usually caused by a server-side issue.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_eks/_services/eks.py
4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 | |