CfnRegistryPropsMixin
- class aws_cdk.cfn_property_mixins.aws_agentregistry.CfnRegistryPropsMixin(props, *, strategy=None)
Bases:
MixinDefinition of AWS::AgentRegistry::Registry Resource Type.
- See:
- 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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
ApprovalConfigurationProperty
- class CfnRegistryPropsMixin.ApprovalConfigurationProperty(*, auto_approval_rules=None)
Bases:
objectConfiguration 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:
- 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.
ClaimMatchValueTypeProperty
- class CfnRegistryPropsMixin.ClaimMatchValueTypeProperty(*, match_value_string=None, match_value_string_list=None)
Bases:
objectThe 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:
- 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
-
- Type:
see
CustomClaimValidationTypeProperty
- class CfnRegistryPropsMixin.CustomClaimValidationTypeProperty(*, authorizing_claim_match_value=None, inbound_token_claim_name=None, inbound_token_claim_value_type=None)
Bases:
objectA 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:
- 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.
- inbound_token_claim_name
-
- Type:
see
DiscoveryConfigurationProperty
- class CfnRegistryPropsMixin.DiscoveryConfigurationProperty(*, authorizer_configuration=None)
Bases:
objectDiscovery 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:
- 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.