interface NamespaceKeyValidationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.BedrockAgentCore.CfnMemory.NamespaceKeyValidationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CfnMemory_NamespaceKeyValidationProperty |
Java | software.amazon.awscdk.services.bedrockagentcore.CfnMemory.NamespaceKeyValidationProperty |
Python | aws_cdk.aws_bedrockagentcore.CfnMemory.NamespaceKeyValidationProperty |
TypeScript | aws-cdk-lib » aws_bedrockagentcore » CfnMemory » NamespaceKeyValidationProperty |
Validation rules for namespace variable values.
Multiple rules can be specified and all must pass.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const namespaceKeyValidationProperty: bedrockagentcore.CfnMemory.NamespaceKeyValidationProperty = {
allowedValues: ['allowedValues'],
regexPattern: 'regexPattern',
};
Properties
| Name | Type | Description |
|---|---|---|
| allowed | string[] | List of allowed values for this namespace variable. |
| regex | string | A regex pattern that a namespace variable value must match. |
allowedValues?
Type:
string[]
(optional)
List of allowed values for this namespace variable.
regexPattern?
Type:
string
(optional)
A regex pattern that a namespace variable value must match.

.NET
Go
Java
Python
TypeScript