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>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • identityProviderDetails

      @Stability(Stable) public CfnIdentityProviderProps.Builder identityProviderDetails(IResolvable identityProviderDetails)
      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 key
      • token_url if not available from discovery URL specified by oidc_issuer key
      • attributes_url if not available from discovery URL specified by oidc_issuer key
      • jwks_uri if not available from discovery URL specified by oidc_issuer key
      • For SAML providers:
      • MetadataFile OR MetadataURL
      • IDPSignout (boolean) optional
      • IDPInit (boolean) optional
      • RequestSigningAlgorithm (string) optional - Only accepts rsa-sha256
      • EncryptedResponses (boolean) optional
      Returns:
      this
    • identityProviderDetails

      @Stability(Stable) public CfnIdentityProviderProps.Builder identityProviderDetails(Map<String,String> identityProviderDetails)
      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 key
      • token_url if not available from discovery URL specified by oidc_issuer key
      • attributes_url if not available from discovery URL specified by oidc_issuer key
      • jwks_uri if not available from discovery URL specified by oidc_issuer key
      • For SAML providers:
      • MetadataFile OR MetadataURL
      • IDPSignout (boolean) optional
      • IDPInit (boolean) optional
      • RequestSigningAlgorithm (string) optional - Only accepts rsa-sha256
      • EncryptedResponses (boolean) optional
      Returns:
      this
    • identityProviderName

      @Stability(Stable) public CfnIdentityProviderProps.Builder identityProviderName(String identityProviderName)
      Parameters:
      identityProviderName - The identity provider name. This parameter is required.
      Returns:
      this
    • identityProviderType

      @Stability(Stable) public CfnIdentityProviderProps.Builder identityProviderType(String identityProviderType)
      Parameters:
      identityProviderType - The identity provider type. This parameter is required.
      Returns:
      this
    • portalArn

      @Stability(Stable) public CfnIdentityProviderProps.Builder portalArn(String portalArn)
      Parameters:
      portalArn - The ARN of the identity provider.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnIdentityProviderProps.Builder tags(List<? extends CfnTag> tags)
      Parameters:
      tags - the value to be set.
      Returns:
      this
    • build

      @Stability(Stable) public CfnIdentityProviderProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnIdentityProviderProps>
      Returns:
      a new instance of CfnIdentityProviderProps
      Throws:
      NullPointerException - if any required attribute was not provided