Class CfnRuntimePropsMixin.CustomJWTAuthorizerConfigurationProperty
Configuration for custom JWT authorizer.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.BedrockAgentCore
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnRuntimePropsMixin.CustomJWTAuthorizerConfigurationProperty : CfnRuntimePropsMixin.ICustomJWTAuthorizerConfigurationProperty
Syntax (vb)
Public Class CfnRuntimePropsMixin.CustomJWTAuthorizerConfigurationProperty Implements CfnRuntimePropsMixin.ICustomJWTAuthorizerConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.BedrockAgentCore;
var customJWTAuthorizerConfigurationProperty = new CustomJWTAuthorizerConfigurationProperty {
AllowedAudience = new [] { "allowedAudience" },
AllowedClients = new [] { "allowedClients" },
AllowedScopes = new [] { "allowedScopes" },
CustomClaims = new [] { new CustomClaimValidationTypeProperty {
AuthorizingClaimMatchValue = new AuthorizingClaimMatchValueTypeProperty {
ClaimMatchOperator = "claimMatchOperator",
ClaimMatchValue = new ClaimMatchValueTypeProperty {
MatchValueString = "matchValueString",
MatchValueStringList = new [] { "matchValueStringList" }
}
},
InboundTokenClaimName = "inboundTokenClaimName",
InboundTokenClaimValueType = "inboundTokenClaimValueType"
} },
DiscoveryUrl = "discoveryUrl"
};
Synopsis
Constructors
| CustomJWTAuthorizerConfigurationProperty() | Configuration for custom JWT authorizer. |
Properties
| AllowedAudience | Represents inbound authorization configuration options used to authenticate incoming requests. |
| AllowedClients | Represents individual client IDs that are validated in the incoming JWT token validation process. |
| AllowedScopes | List of allowed scopes. |
| CustomClaims | List of required custom claims. |
| DiscoveryUrl | The configuration authorization. |
Constructors
CustomJWTAuthorizerConfigurationProperty()
Configuration for custom JWT authorizer.
public CustomJWTAuthorizerConfigurationProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.BedrockAgentCore;
var customJWTAuthorizerConfigurationProperty = new CustomJWTAuthorizerConfigurationProperty {
AllowedAudience = new [] { "allowedAudience" },
AllowedClients = new [] { "allowedClients" },
AllowedScopes = new [] { "allowedScopes" },
CustomClaims = new [] { new CustomClaimValidationTypeProperty {
AuthorizingClaimMatchValue = new AuthorizingClaimMatchValueTypeProperty {
ClaimMatchOperator = "claimMatchOperator",
ClaimMatchValue = new ClaimMatchValueTypeProperty {
MatchValueString = "matchValueString",
MatchValueStringList = new [] { "matchValueStringList" }
}
},
InboundTokenClaimName = "inboundTokenClaimName",
InboundTokenClaimValueType = "inboundTokenClaimValueType"
} },
DiscoveryUrl = "discoveryUrl"
};
Properties
AllowedAudience
Represents inbound authorization configuration options used to authenticate incoming requests.
public string[]? AllowedAudience { get; set; }
Property Value
string[]
Remarks
AllowedClients
Represents individual client IDs that are validated in the incoming JWT token validation process.
public string[]? AllowedClients { get; set; }
Property Value
string[]
Remarks
AllowedScopes
List of allowed scopes.
public string[]? AllowedScopes { get; set; }
Property Value
string[]
Remarks
CustomClaims
List of required custom claims.
public object? CustomClaims { get; set; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnRuntimePropsMixin.ICustomClaimValidationTypeProperty)[]
DiscoveryUrl
The configuration authorization.
public string? DiscoveryUrl { get; set; }