Class CfnIdentitySourcePropsMixin.OpenIdConnectConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.verifiedpermissions.mixins.CfnIdentitySourcePropsMixin.OpenIdConnectConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIdentitySourcePropsMixin.OpenIdConnectConfigurationProperty>
- Enclosing interface:
CfnIdentitySourcePropsMixin.OpenIdConnectConfigurationProperty
@Stability(Stable)
public static final class CfnIdentitySourcePropsMixin.OpenIdConnectConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIdentitySourcePropsMixin.OpenIdConnectConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.entityIdPrefix(String entityIdPrefix) groupConfiguration(IResolvable groupConfiguration) groupConfiguration(CfnIdentitySourcePropsMixin.OpenIdConnectGroupConfigurationProperty groupConfiguration) tokenSelection(IResolvable tokenSelection)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
entityIdPrefix
@Stability(Stable) public CfnIdentitySourcePropsMixin.OpenIdConnectConfigurationProperty.Builder entityIdPrefix(String entityIdPrefix) Sets the value ofCfnIdentitySourcePropsMixin.OpenIdConnectConfigurationProperty.getEntityIdPrefix()- Parameters:
entityIdPrefix- A descriptive string that you want to prefix to user entities from your OIDC identity provider. For example, if you set anentityIdPrefixofMyOIDCProvider, you can reference principals in your policies in the formatMyCorp::User::MyOIDCProvider|Carlos.- Returns:
this
-
groupConfiguration
@Stability(Stable) public CfnIdentitySourcePropsMixin.OpenIdConnectConfigurationProperty.Builder groupConfiguration(IResolvable groupConfiguration) Sets the value ofCfnIdentitySourcePropsMixin.OpenIdConnectConfigurationProperty.getGroupConfiguration()- Parameters:
groupConfiguration- The claim in OIDC identity provider tokens that indicates a user's group membership, and the entity type that you want to map it to. For example, this object can map the contents of agroupsclaim toMyCorp::UserGroup.- Returns:
this
-
groupConfiguration
@Stability(Stable) public CfnIdentitySourcePropsMixin.OpenIdConnectConfigurationProperty.Builder groupConfiguration(CfnIdentitySourcePropsMixin.OpenIdConnectGroupConfigurationProperty groupConfiguration) Sets the value ofCfnIdentitySourcePropsMixin.OpenIdConnectConfigurationProperty.getGroupConfiguration()- Parameters:
groupConfiguration- The claim in OIDC identity provider tokens that indicates a user's group membership, and the entity type that you want to map it to. For example, this object can map the contents of agroupsclaim toMyCorp::UserGroup.- Returns:
this
-
issuer
@Stability(Stable) public CfnIdentitySourcePropsMixin.OpenIdConnectConfigurationProperty.Builder issuer(String issuer) - Parameters:
issuer- The issuer URL of an OIDC identity provider. This URL must have an OIDC discovery endpoint at the path.well-known/openid-configuration.- Returns:
this
-
tokenSelection
@Stability(Stable) public CfnIdentitySourcePropsMixin.OpenIdConnectConfigurationProperty.Builder tokenSelection(IResolvable tokenSelection) Sets the value ofCfnIdentitySourcePropsMixin.OpenIdConnectConfigurationProperty.getTokenSelection()- Parameters:
tokenSelection- The token type that you want to process from your OIDC identity provider. Your policy store can process either identity (ID) or access tokens from a given OIDC identity source.- Returns:
this
-
tokenSelection
@Stability(Stable) public CfnIdentitySourcePropsMixin.OpenIdConnectConfigurationProperty.Builder tokenSelection(CfnIdentitySourcePropsMixin.OpenIdConnectTokenSelectionProperty tokenSelection) Sets the value ofCfnIdentitySourcePropsMixin.OpenIdConnectConfigurationProperty.getTokenSelection()- Parameters:
tokenSelection- The token type that you want to process from your OIDC identity provider. Your policy store can process either identity (ID) or access tokens from a given OIDC identity source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIdentitySourcePropsMixin.OpenIdConnectConfigurationProperty>- Returns:
- a new instance of
CfnIdentitySourcePropsMixin.OpenIdConnectConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-