Class CfnIdentitySource.OpenIdConnectTokenSelectionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.verifiedpermissions.CfnIdentitySource.OpenIdConnectTokenSelectionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIdentitySource.OpenIdConnectTokenSelectionProperty>
- Enclosing interface:
CfnIdentitySource.OpenIdConnectTokenSelectionProperty
@Stability(Stable)
public static final class CfnIdentitySource.OpenIdConnectTokenSelectionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIdentitySource.OpenIdConnectTokenSelectionProperty>
A builder for
CfnIdentitySource.OpenIdConnectTokenSelectionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccessTokenOnly
(IResolvable accessTokenOnly) build()
Builds the configured instance.identityTokenOnly
(IResolvable identityTokenOnly)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessTokenOnly
@Stability(Stable) public CfnIdentitySource.OpenIdConnectTokenSelectionProperty.Builder accessTokenOnly(IResolvable accessTokenOnly) - Parameters:
accessTokenOnly
- The OIDC configuration for processing access tokens. Contains allowed audience claims, for examplehttps://auth.example.com
, and the claim that you want to map to the principal, for examplesub
.- Returns:
this
-
accessTokenOnly
@Stability(Stable) public CfnIdentitySource.OpenIdConnectTokenSelectionProperty.Builder accessTokenOnly(CfnIdentitySource.OpenIdConnectAccessTokenConfigurationProperty accessTokenOnly) - Parameters:
accessTokenOnly
- The OIDC configuration for processing access tokens. Contains allowed audience claims, for examplehttps://auth.example.com
, and the claim that you want to map to the principal, for examplesub
.- Returns:
this
-
identityTokenOnly
@Stability(Stable) public CfnIdentitySource.OpenIdConnectTokenSelectionProperty.Builder identityTokenOnly(IResolvable identityTokenOnly) - Parameters:
identityTokenOnly
- The OIDC configuration for processing identity (ID) tokens. Contains allowed client ID claims, for example1example23456789
, and the claim that you want to map to the principal, for examplesub
.- Returns:
this
-
identityTokenOnly
@Stability(Stable) public CfnIdentitySource.OpenIdConnectTokenSelectionProperty.Builder identityTokenOnly(CfnIdentitySource.OpenIdConnectIdentityTokenConfigurationProperty identityTokenOnly) - Parameters:
identityTokenOnly
- The OIDC configuration for processing identity (ID) tokens. Contains allowed client ID claims, for example1example23456789
, and the claim that you want to map to the principal, for examplesub
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnIdentitySource.OpenIdConnectTokenSelectionProperty>
- Returns:
- a new instance of
CfnIdentitySource.OpenIdConnectTokenSelectionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-