Interface CfnGatewayProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGatewayProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-02T21:55:05.884Z")
@Stability(Stable)
public interface CfnGatewayProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnGateway.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrockagentcore.*;
CfnGatewayProps cfnGatewayProps = CfnGatewayProps.builder()
.authorizerType("authorizerType")
.name("name")
.protocolType("protocolType")
.roleArn("roleArn")
// the properties below are optional
.authorizerConfiguration(AuthorizerConfigurationProperty.builder()
.customJwtAuthorizer(CustomJWTAuthorizerConfigurationProperty.builder()
.discoveryUrl("discoveryUrl")
// the properties below are optional
.allowedAudience(List.of("allowedAudience"))
.allowedClients(List.of("allowedClients"))
.allowedScopes(List.of("allowedScopes"))
.customClaims(List.of(CustomClaimValidationTypeProperty.builder()
.authorizingClaimMatchValue(AuthorizingClaimMatchValueTypeProperty.builder()
.claimMatchOperator("claimMatchOperator")
.claimMatchValue(ClaimMatchValueTypeProperty.builder()
.matchValueString("matchValueString")
.matchValueStringList(List.of("matchValueStringList"))
.build())
.build())
.inboundTokenClaimName("inboundTokenClaimName")
.inboundTokenClaimValueType("inboundTokenClaimValueType")
.build()))
.build())
.build())
.description("description")
.exceptionLevel("exceptionLevel")
.interceptorConfigurations(List.of(GatewayInterceptorConfigurationProperty.builder()
.interceptionPoints(List.of("interceptionPoints"))
.interceptor(InterceptorConfigurationProperty.builder()
.lambda(LambdaInterceptorConfigurationProperty.builder()
.arn("arn")
.build())
.build())
// the properties below are optional
.inputConfiguration(InterceptorInputConfigurationProperty.builder()
.passRequestHeaders(false)
.build())
.build()))
.kmsKeyArn("kmsKeyArn")
.policyEngineConfiguration(GatewayPolicyEngineConfigurationProperty.builder()
.arn("arn")
.mode("mode")
.build())
.protocolConfiguration(GatewayProtocolConfigurationProperty.builder()
.mcp(MCPGatewayConfigurationProperty.builder()
.instructions("instructions")
.searchType("searchType")
.supportedVersions(List.of("supportedVersions"))
.build())
.build())
.tags(Map.of(
"tagsKey", "tags"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGatewayPropsstatic final classAn implementation forCfnGatewayProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnGatewayProps.Builderbuilder()default ObjectReturns union: eitherIResolvableorCfnGateway.AuthorizerConfigurationPropertyThe authorizer type for the gateway.default StringThe description for the gateway.default StringThe exception level for the gateway.default ObjectReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnGateway.GatewayInterceptorConfigurationProperty>default StringThe KMS key ARN for the gateway.getName()The name for the gateway.default ObjectThe configuration for a policy engine associated with a gateway.default ObjectThe protocol configuration for the gateway target.The protocol type for the gateway target.getTags()The tags for the gateway.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuthorizerType
The authorizer type for the gateway.- See Also:
-
getName
The name for the gateway.- See Also:
-
getProtocolType
The protocol type for the gateway target.- See Also:
-
getRoleArn
- See Also:
-
getAuthorizerConfiguration
Returns union: eitherIResolvableorCfnGateway.AuthorizerConfigurationProperty- See Also:
-
getDescription
The description for the gateway.- See Also:
-
getExceptionLevel
The exception level for the gateway.- See Also:
-
getInterceptorConfigurations
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnGateway.GatewayInterceptorConfigurationProperty>- See Also:
-
getKmsKeyArn
The KMS key ARN for the gateway.- See Also:
-
getPolicyEngineConfiguration
The configuration for a policy engine associated with a gateway.A policy engine is a collection of policies that evaluates and authorizes agent tool calls. When associated with a gateway, the policy engine intercepts all agent requests and determines whether to allow or deny each action based on the defined policies.
Returns union: either
IResolvableorCfnGateway.GatewayPolicyEngineConfigurationProperty- See Also:
-
getProtocolConfiguration
The protocol configuration for the gateway target.Returns union: either
IResolvableorCfnGateway.GatewayProtocolConfigurationProperty- See Also:
-
getTags
The tags for the gateway.- See Also:
-
builder
- Returns:
- a
CfnGatewayProps.BuilderofCfnGatewayProps
-