Class CfnRegistryPropsMixin.CustomJWTAuthorizerConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.agentregistry.CfnRegistryPropsMixin.CustomJWTAuthorizerConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRegistryPropsMixin.CustomJWTAuthorizerConfigurationProperty>
- Enclosing interface:
CfnRegistryPropsMixin.CustomJWTAuthorizerConfigurationProperty
@Stability(Stable)
public static final class CfnRegistryPropsMixin.CustomJWTAuthorizerConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRegistryPropsMixin.CustomJWTAuthorizerConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowedAudience(List<String> allowedAudience) allowedClients(List<String> allowedClients) allowedScopes(List<String> allowedScopes) build()Builds the configured instance.customClaims(List<? extends Object> customClaims) customClaims(IResolvable customClaims) discoveryUrl(String discoveryUrl)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowedAudience
@Stability(Stable) public CfnRegistryPropsMixin.CustomJWTAuthorizerConfigurationProperty.Builder allowedAudience(List<String> allowedAudience) Sets the value ofCfnRegistryPropsMixin.CustomJWTAuthorizerConfigurationProperty.getAllowedAudience()- Parameters:
allowedAudience- The audience values accepted during JWT validation.- Returns:
this
-
allowedClients
@Stability(Stable) public CfnRegistryPropsMixin.CustomJWTAuthorizerConfigurationProperty.Builder allowedClients(List<String> allowedClients) Sets the value ofCfnRegistryPropsMixin.CustomJWTAuthorizerConfigurationProperty.getAllowedClients()- Parameters:
allowedClients- The client identifiers accepted during JWT validation.- Returns:
this
-
allowedScopes
@Stability(Stable) public CfnRegistryPropsMixin.CustomJWTAuthorizerConfigurationProperty.Builder allowedScopes(List<String> allowedScopes) - Parameters:
allowedScopes- The scopes accepted during JWT validation.- Returns:
this
-
customClaims
@Stability(Stable) public CfnRegistryPropsMixin.CustomJWTAuthorizerConfigurationProperty.Builder customClaims(IResolvable customClaims) - Parameters:
customClaims- Additional custom claim validations applied to the inbound JWT.- Returns:
this
-
customClaims
@Stability(Stable) public CfnRegistryPropsMixin.CustomJWTAuthorizerConfigurationProperty.Builder customClaims(List<? extends Object> customClaims) - Parameters:
customClaims- Additional custom claim validations applied to the inbound JWT.- Returns:
this
-
discoveryUrl
@Stability(Stable) public CfnRegistryPropsMixin.CustomJWTAuthorizerConfigurationProperty.Builder discoveryUrl(String discoveryUrl) - Parameters:
discoveryUrl- The OpenID Connect discovery URL used to retrieve the identity provider's metadata and signing keys.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRegistryPropsMixin.CustomJWTAuthorizerConfigurationProperty>- Returns:
- a new instance of
CfnRegistryPropsMixin.CustomJWTAuthorizerConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-