CfnRegistryPropsMixin

class aws_cdk.cfn_property_mixins.aws_agentregistry.CfnRegistryPropsMixin(props, *, strategy=None)

Bases: Mixin

Definition of AWS::AgentRegistry::Registry Resource Type.

See:

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

CloudformationResource:

AWS::AgentRegistry::Registry

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

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

# merge_strategy: cdk.IMergeStrategy

cfn_registry_props_mixin = agentregistry.CfnRegistryPropsMixin(agentregistry.CfnRegistryMixinProps(
    approval_configuration=agentregistry.CfnRegistryPropsMixin.ApprovalConfigurationProperty(
        auto_approval_rules=["autoApprovalRules"]
    ),
    authorizer_type="authorizerType",
    description="description",
    discovery_configuration=agentregistry.CfnRegistryPropsMixin.DiscoveryConfigurationProperty(
        authorizer_configuration=agentregistry.CfnRegistryPropsMixin.AuthorizerConfigurationProperty(
            custom_jwt_authorizer=agentregistry.CfnRegistryPropsMixin.CustomJWTAuthorizerConfigurationProperty(
                allowed_audience=["allowedAudience"],
                allowed_clients=["allowedClients"],
                allowed_scopes=["allowedScopes"],
                custom_claims=[agentregistry.CfnRegistryPropsMixin.CustomClaimValidationTypeProperty(
                    authorizing_claim_match_value=agentregistry.CfnRegistryPropsMixin.AuthorizingClaimMatchValueTypeProperty(
                        claim_match_operator="claimMatchOperator",
                        claim_match_value=agentregistry.CfnRegistryPropsMixin.ClaimMatchValueTypeProperty(
                            match_value_string="matchValueString",
                            match_value_string_list=["matchValueStringList"]
                        )
                    ),
                    inbound_token_claim_name="inboundTokenClaimName",
                    inbound_token_claim_value_type="inboundTokenClaimValueType"
                )],
                discovery_url="discoveryUrl"
            )
        )
    ),
    name="name",
    tags=[cdk.CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=merge_strategy
)

Create a mixin to apply properties to AWS::AgentRegistry::Registry.

Parameters:
  • props (Union[CfnRegistryMixinProps, Dict[str, Any]]) – L1 properties to apply.

  • strategy (Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

None

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['approvalConfiguration', 'authorizerType', 'description', 'discoveryConfiguration', 'name', 'tags']

Static Methods

classmethod is_mixin(x)

Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

ApprovalConfigurationProperty

class CfnRegistryPropsMixin.ApprovalConfigurationProperty(*, auto_approval_rules=None)

Bases: object

Configuration for the registry’s record approval workflow.

Parameters:

auto_approval_rules (Optional[Sequence[str]]) – The rules that determine which registry records are automatically approved on submission. When omitted or empty, submitted records require manual review.

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

approval_configuration_property = agentregistry.CfnRegistryPropsMixin.ApprovalConfigurationProperty(
    auto_approval_rules=["autoApprovalRules"]
)

Attributes

auto_approval_rules

The rules that determine which registry records are automatically approved on submission.

When omitted or empty, submitted records require manual review.

See:

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

AuthorizerConfigurationProperty

class CfnRegistryPropsMixin.AuthorizerConfigurationProperty(*, custom_jwt_authorizer=None)

Bases: object

The authorizer configuration for the registry.

This is a union - specify exactly one member.

Parameters:

custom_jwt_authorizer (Union[IResolvable, CustomJWTAuthorizerConfigurationProperty, Dict[str, Any], None]) – Configuration for a custom JWT authorizer that validates inbound bearer tokens against an OpenID Connect identity provider.

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

authorizer_configuration_property = agentregistry.CfnRegistryPropsMixin.AuthorizerConfigurationProperty(
    custom_jwt_authorizer=agentregistry.CfnRegistryPropsMixin.CustomJWTAuthorizerConfigurationProperty(
        allowed_audience=["allowedAudience"],
        allowed_clients=["allowedClients"],
        allowed_scopes=["allowedScopes"],
        custom_claims=[agentregistry.CfnRegistryPropsMixin.CustomClaimValidationTypeProperty(
            authorizing_claim_match_value=agentregistry.CfnRegistryPropsMixin.AuthorizingClaimMatchValueTypeProperty(
                claim_match_operator="claimMatchOperator",
                claim_match_value=agentregistry.CfnRegistryPropsMixin.ClaimMatchValueTypeProperty(
                    match_value_string="matchValueString",
                    match_value_string_list=["matchValueStringList"]
                )
            ),
            inbound_token_claim_name="inboundTokenClaimName",
            inbound_token_claim_value_type="inboundTokenClaimValueType"
        )],
        discovery_url="discoveryUrl"
    )
)

Attributes

custom_jwt_authorizer

Configuration for a custom JWT authorizer that validates inbound bearer tokens against an OpenID Connect identity provider.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-agentregistry-registry-authorizerconfiguration.html#cfn-agentregistry-registry-authorizerconfiguration-customjwtauthorizer

AuthorizingClaimMatchValueTypeProperty

class CfnRegistryPropsMixin.AuthorizingClaimMatchValueTypeProperty(*, claim_match_operator=None, claim_match_value=None)

Bases: object

The value and match operator used to authorize a claim during JWT validation.

Parameters:
  • claim_match_operator (Optional[str])

  • claim_match_value (Union[IResolvable, ClaimMatchValueTypeProperty, Dict[str, Any], None]) – The expected value used to match a claim. Exactly one member is set.

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

authorizing_claim_match_value_type_property = agentregistry.CfnRegistryPropsMixin.AuthorizingClaimMatchValueTypeProperty(
    claim_match_operator="claimMatchOperator",
    claim_match_value=agentregistry.CfnRegistryPropsMixin.ClaimMatchValueTypeProperty(
        match_value_string="matchValueString",
        match_value_string_list=["matchValueStringList"]
    )
)

Attributes

claim_match_operator

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-agentregistry-registry-authorizingclaimmatchvaluetype.html#cfn-agentregistry-registry-authorizingclaimmatchvaluetype-claimmatchoperator

Type:

see

claim_match_value

The expected value used to match a claim.

Exactly one member is set.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-agentregistry-registry-authorizingclaimmatchvaluetype.html#cfn-agentregistry-registry-authorizingclaimmatchvaluetype-claimmatchvalue

ClaimMatchValueTypeProperty

class CfnRegistryPropsMixin.ClaimMatchValueTypeProperty(*, match_value_string=None, match_value_string_list=None)

Bases: object

The expected value used to match a claim.

Exactly one member is set.

Parameters:
  • match_value_string (Optional[str])

  • match_value_string_list (Optional[Sequence[str]])

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

claim_match_value_type_property = agentregistry.CfnRegistryPropsMixin.ClaimMatchValueTypeProperty(
    match_value_string="matchValueString",
    match_value_string_list=["matchValueStringList"]
)

Attributes

match_value_string

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-agentregistry-registry-claimmatchvaluetype.html#cfn-agentregistry-registry-claimmatchvaluetype-matchvaluestring

Type:

see

match_value_string_list

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-agentregistry-registry-claimmatchvaluetype.html#cfn-agentregistry-registry-claimmatchvaluetype-matchvaluestringlist

Type:

see

CustomClaimValidationTypeProperty

class CfnRegistryPropsMixin.CustomClaimValidationTypeProperty(*, authorizing_claim_match_value=None, inbound_token_claim_name=None, inbound_token_claim_value_type=None)

Bases: object

A validation rule applied to a single claim of an inbound JWT.

Parameters:
  • authorizing_claim_match_value (Union[IResolvable, AuthorizingClaimMatchValueTypeProperty, Dict[str, Any], None]) – The value and match operator used to authorize a claim during JWT validation.

  • inbound_token_claim_name (Optional[str])

  • inbound_token_claim_value_type (Optional[str])

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

custom_claim_validation_type_property = agentregistry.CfnRegistryPropsMixin.CustomClaimValidationTypeProperty(
    authorizing_claim_match_value=agentregistry.CfnRegistryPropsMixin.AuthorizingClaimMatchValueTypeProperty(
        claim_match_operator="claimMatchOperator",
        claim_match_value=agentregistry.CfnRegistryPropsMixin.ClaimMatchValueTypeProperty(
            match_value_string="matchValueString",
            match_value_string_list=["matchValueStringList"]
        )
    ),
    inbound_token_claim_name="inboundTokenClaimName",
    inbound_token_claim_value_type="inboundTokenClaimValueType"
)

Attributes

authorizing_claim_match_value

The value and match operator used to authorize a claim during JWT validation.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-agentregistry-registry-customclaimvalidationtype.html#cfn-agentregistry-registry-customclaimvalidationtype-authorizingclaimmatchvalue

inbound_token_claim_name

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-agentregistry-registry-customclaimvalidationtype.html#cfn-agentregistry-registry-customclaimvalidationtype-inboundtokenclaimname

Type:

see

inbound_token_claim_value_type

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-agentregistry-registry-customclaimvalidationtype.html#cfn-agentregistry-registry-customclaimvalidationtype-inboundtokenclaimvaluetype

Type:

see

CustomJWTAuthorizerConfigurationProperty

class CfnRegistryPropsMixin.CustomJWTAuthorizerConfigurationProperty(*, allowed_audience=None, allowed_clients=None, allowed_scopes=None, custom_claims=None, discovery_url=None)

Bases: object

Configuration for a custom JWT authorizer that validates inbound bearer tokens against an OpenID Connect identity provider.

Parameters:
  • allowed_audience (Optional[Sequence[str]]) – The audience values accepted during JWT validation.

  • allowed_clients (Optional[Sequence[str]]) – The client identifiers accepted during JWT validation.

  • allowed_scopes (Optional[Sequence[str]]) – The scopes accepted during JWT validation.

  • custom_claims (Union[IResolvable, Sequence[Union[IResolvable, CustomClaimValidationTypeProperty, Dict[str, Any]]], None]) – Additional custom claim validations applied to the inbound JWT.

  • discovery_url (Optional[str]) – The OpenID Connect discovery URL used to retrieve the identity provider’s metadata and signing keys.

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

custom_jwt_authorizer_configuration_property = agentregistry.CfnRegistryPropsMixin.CustomJWTAuthorizerConfigurationProperty(
    allowed_audience=["allowedAudience"],
    allowed_clients=["allowedClients"],
    allowed_scopes=["allowedScopes"],
    custom_claims=[agentregistry.CfnRegistryPropsMixin.CustomClaimValidationTypeProperty(
        authorizing_claim_match_value=agentregistry.CfnRegistryPropsMixin.AuthorizingClaimMatchValueTypeProperty(
            claim_match_operator="claimMatchOperator",
            claim_match_value=agentregistry.CfnRegistryPropsMixin.ClaimMatchValueTypeProperty(
                match_value_string="matchValueString",
                match_value_string_list=["matchValueStringList"]
            )
        ),
        inbound_token_claim_name="inboundTokenClaimName",
        inbound_token_claim_value_type="inboundTokenClaimValueType"
    )],
    discovery_url="discoveryUrl"
)

Attributes

allowed_audience

The audience values accepted during JWT validation.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-agentregistry-registry-customjwtauthorizerconfiguration.html#cfn-agentregistry-registry-customjwtauthorizerconfiguration-allowedaudience

allowed_clients

The client identifiers accepted during JWT validation.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-agentregistry-registry-customjwtauthorizerconfiguration.html#cfn-agentregistry-registry-customjwtauthorizerconfiguration-allowedclients

allowed_scopes

The scopes accepted during JWT validation.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-agentregistry-registry-customjwtauthorizerconfiguration.html#cfn-agentregistry-registry-customjwtauthorizerconfiguration-allowedscopes

custom_claims

Additional custom claim validations applied to the inbound JWT.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-agentregistry-registry-customjwtauthorizerconfiguration.html#cfn-agentregistry-registry-customjwtauthorizerconfiguration-customclaims

discovery_url

The OpenID Connect discovery URL used to retrieve the identity provider’s metadata and signing keys.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-agentregistry-registry-customjwtauthorizerconfiguration.html#cfn-agentregistry-registry-customjwtauthorizerconfiguration-discoveryurl

DiscoveryConfigurationProperty

class CfnRegistryPropsMixin.DiscoveryConfigurationProperty(*, authorizer_configuration=None)

Bases: object

Discovery configuration for the registry.

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

Parameters:

authorizer_configuration (Union[IResolvable, AuthorizerConfigurationProperty, Dict[str, Any], None]) – The authorizer configuration for the registry. This is a union - specify exactly one member.

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

discovery_configuration_property = agentregistry.CfnRegistryPropsMixin.DiscoveryConfigurationProperty(
    authorizer_configuration=agentregistry.CfnRegistryPropsMixin.AuthorizerConfigurationProperty(
        custom_jwt_authorizer=agentregistry.CfnRegistryPropsMixin.CustomJWTAuthorizerConfigurationProperty(
            allowed_audience=["allowedAudience"],
            allowed_clients=["allowedClients"],
            allowed_scopes=["allowedScopes"],
            custom_claims=[agentregistry.CfnRegistryPropsMixin.CustomClaimValidationTypeProperty(
                authorizing_claim_match_value=agentregistry.CfnRegistryPropsMixin.AuthorizingClaimMatchValueTypeProperty(
                    claim_match_operator="claimMatchOperator",
                    claim_match_value=agentregistry.CfnRegistryPropsMixin.ClaimMatchValueTypeProperty(
                        match_value_string="matchValueString",
                        match_value_string_list=["matchValueStringList"]
                    )
                ),
                inbound_token_claim_name="inboundTokenClaimName",
                inbound_token_claim_value_type="inboundTokenClaimValueType"
            )],
            discovery_url="discoveryUrl"
        )
    )
)

Attributes

authorizer_configuration

The authorizer configuration for the registry.

This is a union - specify exactly one member.

See:

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