NAME
Paws::EKS::CreateAddon - Arguments for method CreateAddon on Paws::EKS
DESCRIPTION
This class represents the parameters used for calling the method CreateAddon on the Amazon Elastic Kubernetes Service service. Use the attributes of this class as arguments to method CreateAddon.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateAddon.
SYNOPSIS
my $eks = Paws->service('EKS');
my $CreateAddonResponse = $eks->CreateAddon(
AddonName => 'MyString',
ClusterName => 'MyClusterName',
AddonVersion => 'MyString', # OPTIONAL
ClientRequestToken => 'MyString', # OPTIONAL
ResolveConflicts => 'OVERWRITE', # OPTIONAL
ServiceAccountRoleArn => 'MyRoleArn', # OPTIONAL
Tags => {
'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256
}, # OPTIONAL
);
# Results:
my $Addon = $CreateAddonResponse->Addon;
# Returns a L<Paws::EKS::CreateAddonResponse> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/eks/CreateAddon
ATTRIBUTES
REQUIRED AddonName => Str
The name of the add-on. The name must match one of the names returned by ListAddons
(https://docs.aws.amazon.com/eks/latest/APIReference/API_ListAddons.html).
AddonVersion => Str
The version of the add-on. The version must match one of the versions returned by DescribeAddonVersions
(https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonVersions.html).
ClientRequestToken => Str
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
REQUIRED ClusterName => Str
The name of the cluster to create the add-on for.
ResolveConflicts => Str
How to resolve parameter value conflicts when migrating an existing add-on to an Amazon EKS add-on.
Valid values are: "OVERWRITE"
, "NONE"
ServiceAccountRoleArn => 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 (https://docs.aws.amazon.com/eks/latest/userguide/create-node-role.html) 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 (https://docs.aws.amazon.com/eks/latest/userguide/enable-iam-roles-for-service-accounts.html) in the Amazon EKS User Guide.
Tags => Paws::EKS::TagMap
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.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateAddon in Paws::EKS
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues