Interface CfnMemoryProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMemoryProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-14T12:28:06.358Z")
@Stability(Stable)
public interface CfnMemoryProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnMemory
.
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.*; CfnMemoryProps cfnMemoryProps = CfnMemoryProps.builder() .eventExpiryDuration(123) .name("name") // the properties below are optional .description("description") .encryptionKeyArn("encryptionKeyArn") .memoryExecutionRoleArn("memoryExecutionRoleArn") .memoryStrategies(List.of(MemoryStrategyProperty.builder() .customMemoryStrategy(CustomMemoryStrategyProperty.builder() .name("name") // the properties below are optional .configuration(CustomConfigurationInputProperty.builder() .semanticOverride(SemanticOverrideProperty.builder() .consolidation(SemanticOverrideConsolidationConfigurationInputProperty.builder() .appendToPrompt("appendToPrompt") .modelId("modelId") .build()) .extraction(SemanticOverrideExtractionConfigurationInputProperty.builder() .appendToPrompt("appendToPrompt") .modelId("modelId") .build()) .build()) .summaryOverride(SummaryOverrideProperty.builder() .consolidation(SummaryOverrideConsolidationConfigurationInputProperty.builder() .appendToPrompt("appendToPrompt") .modelId("modelId") .build()) .build()) .userPreferenceOverride(UserPreferenceOverrideProperty.builder() .consolidation(UserPreferenceOverrideConsolidationConfigurationInputProperty.builder() .appendToPrompt("appendToPrompt") .modelId("modelId") .build()) .extraction(UserPreferenceOverrideExtractionConfigurationInputProperty.builder() .appendToPrompt("appendToPrompt") .modelId("modelId") .build()) .build()) .build()) .createdAt("createdAt") .description("description") .namespaces(List.of("namespaces")) .status("status") .strategyId("strategyId") .type("type") .updatedAt("updatedAt") .build()) .semanticMemoryStrategy(SemanticMemoryStrategyProperty.builder() .name("name") // the properties below are optional .createdAt("createdAt") .description("description") .namespaces(List.of("namespaces")) .status("status") .strategyId("strategyId") .type("type") .updatedAt("updatedAt") .build()) .summaryMemoryStrategy(SummaryMemoryStrategyProperty.builder() .name("name") // the properties below are optional .createdAt("createdAt") .description("description") .namespaces(List.of("namespaces")) .status("status") .strategyId("strategyId") .type("type") .updatedAt("updatedAt") .build()) .userPreferenceMemoryStrategy(UserPreferenceMemoryStrategyProperty.builder() .name("name") // the properties below are optional .createdAt("createdAt") .description("description") .namespaces(List.of("namespaces")) .status("status") .strategyId("strategyId") .type("type") .updatedAt("updatedAt") .build()) .build())) .tags(Map.of( "tagsKey", "tags")) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnMemoryProps
static final class
An implementation forCfnMemoryProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnMemoryProps.Builder
builder()
default String
Description of the Memory resource.default String
ARN format.Duration in days until memory events expire.default String
ARN format.default Object
List of memory strategies attached to this memory.getName()
Name of the Memory resource.getTags()
A map of tag keys and values.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEventExpiryDuration
Duration in days until memory events expire.- See Also:
-
getName
Name of the Memory resource.- See Also:
-
getDescription
Description of the Memory resource.- See Also:
-
getEncryptionKeyArn
ARN format.- See Also:
-
getMemoryExecutionRoleArn
ARN format.- See Also:
-
getMemoryStrategies
List of memory strategies attached to this memory.- See Also:
-
getTags
A map of tag keys and values.- See Also:
-
builder
- Returns:
- a
CfnMemoryProps.Builder
ofCfnMemoryProps
-