CfnRegistryProps

class aws_cdk.aws_agentregistry.CfnRegistryProps(*, name, approval_configuration=None, authorizer_type=None, description=None, discovery_configuration=None, tags=None)

Bases: object

Properties for defining a CfnRegistry.

Parameters:
  • name (str) – The name of the registry.

  • approval_configuration (Union[IResolvable, ApprovalConfigurationProperty, Dict[str, Any], None]) – Configuration for the registry’s record approval workflow.

  • authorizer_type (Optional[str]) – The type of authorizer that controls how consumers access the registry’s search and MCP invoke operations.

  • description (Optional[str]) – The description of the registry.

  • discovery_configuration (Union[IResolvable, DiscoveryConfigurationProperty, Dict[str, Any], None]) – Discovery configuration for the registry. Controls how consumers are authorized to search the registry and invoke its MCP endpoint.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – Tags to assign to the registry.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-agentregistry-registry.html

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_agentregistry as agentregistry

cfn_registry_props = agentregistry.CfnRegistryProps(
    name="name",

    # the properties below are optional
    approval_configuration=agentregistry.CfnRegistry.ApprovalConfigurationProperty(
        auto_approval_rules=["autoApprovalRules"]
    ),
    authorizer_type="authorizerType",
    description="description",
    discovery_configuration=agentregistry.CfnRegistry.DiscoveryConfigurationProperty(
        authorizer_configuration=agentregistry.CfnRegistry.AuthorizerConfigurationProperty(
            custom_jwt_authorizer=agentregistry.CfnRegistry.CustomJWTAuthorizerConfigurationProperty(
                discovery_url="discoveryUrl",

                # the properties below are optional
                allowed_audience=["allowedAudience"],
                allowed_clients=["allowedClients"],
                allowed_scopes=["allowedScopes"],
                custom_claims=[agentregistry.CfnRegistry.CustomClaimValidationTypeProperty(
                    authorizing_claim_match_value=agentregistry.CfnRegistry.AuthorizingClaimMatchValueTypeProperty(
                        claim_match_operator="claimMatchOperator",
                        claim_match_value=agentregistry.CfnRegistry.ClaimMatchValueTypeProperty(
                            match_value_string="matchValueString",
                            match_value_string_list=["matchValueStringList"]
                        )
                    ),
                    inbound_token_claim_name="inboundTokenClaimName",
                    inbound_token_claim_value_type="inboundTokenClaimValueType"
                )]
            )
        )
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

approval_configuration

Configuration for the registry’s record approval workflow.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-agentregistry-registry.html#cfn-agentregistry-registry-approvalconfiguration

authorizer_type

The type of authorizer that controls how consumers access the registry’s search and MCP invoke operations.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-agentregistry-registry.html#cfn-agentregistry-registry-authorizertype

description

The description of the registry.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-agentregistry-registry.html#cfn-agentregistry-registry-description

discovery_configuration

Discovery configuration for the registry.

Controls how consumers are authorized to search the registry and invoke its MCP endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-agentregistry-registry.html#cfn-agentregistry-registry-discoveryconfiguration

name

The name of the registry.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-agentregistry-registry.html#cfn-agentregistry-registry-name

tags

Tags to assign to the registry.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-agentregistry-registry.html#cfn-agentregistry-registry-tags