Class: Aws::EKS::Types::CreateAddonRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb

Overview

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",
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#addon_nameString

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

Returns:

  • (String)


679
680
681
682
683
684
685
686
687
688
689
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 679

class CreateAddonRequest < Struct.new(
  :cluster_name,
  :addon_name,
  :addon_version,
  :service_account_role_arn,
  :resolve_conflicts,
  :client_request_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#addon_versionString

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

Returns:

  • (String)


679
680
681
682
683
684
685
686
687
688
689
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 679

class CreateAddonRequest < Struct.new(
  :cluster_name,
  :addon_name,
  :addon_version,
  :service_account_role_arn,
  :resolve_conflicts,
  :client_request_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#client_request_tokenString

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.

Returns:

  • (String)


679
680
681
682
683
684
685
686
687
688
689
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 679

class CreateAddonRequest < Struct.new(
  :cluster_name,
  :addon_name,
  :addon_version,
  :service_account_role_arn,
  :resolve_conflicts,
  :client_request_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#cluster_nameString

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

Returns:

  • (String)


679
680
681
682
683
684
685
686
687
688
689
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 679

class CreateAddonRequest < Struct.new(
  :cluster_name,
  :addon_name,
  :addon_version,
  :service_account_role_arn,
  :resolve_conflicts,
  :client_request_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#resolve_conflictsString

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

Returns:

  • (String)


679
680
681
682
683
684
685
686
687
688
689
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 679

class CreateAddonRequest < Struct.new(
  :cluster_name,
  :addon_name,
  :addon_version,
  :service_account_role_arn,
  :resolve_conflicts,
  :client_request_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#service_account_role_arnString

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.

Returns:

  • (String)


679
680
681
682
683
684
685
686
687
688
689
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 679

class CreateAddonRequest < Struct.new(
  :cluster_name,
  :addon_name,
  :addon_version,
  :service_account_role_arn,
  :resolve_conflicts,
  :client_request_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<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.

Returns:

  • (Hash<String,String>)


679
680
681
682
683
684
685
686
687
688
689
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 679

class CreateAddonRequest < Struct.new(
  :cluster_name,
  :addon_name,
  :addon_version,
  :service_account_role_arn,
  :resolve_conflicts,
  :client_request_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end