Class CfnIdentityProviderConfig.Builder
java.lang.Object
software.amazon.awscdk.services.eks.legacy.CfnIdentityProviderConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIdentityProviderConfig>
- Enclosing class:
- CfnIdentityProviderConfig
@Stability(Stable)
public static final class CfnIdentityProviderConfig.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIdentityProviderConfig>
A fluent builder for
CfnIdentityProviderConfig
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clusterName
(String clusterName) The cluster that the configuration is associated to.identityProviderConfigName
(String identityProviderConfigName) The name of the configuration.oidc
(IResolvable oidc) An object representing an OpenID Connect (OIDC) identity provider configuration.An object representing an OpenID Connect (OIDC) identity provider configuration.The metadata to apply to the provider configuration to assist with categorization and organization.The type of the identity provider configuration.
-
Method Details
-
create
@Stability(Stable) public static CfnIdentityProviderConfig.Builder create(Construct scope, String id) - Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnIdentityProviderConfig.Builder
.
-
clusterName
The cluster that the configuration is associated to.- Parameters:
clusterName
- The cluster that the configuration is associated to. This parameter is required.- Returns:
this
-
type
The type of the identity provider configuration.The only type available is
oidc
.- Parameters:
type
- The type of the identity provider configuration. This parameter is required.- Returns:
this
-
identityProviderConfigName
@Stability(Stable) public CfnIdentityProviderConfig.Builder identityProviderConfigName(String identityProviderConfigName) The name of the configuration.- Parameters:
identityProviderConfigName
- The name of the configuration. This parameter is required.- Returns:
this
-
oidc
An object representing an OpenID Connect (OIDC) identity provider configuration.- Parameters:
oidc
- An object representing an OpenID Connect (OIDC) identity provider configuration. This parameter is required.- Returns:
this
-
oidc
@Stability(Stable) public CfnIdentityProviderConfig.Builder oidc(CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty oidc) An object representing an OpenID Connect (OIDC) identity provider configuration.- Parameters:
oidc
- An object representing an OpenID Connect (OIDC) identity provider configuration. This parameter is required.- Returns:
this
-
tags
The metadata to apply to the provider configuration to assist with categorization and organization.Each tag consists of a key and an optional value. You define both.
- Parameters:
tags
- The metadata to apply to the provider configuration to assist with categorization and organization. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnIdentityProviderConfig>
- Returns:
- a newly built instance of
CfnIdentityProviderConfig
.
-