Class OpenIdConnectProvider
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.Resource
software.amazon.awscdk.services.iam.OpenIdConnectProvider
- All Implemented Interfaces:
IConstruct
,IDependable
,IResource
,IOpenIdConnectProvider
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
- Direct Known Subclasses:
OpenIdConnectProvider
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:57.348Z")
@Stability(Stable)
public class OpenIdConnectProvider
extends Resource
implements IOpenIdConnectProvider
IAM OIDC identity providers are entities in IAM that describe an external identity provider (IdP) service that supports the OpenID Connect (OIDC) standard, such as Google or Salesforce.
You use an IAM OIDC identity provider when you want to establish trust between an OIDC-compatible IdP and your AWS account. This is useful when creating a mobile app or web application that requires access to AWS resources, but you don't want to create custom sign-in code or manage your own user identities.
Example:
OpenIdConnectProvider provider = OpenIdConnectProvider.Builder.create(this, "MyProvider") .url("https://openid/connect") .clientIds(List.of("myclient1", "myclient2")) .build();
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.IOpenIdConnectProvider
IOpenIdConnectProvider.Jsii$Default, IOpenIdConnectProvider.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource
IResource.Jsii$Default
-
Constructor Summary
ModifierConstructorDescriptionprotected
OpenIdConnectProvider
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
OpenIdConnectProvider
(software.amazon.jsii.JsiiObjectRef objRef) OpenIdConnectProvider
(software.constructs.Construct scope, String id, OpenIdConnectProviderProps props) Defines an OpenID Connect provider. -
Method Summary
Modifier and TypeMethodDescriptionstatic IOpenIdConnectProvider
fromOpenIdConnectProviderArn
(software.constructs.Construct scope, String id, String openIdConnectProviderArn) Imports an Open ID connect provider from an ARN.The Amazon Resource Name (ARN) of the IAM OpenID Connect provider.The issuer for OIDC Provider.The thumbprints configured for this provider.Methods inherited from class software.amazon.awscdk.core.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.constructs.Construct
toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.awscdk.core.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.core.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
OpenIdConnectProvider
protected OpenIdConnectProvider(software.amazon.jsii.JsiiObjectRef objRef) -
OpenIdConnectProvider
protected OpenIdConnectProvider(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
OpenIdConnectProvider
@Stability(Stable) public OpenIdConnectProvider(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull OpenIdConnectProviderProps props) Defines an OpenID Connect provider.- Parameters:
scope
- The definition scope. This parameter is required.id
- Construct ID. This parameter is required.props
- Initialization properties. This parameter is required.
-
-
Method Details
-
fromOpenIdConnectProviderArn
@Stability(Stable) @NotNull public static IOpenIdConnectProvider fromOpenIdConnectProviderArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String openIdConnectProviderArn) Imports an Open ID connect provider from an ARN.- Parameters:
scope
- The definition scope. This parameter is required.id
- ID of the construct. This parameter is required.openIdConnectProviderArn
- the ARN to import. This parameter is required.
-
getOpenIdConnectProviderArn
The Amazon Resource Name (ARN) of the IAM OpenID Connect provider.- Specified by:
getOpenIdConnectProviderArn
in interfaceIOpenIdConnectProvider
-
getOpenIdConnectProviderIssuer
The issuer for OIDC Provider.- Specified by:
getOpenIdConnectProviderIssuer
in interfaceIOpenIdConnectProvider
-
getOpenIdConnectProviderthumbprints
The thumbprints configured for this provider.
-