Skip to content
v2.274.0

NamespaceKeyValidationProperty Struct ​

Validation rules for namespace variable values.

Multiple rules can be specified and all must pass.

Example ​

ts
// 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 ​

allowedValuesstring[]allowed_valuestyping.List[str]allowedValuesList<String>AllowedValuesstring[]AllowedValues*[]*string#
List of allowed values for this namespace variable.
regexPatternstringregex_patternstrregexPatternStringRegexPatternstringRegexPattern*string#
A regex pattern that a namespace variable value must match.