Interface CfnApi.OpenIDConnectConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApi.OpenIDConnectConfigProperty.Jsii$Proxy
- Enclosing class:
CfnApi
@Stability(Stable)
public static interface CfnApi.OpenIDConnectConfigProperty
extends software.amazon.jsii.JsiiSerializable
Describes an OpenID Connect (OIDC) configuration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appsync.*;
OpenIDConnectConfigProperty openIDConnectConfigProperty = OpenIDConnectConfigProperty.builder()
.issuer("issuer")
// the properties below are optional
.authTtl(123)
.clientId("clientId")
.iatTtl(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApi.OpenIDConnectConfigPropertystatic final classAn implementation forCfnApi.OpenIDConnectConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default NumberThe number of milliseconds that a token is valid after being authenticated.default StringThe client identifier of the relying party at the OpenID identity provider.default NumberThe number of milliseconds that a token is valid after it's issued to a user.The issuer for the OIDC configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIssuer
The issuer for the OIDC configuration.The issuer returned by discovery must exactly match the value of
issin the ID token.- See Also:
-
getAuthTtl
The number of milliseconds that a token is valid after being authenticated.- See Also:
-
getClientId
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.
- See Also:
-
getIatTtl
The number of milliseconds that a token is valid after it's issued to a user.- See Also:
-
builder
-