@Stability(value=Stable) public static final class CfnAddonProps.Builder extends Object implements software.amazon.jsii.Builder<CfnAddonProps>
CfnAddonProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnAddonProps.Builder |
addonName(String addonName)
Sets the value of
CfnAddonProps.getAddonName() |
CfnAddonProps.Builder |
addonVersion(String addonVersion)
Sets the value of
CfnAddonProps.getAddonVersion() |
CfnAddonProps |
build()
Builds the configured instance.
|
CfnAddonProps.Builder |
clusterName(String clusterName)
Sets the value of
CfnAddonProps.getClusterName() |
CfnAddonProps.Builder |
resolveConflicts(String resolveConflicts)
Sets the value of
CfnAddonProps.getResolveConflicts() |
CfnAddonProps.Builder |
serviceAccountRoleArn(String serviceAccountRoleArn)
Sets the value of
CfnAddonProps.getServiceAccountRoleArn() |
CfnAddonProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnAddonProps.getTags() |
@Stability(value=Stable) public CfnAddonProps.Builder addonName(String addonName)
CfnAddonProps.getAddonName()addonName - The name of the add-on. This parameter is required.this@Stability(value=Stable) public CfnAddonProps.Builder clusterName(String clusterName)
CfnAddonProps.getClusterName()clusterName - The name of the cluster. This parameter is required.this@Stability(value=Stable) public CfnAddonProps.Builder addonVersion(String addonVersion)
CfnAddonProps.getAddonVersion()addonVersion - The version of the add-on.this@Stability(value=Stable) public CfnAddonProps.Builder resolveConflicts(String resolveConflicts)
CfnAddonProps.getResolveConflicts()resolveConflicts - How to resolve field value conflicts for an Amazon EKS add-on.
Conflicts are handled based on the value you choose:
If you don't currently have the self-managed version of the add-on installed on your cluster, the Amazon EKS add-on is installed. Amazon EKS sets all values to default values, regardless of the option that you specify.
this@Stability(value=Stable) public CfnAddonProps.Builder serviceAccountRoleArn(String serviceAccountRoleArn)
CfnAddonProps.getServiceAccountRoleArn()serviceAccountRoleArn - 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 .
this@Stability(value=Stable) public CfnAddonProps.Builder tags(List<? extends CfnTag> tags)
CfnAddonProps.getTags()tags - The metadata that you apply to the add-on to assist with categorization and organization.
Each tag consists of a key and an optional value, both of which you define. Add-on tags do not propagate to any other resources associated with the cluster.this@Stability(value=Stable) public CfnAddonProps build()
build in interface software.amazon.jsii.Builder<CfnAddonProps>CfnAddonPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.