class Aws::EKS::Types::CreateAddonRequest

@note When making an API call, you may pass CreateAddonRequest

data as a hash:

    {
      cluster_name: "ClusterName", # required
      addon_name: "String", # required
      addon_version: "String",
      service_account_role_arn: "RoleArn",
      resolve_conflicts: "OVERWRITE", # accepts OVERWRITE, NONE
      client_request_token: "String",
      tags: {
        "TagKey" => "TagValue",
      },
    }

@!attribute [rw] cluster_name

The name of the cluster to create the add-on for.
@return [String]

@!attribute [rw] addon_name

The name of the add-on. The name must match one of the names
returned by [ `DescribeAddonVersions` ][1].

[1]: https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonVersions.html
@return [String]

@!attribute [rw] addon_version

The version of the add-on. The version must match one of the
versions returned by [ `DescribeAddonVersions` ][1].

[1]: https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonVersions.html
@return [String]

@!attribute [rw] service_account_role_arn

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][1] in the *Amazon EKS User Guide*.

<note markdown="1"> 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][2] in the
*Amazon EKS User Guide*.

 </note>

[1]: https://docs.aws.amazon.com/eks/latest/userguide/create-node-role.html
[2]: https://docs.aws.amazon.com/eks/latest/userguide/enable-iam-roles-for-service-accounts.html
@return [String]

@!attribute [rw] resolve_conflicts

How to resolve parameter value conflicts when migrating an existing
add-on to an Amazon EKS add-on.
@return [String]

@!attribute [rw] client_request_token

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

**A suitable default value is auto-generated.** You should normally
not need to pass this option.
@return [String]

@!attribute [rw] tags

The metadata to apply to the cluster to assist with categorization
and organization. Each tag consists of a key and an optional value,
both of which you define.
@return [Hash<String,String>]

@see docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateAddonRequest AWS API Documentation

Constants

SENSITIVE