Class CfnIdentitySourcePropsMixin.OpenIdConnectIdentityTokenConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.verifiedpermissions.CfnIdentitySourcePropsMixin.OpenIdConnectIdentityTokenConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIdentitySourcePropsMixin.OpenIdConnectIdentityTokenConfigurationProperty>
- Enclosing interface:
CfnIdentitySourcePropsMixin.OpenIdConnectIdentityTokenConfigurationProperty
@Stability(Stable)
public static final class CfnIdentitySourcePropsMixin.OpenIdConnectIdentityTokenConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIdentitySourcePropsMixin.OpenIdConnectIdentityTokenConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.principalIdClaim(String principalIdClaim)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clientIds
@Stability(Stable) public CfnIdentitySourcePropsMixin.OpenIdConnectIdentityTokenConfigurationProperty.Builder clientIds(List<String> clientIds) Sets the value ofCfnIdentitySourcePropsMixin.OpenIdConnectIdentityTokenConfigurationProperty.getClientIds()- Parameters:
clientIds- The ID token audience, or client ID, claim values that you want to accept in your policy store from an OIDC identity provider. For example,1example23456789, 2example10111213.- Returns:
this
-
principalIdClaim
@Stability(Stable) public CfnIdentitySourcePropsMixin.OpenIdConnectIdentityTokenConfigurationProperty.Builder principalIdClaim(String principalIdClaim) Sets the value ofCfnIdentitySourcePropsMixin.OpenIdConnectIdentityTokenConfigurationProperty.getPrincipalIdClaim()- Parameters:
principalIdClaim- The claim that determines the principal in OIDC access tokens. For example,sub.- Returns:
this
-
build
@Stability(Stable) public CfnIdentitySourcePropsMixin.OpenIdConnectIdentityTokenConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIdentitySourcePropsMixin.OpenIdConnectIdentityTokenConfigurationProperty>- Returns:
- a new instance of
CfnIdentitySourcePropsMixin.OpenIdConnectIdentityTokenConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-