Class CfnApi.OpenIDConnectConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appsync.CfnApi.OpenIDConnectConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApi.OpenIDConnectConfigProperty>
- Enclosing interface:
CfnApi.OpenIDConnectConfigProperty
@Stability(Stable)
public static final class CfnApi.OpenIDConnectConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApi.OpenIDConnectConfigProperty>
A builder for
CfnApi.OpenIDConnectConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnApi.OpenIDConnectConfigProperty.getAuthTtl()
build()
Builds the configured instance.Sets the value ofCfnApi.OpenIDConnectConfigProperty.getClientId()
Sets the value ofCfnApi.OpenIDConnectConfigProperty.getIatTtl()
Sets the value ofCfnApi.OpenIDConnectConfigProperty.getIssuer()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
issuer
Sets the value ofCfnApi.OpenIDConnectConfigProperty.getIssuer()
- Parameters:
issuer
- The issuer for the OIDC configuration. This parameter is required. The issuer returned by discovery must exactly match the value ofiss
in the ID token.- Returns:
this
-
authTtl
Sets the value ofCfnApi.OpenIDConnectConfigProperty.getAuthTtl()
- Parameters:
authTtl
- The number of milliseconds that a token is valid after being authenticated.- Returns:
this
-
clientId
Sets the value ofCfnApi.OpenIDConnectConfigProperty.getClientId()
- Parameters:
clientId
- The client identifier of the relying party at the OpenID identity provider. This identifier is typically obtained when the relying party is registered with the OpenID identity provider. You can specify a regular expression so that AWS AppSync can validate against multiple client identifiers at a time.- Returns:
this
-
iatTtl
Sets the value ofCfnApi.OpenIDConnectConfigProperty.getIatTtl()
- Parameters:
iatTtl
- The number of milliseconds that a token is valid after it's issued to a user.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApi.OpenIDConnectConfigProperty>
- Returns:
- a new instance of
CfnApi.OpenIDConnectConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-