Struct aws_sdk_eks::operation::update_addon::UpdateAddonInput
source · #[non_exhaustive]pub struct UpdateAddonInput {
pub cluster_name: Option<String>,
pub addon_name: Option<String>,
pub addon_version: Option<String>,
pub service_account_role_arn: Option<String>,
pub resolve_conflicts: Option<ResolveConflicts>,
pub client_request_token: Option<String>,
pub configuration_values: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.cluster_name: Option<String>
The name of your cluster.
addon_name: Option<String>
The name of the add-on. The name must match one of the names returned by ListAddons
.
addon_version: Option<String>
The version of the add-on. The version must match one of the versions returned by DescribeAddonVersions
.
service_account_role_arn: Option<String>
The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account. The role must be assigned the IAM permissions required by the add-on. If you don't specify an existing IAM role, then the add-on uses the permissions assigned to the node IAM role. For more information, see Amazon EKS node IAM role in the Amazon EKS User Guide.
To specify an existing IAM role, you must have an IAM OpenID Connect (OIDC) provider created for your cluster. For more information, see Enabling IAM roles for service accounts on your cluster in the Amazon EKS User Guide.
resolve_conflicts: Option<ResolveConflicts>
How to resolve field value conflicts for an Amazon EKS add-on if you've changed a value from the Amazon EKS default value. Conflicts are handled based on the option you choose:
-
None – Amazon EKS doesn't change the value. The update might fail.
-
Overwrite – Amazon EKS overwrites the changed value back to the Amazon EKS default value.
-
Preserve – Amazon EKS preserves the value. If you choose this option, we recommend that you test any field and value changes on a non-production cluster before updating the add-on on your production cluster.
client_request_token: Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
configuration_values: Option<String>
The set of configuration values for the add-on that's created. The values that you provide are validated against the schema returned by DescribeAddonConfiguration
.
Implementations§
source§impl UpdateAddonInput
impl UpdateAddonInput
sourcepub fn cluster_name(&self) -> Option<&str>
pub fn cluster_name(&self) -> Option<&str>
The name of your cluster.
sourcepub fn addon_name(&self) -> Option<&str>
pub fn addon_name(&self) -> Option<&str>
The name of the add-on. The name must match one of the names returned by ListAddons
.
sourcepub fn addon_version(&self) -> Option<&str>
pub fn addon_version(&self) -> Option<&str>
The version of the add-on. The version must match one of the versions returned by DescribeAddonVersions
.
sourcepub fn service_account_role_arn(&self) -> Option<&str>
pub fn service_account_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account. The role must be assigned the IAM permissions required by the add-on. If you don't specify an existing IAM role, then the add-on uses the permissions assigned to the node IAM role. For more information, see Amazon EKS node IAM role in the Amazon EKS User Guide.
To specify an existing IAM role, you must have an IAM OpenID Connect (OIDC) provider created for your cluster. For more information, see Enabling IAM roles for service accounts on your cluster in the Amazon EKS User Guide.
sourcepub fn resolve_conflicts(&self) -> Option<&ResolveConflicts>
pub fn resolve_conflicts(&self) -> Option<&ResolveConflicts>
How to resolve field value conflicts for an Amazon EKS add-on if you've changed a value from the Amazon EKS default value. Conflicts are handled based on the option you choose:
-
None – Amazon EKS doesn't change the value. The update might fail.
-
Overwrite – Amazon EKS overwrites the changed value back to the Amazon EKS default value.
-
Preserve – Amazon EKS preserves the value. If you choose this option, we recommend that you test any field and value changes on a non-production cluster before updating the add-on on your production cluster.
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn configuration_values(&self) -> Option<&str>
pub fn configuration_values(&self) -> Option<&str>
The set of configuration values for the add-on that's created. The values that you provide are validated against the schema returned by DescribeAddonConfiguration
.
source§impl UpdateAddonInput
impl UpdateAddonInput
sourcepub fn builder() -> UpdateAddonInputBuilder
pub fn builder() -> UpdateAddonInputBuilder
Creates a new builder-style object to manufacture UpdateAddonInput
.
Trait Implementations§
source§impl Clone for UpdateAddonInput
impl Clone for UpdateAddonInput
source§fn clone(&self) -> UpdateAddonInput
fn clone(&self) -> UpdateAddonInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateAddonInput
impl Debug for UpdateAddonInput
source§impl PartialEq for UpdateAddonInput
impl PartialEq for UpdateAddonInput
source§fn eq(&self, other: &UpdateAddonInput) -> bool
fn eq(&self, other: &UpdateAddonInput) -> bool
self
and other
values to be equal, and is used
by ==
.