Class CfnIdentityProviderProps.Builder
java.lang.Object
software.amazon.awscdk.services.workspacesweb.CfnIdentityProviderProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIdentityProviderProps>
- Enclosing interface:
CfnIdentityProviderProps
@Stability(Stable)
public static final class CfnIdentityProviderProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIdentityProviderProps>
A builder for
CfnIdentityProviderProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.identityProviderDetails(Map<String, String> identityProviderDetails) Sets the value ofCfnIdentityProviderProps.getIdentityProviderDetails()identityProviderDetails(IResolvable identityProviderDetails) Sets the value ofCfnIdentityProviderProps.getIdentityProviderDetails()identityProviderName(String identityProviderName) Sets the value ofCfnIdentityProviderProps.getIdentityProviderName()identityProviderType(String identityProviderType) Sets the value ofCfnIdentityProviderProps.getIdentityProviderType()Sets the value ofCfnIdentityProviderProps.getPortalArn()Sets the value ofCfnIdentityProviderProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
identityProviderDetails
@Stability(Stable) public CfnIdentityProviderProps.Builder identityProviderDetails(Map<String, String> identityProviderDetails) Sets the value ofCfnIdentityProviderProps.getIdentityProviderDetails()- Parameters:
identityProviderDetails- The identity provider details. The following list describes the provider detail keys for each identity provider type. This parameter is required.- For Google and Login with Amazon:
client_idclient_secretauthorize_scopes- For Facebook:
client_idclient_secretauthorize_scopesapi_version- For Sign in with Apple:
client_idteam_idkey_idprivate_keyauthorize_scopes- For OIDC providers:
client_idclient_secretattributes_request_methodoidc_issuerauthorize_scopesauthorize_urlif not available from discovery URL specified by oidc_issuer keytoken_urlif not available from discovery URL specified by oidc_issuer keyattributes_urlif not available from discovery URL specified by oidc_issuer keyjwks_uriif not available from discovery URL specified by oidc_issuer key- For SAML providers:
MetadataFileORMetadataURLIDPSignout(boolean) optionalIDPInit(boolean) optionalRequestSigningAlgorithm(string) optional - Only acceptsrsa-sha256EncryptedResponses(boolean) optional
- Returns:
this
-
identityProviderDetails
@Stability(Stable) public CfnIdentityProviderProps.Builder identityProviderDetails(IResolvable identityProviderDetails) Sets the value ofCfnIdentityProviderProps.getIdentityProviderDetails()- Parameters:
identityProviderDetails- The identity provider details. The following list describes the provider detail keys for each identity provider type. This parameter is required.- For Google and Login with Amazon:
client_idclient_secretauthorize_scopes- For Facebook:
client_idclient_secretauthorize_scopesapi_version- For Sign in with Apple:
client_idteam_idkey_idprivate_keyauthorize_scopes- For OIDC providers:
client_idclient_secretattributes_request_methodoidc_issuerauthorize_scopesauthorize_urlif not available from discovery URL specified by oidc_issuer keytoken_urlif not available from discovery URL specified by oidc_issuer keyattributes_urlif not available from discovery URL specified by oidc_issuer keyjwks_uriif not available from discovery URL specified by oidc_issuer key- For SAML providers:
MetadataFileORMetadataURLIDPSignout(boolean) optionalIDPInit(boolean) optionalRequestSigningAlgorithm(string) optional - Only acceptsrsa-sha256EncryptedResponses(boolean) optional
- Returns:
this
-
identityProviderName
@Stability(Stable) public CfnIdentityProviderProps.Builder identityProviderName(String identityProviderName) Sets the value ofCfnIdentityProviderProps.getIdentityProviderName()- Parameters:
identityProviderName- The identity provider name. This parameter is required.- Returns:
this
-
identityProviderType
@Stability(Stable) public CfnIdentityProviderProps.Builder identityProviderType(String identityProviderType) Sets the value ofCfnIdentityProviderProps.getIdentityProviderType()- Parameters:
identityProviderType- The identity provider type. This parameter is required.- Returns:
this
-
portalArn
Sets the value ofCfnIdentityProviderProps.getPortalArn()- Parameters:
portalArn- The ARN of the identity provider.- Returns:
this
-
tags
Sets the value ofCfnIdentityProviderProps.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIdentityProviderProps>- Returns:
- a new instance of
CfnIdentityProviderProps - Throws:
NullPointerException- if any required attribute was not provided
-