Interface CfnGraphQLApi.OpenIDConnectConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGraphQLApi.OpenIDConnectConfigProperty.Jsii$Proxy
- Enclosing class:
CfnGraphQLApi
@Stability(Stable)
public static interface CfnGraphQLApi.OpenIDConnectConfigProperty
extends software.amazon.jsii.JsiiSerializable
The
OpenIDConnectConfig
property type specifies the optional authorization configuration for using an OpenID Connect compliant service with your GraphQL endpoint for an AWS AppSync GraphQL API.
OpenIDConnectConfig
is a property of the AWS::AppSync::GraphQLApi property type.
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() .authTtl(123) .clientId("clientId") .iatTtl(123) .issuer("issuer") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnGraphQLApi.OpenIDConnectConfigProperty
static final class
An implementation forCfnGraphQLApi.OpenIDConnectConfigProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Number
The number of milliseconds that a token is valid after being authenticated.default String
The client identifier of the Relying party at the OpenID identity provider.default Number
The number of milliseconds that a token is valid after it's issued to a user.default String
The issuer for the OIDC configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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:
-
getIssuer
The issuer for the OIDC configuration.The issuer returned by discovery must exactly match the value of
iss
in the ID token.- See Also:
-
builder
-