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