Class CfnRegistry
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.agentregistry.CfnRegistry
- All Implemented Interfaces:
IInspectable,IRegistryRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:01.945Z")
@Stability(Stable)
public class CfnRegistry
extends CfnResource
implements IInspectable, IRegistryRef, ITaggableV2
Definition of AWS::AgentRegistry::Registry Resource Type.
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.*;
CfnRegistry cfnRegistry = CfnRegistry.Builder.create(this, "MyCfnRegistry")
.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 TypeClassDescriptionstatic interfaceConfiguration for the registry's record approval workflow.static interfaceThe authorizer configuration for the registry.static interfaceThe value and match operator used to authorize a claim during JWT validation.static final classA fluent builder forCfnRegistry.static interfaceThe expected value used to match a claim.static interfaceA validation rule applied to a single claim of an inbound JWT.static interfaceConfiguration for a custom JWT authorizer that validates inbound bearer tokens against an OpenID Connect identity provider.static interfaceDiscovery configuration for the registry.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.agentregistry.IRegistryRef
IRegistryRef.Jsii$Default, IRegistryRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnRegistry(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnRegistry(software.amazon.jsii.JsiiObjectRef objRef) CfnRegistry(software.constructs.Construct scope, String id, CfnRegistryProps props) Create a newAWS::AgentRegistry::Registry. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForRegistry(IRegistryRef resource) Configuration for the registry's record approval workflow.The timestamp when the registry was created.The Amazon Resource Name (ARN) of the registry.The unique identifier of the registry.The status of the registry.The timestamp when the registry was last updated.The type of authorizer that controls how consumers access the registry's search and MCP invoke operations.Tag Manager which manages the tags for this resource.The description of the registry.Discovery configuration for the registry.getName()The name of the registry.A reference to a Registry resource.getTags()Tags to assign to the registry.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnRegistry.renderProperties(Map<String, Object> props) voidConfiguration for the registry's record approval workflow.voidConfiguration for the registry's record approval workflow.voidsetAuthorizerType(String value) The type of authorizer that controls how consumers access the registry's search and MCP invoke operations.voidsetDescription(String value) The description of the registry.voidDiscovery configuration for the registry.voidDiscovery configuration for the registry.voidThe name of the registry.voidTags to assign to the registry.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnRegistry
protected CfnRegistry(software.amazon.jsii.JsiiObjectRef objRef) -
CfnRegistry
protected CfnRegistry(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnRegistry
@Stability(Stable) public CfnRegistry(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnRegistryProps props) Create a newAWS::AgentRegistry::Registry.- 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.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForRegistry
- Parameters:
resource- This parameter is required.
-
isCfnRegistry
Checks whether the given object is a CfnRegistry.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrCreatedAt
The timestamp when the registry was created. -
getAttrRegistryArn
The Amazon Resource Name (ARN) of the registry. -
getAttrRegistryId
The unique identifier of the registry. -
getAttrStatus
The status of the registry. -
getAttrUpdatedAt
The timestamp when the registry was last updated. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getRegistryRef
A reference to a Registry resource.- Specified by:
getRegistryRefin interfaceIRegistryRef
-
getName
The name of the registry. -
setName
The name of the registry. -
getApprovalConfiguration
Configuration for the registry's record approval workflow.Returns union: either
IResolvableorCfnRegistry.ApprovalConfigurationProperty -
setApprovalConfiguration
Configuration for the registry's record approval workflow. -
setApprovalConfiguration
@Stability(Stable) public void setApprovalConfiguration(@Nullable CfnRegistry.ApprovalConfigurationProperty value) Configuration for the registry's record approval workflow. -
getAuthorizerType
The type of authorizer that controls how consumers access the registry's search and MCP invoke operations. -
setAuthorizerType
The type of authorizer that controls how consumers access the registry's search and MCP invoke operations. -
getDescription
The description of the registry. -
setDescription
The description of the registry. -
getDiscoveryConfiguration
Discovery configuration for the registry.Returns union: either
IResolvableorCfnRegistry.DiscoveryConfigurationProperty -
setDiscoveryConfiguration
Discovery configuration for the registry. -
setDiscoveryConfiguration
@Stability(Stable) public void setDiscoveryConfiguration(@Nullable CfnRegistry.DiscoveryConfigurationProperty value) Discovery configuration for the registry. -
getTags
Tags to assign to the registry. -
setTags
Tags to assign to the registry.
-