#[non_exhaustive]
pub struct CreateAddonInput { 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 tags: Option<HashMap<String, String>>, }

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
cluster_name: Option<String>

The name of the cluster to create the add-on for.

addon_name: Option<String>

The name of the add-on. The name must match one of the names returned by DescribeAddonVersions .

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 parameter value conflicts when migrating an existing add-on to an Amazon EKS add-on.

client_request_token: Option<String>

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

tags: Option<HashMap<String, String>>

The metadata to apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value. You define both.

Implementations

Consumes the builder and constructs an Operation<CreateAddon>

Creates a new builder-style object to manufacture CreateAddonInput

The name of the cluster to create the add-on for.

The name of the add-on. The name must match one of the names returned by DescribeAddonVersions .

The version of the add-on. The version must match one of the versions returned by DescribeAddonVersions .

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.

How to resolve parameter value conflicts when migrating an existing add-on to an Amazon EKS add-on.

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

The metadata to apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value. You define both.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more