Modifier and Type | Method and Description |
---|---|
CfnAddon.Builder |
addonName(java.lang.String addonName)
The name of the add-on.
|
CfnAddon.Builder |
addonVersion(java.lang.String addonVersion)
The version of the add-on.
|
CfnAddon |
build() |
CfnAddon.Builder |
clusterName(java.lang.String clusterName)
The name of the cluster.
|
CfnAddon.Builder |
configurationValues(java.lang.String configurationValues)
The configuration values that you provided.
|
static CfnAddon.Builder |
create(Construct scope,
java.lang.String id) |
CfnAddon.Builder |
preserveOnDelete(java.lang.Boolean preserveOnDelete)
`AWS::EKS::Addon.PreserveOnDelete`.
|
CfnAddon.Builder |
preserveOnDelete(IResolvable preserveOnDelete)
`AWS::EKS::Addon.PreserveOnDelete`.
|
CfnAddon.Builder |
resolveConflicts(java.lang.String resolveConflicts)
How to resolve field value conflicts for an Amazon EKS add-on.
|
CfnAddon.Builder |
serviceAccountRoleArn(java.lang.String serviceAccountRoleArn)
The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account.
|
CfnAddon.Builder |
tags(java.util.List<? extends CfnTag> tags)
The metadata that you apply to the add-on to assist with categorization and organization.
|
public static CfnAddon.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnAddon.Builder
.public CfnAddon.Builder addonName(java.lang.String addonName)
addonName
- The name of the add-on. This parameter is required.this
public CfnAddon.Builder clusterName(java.lang.String clusterName)
clusterName
- The name of the cluster. This parameter is required.this
public CfnAddon.Builder addonVersion(java.lang.String addonVersion)
addonVersion
- The version of the add-on. This parameter is required.this
public CfnAddon.Builder configurationValues(java.lang.String configurationValues)
configurationValues
- The configuration values that you provided. This parameter is required.this
public CfnAddon.Builder preserveOnDelete(java.lang.Boolean preserveOnDelete)
preserveOnDelete
- `AWS::EKS::Addon.PreserveOnDelete`. This parameter is required.this
public CfnAddon.Builder preserveOnDelete(IResolvable preserveOnDelete)
preserveOnDelete
- `AWS::EKS::Addon.PreserveOnDelete`. This parameter is required.this
public CfnAddon.Builder resolveConflicts(java.lang.String resolveConflicts)
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.
resolveConflicts
- How to resolve field value conflicts for an Amazon EKS add-on. This parameter is required.this
public CfnAddon.Builder serviceAccountRoleArn(java.lang.String serviceAccountRoleArn)
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 .
serviceAccountRoleArn
- The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account. This parameter is required.this
public CfnAddon.Builder tags(java.util.List<? extends CfnTag> tags)
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.
tags
- The metadata that you apply to the add-on to assist with categorization and organization. This parameter is required.this
public CfnAddon build()