Class CfnRuntime.CustomJWTAuthorizerConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnRuntime.CustomJWTAuthorizerConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuntime.CustomJWTAuthorizerConfigurationProperty>
- Enclosing interface:
CfnRuntime.CustomJWTAuthorizerConfigurationProperty
@Stability(Stable)
public static final class CfnRuntime.CustomJWTAuthorizerConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuntime.CustomJWTAuthorizerConfigurationProperty>
A builder for
CfnRuntime.CustomJWTAuthorizerConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowedAudience(List<String> allowedAudience) Sets the value ofCfnRuntime.CustomJWTAuthorizerConfigurationProperty.getAllowedAudience()allowedClients(List<String> allowedClients) Sets the value ofCfnRuntime.CustomJWTAuthorizerConfigurationProperty.getAllowedClients()allowedScopes(List<String> allowedScopes) Sets the value ofCfnRuntime.CustomJWTAuthorizerConfigurationProperty.getAllowedScopes()allowedWorkloadConfiguration(IResolvable allowedWorkloadConfiguration) allowedWorkloadConfiguration(CfnRuntime.AllowedWorkloadConfigurationProperty allowedWorkloadConfiguration) build()Builds the configured instance.customClaims(List<? extends Object> customClaims) Sets the value ofCfnRuntime.CustomJWTAuthorizerConfigurationProperty.getCustomClaims()customClaims(IResolvable customClaims) Sets the value ofCfnRuntime.CustomJWTAuthorizerConfigurationProperty.getCustomClaims()discoveryUrl(String discoveryUrl) Sets the value ofCfnRuntime.CustomJWTAuthorizerConfigurationProperty.getDiscoveryUrl()privateEndpoint(IResolvable privateEndpoint) Sets the value ofCfnRuntime.CustomJWTAuthorizerConfigurationProperty.getPrivateEndpoint()privateEndpoint(CfnRuntime.PrivateEndpointProperty privateEndpoint) Sets the value ofCfnRuntime.CustomJWTAuthorizerConfigurationProperty.getPrivateEndpoint()privateEndpointOverrides(List<? extends Object> privateEndpointOverrides) privateEndpointOverrides(IResolvable privateEndpointOverrides)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
discoveryUrl
@Stability(Stable) public CfnRuntime.CustomJWTAuthorizerConfigurationProperty.Builder discoveryUrl(String discoveryUrl) Sets the value ofCfnRuntime.CustomJWTAuthorizerConfigurationProperty.getDiscoveryUrl()- Parameters:
discoveryUrl- The configuration authorization. This parameter is required.- Returns:
this
-
allowedAudience
@Stability(Stable) public CfnRuntime.CustomJWTAuthorizerConfigurationProperty.Builder allowedAudience(List<String> allowedAudience) Sets the value ofCfnRuntime.CustomJWTAuthorizerConfigurationProperty.getAllowedAudience()- Parameters:
allowedAudience- Represents inbound authorization configuration options used to authenticate incoming requests.- Returns:
this
-
allowedClients
@Stability(Stable) public CfnRuntime.CustomJWTAuthorizerConfigurationProperty.Builder allowedClients(List<String> allowedClients) Sets the value ofCfnRuntime.CustomJWTAuthorizerConfigurationProperty.getAllowedClients()- Parameters:
allowedClients- Represents individual client IDs that are validated in the incoming JWT token validation process.- Returns:
this
-
allowedScopes
@Stability(Stable) public CfnRuntime.CustomJWTAuthorizerConfigurationProperty.Builder allowedScopes(List<String> allowedScopes) Sets the value ofCfnRuntime.CustomJWTAuthorizerConfigurationProperty.getAllowedScopes()- Parameters:
allowedScopes- List of allowed scopes.- Returns:
this
-
allowedWorkloadConfiguration
@Stability(Stable) public CfnRuntime.CustomJWTAuthorizerConfigurationProperty.Builder allowedWorkloadConfiguration(IResolvable allowedWorkloadConfiguration) Sets the value ofCfnRuntime.CustomJWTAuthorizerConfigurationProperty.getAllowedWorkloadConfiguration()- Parameters:
allowedWorkloadConfiguration- Allow-list of upstream workloads permitted to reach this resource via the workload identity chain. When set, the data plane enforces that the introspected workload chain's caller matches one of the configured hosting environments or workload identities; absent means no chain enforcement.- Returns:
this
-
allowedWorkloadConfiguration
@Stability(Stable) public CfnRuntime.CustomJWTAuthorizerConfigurationProperty.Builder allowedWorkloadConfiguration(CfnRuntime.AllowedWorkloadConfigurationProperty allowedWorkloadConfiguration) Sets the value ofCfnRuntime.CustomJWTAuthorizerConfigurationProperty.getAllowedWorkloadConfiguration()- Parameters:
allowedWorkloadConfiguration- Allow-list of upstream workloads permitted to reach this resource via the workload identity chain. When set, the data plane enforces that the introspected workload chain's caller matches one of the configured hosting environments or workload identities; absent means no chain enforcement.- Returns:
this
-
customClaims
@Stability(Stable) public CfnRuntime.CustomJWTAuthorizerConfigurationProperty.Builder customClaims(IResolvable customClaims) Sets the value ofCfnRuntime.CustomJWTAuthorizerConfigurationProperty.getCustomClaims()- Parameters:
customClaims- List of required custom claims.- Returns:
this
-
customClaims
@Stability(Stable) public CfnRuntime.CustomJWTAuthorizerConfigurationProperty.Builder customClaims(List<? extends Object> customClaims) Sets the value ofCfnRuntime.CustomJWTAuthorizerConfigurationProperty.getCustomClaims()- Parameters:
customClaims- List of required custom claims.- Returns:
this
-
privateEndpoint
@Stability(Stable) public CfnRuntime.CustomJWTAuthorizerConfigurationProperty.Builder privateEndpoint(IResolvable privateEndpoint) Sets the value ofCfnRuntime.CustomJWTAuthorizerConfigurationProperty.getPrivateEndpoint()- Parameters:
privateEndpoint- Private endpoint configuration. Exactly one of SelfManagedLatticeResource or ManagedVpcResource must be specified.- Returns:
this
-
privateEndpoint
@Stability(Stable) public CfnRuntime.CustomJWTAuthorizerConfigurationProperty.Builder privateEndpoint(CfnRuntime.PrivateEndpointProperty privateEndpoint) Sets the value ofCfnRuntime.CustomJWTAuthorizerConfigurationProperty.getPrivateEndpoint()- Parameters:
privateEndpoint- Private endpoint configuration. Exactly one of SelfManagedLatticeResource or ManagedVpcResource must be specified.- Returns:
this
-
privateEndpointOverrides
@Stability(Stable) public CfnRuntime.CustomJWTAuthorizerConfigurationProperty.Builder privateEndpointOverrides(IResolvable privateEndpointOverrides) - Parameters:
privateEndpointOverrides- List of private endpoint overrides.- Returns:
this
-
privateEndpointOverrides
@Stability(Stable) public CfnRuntime.CustomJWTAuthorizerConfigurationProperty.Builder privateEndpointOverrides(List<? extends Object> privateEndpointOverrides) - Parameters:
privateEndpointOverrides- List of private endpoint overrides.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRuntime.CustomJWTAuthorizerConfigurationProperty>- Returns:
- a new instance of
CfnRuntime.CustomJWTAuthorizerConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-