Class CfnIdentitySourcePropsMixin.OpenIdConnectTokenSelectionProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.verifiedpermissions.mixins.CfnIdentitySourcePropsMixin.OpenIdConnectTokenSelectionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIdentitySourcePropsMixin.OpenIdConnectTokenSelectionProperty>
- Enclosing interface:
CfnIdentitySourcePropsMixin.OpenIdConnectTokenSelectionProperty
@Stability(Stable)
public static final class CfnIdentitySourcePropsMixin.OpenIdConnectTokenSelectionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIdentitySourcePropsMixin.OpenIdConnectTokenSelectionProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessTokenOnly(IResolvable accessTokenOnly) accessTokenOnly(CfnIdentitySourcePropsMixin.OpenIdConnectAccessTokenConfigurationProperty accessTokenOnly) build()Builds the configured instance.identityTokenOnly(IResolvable identityTokenOnly)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessTokenOnly
@Stability(Stable) public CfnIdentitySourcePropsMixin.OpenIdConnectTokenSelectionProperty.Builder accessTokenOnly(IResolvable accessTokenOnly) Sets the value ofCfnIdentitySourcePropsMixin.OpenIdConnectTokenSelectionProperty.getAccessTokenOnly()- 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 CfnIdentitySourcePropsMixin.OpenIdConnectTokenSelectionProperty.Builder accessTokenOnly(CfnIdentitySourcePropsMixin.OpenIdConnectAccessTokenConfigurationProperty accessTokenOnly) Sets the value ofCfnIdentitySourcePropsMixin.OpenIdConnectTokenSelectionProperty.getAccessTokenOnly()- 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 CfnIdentitySourcePropsMixin.OpenIdConnectTokenSelectionProperty.Builder identityTokenOnly(IResolvable identityTokenOnly) Sets the value ofCfnIdentitySourcePropsMixin.OpenIdConnectTokenSelectionProperty.getIdentityTokenOnly()- 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 CfnIdentitySourcePropsMixin.OpenIdConnectTokenSelectionProperty.Builder identityTokenOnly(CfnIdentitySourcePropsMixin.OpenIdConnectIdentityTokenConfigurationProperty identityTokenOnly) Sets the value ofCfnIdentitySourcePropsMixin.OpenIdConnectTokenSelectionProperty.getIdentityTokenOnly()- 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnIdentitySourcePropsMixin.OpenIdConnectTokenSelectionProperty>- Returns:
- a new instance of
CfnIdentitySourcePropsMixin.OpenIdConnectTokenSelectionProperty - Throws:
NullPointerException- if any required attribute was not provided
-