Class CfnCapability.ArgoCdProperty.Builder
java.lang.Object
software.amazon.awscdk.services.eks.CfnCapability.ArgoCdProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCapability.ArgoCdProperty>
- Enclosing interface:
CfnCapability.ArgoCdProperty
@Stability(Stable)
public static final class CfnCapability.ArgoCdProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCapability.ArgoCdProperty>
A builder for
CfnCapability.ArgoCdProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsIdc(IResolvable awsIdc) Sets the value ofCfnCapability.ArgoCdProperty.getAwsIdc()awsIdc(CfnCapability.AwsIdcProperty awsIdc) Sets the value ofCfnCapability.ArgoCdProperty.getAwsIdc()build()Builds the configured instance.Sets the value ofCfnCapability.ArgoCdProperty.getNamespace()networkAccess(IResolvable networkAccess) Sets the value ofCfnCapability.ArgoCdProperty.getNetworkAccess()networkAccess(CfnCapability.NetworkAccessProperty networkAccess) Sets the value ofCfnCapability.ArgoCdProperty.getNetworkAccess()rbacRoleMappings(List<? extends Object> rbacRoleMappings) Sets the value ofCfnCapability.ArgoCdProperty.getRbacRoleMappings()rbacRoleMappings(IResolvable rbacRoleMappings) Sets the value ofCfnCapability.ArgoCdProperty.getRbacRoleMappings()Sets the value ofCfnCapability.ArgoCdProperty.getServerUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsIdc
Sets the value ofCfnCapability.ArgoCdProperty.getAwsIdc()- Parameters:
awsIdc- Configuration for integrating Argo CD with IAM Identity Center. This parameter is required. This allows you to use your organization's identity provider for authentication to Argo CD.- Returns:
this
-
awsIdc
@Stability(Stable) public CfnCapability.ArgoCdProperty.Builder awsIdc(CfnCapability.AwsIdcProperty awsIdc) Sets the value ofCfnCapability.ArgoCdProperty.getAwsIdc()- Parameters:
awsIdc- Configuration for integrating Argo CD with IAM Identity Center. This parameter is required. This allows you to use your organization's identity provider for authentication to Argo CD.- Returns:
this
-
namespace
Sets the value ofCfnCapability.ArgoCdProperty.getNamespace()- Parameters:
namespace- The Kubernetes namespace where Argo CD resources will be created. If not specified, the default namespace is used.- Returns:
this
-
networkAccess
@Stability(Stable) public CfnCapability.ArgoCdProperty.Builder networkAccess(IResolvable networkAccess) Sets the value ofCfnCapability.ArgoCdProperty.getNetworkAccess()- Parameters:
networkAccess- Configuration for network access to the Argo CD capability's managed API server endpoint. By default, the Argo CD server is accessible via a public endpoint. You can optionally specify one or more VPC endpoint IDs to enable private connectivity from your VPCs.- Returns:
this
-
networkAccess
@Stability(Stable) public CfnCapability.ArgoCdProperty.Builder networkAccess(CfnCapability.NetworkAccessProperty networkAccess) Sets the value ofCfnCapability.ArgoCdProperty.getNetworkAccess()- Parameters:
networkAccess- Configuration for network access to the Argo CD capability's managed API server endpoint. By default, the Argo CD server is accessible via a public endpoint. You can optionally specify one or more VPC endpoint IDs to enable private connectivity from your VPCs.- Returns:
this
-
rbacRoleMappings
@Stability(Stable) public CfnCapability.ArgoCdProperty.Builder rbacRoleMappings(IResolvable rbacRoleMappings) Sets the value ofCfnCapability.ArgoCdProperty.getRbacRoleMappings()- Parameters:
rbacRoleMappings- A list of role mappings that define which IAM Identity Center users or groups have which Argo CD roles. Each mapping associates an Argo CD role (ADMIN, EDITOR, or VIEWER) with one or more IAM Identity Center identities.- Returns:
this
-
rbacRoleMappings
@Stability(Stable) public CfnCapability.ArgoCdProperty.Builder rbacRoleMappings(List<? extends Object> rbacRoleMappings) Sets the value ofCfnCapability.ArgoCdProperty.getRbacRoleMappings()- Parameters:
rbacRoleMappings- A list of role mappings that define which IAM Identity Center users or groups have which Argo CD roles. Each mapping associates an Argo CD role (ADMIN, EDITOR, or VIEWER) with one or more IAM Identity Center identities.- Returns:
this
-
serverUrl
Sets the value ofCfnCapability.ArgoCdProperty.getServerUrl()- Parameters:
serverUrl- The URL of the Argo CD server. Use this URL to access the Argo CD web interface and API.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCapability.ArgoCdProperty>- Returns:
- a new instance of
CfnCapability.ArgoCdProperty - Throws:
NullPointerException- if any required attribute was not provided
-