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
-
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(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_id
client_secret
authorize_scopes
- For Facebook:
client_id
client_secret
authorize_scopes
api_version
- For Sign in with Apple:
client_id
team_id
key_id
private_key
authorize_scopes
- For OIDC providers:
client_id
client_secret
attributes_request_method
oidc_issuer
authorize_scopes
authorize_url
if not available from discovery URL specified by oidc_issuer keytoken_url
if not available from discovery URL specified by oidc_issuer keyattributes_url
if not available from discovery URL specified by oidc_issuer keyjwks_uri
if not available from discovery URL specified by oidc_issuer key- For SAML providers:
MetadataFile
ORMetadataURL
IDPSignout
(boolean) optionalIDPInit
(boolean) optionalRequestSigningAlgorithm
(string) optional - Only acceptsrsa-sha256
EncryptedResponses
(boolean) optional
- Returns:
this
-
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_id
client_secret
authorize_scopes
- For Facebook:
client_id
client_secret
authorize_scopes
api_version
- For Sign in with Apple:
client_id
team_id
key_id
private_key
authorize_scopes
- For OIDC providers:
client_id
client_secret
attributes_request_method
oidc_issuer
authorize_scopes
authorize_url
if not available from discovery URL specified by oidc_issuer keytoken_url
if not available from discovery URL specified by oidc_issuer keyattributes_url
if not available from discovery URL specified by oidc_issuer keyjwks_uri
if not available from discovery URL specified by oidc_issuer key- For SAML providers:
MetadataFile
ORMetadataURL
IDPSignout
(boolean) optionalIDPInit
(boolean) optionalRequestSigningAlgorithm
(string) optional - Only acceptsrsa-sha256
EncryptedResponses
(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:
build
in interfacesoftware.amazon.jsii.Builder<CfnIdentityProviderProps>
- Returns:
- a new instance of
CfnIdentityProviderProps
- Throws:
NullPointerException
- if any required attribute was not provided
-