Interface CfnRegistryProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRegistryProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:01.949Z")
@Stability(Stable)
public interface CfnRegistryProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnRegistry.
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.agentregistry.*;
CfnRegistryProps cfnRegistryProps = CfnRegistryProps.builder()
.name("name")
// the properties below are optional
.approvalConfiguration(ApprovalConfigurationProperty.builder()
.autoApprovalRules(List.of("autoApprovalRules"))
.build())
.authorizerType("authorizerType")
.description("description")
.discoveryConfiguration(DiscoveryConfigurationProperty.builder()
.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())
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRegistryPropsstatic final classAn implementation forCfnRegistryProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnRegistryProps.Builderbuilder()default ObjectConfiguration for the registry's record approval workflow.default StringThe type of authorizer that controls how consumers access the registry's search and MCP invoke operations.default StringThe description of the registry.default ObjectDiscovery configuration for the registry.getName()The name of the registry.getTags()Tags to assign to the registry.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the registry.- See Also:
-
getApprovalConfiguration
Configuration for the registry's record approval workflow.Returns union: either
IResolvableorCfnRegistry.ApprovalConfigurationProperty- See Also:
-
getAuthorizerType
The type of authorizer that controls how consumers access the registry's search and MCP invoke operations.- See Also:
-
getDescription
The description of the registry.- See Also:
-
getDiscoveryConfiguration
Discovery configuration for the registry.Controls how consumers are authorized to search the registry and invoke its MCP endpoint.
Returns union: either
IResolvableorCfnRegistry.DiscoveryConfigurationProperty- See Also:
-
getTags
Tags to assign to the registry.- See Also:
-
builder
- Returns:
- a
CfnRegistryProps.BuilderofCfnRegistryProps
-