Class CfnCapability.ArgoCdRoleMappingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.eks.CfnCapability.ArgoCdRoleMappingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCapability.ArgoCdRoleMappingProperty>
- Enclosing interface:
CfnCapability.ArgoCdRoleMappingProperty
@Stability(Stable)
public static final class CfnCapability.ArgoCdRoleMappingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCapability.ArgoCdRoleMappingProperty>
A builder for
CfnCapability.ArgoCdRoleMappingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.identities(List<? extends Object> identities) Sets the value ofCfnCapability.ArgoCdRoleMappingProperty.getIdentities()identities(IResolvable identities) Sets the value ofCfnCapability.ArgoCdRoleMappingProperty.getIdentities()Sets the value ofCfnCapability.ArgoCdRoleMappingProperty.getRole()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
identities
@Stability(Stable) public CfnCapability.ArgoCdRoleMappingProperty.Builder identities(IResolvable identities) Sets the value ofCfnCapability.ArgoCdRoleMappingProperty.getIdentities()- Parameters:
identities- A list of IAM Identity Center identities (users or groups) that should be assigned this Argo CD role. This parameter is required.- Returns:
this
-
identities
@Stability(Stable) public CfnCapability.ArgoCdRoleMappingProperty.Builder identities(List<? extends Object> identities) Sets the value ofCfnCapability.ArgoCdRoleMappingProperty.getIdentities()- Parameters:
identities- A list of IAM Identity Center identities (users or groups) that should be assigned this Argo CD role. This parameter is required.- Returns:
this
-
role
Sets the value ofCfnCapability.ArgoCdRoleMappingProperty.getRole()- Parameters:
role- The Argo CD role to assign. This parameter is required. Valid values are: ADMIN (full administrative access to Argo CD), EDITOR (edit access to Argo CD resources), or VIEWER (read-only access to Argo CD resources).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCapability.ArgoCdRoleMappingProperty>- Returns:
- a new instance of
CfnCapability.ArgoCdRoleMappingProperty - Throws:
NullPointerException- if any required attribute was not provided
-