Interface CfnMemory.NamespaceKeyEntryProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMemory.NamespaceKeyEntryProperty.Jsii$Proxy
- Enclosing class:
CfnMemory
@Stability(Stable)
public static interface CfnMemory.NamespaceKeyEntryProperty
extends software.amazon.jsii.JsiiSerializable
A namespace variable key definition with optional validation rules.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrockagentcore.*;
NamespaceKeyEntryProperty namespaceKeyEntryProperty = NamespaceKeyEntryProperty.builder()
.key("key")
// the properties below are optional
.validation(NamespaceKeyValidationProperty.builder()
.allowedValues(List.of("allowedValues"))
.regexPattern("regexPattern")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnMemory.NamespaceKeyEntryPropertystatic final classAn implementation forCfnMemory.NamespaceKeyEntryProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKey
A namespace variable key name.Must start with a lowercase letter and contain only lowercase alphanumeric characters. Cannot be a built-in variable (memoryStrategyId, sessionId, actorId).
- See Also:
-
getValidation
Validation rules for namespace variable values.Multiple rules can be specified and all must pass.
Returns union: either
IResolvableorCfnMemory.NamespaceKeyValidationProperty- See Also:
-
builder
-