Class CfnGraphQLApi.OpenIDConnectConfigProperty
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.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class OpenIDConnectConfigProperty : Object, CfnGraphQLApi.IOpenIDConnectConfigProperty
Syntax (vb)
Public Class OpenIDConnectConfigProperty
Inherits Object
Implements 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
Constructors
OpenIDConnectConfigProperty() |
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. |
Constructors
OpenIDConnectConfigProperty()
public OpenIDConnectConfigProperty()
Properties
AuthTtl
The number of milliseconds that a token is valid after being authenticated.
public Nullable<double> AuthTtl { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
ClientId
The client identifier of the Relying party at the OpenID identity provider.
public string ClientId { get; set; }
Property Value
System.String
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.
public Nullable<double> IatTtl { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Issuer
The issuer for the OIDC configuration.
public string Issuer { get; set; }
Property Value
System.String
Remarks
The issuer returned by discovery must exactly match the value of iss
in the ID token.