Class OpenIdConnectPrincipal

All Implemented Interfaces:
IAssumeRolePrincipal, IComparablePrincipal, IGrantable, IPrincipal, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-10-31T19:12:59.344Z") @Stability(Stable) public class OpenIdConnectPrincipal extends WebIdentityPrincipal
A principal that represents a federated identity provider as from a OpenID Connect provider.

Example:

 OpenIdConnectProvider provider = OpenIdConnectProvider.Builder.create(this, "MyProvider")
         .url("https://openid/connect")
         .clientIds(List.of("myclient1", "myclient2"))
         .build();
 OpenIdConnectPrincipal principal = new OpenIdConnectPrincipal(provider);
 
  • Constructor Details

    • OpenIdConnectPrincipal

      protected OpenIdConnectPrincipal(software.amazon.jsii.JsiiObjectRef objRef)
    • OpenIdConnectPrincipal

      protected OpenIdConnectPrincipal(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • OpenIdConnectPrincipal

      @Stability(Stable) public OpenIdConnectPrincipal(@NotNull IOpenIdConnectProvider openIdConnectProvider, @Nullable Map<String,Object> conditions)
      Parameters:
      openIdConnectProvider - OpenID Connect provider. This parameter is required.
      conditions - The conditions under which the policy is in effect.
    • OpenIdConnectPrincipal

      @Stability(Stable) public OpenIdConnectPrincipal(@NotNull IOpenIdConnectProvider openIdConnectProvider)
      Parameters:
      openIdConnectProvider - OpenID Connect provider. This parameter is required.
  • Method Details