Interface CfnGraphQLApi.IOpenIDConnectConfigProperty
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.
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnGraphQLApi.IOpenIDConnectConfigProperty
Syntax (vb)
Public Interface CfnGraphQLApi.IOpenIDConnectConfigProperty
Remarks
OpenIDConnectConfig is a property of the AWS::AppSync::GraphQLApi property type.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppSync;
var openIDConnectConfigProperty = new OpenIDConnectConfigProperty {
AuthTtl = 123,
ClientId = "clientId",
IatTtl = 123,
Issuer = "issuer"
};
Synopsis
Properties
| AuthTtl | The number of milliseconds that a token is valid after being authenticated. |
| ClientId | The client identifier of the Relying party at the OpenID identity provider. |
| IatTtl | The number of milliseconds that a token is valid after it's issued to a user. |
| Issuer | The issuer for the OIDC configuration. |
Properties
AuthTtl
The number of milliseconds that a token is valid after being authenticated.
double? AuthTtl { get; }
Property Value
Remarks
ClientId
The client identifier of the Relying party at the OpenID identity provider.
string? ClientId { get; }
Property Value
Remarks
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.
IatTtl
The number of milliseconds that a token is valid after it's issued to a user.
double? IatTtl { get; }
Property Value
Remarks
Issuer
The issuer for the OIDC configuration.
string? Issuer { get; }
Property Value
Remarks
The issuer returned by discovery must exactly match the value of iss in the ID token.