Class CfnOIDCProviderPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.iam.CfnOIDCProviderPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:59.996Z")
@Stability(Stable)
public class CfnOIDCProviderPropsMixin
extends Mixin
implements software.constructs.IMixin
Creates or updates an IAM entity to describe an identity provider (IdP) that supports OpenID Connect (OIDC) .
The OIDC provider that you create with this operation can be used as a principal in a role's trust policy. Such a policy establishes a trust relationship between AWS and the OIDC provider.
When you create the IAM OIDC provider, you specify the following:
- The URL of the OIDC identity provider (IdP) to trust
- A list of client IDs (also known as audiences) that identify the application or applications that are allowed to authenticate using the OIDC provider
- A list of tags that are attached to the specified IAM OIDC provider
- A list of thumbprints of one or more server certificates that the IdP uses
You get all of this information from the OIDC IdP that you want to use to access AWS .
When you update the IAM OIDC provider, you specify the following:
- The URL of the OIDC identity provider (IdP) to trust
- A list of client IDs (also known as audiences) that replaces the existing list of client IDs associated with the OIDC IdP
- A list of tags that replaces the existing list of tags attached to the specified IAM OIDC provider
- A list of thumbprints that replaces the existing list of server certificates thumbprints that the IdP uses
The trust for the OIDC provider is derived from the IAM provider that this operation creates. Therefore, it is best to limit access to the CreateOpenIDConnectProvider operation to highly privileged users.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.iam.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnOIDCProviderPropsMixin cfnOIDCProviderPropsMixin = CfnOIDCProviderPropsMixin.Builder.create(CfnOIDCProviderMixinProps.builder()
.clientIdList(List.of("clientIdList"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.thumbprintList(List.of("thumbprintList"))
.url("url")
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnOIDCProviderPropsMixin.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::IAM::OIDCProvider.Create a mixin to apply properties toAWS::IAM::OIDCProvider.protectedCfnOIDCProviderPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnOIDCProviderPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnOIDCProviderMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnOIDCProviderPropsMixin
protected CfnOIDCProviderPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnOIDCProviderPropsMixin
protected CfnOIDCProviderPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnOIDCProviderPropsMixin
@Stability(Stable) public CfnOIDCProviderPropsMixin(@NotNull CfnOIDCProviderMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::IAM::OIDCProvider.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnOIDCProviderPropsMixin
Create a mixin to apply properties toAWS::IAM::OIDCProvider.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-