Class CfnIdentityProvider.Builder
java.lang.Object
software.amazon.awscdk.services.workspacesweb.CfnIdentityProvider.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIdentityProvider>
- Enclosing class:
CfnIdentityProvider
@Stability(Stable)
public static final class CfnIdentityProvider.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIdentityProvider>
A fluent builder for
CfnIdentityProvider
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnIdentityProvider.Builder
identityProviderDetails
(Map<String, String> identityProviderDetails) The identity provider details.identityProviderDetails
(IResolvable identityProviderDetails) The identity provider details.identityProviderName
(String identityProviderName) The identity provider name.identityProviderType
(String identityProviderType) The identity provider type.The ARN of the identity provider.
-
Method Details
-
create
@Stability(Stable) public static CfnIdentityProvider.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnIdentityProvider.Builder
.
-
identityProviderDetails
@Stability(Stable) public CfnIdentityProvider.Builder identityProviderDetails(IResolvable identityProviderDetails) The identity provider details. The following list describes the provider detail keys for each identity provider type.- 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
- Parameters:
identityProviderDetails
- The identity provider details. The following list describes the provider detail keys for each identity provider type. This parameter is required.- Returns:
this
- See Also:
-
identityProviderDetails
@Stability(Stable) public CfnIdentityProvider.Builder identityProviderDetails(Map<String, String> identityProviderDetails) The identity provider details. The following list describes the provider detail keys for each identity provider type.- 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
- Parameters:
identityProviderDetails
- The identity provider details. The following list describes the provider detail keys for each identity provider type. This parameter is required.- Returns:
this
- See Also:
-
identityProviderName
@Stability(Stable) public CfnIdentityProvider.Builder identityProviderName(String identityProviderName) The identity provider name.- Parameters:
identityProviderName
- The identity provider name. This parameter is required.- Returns:
this
- See Also:
-
identityProviderType
@Stability(Stable) public CfnIdentityProvider.Builder identityProviderType(String identityProviderType) The identity provider type.- Parameters:
identityProviderType
- The identity provider type. This parameter is required.- Returns:
this
- See Also:
-
portalArn
The ARN of the identity provider.- Parameters:
portalArn
- The ARN of the identity provider. This parameter is required.- Returns:
this
- See Also:
-
tags
- Parameters:
tags
- This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnIdentityProvider>
- Returns:
- a newly built instance of
CfnIdentityProvider
.
-