Class CfnRegistry.Builder
java.lang.Object
software.amazon.awscdk.services.agentregistry.CfnRegistry.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRegistry>
- Enclosing class:
CfnRegistry
@Stability(Stable)
public static final class CfnRegistry.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRegistry>
A fluent builder for
CfnRegistry.-
Method Summary
Modifier and TypeMethodDescriptionapprovalConfiguration(IResolvable approvalConfiguration) Configuration for the registry's record approval workflow.approvalConfiguration(CfnRegistry.ApprovalConfigurationProperty approvalConfiguration) Configuration for the registry's record approval workflow.authorizerType(String authorizerType) The type of authorizer that controls how consumers access the registry's search and MCP invoke operations.build()static CfnRegistry.Builderdescription(String description) The description of the registry.discoveryConfiguration(IResolvable discoveryConfiguration) Discovery configuration for the registry.discoveryConfiguration(CfnRegistry.DiscoveryConfigurationProperty discoveryConfiguration) Discovery configuration for the registry.The name of the registry.Tags to assign to the registry.
-
Method Details
-
create
@Stability(Stable) public static CfnRegistry.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnRegistry.Builder.
-
name
The name of the registry.- Parameters:
name- The name of the registry. This parameter is required.- Returns:
this- See Also:
-
approvalConfiguration
@Stability(Stable) public CfnRegistry.Builder approvalConfiguration(IResolvable approvalConfiguration) Configuration for the registry's record approval workflow.- Parameters:
approvalConfiguration- Configuration for the registry's record approval workflow. This parameter is required.- Returns:
this- See Also:
-
approvalConfiguration
@Stability(Stable) public CfnRegistry.Builder approvalConfiguration(CfnRegistry.ApprovalConfigurationProperty approvalConfiguration) Configuration for the registry's record approval workflow.- Parameters:
approvalConfiguration- Configuration for the registry's record approval workflow. This parameter is required.- Returns:
this- See Also:
-
authorizerType
The type of authorizer that controls how consumers access the registry's search and MCP invoke operations.- Parameters:
authorizerType- The type of authorizer that controls how consumers access the registry's search and MCP invoke operations. This parameter is required.- Returns:
this- See Also:
-
description
The description of the registry.- Parameters:
description- The description of the registry. This parameter is required.- Returns:
this- See Also:
-
discoveryConfiguration
@Stability(Stable) public CfnRegistry.Builder discoveryConfiguration(IResolvable discoveryConfiguration) Discovery configuration for the registry.Controls how consumers are authorized to search the registry and invoke its MCP endpoint.
- Parameters:
discoveryConfiguration- Discovery configuration for the registry. This parameter is required.- Returns:
this- See Also:
-
discoveryConfiguration
@Stability(Stable) public CfnRegistry.Builder discoveryConfiguration(CfnRegistry.DiscoveryConfigurationProperty discoveryConfiguration) Discovery configuration for the registry.Controls how consumers are authorized to search the registry and invoke its MCP endpoint.
- Parameters:
discoveryConfiguration- Discovery configuration for the registry. This parameter is required.- Returns:
this- See Also:
-
tags
Tags to assign to the registry.- Parameters:
tags- Tags to assign to the registry. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRegistry>- Returns:
- a newly built instance of
CfnRegistry.
-