1. Registry
  2. Packages
  3. AWS
  4. API Docs
  5. bedrock
  6. AgentcoreMemoryStrategy
Viewing docs for AWS v7.46.0
published on Thursday, Sep 10, 2026 by Pulumi
aws logo aws logo
Viewing docs for AWS v7.46.0
published on Thursday, Sep 10, 2026 by Pulumi

    Manages an AWS Bedrock AgentCore Memory Strategy. Memory strategies define how the agent processes and organizes information within a memory, such as semantic understanding, summarization, or custom processing logic.

    Important Limitations:

    • Each memory can have a maximum of 6 strategies total
    • Only one strategy of each built-in type (SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC) can exist per memory
    • Multiple CUSTOM strategies are allowed (subject to the total limit of 6)

    Example Usage

    Semantic Strategy

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const semantic = new aws.bedrock.AgentcoreMemoryStrategy("semantic", {
        name: "semantic-strategy",
        memoryId: example.id,
        type: "SEMANTIC",
        description: "Semantic understanding strategy",
        namespaceTemplates: ["default"],
    });
    
    import pulumi
    import pulumi_aws as aws
    
    semantic = aws.bedrock.AgentcoreMemoryStrategy("semantic",
        name="semantic-strategy",
        memory_id=example["id"],
        type="SEMANTIC",
        description="Semantic understanding strategy",
        namespace_templates=["default"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := bedrock.NewAgentcoreMemoryStrategy(ctx, "semantic", &bedrock.AgentcoreMemoryStrategyArgs{
    			Name:        pulumi.String("semantic-strategy"),
    			MemoryId:    pulumi.Any(example.Id),
    			Type:        pulumi.String("SEMANTIC"),
    			Description: pulumi.String("Semantic understanding strategy"),
    			NamespaceTemplates: pulumi.StringArray{
    				pulumi.String("default"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var semantic = new Aws.Bedrock.AgentcoreMemoryStrategy("semantic", new()
        {
            Name = "semantic-strategy",
            MemoryId = example.Id,
            Type = "SEMANTIC",
            Description = "Semantic understanding strategy",
            NamespaceTemplates = new[]
            {
                "default",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.bedrock.AgentcoreMemoryStrategy;
    import com.pulumi.aws.bedrock.AgentcoreMemoryStrategyArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var semantic = new AgentcoreMemoryStrategy("semantic", AgentcoreMemoryStrategyArgs.builder()
                .name("semantic-strategy")
                .memoryId(example.id())
                .type("SEMANTIC")
                .description("Semantic understanding strategy")
                .namespaceTemplates("default")
                .build());
    
        }
    }
    
    resources:
      semantic:
        type: aws:bedrock:AgentcoreMemoryStrategy
        properties:
          name: semantic-strategy
          memoryId: ${example.id}
          type: SEMANTIC
          description: Semantic understanding strategy
          namespaceTemplates:
            - default
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_bedrock_agentcorememorystrategy" "semantic" {
      name                = "semantic-strategy"
      memory_id           = example.id
      type                = "SEMANTIC"
      description         = "Semantic understanding strategy"
      namespace_templates = ["default"]
    }
    

    Summarization Strategy

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const summary = new aws.bedrock.AgentcoreMemoryStrategy("summary", {
        name: "summary-strategy",
        memoryId: example.id,
        type: "SUMMARIZATION",
        description: "Text summarization strategy",
        namespaceTemplates: ["{sessionId}"],
    });
    
    import pulumi
    import pulumi_aws as aws
    
    summary = aws.bedrock.AgentcoreMemoryStrategy("summary",
        name="summary-strategy",
        memory_id=example["id"],
        type="SUMMARIZATION",
        description="Text summarization strategy",
        namespace_templates=["{sessionId}"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := bedrock.NewAgentcoreMemoryStrategy(ctx, "summary", &bedrock.AgentcoreMemoryStrategyArgs{
    			Name:        pulumi.String("summary-strategy"),
    			MemoryId:    pulumi.Any(example.Id),
    			Type:        pulumi.String("SUMMARIZATION"),
    			Description: pulumi.String("Text summarization strategy"),
    			NamespaceTemplates: pulumi.StringArray{
    				pulumi.String("{sessionId}"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var summary = new Aws.Bedrock.AgentcoreMemoryStrategy("summary", new()
        {
            Name = "summary-strategy",
            MemoryId = example.Id,
            Type = "SUMMARIZATION",
            Description = "Text summarization strategy",
            NamespaceTemplates = new[]
            {
                "{sessionId}",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.bedrock.AgentcoreMemoryStrategy;
    import com.pulumi.aws.bedrock.AgentcoreMemoryStrategyArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var summary = new AgentcoreMemoryStrategy("summary", AgentcoreMemoryStrategyArgs.builder()
                .name("summary-strategy")
                .memoryId(example.id())
                .type("SUMMARIZATION")
                .description("Text summarization strategy")
                .namespaceTemplates("{sessionId}")
                .build());
    
        }
    }
    
    resources:
      summary:
        type: aws:bedrock:AgentcoreMemoryStrategy
        properties:
          name: summary-strategy
          memoryId: ${example.id}
          type: SUMMARIZATION
          description: Text summarization strategy
          namespaceTemplates:
            - '{sessionId}'
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_bedrock_agentcorememorystrategy" "summary" {
      name                = "summary-strategy"
      memory_id           = example.id
      type                = "SUMMARIZATION"
      description         = "Text summarization strategy"
      namespace_templates = ["{sessionId}"]
    }
    

    User Preference Strategy

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const userPref = new aws.bedrock.AgentcoreMemoryStrategy("user_pref", {
        name: "user-preference-strategy",
        memoryId: example.id,
        type: "USER_PREFERENCE",
        description: "User preference tracking strategy",
        namespaceTemplates: ["preferences"],
    });
    
    import pulumi
    import pulumi_aws as aws
    
    user_pref = aws.bedrock.AgentcoreMemoryStrategy("user_pref",
        name="user-preference-strategy",
        memory_id=example["id"],
        type="USER_PREFERENCE",
        description="User preference tracking strategy",
        namespace_templates=["preferences"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := bedrock.NewAgentcoreMemoryStrategy(ctx, "user_pref", &bedrock.AgentcoreMemoryStrategyArgs{
    			Name:        pulumi.String("user-preference-strategy"),
    			MemoryId:    pulumi.Any(example.Id),
    			Type:        pulumi.String("USER_PREFERENCE"),
    			Description: pulumi.String("User preference tracking strategy"),
    			NamespaceTemplates: pulumi.StringArray{
    				pulumi.String("preferences"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var userPref = new Aws.Bedrock.AgentcoreMemoryStrategy("user_pref", new()
        {
            Name = "user-preference-strategy",
            MemoryId = example.Id,
            Type = "USER_PREFERENCE",
            Description = "User preference tracking strategy",
            NamespaceTemplates = new[]
            {
                "preferences",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.bedrock.AgentcoreMemoryStrategy;
    import com.pulumi.aws.bedrock.AgentcoreMemoryStrategyArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var userPref = new AgentcoreMemoryStrategy("userPref", AgentcoreMemoryStrategyArgs.builder()
                .name("user-preference-strategy")
                .memoryId(example.id())
                .type("USER_PREFERENCE")
                .description("User preference tracking strategy")
                .namespaceTemplates("preferences")
                .build());
    
        }
    }
    
    resources:
      userPref:
        type: aws:bedrock:AgentcoreMemoryStrategy
        name: user_pref
        properties:
          name: user-preference-strategy
          memoryId: ${example.id}
          type: USER_PREFERENCE
          description: User preference tracking strategy
          namespaceTemplates:
            - preferences
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_bedrock_agentcorememorystrategy" "user_pref" {
      name                = "user-preference-strategy"
      memory_id           = example.id
      type                = "USER_PREFERENCE"
      description         = "User preference tracking strategy"
      namespace_templates = ["preferences"]
    }
    

    Episodic Strategy

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const episodic = new aws.bedrock.AgentcoreMemoryStrategy("episodic", {
        name: "episodic-strategy",
        memoryId: example.id,
        type: "EPISODIC",
        description: "Episodic memory strategy",
        namespaceTemplates: ["/strategies/{memoryStrategyId}/actors/{actorId}/sessions/{sessionId}"],
    });
    
    import pulumi
    import pulumi_aws as aws
    
    episodic = aws.bedrock.AgentcoreMemoryStrategy("episodic",
        name="episodic-strategy",
        memory_id=example["id"],
        type="EPISODIC",
        description="Episodic memory strategy",
        namespace_templates=["/strategies/{memoryStrategyId}/actors/{actorId}/sessions/{sessionId}"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := bedrock.NewAgentcoreMemoryStrategy(ctx, "episodic", &bedrock.AgentcoreMemoryStrategyArgs{
    			Name:        pulumi.String("episodic-strategy"),
    			MemoryId:    pulumi.Any(example.Id),
    			Type:        pulumi.String("EPISODIC"),
    			Description: pulumi.String("Episodic memory strategy"),
    			NamespaceTemplates: pulumi.StringArray{
    				pulumi.String("/strategies/{memoryStrategyId}/actors/{actorId}/sessions/{sessionId}"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var episodic = new Aws.Bedrock.AgentcoreMemoryStrategy("episodic", new()
        {
            Name = "episodic-strategy",
            MemoryId = example.Id,
            Type = "EPISODIC",
            Description = "Episodic memory strategy",
            NamespaceTemplates = new[]
            {
                "/strategies/{memoryStrategyId}/actors/{actorId}/sessions/{sessionId}",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.bedrock.AgentcoreMemoryStrategy;
    import com.pulumi.aws.bedrock.AgentcoreMemoryStrategyArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var episodic = new AgentcoreMemoryStrategy("episodic", AgentcoreMemoryStrategyArgs.builder()
                .name("episodic-strategy")
                .memoryId(example.id())
                .type("EPISODIC")
                .description("Episodic memory strategy")
                .namespaceTemplates("/strategies/{memoryStrategyId}/actors/{actorId}/sessions/{sessionId}")
                .build());
    
        }
    }
    
    resources:
      episodic:
        type: aws:bedrock:AgentcoreMemoryStrategy
        properties:
          name: episodic-strategy
          memoryId: ${example.id}
          type: EPISODIC
          description: Episodic memory strategy
          namespaceTemplates:
            - /strategies/{memoryStrategyId}/actors/{actorId}/sessions/{sessionId}
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_bedrock_agentcorememorystrategy" "episodic" {
      name                = "episodic-strategy"
      memory_id           = example.id
      type                = "EPISODIC"
      description         = "Episodic memory strategy"
      namespace_templates = ["/strategies/{memoryStrategyId}/actors/{actorId}/sessions/{sessionId}"]
    }
    

    Custom Strategy with Semantic Override

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const customSemantic = new aws.bedrock.AgentcoreMemoryStrategy("custom_semantic", {
        configuration: {
            consolidation: {
                appendToPrompt: "Focus on extracting key semantic relationships and concepts",
                modelId: "anthropic.claude-3-sonnet-20240229-v1:0",
            },
            extraction: {
                appendToPrompt: "Extract and categorize semantic information",
                modelId: "anthropic.claude-3-haiku-20240307-v1:0",
            },
            type: "SEMANTIC_OVERRIDE",
        },
        name: "custom-semantic-strategy",
        memoryId: example.id,
        memoryExecutionRoleArn: example.memoryExecutionRoleArn,
        type: "CUSTOM",
        description: "Custom semantic processing strategy",
        namespaceTemplates: ["{sessionId}"],
    });
    
    import pulumi
    import pulumi_aws as aws
    
    custom_semantic = aws.bedrock.AgentcoreMemoryStrategy("custom_semantic",
        configuration={
            "consolidation": {
                "append_to_prompt": "Focus on extracting key semantic relationships and concepts",
                "model_id": "anthropic.claude-3-sonnet-20240229-v1:0",
            },
            "extraction": {
                "append_to_prompt": "Extract and categorize semantic information",
                "model_id": "anthropic.claude-3-haiku-20240307-v1:0",
            },
            "type": "SEMANTIC_OVERRIDE",
        },
        name="custom-semantic-strategy",
        memory_id=example["id"],
        memory_execution_role_arn=example["memoryExecutionRoleArn"],
        type="CUSTOM",
        description="Custom semantic processing strategy",
        namespace_templates=["{sessionId}"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := bedrock.NewAgentcoreMemoryStrategy(ctx, "custom_semantic", &bedrock.AgentcoreMemoryStrategyArgs{
    			Configuration: &bedrock.AgentcoreMemoryStrategyConfigurationArgs{
    				Consolidation: &bedrock.AgentcoreMemoryStrategyConfigurationConsolidationArgs{
    					AppendToPrompt: pulumi.String("Focus on extracting key semantic relationships and concepts"),
    					ModelId:        pulumi.String("anthropic.claude-3-sonnet-20240229-v1:0"),
    				},
    				Extraction: &bedrock.AgentcoreMemoryStrategyConfigurationExtractionArgs{
    					AppendToPrompt: pulumi.String("Extract and categorize semantic information"),
    					ModelId:        pulumi.String("anthropic.claude-3-haiku-20240307-v1:0"),
    				},
    				Type: pulumi.String("SEMANTIC_OVERRIDE"),
    			},
    			Name:                   pulumi.String("custom-semantic-strategy"),
    			MemoryId:               pulumi.Any(example.Id),
    			MemoryExecutionRoleArn: pulumi.Any(example.MemoryExecutionRoleArn),
    			Type:                   pulumi.String("CUSTOM"),
    			Description:            pulumi.String("Custom semantic processing strategy"),
    			NamespaceTemplates: pulumi.StringArray{
    				pulumi.String("{sessionId}"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var customSemantic = new Aws.Bedrock.AgentcoreMemoryStrategy("custom_semantic", new()
        {
            Configuration = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationArgs
            {
                Consolidation = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationConsolidationArgs
                {
                    AppendToPrompt = "Focus on extracting key semantic relationships and concepts",
                    ModelId = "anthropic.claude-3-sonnet-20240229-v1:0",
                },
                Extraction = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationExtractionArgs
                {
                    AppendToPrompt = "Extract and categorize semantic information",
                    ModelId = "anthropic.claude-3-haiku-20240307-v1:0",
                },
                Type = "SEMANTIC_OVERRIDE",
            },
            Name = "custom-semantic-strategy",
            MemoryId = example.Id,
            MemoryExecutionRoleArn = example.MemoryExecutionRoleArn,
            Type = "CUSTOM",
            Description = "Custom semantic processing strategy",
            NamespaceTemplates = new[]
            {
                "{sessionId}",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.bedrock.AgentcoreMemoryStrategy;
    import com.pulumi.aws.bedrock.AgentcoreMemoryStrategyArgs;
    import com.pulumi.aws.bedrock.inputs.AgentcoreMemoryStrategyConfigurationArgs;
    import com.pulumi.aws.bedrock.inputs.AgentcoreMemoryStrategyConfigurationConsolidationArgs;
    import com.pulumi.aws.bedrock.inputs.AgentcoreMemoryStrategyConfigurationExtractionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var customSemantic = new AgentcoreMemoryStrategy("customSemantic", AgentcoreMemoryStrategyArgs.builder()
                .configuration(AgentcoreMemoryStrategyConfigurationArgs.builder()
                    .consolidation(AgentcoreMemoryStrategyConfigurationConsolidationArgs.builder()
                        .appendToPrompt("Focus on extracting key semantic relationships and concepts")
                        .modelId("anthropic.claude-3-sonnet-20240229-v1:0")
                        .build())
                    .extraction(AgentcoreMemoryStrategyConfigurationExtractionArgs.builder()
                        .appendToPrompt("Extract and categorize semantic information")
                        .modelId("anthropic.claude-3-haiku-20240307-v1:0")
                        .build())
                    .type("SEMANTIC_OVERRIDE")
                    .build())
                .name("custom-semantic-strategy")
                .memoryId(example.id())
                .memoryExecutionRoleArn(example.memoryExecutionRoleArn())
                .type("CUSTOM")
                .description("Custom semantic processing strategy")
                .namespaceTemplates("{sessionId}")
                .build());
    
        }
    }
    
    resources:
      customSemantic:
        type: aws:bedrock:AgentcoreMemoryStrategy
        name: custom_semantic
        properties:
          configuration:
            consolidation:
              appendToPrompt: Focus on extracting key semantic relationships and concepts
              modelId: anthropic.claude-3-sonnet-20240229-v1:0
            extraction:
              appendToPrompt: Extract and categorize semantic information
              modelId: anthropic.claude-3-haiku-20240307-v1:0
            type: SEMANTIC_OVERRIDE
          name: custom-semantic-strategy
          memoryId: ${example.id}
          memoryExecutionRoleArn: ${example.memoryExecutionRoleArn}
          type: CUSTOM
          description: Custom semantic processing strategy
          namespaceTemplates:
            - '{sessionId}'
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_bedrock_agentcorememorystrategy" "custom_semantic" {
      configuration = {
        consolidation = {
          append_to_prompt = "Focus on extracting key semantic relationships and concepts"
          model_id         = "anthropic.claude-3-sonnet-20240229-v1:0"
        }
        extraction = {
          append_to_prompt = "Extract and categorize semantic information"
          model_id         = "anthropic.claude-3-haiku-20240307-v1:0"
        }
        type = "SEMANTIC_OVERRIDE"
      }
      name                      = "custom-semantic-strategy"
      memory_id                 = example.id
      memory_execution_role_arn = example.memoryExecutionRoleArn
      type                      = "CUSTOM"
      description               = "Custom semantic processing strategy"
      namespace_templates       = ["{sessionId}"]
    }
    

    Custom Strategy with Summary Override

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const customSummary = new aws.bedrock.AgentcoreMemoryStrategy("custom_summary", {
        configuration: {
            consolidation: {
                appendToPrompt: "Create concise summaries while preserving key details",
                modelId: "anthropic.claude-3-sonnet-20240229-v1:0",
            },
            type: "SUMMARY_OVERRIDE",
        },
        name: "custom-summary-strategy",
        memoryId: example.id,
        type: "CUSTOM",
        description: "Custom summarization strategy",
        namespaceTemplates: ["summaries"],
    });
    
    import pulumi
    import pulumi_aws as aws
    
    custom_summary = aws.bedrock.AgentcoreMemoryStrategy("custom_summary",
        configuration={
            "consolidation": {
                "append_to_prompt": "Create concise summaries while preserving key details",
                "model_id": "anthropic.claude-3-sonnet-20240229-v1:0",
            },
            "type": "SUMMARY_OVERRIDE",
        },
        name="custom-summary-strategy",
        memory_id=example["id"],
        type="CUSTOM",
        description="Custom summarization strategy",
        namespace_templates=["summaries"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := bedrock.NewAgentcoreMemoryStrategy(ctx, "custom_summary", &bedrock.AgentcoreMemoryStrategyArgs{
    			Configuration: &bedrock.AgentcoreMemoryStrategyConfigurationArgs{
    				Consolidation: &bedrock.AgentcoreMemoryStrategyConfigurationConsolidationArgs{
    					AppendToPrompt: pulumi.String("Create concise summaries while preserving key details"),
    					ModelId:        pulumi.String("anthropic.claude-3-sonnet-20240229-v1:0"),
    				},
    				Type: pulumi.String("SUMMARY_OVERRIDE"),
    			},
    			Name:        pulumi.String("custom-summary-strategy"),
    			MemoryId:    pulumi.Any(example.Id),
    			Type:        pulumi.String("CUSTOM"),
    			Description: pulumi.String("Custom summarization strategy"),
    			NamespaceTemplates: pulumi.StringArray{
    				pulumi.String("summaries"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var customSummary = new Aws.Bedrock.AgentcoreMemoryStrategy("custom_summary", new()
        {
            Configuration = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationArgs
            {
                Consolidation = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationConsolidationArgs
                {
                    AppendToPrompt = "Create concise summaries while preserving key details",
                    ModelId = "anthropic.claude-3-sonnet-20240229-v1:0",
                },
                Type = "SUMMARY_OVERRIDE",
            },
            Name = "custom-summary-strategy",
            MemoryId = example.Id,
            Type = "CUSTOM",
            Description = "Custom summarization strategy",
            NamespaceTemplates = new[]
            {
                "summaries",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.bedrock.AgentcoreMemoryStrategy;
    import com.pulumi.aws.bedrock.AgentcoreMemoryStrategyArgs;
    import com.pulumi.aws.bedrock.inputs.AgentcoreMemoryStrategyConfigurationArgs;
    import com.pulumi.aws.bedrock.inputs.AgentcoreMemoryStrategyConfigurationConsolidationArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var customSummary = new AgentcoreMemoryStrategy("customSummary", AgentcoreMemoryStrategyArgs.builder()
                .configuration(AgentcoreMemoryStrategyConfigurationArgs.builder()
                    .consolidation(AgentcoreMemoryStrategyConfigurationConsolidationArgs.builder()
                        .appendToPrompt("Create concise summaries while preserving key details")
                        .modelId("anthropic.claude-3-sonnet-20240229-v1:0")
                        .build())
                    .type("SUMMARY_OVERRIDE")
                    .build())
                .name("custom-summary-strategy")
                .memoryId(example.id())
                .type("CUSTOM")
                .description("Custom summarization strategy")
                .namespaceTemplates("summaries")
                .build());
    
        }
    }
    
    resources:
      customSummary:
        type: aws:bedrock:AgentcoreMemoryStrategy
        name: custom_summary
        properties:
          configuration:
            consolidation:
              appendToPrompt: Create concise summaries while preserving key details
              modelId: anthropic.claude-3-sonnet-20240229-v1:0
            type: SUMMARY_OVERRIDE
          name: custom-summary-strategy
          memoryId: ${example.id}
          type: CUSTOM
          description: Custom summarization strategy
          namespaceTemplates:
            - summaries
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_bedrock_agentcorememorystrategy" "custom_summary" {
      configuration = {
        consolidation = {
          append_to_prompt = "Create concise summaries while preserving key details"
          model_id         = "anthropic.claude-3-sonnet-20240229-v1:0"
        }
        type = "SUMMARY_OVERRIDE"
      }
      name                = "custom-summary-strategy"
      memory_id           = example.id
      type                = "CUSTOM"
      description         = "Custom summarization strategy"
      namespace_templates = ["summaries"]
    }
    

    Custom Strategy with User Preference Override

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const customUserPref = new aws.bedrock.AgentcoreMemoryStrategy("custom_user_pref", {
        configuration: {
            consolidation: {
                appendToPrompt: "Consolidate user preferences and behavioral patterns",
                modelId: "anthropic.claude-3-sonnet-20240229-v1:0",
            },
            extraction: {
                appendToPrompt: "Extract user preferences and interaction patterns",
                modelId: "anthropic.claude-3-haiku-20240307-v1:0",
            },
            type: "USER_PREFERENCE_OVERRIDE",
        },
        name: "custom-user-preference-strategy",
        memoryId: example.id,
        type: "CUSTOM",
        description: "Custom user preference tracking strategy",
        namespaceTemplates: ["user_prefs"],
    });
    
    import pulumi
    import pulumi_aws as aws
    
    custom_user_pref = aws.bedrock.AgentcoreMemoryStrategy("custom_user_pref",
        configuration={
            "consolidation": {
                "append_to_prompt": "Consolidate user preferences and behavioral patterns",
                "model_id": "anthropic.claude-3-sonnet-20240229-v1:0",
            },
            "extraction": {
                "append_to_prompt": "Extract user preferences and interaction patterns",
                "model_id": "anthropic.claude-3-haiku-20240307-v1:0",
            },
            "type": "USER_PREFERENCE_OVERRIDE",
        },
        name="custom-user-preference-strategy",
        memory_id=example["id"],
        type="CUSTOM",
        description="Custom user preference tracking strategy",
        namespace_templates=["user_prefs"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := bedrock.NewAgentcoreMemoryStrategy(ctx, "custom_user_pref", &bedrock.AgentcoreMemoryStrategyArgs{
    			Configuration: &bedrock.AgentcoreMemoryStrategyConfigurationArgs{
    				Consolidation: &bedrock.AgentcoreMemoryStrategyConfigurationConsolidationArgs{
    					AppendToPrompt: pulumi.String("Consolidate user preferences and behavioral patterns"),
    					ModelId:        pulumi.String("anthropic.claude-3-sonnet-20240229-v1:0"),
    				},
    				Extraction: &bedrock.AgentcoreMemoryStrategyConfigurationExtractionArgs{
    					AppendToPrompt: pulumi.String("Extract user preferences and interaction patterns"),
    					ModelId:        pulumi.String("anthropic.claude-3-haiku-20240307-v1:0"),
    				},
    				Type: pulumi.String("USER_PREFERENCE_OVERRIDE"),
    			},
    			Name:        pulumi.String("custom-user-preference-strategy"),
    			MemoryId:    pulumi.Any(example.Id),
    			Type:        pulumi.String("CUSTOM"),
    			Description: pulumi.String("Custom user preference tracking strategy"),
    			NamespaceTemplates: pulumi.StringArray{
    				pulumi.String("user_prefs"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var customUserPref = new Aws.Bedrock.AgentcoreMemoryStrategy("custom_user_pref", new()
        {
            Configuration = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationArgs
            {
                Consolidation = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationConsolidationArgs
                {
                    AppendToPrompt = "Consolidate user preferences and behavioral patterns",
                    ModelId = "anthropic.claude-3-sonnet-20240229-v1:0",
                },
                Extraction = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationExtractionArgs
                {
                    AppendToPrompt = "Extract user preferences and interaction patterns",
                    ModelId = "anthropic.claude-3-haiku-20240307-v1:0",
                },
                Type = "USER_PREFERENCE_OVERRIDE",
            },
            Name = "custom-user-preference-strategy",
            MemoryId = example.Id,
            Type = "CUSTOM",
            Description = "Custom user preference tracking strategy",
            NamespaceTemplates = new[]
            {
                "user_prefs",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.bedrock.AgentcoreMemoryStrategy;
    import com.pulumi.aws.bedrock.AgentcoreMemoryStrategyArgs;
    import com.pulumi.aws.bedrock.inputs.AgentcoreMemoryStrategyConfigurationArgs;
    import com.pulumi.aws.bedrock.inputs.AgentcoreMemoryStrategyConfigurationConsolidationArgs;
    import com.pulumi.aws.bedrock.inputs.AgentcoreMemoryStrategyConfigurationExtractionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var customUserPref = new AgentcoreMemoryStrategy("customUserPref", AgentcoreMemoryStrategyArgs.builder()
                .configuration(AgentcoreMemoryStrategyConfigurationArgs.builder()
                    .consolidation(AgentcoreMemoryStrategyConfigurationConsolidationArgs.builder()
                        .appendToPrompt("Consolidate user preferences and behavioral patterns")
                        .modelId("anthropic.claude-3-sonnet-20240229-v1:0")
                        .build())
                    .extraction(AgentcoreMemoryStrategyConfigurationExtractionArgs.builder()
                        .appendToPrompt("Extract user preferences and interaction patterns")
                        .modelId("anthropic.claude-3-haiku-20240307-v1:0")
                        .build())
                    .type("USER_PREFERENCE_OVERRIDE")
                    .build())
                .name("custom-user-preference-strategy")
                .memoryId(example.id())
                .type("CUSTOM")
                .description("Custom user preference tracking strategy")
                .namespaceTemplates("user_prefs")
                .build());
    
        }
    }
    
    resources:
      customUserPref:
        type: aws:bedrock:AgentcoreMemoryStrategy
        name: custom_user_pref
        properties:
          configuration:
            consolidation:
              appendToPrompt: Consolidate user preferences and behavioral patterns
              modelId: anthropic.claude-3-sonnet-20240229-v1:0
            extraction:
              appendToPrompt: Extract user preferences and interaction patterns
              modelId: anthropic.claude-3-haiku-20240307-v1:0
            type: USER_PREFERENCE_OVERRIDE
          name: custom-user-preference-strategy
          memoryId: ${example.id}
          type: CUSTOM
          description: Custom user preference tracking strategy
          namespaceTemplates:
            - user_prefs
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_bedrock_agentcorememorystrategy" "custom_user_pref" {
      configuration = {
        consolidation = {
          append_to_prompt = "Consolidate user preferences and behavioral patterns"
          model_id         = "anthropic.claude-3-sonnet-20240229-v1:0"
        }
        extraction = {
          append_to_prompt = "Extract user preferences and interaction patterns"
          model_id         = "anthropic.claude-3-haiku-20240307-v1:0"
        }
        type = "USER_PREFERENCE_OVERRIDE"
      }
      name                = "custom-user-preference-strategy"
      memory_id           = example.id
      type                = "CUSTOM"
      description         = "Custom user preference tracking strategy"
      namespace_templates = ["user_prefs"]
    }
    

    Custom Strategy with Episodic Override

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const customEpisodic = new aws.bedrock.AgentcoreMemoryStrategy("custom_episodic", {
        configuration: {
            consolidation: {
                appendToPrompt: "Consolidate episodic memories into coherent narratives",
                modelId: "anthropic.claude-3-sonnet-20240229-v1:0",
            },
            extraction: {
                appendToPrompt: "Extract key events and episodes from interactions",
                modelId: "anthropic.claude-3-haiku-20240307-v1:0",
            },
            type: "EPISODIC_OVERRIDE",
        },
        name: "custom-episodic-strategy",
        memoryId: example.id,
        memoryExecutionRoleArn: example.memoryExecutionRoleArn,
        type: "CUSTOM",
        description: "Custom episodic processing strategy",
        namespaceTemplates: ["/strategies/{memoryStrategyId}/actors/{actorId}/sessions/{sessionId}"],
    });
    
    import pulumi
    import pulumi_aws as aws
    
    custom_episodic = aws.bedrock.AgentcoreMemoryStrategy("custom_episodic",
        configuration={
            "consolidation": {
                "append_to_prompt": "Consolidate episodic memories into coherent narratives",
                "model_id": "anthropic.claude-3-sonnet-20240229-v1:0",
            },
            "extraction": {
                "append_to_prompt": "Extract key events and episodes from interactions",
                "model_id": "anthropic.claude-3-haiku-20240307-v1:0",
            },
            "type": "EPISODIC_OVERRIDE",
        },
        name="custom-episodic-strategy",
        memory_id=example["id"],
        memory_execution_role_arn=example["memoryExecutionRoleArn"],
        type="CUSTOM",
        description="Custom episodic processing strategy",
        namespace_templates=["/strategies/{memoryStrategyId}/actors/{actorId}/sessions/{sessionId}"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := bedrock.NewAgentcoreMemoryStrategy(ctx, "custom_episodic", &bedrock.AgentcoreMemoryStrategyArgs{
    			Configuration: &bedrock.AgentcoreMemoryStrategyConfigurationArgs{
    				Consolidation: &bedrock.AgentcoreMemoryStrategyConfigurationConsolidationArgs{
    					AppendToPrompt: pulumi.String("Consolidate episodic memories into coherent narratives"),
    					ModelId:        pulumi.String("anthropic.claude-3-sonnet-20240229-v1:0"),
    				},
    				Extraction: &bedrock.AgentcoreMemoryStrategyConfigurationExtractionArgs{
    					AppendToPrompt: pulumi.String("Extract key events and episodes from interactions"),
    					ModelId:        pulumi.String("anthropic.claude-3-haiku-20240307-v1:0"),
    				},
    				Type: pulumi.String("EPISODIC_OVERRIDE"),
    			},
    			Name:                   pulumi.String("custom-episodic-strategy"),
    			MemoryId:               pulumi.Any(example.Id),
    			MemoryExecutionRoleArn: pulumi.Any(example.MemoryExecutionRoleArn),
    			Type:                   pulumi.String("CUSTOM"),
    			Description:            pulumi.String("Custom episodic processing strategy"),
    			NamespaceTemplates: pulumi.StringArray{
    				pulumi.String("/strategies/{memoryStrategyId}/actors/{actorId}/sessions/{sessionId}"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var customEpisodic = new Aws.Bedrock.AgentcoreMemoryStrategy("custom_episodic", new()
        {
            Configuration = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationArgs
            {
                Consolidation = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationConsolidationArgs
                {
                    AppendToPrompt = "Consolidate episodic memories into coherent narratives",
                    ModelId = "anthropic.claude-3-sonnet-20240229-v1:0",
                },
                Extraction = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationExtractionArgs
                {
                    AppendToPrompt = "Extract key events and episodes from interactions",
                    ModelId = "anthropic.claude-3-haiku-20240307-v1:0",
                },
                Type = "EPISODIC_OVERRIDE",
            },
            Name = "custom-episodic-strategy",
            MemoryId = example.Id,
            MemoryExecutionRoleArn = example.MemoryExecutionRoleArn,
            Type = "CUSTOM",
            Description = "Custom episodic processing strategy",
            NamespaceTemplates = new[]
            {
                "/strategies/{memoryStrategyId}/actors/{actorId}/sessions/{sessionId}",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.bedrock.AgentcoreMemoryStrategy;
    import com.pulumi.aws.bedrock.AgentcoreMemoryStrategyArgs;
    import com.pulumi.aws.bedrock.inputs.AgentcoreMemoryStrategyConfigurationArgs;
    import com.pulumi.aws.bedrock.inputs.AgentcoreMemoryStrategyConfigurationConsolidationArgs;
    import com.pulumi.aws.bedrock.inputs.AgentcoreMemoryStrategyConfigurationExtractionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var customEpisodic = new AgentcoreMemoryStrategy("customEpisodic", AgentcoreMemoryStrategyArgs.builder()
                .configuration(AgentcoreMemoryStrategyConfigurationArgs.builder()
                    .consolidation(AgentcoreMemoryStrategyConfigurationConsolidationArgs.builder()
                        .appendToPrompt("Consolidate episodic memories into coherent narratives")
                        .modelId("anthropic.claude-3-sonnet-20240229-v1:0")
                        .build())
                    .extraction(AgentcoreMemoryStrategyConfigurationExtractionArgs.builder()
                        .appendToPrompt("Extract key events and episodes from interactions")
                        .modelId("anthropic.claude-3-haiku-20240307-v1:0")
                        .build())
                    .type("EPISODIC_OVERRIDE")
                    .build())
                .name("custom-episodic-strategy")
                .memoryId(example.id())
                .memoryExecutionRoleArn(example.memoryExecutionRoleArn())
                .type("CUSTOM")
                .description("Custom episodic processing strategy")
                .namespaceTemplates("/strategies/{memoryStrategyId}/actors/{actorId}/sessions/{sessionId}")
                .build());
    
        }
    }
    
    resources:
      customEpisodic:
        type: aws:bedrock:AgentcoreMemoryStrategy
        name: custom_episodic
        properties:
          configuration:
            consolidation:
              appendToPrompt: Consolidate episodic memories into coherent narratives
              modelId: anthropic.claude-3-sonnet-20240229-v1:0
            extraction:
              appendToPrompt: Extract key events and episodes from interactions
              modelId: anthropic.claude-3-haiku-20240307-v1:0
            type: EPISODIC_OVERRIDE
          name: custom-episodic-strategy
          memoryId: ${example.id}
          memoryExecutionRoleArn: ${example.memoryExecutionRoleArn}
          type: CUSTOM
          description: Custom episodic processing strategy
          namespaceTemplates:
            - /strategies/{memoryStrategyId}/actors/{actorId}/sessions/{sessionId}
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_bedrock_agentcorememorystrategy" "custom_episodic" {
      configuration = {
        consolidation = {
          append_to_prompt = "Consolidate episodic memories into coherent narratives"
          model_id         = "anthropic.claude-3-sonnet-20240229-v1:0"
        }
        extraction = {
          append_to_prompt = "Extract key events and episodes from interactions"
          model_id         = "anthropic.claude-3-haiku-20240307-v1:0"
        }
        type = "EPISODIC_OVERRIDE"
      }
      name                      = "custom-episodic-strategy"
      memory_id                 = example.id
      memory_execution_role_arn = example.memoryExecutionRoleArn
      type                      = "CUSTOM"
      description               = "Custom episodic processing strategy"
      namespace_templates       = ["/strategies/{memoryStrategyId}/actors/{actorId}/sessions/{sessionId}"]
    }
    

    Custom Strategy with Self-Managed Configuration

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const selfManaged = new aws.bedrock.AgentcoreMemoryStrategy("self_managed", {
        configuration: {
            selfManaged: [{
                invocationConfiguration: [{
                    topicArn: example.arn,
                    payloadDeliveryBucketName: exampleAwsS3Bucket.bucket,
                }],
                triggerConditions: [{
                    messageBasedTrigger: [{
                        messageCount: 12,
                    }],
                }],
                historicalContextWindowSize: 10,
            }],
            type: "SELF_MANAGED",
        },
        name: "self-managed-strategy",
        memoryId: exampleAwsBedrockagentcoreMemory.id,
        memoryExecutionRoleArn: exampleAwsBedrockagentcoreMemory.memoryExecutionRoleArn,
        type: "CUSTOM",
        description: "Self-managed processing strategy",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    self_managed = aws.bedrock.AgentcoreMemoryStrategy("self_managed",
        configuration={
            "self_managed": [{
                "invocationConfiguration": [{
                    "topicArn": example["arn"],
                    "payloadDeliveryBucketName": example_aws_s3_bucket["bucket"],
                }],
                "triggerConditions": [{
                    "messageBasedTrigger": [{
                        "messageCount": 12,
                    }],
                }],
                "historicalContextWindowSize": 10,
            }],
            "type": "SELF_MANAGED",
        },
        name="self-managed-strategy",
        memory_id=example_aws_bedrockagentcore_memory["id"],
        memory_execution_role_arn=example_aws_bedrockagentcore_memory["memoryExecutionRoleArn"],
        type="CUSTOM",
        description="Self-managed processing strategy")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := bedrock.NewAgentcoreMemoryStrategy(ctx, "self_managed", &bedrock.AgentcoreMemoryStrategyArgs{
    			Configuration: &bedrock.AgentcoreMemoryStrategyConfigurationArgs{
    				SelfManaged: []map[string]interface{}{
    					map[string]interface{}{
    						"invocationConfiguration": []map[string]interface{}{
    							map[string]interface{}{
    								"topicArn":                  example.Arn,
    								"payloadDeliveryBucketName": exampleAwsS3Bucket.Bucket,
    							},
    						},
    						"triggerConditions": []map[string][]map[string]int{
    							{
    								"messageBasedTrigger": []map[string]int{
    									{
    										"messageCount": 12,
    									},
    								},
    							},
    						},
    						"historicalContextWindowSize": 10,
    					},
    				},
    				Type: pulumi.String("SELF_MANAGED"),
    			},
    			Name:                   pulumi.String("self-managed-strategy"),
    			MemoryId:               pulumi.Any(exampleAwsBedrockagentcoreMemory.Id),
    			MemoryExecutionRoleArn: pulumi.Any(exampleAwsBedrockagentcoreMemory.MemoryExecutionRoleArn),
    			Type:                   pulumi.String("CUSTOM"),
    			Description:            pulumi.String("Self-managed processing strategy"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var selfManaged = new Aws.Bedrock.AgentcoreMemoryStrategy("self_managed", new()
        {
            Configuration = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationArgs
            {
                SelfManaged = new[]
                {
                    
                    {
                        { "invocationConfiguration", new[]
                        {
                            
                            {
                                { "topicArn", example.Arn },
                                { "payloadDeliveryBucketName", exampleAwsS3Bucket.Bucket },
                            },
                        } },
                        { "triggerConditions", new[]
                        {
                            
                            {
                                { "messageBasedTrigger", new[]
                                {
                                    
                                    {
                                        { "messageCount", 12 },
                                    },
                                } },
                            },
                        } },
                        { "historicalContextWindowSize", 10 },
                    },
                },
                Type = "SELF_MANAGED",
            },
            Name = "self-managed-strategy",
            MemoryId = exampleAwsBedrockagentcoreMemory.Id,
            MemoryExecutionRoleArn = exampleAwsBedrockagentcoreMemory.MemoryExecutionRoleArn,
            Type = "CUSTOM",
            Description = "Self-managed processing strategy",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.bedrock.AgentcoreMemoryStrategy;
    import com.pulumi.aws.bedrock.AgentcoreMemoryStrategyArgs;
    import com.pulumi.aws.bedrock.inputs.AgentcoreMemoryStrategyConfigurationArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var selfManaged = new AgentcoreMemoryStrategy("selfManaged", AgentcoreMemoryStrategyArgs.builder()
                .configuration(AgentcoreMemoryStrategyConfigurationArgs.builder()
                    .selfManaged(Arrays.asList(Map.ofEntries(
                        Map.entry("invocationConfiguration", Arrays.asList(Map.ofEntries(
                            Map.entry("topicArn", example.arn()),
                            Map.entry("payloadDeliveryBucketName", exampleAwsS3Bucket.bucket())
                        ))),
                        Map.entry("triggerConditions", Arrays.asList(Map.of("messageBasedTrigger", Arrays.asList(Map.of("messageCount", 12))))),
                        Map.entry("historicalContextWindowSize", 10)
                    )))
                    .type("SELF_MANAGED")
                    .build())
                .name("self-managed-strategy")
                .memoryId(exampleAwsBedrockagentcoreMemory.id())
                .memoryExecutionRoleArn(exampleAwsBedrockagentcoreMemory.memoryExecutionRoleArn())
                .type("CUSTOM")
                .description("Self-managed processing strategy")
                .build());
    
        }
    }
    
    resources:
      selfManaged:
        type: aws:bedrock:AgentcoreMemoryStrategy
        name: self_managed
        properties:
          configuration:
            selfManaged:
              - invocationConfiguration:
                  - topicArn: ${example.arn}
                    payloadDeliveryBucketName: ${exampleAwsS3Bucket.bucket}
                triggerConditions:
                  - messageBasedTrigger:
                      - messageCount: 12
                historicalContextWindowSize: 10
            type: SELF_MANAGED
          name: self-managed-strategy
          memoryId: ${exampleAwsBedrockagentcoreMemory.id}
          memoryExecutionRoleArn: ${exampleAwsBedrockagentcoreMemory.memoryExecutionRoleArn}
          type: CUSTOM
          description: Self-managed processing strategy
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_bedrock_agentcorememorystrategy" "self_managed" {
      configuration = {
        self_managed = [{
          "invocationConfiguration" = [{
            "topicArn"                  = example.arn
            "payloadDeliveryBucketName" = exampleAwsS3Bucket.bucket
          }]
          "triggerConditions" = [{
            "messageBasedTrigger" = [{
              "messageCount" = 12
            }]
          }]
          "historicalContextWindowSize" = 10
        }]
        type = "SELF_MANAGED"
      }
      name                      = "self-managed-strategy"
      memory_id                 = exampleAwsBedrockagentcoreMemory.id
      memory_execution_role_arn = exampleAwsBedrockagentcoreMemory.memoryExecutionRoleArn
      type                      = "CUSTOM"
      description               = "Self-managed processing strategy"
    }
    

    Custom Strategy with Self-Managed Configuration

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const selfManaged = new aws.bedrock.AgentcoreMemoryStrategy("self_managed", {
        configuration: {
            selfManagedConfiguration: {
                invocationConfiguration: {
                    topicArn: example.arn,
                    payloadDeliveryBucketName: exampleAwsS3Bucket.bucket,
                },
                triggerCondition: [{
                    messageBasedTrigger: [{
                        messageCount: 12,
                    }],
                }],
                historicalContextWindowSize: 10,
            },
            type: "SELF_MANAGED",
        },
        name: "self-managed-strategy",
        memoryId: exampleAwsBedrockagentcoreMemory.id,
        memoryExecutionRoleArn: exampleAwsBedrockagentcoreMemory.memoryExecutionRoleArn,
        type: "CUSTOM",
        description: "Self-managed processing strategy",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    self_managed = aws.bedrock.AgentcoreMemoryStrategy("self_managed",
        configuration={
            "self_managed_configuration": {
                "invocation_configuration": {
                    "topic_arn": example["arn"],
                    "payload_delivery_bucket_name": example_aws_s3_bucket["bucket"],
                },
                "trigger_condition": [{
                    "messageBasedTrigger": [{
                        "messageCount": 12,
                    }],
                }],
                "historical_context_window_size": 10,
            },
            "type": "SELF_MANAGED",
        },
        name="self-managed-strategy",
        memory_id=example_aws_bedrockagentcore_memory["id"],
        memory_execution_role_arn=example_aws_bedrockagentcore_memory["memoryExecutionRoleArn"],
        type="CUSTOM",
        description="Self-managed processing strategy")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := bedrock.NewAgentcoreMemoryStrategy(ctx, "self_managed", &bedrock.AgentcoreMemoryStrategyArgs{
    			Configuration: &bedrock.AgentcoreMemoryStrategyConfigurationArgs{
    				SelfManagedConfiguration: &bedrock.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationArgs{
    					InvocationConfiguration: &bedrock.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationInvocationConfigurationArgs{
    						TopicArn:                  pulumi.Any(example.Arn),
    						PayloadDeliveryBucketName: pulumi.Any(exampleAwsS3Bucket.Bucket),
    					},
    					TriggerCondition: []map[string][]map[string]int{
    						{
    							"messageBasedTrigger": []map[string]int{
    								{
    									"messageCount": 12,
    								},
    							},
    						},
    					},
    					HistoricalContextWindowSize: pulumi.Int(10),
    				},
    				Type: pulumi.String("SELF_MANAGED"),
    			},
    			Name:                   pulumi.String("self-managed-strategy"),
    			MemoryId:               pulumi.Any(exampleAwsBedrockagentcoreMemory.Id),
    			MemoryExecutionRoleArn: pulumi.Any(exampleAwsBedrockagentcoreMemory.MemoryExecutionRoleArn),
    			Type:                   pulumi.String("CUSTOM"),
    			Description:            pulumi.String("Self-managed processing strategy"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var selfManaged = new Aws.Bedrock.AgentcoreMemoryStrategy("self_managed", new()
        {
            Configuration = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationArgs
            {
                SelfManagedConfiguration = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationArgs
                {
                    InvocationConfiguration = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationInvocationConfigurationArgs
                    {
                        TopicArn = example.Arn,
                        PayloadDeliveryBucketName = exampleAwsS3Bucket.Bucket,
                    },
                    TriggerCondition = new[]
                    {
                        
                        {
                            { "messageBasedTrigger", new[]
                            {
                                
                                {
                                    { "messageCount", 12 },
                                },
                            } },
                        },
                    },
                    HistoricalContextWindowSize = 10,
                },
                Type = "SELF_MANAGED",
            },
            Name = "self-managed-strategy",
            MemoryId = exampleAwsBedrockagentcoreMemory.Id,
            MemoryExecutionRoleArn = exampleAwsBedrockagentcoreMemory.MemoryExecutionRoleArn,
            Type = "CUSTOM",
            Description = "Self-managed processing strategy",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.bedrock.AgentcoreMemoryStrategy;
    import com.pulumi.aws.bedrock.AgentcoreMemoryStrategyArgs;
    import com.pulumi.aws.bedrock.inputs.AgentcoreMemoryStrategyConfigurationArgs;
    import com.pulumi.aws.bedrock.inputs.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationArgs;
    import com.pulumi.aws.bedrock.inputs.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationInvocationConfigurationArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var selfManaged = new AgentcoreMemoryStrategy("selfManaged", AgentcoreMemoryStrategyArgs.builder()
                .configuration(AgentcoreMemoryStrategyConfigurationArgs.builder()
                    .selfManagedConfiguration(AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationArgs.builder()
                        .invocationConfiguration(AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationInvocationConfigurationArgs.builder()
                            .topicArn(example.arn())
                            .payloadDeliveryBucketName(exampleAwsS3Bucket.bucket())
                            .build())
                        .triggerCondition(Arrays.asList(Map.of("messageBasedTrigger", Arrays.asList(Map.of("messageCount", 12)))))
                        .historicalContextWindowSize(10)
                        .build())
                    .type("SELF_MANAGED")
                    .build())
                .name("self-managed-strategy")
                .memoryId(exampleAwsBedrockagentcoreMemory.id())
                .memoryExecutionRoleArn(exampleAwsBedrockagentcoreMemory.memoryExecutionRoleArn())
                .type("CUSTOM")
                .description("Self-managed processing strategy")
                .build());
    
        }
    }
    
    resources:
      selfManaged:
        type: aws:bedrock:AgentcoreMemoryStrategy
        name: self_managed
        properties:
          configuration:
            selfManagedConfiguration:
              invocationConfiguration:
                topicArn: ${example.arn}
                payloadDeliveryBucketName: ${exampleAwsS3Bucket.bucket}
              triggerCondition:
                - messageBasedTrigger:
                    - messageCount: 12
              historicalContextWindowSize: 10
            type: SELF_MANAGED
          name: self-managed-strategy
          memoryId: ${exampleAwsBedrockagentcoreMemory.id}
          memoryExecutionRoleArn: ${exampleAwsBedrockagentcoreMemory.memoryExecutionRoleArn}
          type: CUSTOM
          description: Self-managed processing strategy
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_bedrock_agentcorememorystrategy" "self_managed" {
      configuration = {
        self_managed_configuration = {
          invocation_configuration = {
            topic_arn                    = example.arn
            payload_delivery_bucket_name = exampleAwsS3Bucket.bucket
          }
          trigger_condition = [{
            "messageBasedTrigger" = [{
              "messageCount" = 12
            }]
          }]
          historical_context_window_size = 10
        }
        type = "SELF_MANAGED"
      }
      name                      = "self-managed-strategy"
      memory_id                 = exampleAwsBedrockagentcoreMemory.id
      memory_execution_role_arn = exampleAwsBedrockagentcoreMemory.memoryExecutionRoleArn
      type                      = "CUSTOM"
      description               = "Self-managed processing strategy"
    }
    

    Create AgentcoreMemoryStrategy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AgentcoreMemoryStrategy(name: string, args: AgentcoreMemoryStrategyArgs, opts?: CustomResourceOptions);
    @overload
    def AgentcoreMemoryStrategy(resource_name: str,
                                args: AgentcoreMemoryStrategyArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def AgentcoreMemoryStrategy(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                memory_id: Optional[str] = None,
                                type: Optional[str] = None,
                                configuration: Optional[AgentcoreMemoryStrategyConfigurationArgs] = None,
                                description: Optional[str] = None,
                                memory_execution_role_arn: Optional[str] = None,
                                memory_record_schema: Optional[AgentcoreMemoryStrategyMemoryRecordSchemaArgs] = None,
                                name: Optional[str] = None,
                                namespace_templates: Optional[Sequence[str]] = None,
                                namespaces: Optional[Sequence[str]] = None,
                                reflection_configuration: Optional[AgentcoreMemoryStrategyReflectionConfigurationArgs] = None,
                                region: Optional[str] = None,
                                timeouts: Optional[AgentcoreMemoryStrategyTimeoutsArgs] = None)
    func NewAgentcoreMemoryStrategy(ctx *Context, name string, args AgentcoreMemoryStrategyArgs, opts ...ResourceOption) (*AgentcoreMemoryStrategy, error)
    public AgentcoreMemoryStrategy(string name, AgentcoreMemoryStrategyArgs args, CustomResourceOptions? opts = null)
    public AgentcoreMemoryStrategy(String name, AgentcoreMemoryStrategyArgs args)
    public AgentcoreMemoryStrategy(String name, AgentcoreMemoryStrategyArgs args, CustomResourceOptions options)
    
    type: aws:bedrock:AgentcoreMemoryStrategy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws_bedrock_agentcore_memory_strategy" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AgentcoreMemoryStrategyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AgentcoreMemoryStrategyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AgentcoreMemoryStrategyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AgentcoreMemoryStrategyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AgentcoreMemoryStrategyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var agentcoreMemoryStrategyResource = new Aws.Bedrock.AgentcoreMemoryStrategy("agentcoreMemoryStrategyResource", new()
    {
        MemoryId = "string",
        Type = "string",
        Configuration = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationArgs
        {
            Type = "string",
            Consolidation = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationConsolidationArgs
            {
                AppendToPrompt = "string",
                ModelId = "string",
            },
            Extraction = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationExtractionArgs
            {
                AppendToPrompt = "string",
                ModelId = "string",
            },
            Reflection = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationReflectionArgs
            {
                AppendToPrompt = "string",
                ModelId = "string",
                NamespaceTemplates = new[]
                {
                    "string",
                },
            },
            SelfManagedConfiguration = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationArgs
            {
                InvocationConfiguration = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationInvocationConfigurationArgs
                {
                    PayloadDeliveryBucketName = "string",
                    TopicArn = "string",
                },
                HistoricalContextWindowSize = 0,
                TriggerConditions = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsArgs
                {
                    MessageBasedTrigger = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsMessageBasedTriggerArgs
                    {
                        MessageCount = 0,
                    },
                    TimeBasedTrigger = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsTimeBasedTriggerArgs
                    {
                        IdleSessionTimeout = 0,
                    },
                    TokenBasedTrigger = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsTokenBasedTriggerArgs
                    {
                        TokenCount = 0,
                    },
                },
                TriggerConditionsActuals = new[]
                {
                    new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActualArgs
                    {
                        MessageBasedTriggers = new[]
                        {
                            new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActualMessageBasedTriggerArgs
                            {
                                MessageCount = 0,
                            },
                        },
                        TimeBasedTriggers = new[]
                        {
                            new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActualTimeBasedTriggerArgs
                            {
                                IdleSessionTimeout = 0,
                            },
                        },
                        TokenBasedTriggers = new[]
                        {
                            new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActualTokenBasedTriggerArgs
                            {
                                TokenCount = 0,
                            },
                        },
                    },
                },
            },
        },
        Description = "string",
        MemoryRecordSchema = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyMemoryRecordSchemaArgs
        {
            MetadataSchemas = new[]
            {
                new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaArgs
                {
                    Key = "string",
                    ExtractionConfig = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigArgs
                    {
                        LlmExtractionConfig = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigArgs
                        {
                            Definition = "string",
                            LlmExtractionInstruction = "string",
                            Validation = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigValidationArgs
                            {
                                NumberValidation = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigValidationNumberValidationArgs
                                {
                                    MaxValue = 0.0,
                                    MinValue = 0.0,
                                },
                                StringListValidation = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigValidationStringListValidationArgs
                                {
                                    AllowedValues = new[]
                                    {
                                        "string",
                                    },
                                    MaxItems = 0,
                                },
                                StringValidation = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigValidationStringValidationArgs
                                {
                                    AllowedValues = new[]
                                    {
                                        "string",
                                    },
                                },
                            },
                        },
                    },
                    ExtractionType = "string",
                    Type = "string",
                },
            },
        },
        Name = "string",
        NamespaceTemplates = new[]
        {
            "string",
        },
        ReflectionConfiguration = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyReflectionConfigurationArgs
        {
            NamespaceTemplates = new[]
            {
                "string",
            },
        },
        Region = "string",
        Timeouts = new Aws.Bedrock.Inputs.AgentcoreMemoryStrategyTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := bedrock.NewAgentcoreMemoryStrategy(ctx, "agentcoreMemoryStrategyResource", &bedrock.AgentcoreMemoryStrategyArgs{
    	MemoryId: pulumi.String("string"),
    	Type:     pulumi.String("string"),
    	Configuration: &bedrock.AgentcoreMemoryStrategyConfigurationArgs{
    		Type: pulumi.String("string"),
    		Consolidation: &bedrock.AgentcoreMemoryStrategyConfigurationConsolidationArgs{
    			AppendToPrompt: pulumi.String("string"),
    			ModelId:        pulumi.String("string"),
    		},
    		Extraction: &bedrock.AgentcoreMemoryStrategyConfigurationExtractionArgs{
    			AppendToPrompt: pulumi.String("string"),
    			ModelId:        pulumi.String("string"),
    		},
    		Reflection: &bedrock.AgentcoreMemoryStrategyConfigurationReflectionArgs{
    			AppendToPrompt: pulumi.String("string"),
    			ModelId:        pulumi.String("string"),
    			NamespaceTemplates: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    		SelfManagedConfiguration: &bedrock.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationArgs{
    			InvocationConfiguration: &bedrock.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationInvocationConfigurationArgs{
    				PayloadDeliveryBucketName: pulumi.String("string"),
    				TopicArn:                  pulumi.String("string"),
    			},
    			HistoricalContextWindowSize: pulumi.Int(0),
    			TriggerConditions: &bedrock.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsArgs{
    				MessageBasedTrigger: &bedrock.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsMessageBasedTriggerArgs{
    					MessageCount: pulumi.Int(0),
    				},
    				TimeBasedTrigger: &bedrock.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsTimeBasedTriggerArgs{
    					IdleSessionTimeout: pulumi.Int(0),
    				},
    				TokenBasedTrigger: &bedrock.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsTokenBasedTriggerArgs{
    					TokenCount: pulumi.Int(0),
    				},
    			},
    			TriggerConditionsActuals: bedrock.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActualArray{
    				&bedrock.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActualArgs{
    					MessageBasedTriggers: bedrock.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActualMessageBasedTriggerArray{
    						&bedrock.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActualMessageBasedTriggerArgs{
    							MessageCount: pulumi.Int(0),
    						},
    					},
    					TimeBasedTriggers: bedrock.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActualTimeBasedTriggerArray{
    						&bedrock.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActualTimeBasedTriggerArgs{
    							IdleSessionTimeout: pulumi.Int(0),
    						},
    					},
    					TokenBasedTriggers: bedrock.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActualTokenBasedTriggerArray{
    						&bedrock.AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActualTokenBasedTriggerArgs{
    							TokenCount: pulumi.Int(0),
    						},
    					},
    				},
    			},
    		},
    	},
    	Description: pulumi.String("string"),
    	MemoryRecordSchema: &bedrock.AgentcoreMemoryStrategyMemoryRecordSchemaArgs{
    		MetadataSchemas: bedrock.AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaArray{
    			&bedrock.AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaArgs{
    				Key: pulumi.String("string"),
    				ExtractionConfig: &bedrock.AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigArgs{
    					LlmExtractionConfig: &bedrock.AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigArgs{
    						Definition:               pulumi.String("string"),
    						LlmExtractionInstruction: pulumi.String("string"),
    						Validation: &bedrock.AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigValidationArgs{
    							NumberValidation: &bedrock.AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigValidationNumberValidationArgs{
    								MaxValue: pulumi.Float64(0),
    								MinValue: pulumi.Float64(0),
    							},
    							StringListValidation: &bedrock.AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigValidationStringListValidationArgs{
    								AllowedValues: pulumi.StringArray{
    									pulumi.String("string"),
    								},
    								MaxItems: pulumi.Int(0),
    							},
    							StringValidation: &bedrock.AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigValidationStringValidationArgs{
    								AllowedValues: pulumi.StringArray{
    									pulumi.String("string"),
    								},
    							},
    						},
    					},
    				},
    				ExtractionType: pulumi.String("string"),
    				Type:           pulumi.String("string"),
    			},
    		},
    	},
    	Name: pulumi.String("string"),
    	NamespaceTemplates: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ReflectionConfiguration: &bedrock.AgentcoreMemoryStrategyReflectionConfigurationArgs{
    		NamespaceTemplates: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	Region: pulumi.String("string"),
    	Timeouts: &bedrock.AgentcoreMemoryStrategyTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    resource "aws_bedrock_agentcore_memory_strategy" "agentcoreMemoryStrategyResource" {
      lifecycle {
        create_before_destroy = true
      }
      memory_id = "string"
      type      = "string"
      configuration = {
        type = "string"
        consolidation = {
          append_to_prompt = "string"
          model_id         = "string"
        }
        extraction = {
          append_to_prompt = "string"
          model_id         = "string"
        }
        reflection = {
          append_to_prompt    = "string"
          model_id            = "string"
          namespace_templates = ["string"]
        }
        self_managed_configuration = {
          invocation_configuration = {
            payload_delivery_bucket_name = "string"
            topic_arn                    = "string"
          }
          historical_context_window_size = 0
          trigger_conditions = {
            message_based_trigger = {
              message_count = 0
            }
            time_based_trigger = {
              idle_session_timeout = 0
            }
            token_based_trigger = {
              token_count = 0
            }
          }
          trigger_conditions_actuals = [{
            message_based_triggers = [{
              message_count = 0
            }]
            time_based_triggers = [{
              idle_session_timeout = 0
            }]
            token_based_triggers = [{
              token_count = 0
            }]
          }]
        }
      }
      description = "string"
      memory_record_schema = {
        metadata_schemas = [{
          key = "string"
          extraction_config = {
            llm_extraction_config = {
              definition                 = "string"
              llm_extraction_instruction = "string"
              validation = {
                number_validation = {
                  max_value = 0
                  min_value = 0
                }
                string_list_validation = {
                  allowed_values = ["string"]
                  max_items      = 0
                }
                string_validation = {
                  allowed_values = ["string"]
                }
              }
            }
          }
          extraction_type = "string"
          type            = "string"
        }]
      }
      name                = "string"
      namespace_templates = ["string"]
      reflection_configuration = {
        namespace_templates = ["string"]
      }
      region = "string"
      timeouts = {
        create = "string"
        delete = "string"
        update = "string"
      }
    }
    
    var agentcoreMemoryStrategyResource = new AgentcoreMemoryStrategy("agentcoreMemoryStrategyResource", AgentcoreMemoryStrategyArgs.builder()
        .memoryId("string")
        .type("string")
        .configuration(AgentcoreMemoryStrategyConfigurationArgs.builder()
            .type("string")
            .consolidation(AgentcoreMemoryStrategyConfigurationConsolidationArgs.builder()
                .appendToPrompt("string")
                .modelId("string")
                .build())
            .extraction(AgentcoreMemoryStrategyConfigurationExtractionArgs.builder()
                .appendToPrompt("string")
                .modelId("string")
                .build())
            .reflection(AgentcoreMemoryStrategyConfigurationReflectionArgs.builder()
                .appendToPrompt("string")
                .modelId("string")
                .namespaceTemplates("string")
                .build())
            .selfManagedConfiguration(AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationArgs.builder()
                .invocationConfiguration(AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationInvocationConfigurationArgs.builder()
                    .payloadDeliveryBucketName("string")
                    .topicArn("string")
                    .build())
                .historicalContextWindowSize(0)
                .triggerConditions(AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsArgs.builder()
                    .messageBasedTrigger(AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsMessageBasedTriggerArgs.builder()
                        .messageCount(0)
                        .build())
                    .timeBasedTrigger(AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsTimeBasedTriggerArgs.builder()
                        .idleSessionTimeout(0)
                        .build())
                    .tokenBasedTrigger(AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsTokenBasedTriggerArgs.builder()
                        .tokenCount(0)
                        .build())
                    .build())
                .triggerConditionsActuals(AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActualArgs.builder()
                    .messageBasedTriggers(AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActualMessageBasedTriggerArgs.builder()
                        .messageCount(0)
                        .build())
                    .timeBasedTriggers(AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActualTimeBasedTriggerArgs.builder()
                        .idleSessionTimeout(0)
                        .build())
                    .tokenBasedTriggers(AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActualTokenBasedTriggerArgs.builder()
                        .tokenCount(0)
                        .build())
                    .build())
                .build())
            .build())
        .description("string")
        .memoryRecordSchema(AgentcoreMemoryStrategyMemoryRecordSchemaArgs.builder()
            .metadataSchemas(AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaArgs.builder()
                .key("string")
                .extractionConfig(AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigArgs.builder()
                    .llmExtractionConfig(AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigArgs.builder()
                        .definition("string")
                        .llmExtractionInstruction("string")
                        .validation(AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigValidationArgs.builder()
                            .numberValidation(AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigValidationNumberValidationArgs.builder()
                                .maxValue(0.0)
                                .minValue(0.0)
                                .build())
                            .stringListValidation(AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigValidationStringListValidationArgs.builder()
                                .allowedValues("string")
                                .maxItems(0)
                                .build())
                            .stringValidation(AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigValidationStringValidationArgs.builder()
                                .allowedValues("string")
                                .build())
                            .build())
                        .build())
                    .build())
                .extractionType("string")
                .type("string")
                .build())
            .build())
        .name("string")
        .namespaceTemplates("string")
        .reflectionConfiguration(AgentcoreMemoryStrategyReflectionConfigurationArgs.builder()
            .namespaceTemplates("string")
            .build())
        .region("string")
        .timeouts(AgentcoreMemoryStrategyTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    agentcore_memory_strategy_resource = aws.bedrock.AgentcoreMemoryStrategy("agentcoreMemoryStrategyResource",
        memory_id="string",
        type="string",
        configuration={
            "type": "string",
            "consolidation": {
                "append_to_prompt": "string",
                "model_id": "string",
            },
            "extraction": {
                "append_to_prompt": "string",
                "model_id": "string",
            },
            "reflection": {
                "append_to_prompt": "string",
                "model_id": "string",
                "namespace_templates": ["string"],
            },
            "self_managed_configuration": {
                "invocation_configuration": {
                    "payload_delivery_bucket_name": "string",
                    "topic_arn": "string",
                },
                "historical_context_window_size": 0,
                "trigger_conditions": {
                    "message_based_trigger": {
                        "message_count": 0,
                    },
                    "time_based_trigger": {
                        "idle_session_timeout": 0,
                    },
                    "token_based_trigger": {
                        "token_count": 0,
                    },
                },
                "trigger_conditions_actuals": [{
                    "message_based_triggers": [{
                        "message_count": 0,
                    }],
                    "time_based_triggers": [{
                        "idle_session_timeout": 0,
                    }],
                    "token_based_triggers": [{
                        "token_count": 0,
                    }],
                }],
            },
        },
        description="string",
        memory_record_schema={
            "metadata_schemas": [{
                "key": "string",
                "extraction_config": {
                    "llm_extraction_config": {
                        "definition": "string",
                        "llm_extraction_instruction": "string",
                        "validation": {
                            "number_validation": {
                                "max_value": float(0),
                                "min_value": float(0),
                            },
                            "string_list_validation": {
                                "allowed_values": ["string"],
                                "max_items": 0,
                            },
                            "string_validation": {
                                "allowed_values": ["string"],
                            },
                        },
                    },
                },
                "extraction_type": "string",
                "type": "string",
            }],
        },
        name="string",
        namespace_templates=["string"],
        reflection_configuration={
            "namespace_templates": ["string"],
        },
        region="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const agentcoreMemoryStrategyResource = new aws.bedrock.AgentcoreMemoryStrategy("agentcoreMemoryStrategyResource", {
        memoryId: "string",
        type: "string",
        configuration: {
            type: "string",
            consolidation: {
                appendToPrompt: "string",
                modelId: "string",
            },
            extraction: {
                appendToPrompt: "string",
                modelId: "string",
            },
            reflection: {
                appendToPrompt: "string",
                modelId: "string",
                namespaceTemplates: ["string"],
            },
            selfManagedConfiguration: {
                invocationConfiguration: {
                    payloadDeliveryBucketName: "string",
                    topicArn: "string",
                },
                historicalContextWindowSize: 0,
                triggerConditions: {
                    messageBasedTrigger: {
                        messageCount: 0,
                    },
                    timeBasedTrigger: {
                        idleSessionTimeout: 0,
                    },
                    tokenBasedTrigger: {
                        tokenCount: 0,
                    },
                },
                triggerConditionsActuals: [{
                    messageBasedTriggers: [{
                        messageCount: 0,
                    }],
                    timeBasedTriggers: [{
                        idleSessionTimeout: 0,
                    }],
                    tokenBasedTriggers: [{
                        tokenCount: 0,
                    }],
                }],
            },
        },
        description: "string",
        memoryRecordSchema: {
            metadataSchemas: [{
                key: "string",
                extractionConfig: {
                    llmExtractionConfig: {
                        definition: "string",
                        llmExtractionInstruction: "string",
                        validation: {
                            numberValidation: {
                                maxValue: 0,
                                minValue: 0,
                            },
                            stringListValidation: {
                                allowedValues: ["string"],
                                maxItems: 0,
                            },
                            stringValidation: {
                                allowedValues: ["string"],
                            },
                        },
                    },
                },
                extractionType: "string",
                type: "string",
            }],
        },
        name: "string",
        namespaceTemplates: ["string"],
        reflectionConfiguration: {
            namespaceTemplates: ["string"],
        },
        region: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: aws:bedrock:AgentcoreMemoryStrategy
    properties:
        configuration:
            consolidation:
                appendToPrompt: string
                modelId: string
            extraction:
                appendToPrompt: string
                modelId: string
            reflection:
                appendToPrompt: string
                modelId: string
                namespaceTemplates:
                    - string
            selfManagedConfiguration:
                historicalContextWindowSize: 0
                invocationConfiguration:
                    payloadDeliveryBucketName: string
                    topicArn: string
                triggerConditions:
                    messageBasedTrigger:
                        messageCount: 0
                    timeBasedTrigger:
                        idleSessionTimeout: 0
                    tokenBasedTrigger:
                        tokenCount: 0
                triggerConditionsActuals:
                    - messageBasedTriggers:
                        - messageCount: 0
                      timeBasedTriggers:
                        - idleSessionTimeout: 0
                      tokenBasedTriggers:
                        - tokenCount: 0
            type: string
        description: string
        memoryId: string
        memoryRecordSchema:
            metadataSchemas:
                - extractionConfig:
                    llmExtractionConfig:
                        definition: string
                        llmExtractionInstruction: string
                        validation:
                            numberValidation:
                                maxValue: 0
                                minValue: 0
                            stringListValidation:
                                allowedValues:
                                    - string
                                maxItems: 0
                            stringValidation:
                                allowedValues:
                                    - string
                  extractionType: string
                  key: string
                  type: string
        name: string
        namespaceTemplates:
            - string
        reflectionConfiguration:
            namespaceTemplates:
                - string
        region: string
        timeouts:
            create: string
            delete: string
            update: string
        type: string
    

    AgentcoreMemoryStrategy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AgentcoreMemoryStrategy resource accepts the following input properties:

    MemoryId string
    ID of the memory to associate with this strategy. Changing this forces a new resource.
    Type string

    Type of memory strategy. Valid values: SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC, CUSTOM. Changing this forces a new resource. Note that only one strategy of each built-in type (SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC) can exist per memory.

    The following arguments are optional:

    Configuration AgentcoreMemoryStrategyConfiguration
    Custom configuration block. Required when type is CUSTOM, must be omitted for other types. See configuration Block below.
    Description string
    Description of the memory strategy. Once set, a description cannot be removed via update because the service API ignores a null description and retains the previously stored value.
    MemoryExecutionRoleArn string
    ARN of the IAM role that the memory service assumes to perform operations.

    Deprecated: memory_execution_role_arn is deprecated. Use memoryExecutionRoleArn on the aws.bedrock.AgentcoreMemory resource instead.

    MemoryRecordSchema AgentcoreMemoryStrategyMemoryRecordSchema
    Schema for metadata fields on records generated by this strategy. Valid for all strategy types. See memoryRecordSchema Block below.
    Name string
    Name of the memory strategy. Changing this forces a new resource, because the service API does not support renaming a strategy.
    NamespaceTemplates List<string>
    Set containing exactly one namespace template where this strategy applies (for example /strategies/{memoryStrategyId}/actors/{actorId}/sessions/{sessionId}). Namespace templates help organize and scope memory content. Exactly one of namespaceTemplates or namespaces must be configured for all strategies except CUSTOM strategies using SELF_MANAGED configuration.
    Namespaces List<string>
    Set of namespace identifiers where this strategy applies. Exactly one of namespaces or namespaceTemplates must be configured. The API treats this as a legacy parameter; prefer namespaceTemplates. Since the API mirrors the two fields, switching an existing configuration from namespaces to namespaceTemplates with the same value is an in-place no-op.

    Deprecated: namespaces is deprecated. Use namespaceTemplates instead.

    ReflectionConfiguration AgentcoreMemoryStrategyReflectionConfiguration
    Configuration for the reflections created with the episodic memory strategy. Valid when type is EPISODIC, must be omitted for other types. See reflectionConfiguration Block below.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Timeouts AgentcoreMemoryStrategyTimeouts
    MemoryId string
    ID of the memory to associate with this strategy. Changing this forces a new resource.
    Type string

    Type of memory strategy. Valid values: SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC, CUSTOM. Changing this forces a new resource. Note that only one strategy of each built-in type (SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC) can exist per memory.

    The following arguments are optional:

    Configuration AgentcoreMemoryStrategyConfigurationArgs
    Custom configuration block. Required when type is CUSTOM, must be omitted for other types. See configuration Block below.
    Description string
    Description of the memory strategy. Once set, a description cannot be removed via update because the service API ignores a null description and retains the previously stored value.
    MemoryExecutionRoleArn string
    ARN of the IAM role that the memory service assumes to perform operations.

    Deprecated: memory_execution_role_arn is deprecated. Use memoryExecutionRoleArn on the aws.bedrock.AgentcoreMemory resource instead.

    MemoryRecordSchema AgentcoreMemoryStrategyMemoryRecordSchemaArgs
    Schema for metadata fields on records generated by this strategy. Valid for all strategy types. See memoryRecordSchema Block below.
    Name string
    Name of the memory strategy. Changing this forces a new resource, because the service API does not support renaming a strategy.
    NamespaceTemplates []string
    Set containing exactly one namespace template where this strategy applies (for example /strategies/{memoryStrategyId}/actors/{actorId}/sessions/{sessionId}). Namespace templates help organize and scope memory content. Exactly one of namespaceTemplates or namespaces must be configured for all strategies except CUSTOM strategies using SELF_MANAGED configuration.
    Namespaces []string
    Set of namespace identifiers where this strategy applies. Exactly one of namespaces or namespaceTemplates must be configured. The API treats this as a legacy parameter; prefer namespaceTemplates. Since the API mirrors the two fields, switching an existing configuration from namespaces to namespaceTemplates with the same value is an in-place no-op.

    Deprecated: namespaces is deprecated. Use namespaceTemplates instead.

    ReflectionConfiguration AgentcoreMemoryStrategyReflectionConfigurationArgs
    Configuration for the reflections created with the episodic memory strategy. Valid when type is EPISODIC, must be omitted for other types. See reflectionConfiguration Block below.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Timeouts AgentcoreMemoryStrategyTimeoutsArgs
    memory_id string
    ID of the memory to associate with this strategy. Changing this forces a new resource.
    type string

    Type of memory strategy. Valid values: SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC, CUSTOM. Changing this forces a new resource. Note that only one strategy of each built-in type (SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC) can exist per memory.

    The following arguments are optional:

    configuration object
    Custom configuration block. Required when type is CUSTOM, must be omitted for other types. See configuration Block below.
    description string
    Description of the memory strategy. Once set, a description cannot be removed via update because the service API ignores a null description and retains the previously stored value.
    memory_execution_role_arn string
    ARN of the IAM role that the memory service assumes to perform operations.

    Deprecated: memory_execution_role_arn is deprecated. Use memoryExecutionRoleArn on the aws.bedrock.AgentcoreMemory resource instead.

    memory_record_schema object
    Schema for metadata fields on records generated by this strategy. Valid for all strategy types. See memoryRecordSchema Block below.
    name string
    Name of the memory strategy. Changing this forces a new resource, because the service API does not support renaming a strategy.
    namespace_templates list(string)
    Set containing exactly one namespace template where this strategy applies (for example /strategies/{memoryStrategyId}/actors/{actorId}/sessions/{sessionId}). Namespace templates help organize and scope memory content. Exactly one of namespaceTemplates or namespaces must be configured for all strategies except CUSTOM strategies using SELF_MANAGED configuration.
    namespaces list(string)
    Set of namespace identifiers where this strategy applies. Exactly one of namespaces or namespaceTemplates must be configured. The API treats this as a legacy parameter; prefer namespaceTemplates. Since the API mirrors the two fields, switching an existing configuration from namespaces to namespaceTemplates with the same value is an in-place no-op.

    Deprecated: namespaces is deprecated. Use namespaceTemplates instead.

    reflection_configuration object
    Configuration for the reflections created with the episodic memory strategy. Valid when type is EPISODIC, must be omitted for other types. See reflectionConfiguration Block below.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    timeouts object
    memoryId String
    ID of the memory to associate with this strategy. Changing this forces a new resource.
    type String

    Type of memory strategy. Valid values: SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC, CUSTOM. Changing this forces a new resource. Note that only one strategy of each built-in type (SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC) can exist per memory.

    The following arguments are optional:

    configuration AgentcoreMemoryStrategyConfiguration
    Custom configuration block. Required when type is CUSTOM, must be omitted for other types. See configuration Block below.
    description String
    Description of the memory strategy. Once set, a description cannot be removed via update because the service API ignores a null description and retains the previously stored value.
    memoryExecutionRoleArn String
    ARN of the IAM role that the memory service assumes to perform operations.

    Deprecated: memory_execution_role_arn is deprecated. Use memoryExecutionRoleArn on the aws.bedrock.AgentcoreMemory resource instead.

    memoryRecordSchema AgentcoreMemoryStrategyMemoryRecordSchema
    Schema for metadata fields on records generated by this strategy. Valid for all strategy types. See memoryRecordSchema Block below.
    name String
    Name of the memory strategy. Changing this forces a new resource, because the service API does not support renaming a strategy.
    namespaceTemplates List<String>
    Set containing exactly one namespace template where this strategy applies (for example /strategies/{memoryStrategyId}/actors/{actorId}/sessions/{sessionId}). Namespace templates help organize and scope memory content. Exactly one of namespaceTemplates or namespaces must be configured for all strategies except CUSTOM strategies using SELF_MANAGED configuration.
    namespaces List<String>
    Set of namespace identifiers where this strategy applies. Exactly one of namespaces or namespaceTemplates must be configured. The API treats this as a legacy parameter; prefer namespaceTemplates. Since the API mirrors the two fields, switching an existing configuration from namespaces to namespaceTemplates with the same value is an in-place no-op.

    Deprecated: namespaces is deprecated. Use namespaceTemplates instead.

    reflectionConfiguration AgentcoreMemoryStrategyReflectionConfiguration
    Configuration for the reflections created with the episodic memory strategy. Valid when type is EPISODIC, must be omitted for other types. See reflectionConfiguration Block below.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    timeouts AgentcoreMemoryStrategyTimeouts
    memoryId string
    ID of the memory to associate with this strategy. Changing this forces a new resource.
    type string

    Type of memory strategy. Valid values: SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC, CUSTOM. Changing this forces a new resource. Note that only one strategy of each built-in type (SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC) can exist per memory.

    The following arguments are optional:

    configuration AgentcoreMemoryStrategyConfiguration
    Custom configuration block. Required when type is CUSTOM, must be omitted for other types. See configuration Block below.
    description string
    Description of the memory strategy. Once set, a description cannot be removed via update because the service API ignores a null description and retains the previously stored value.
    memoryExecutionRoleArn string
    ARN of the IAM role that the memory service assumes to perform operations.

    Deprecated: memory_execution_role_arn is deprecated. Use memoryExecutionRoleArn on the aws.bedrock.AgentcoreMemory resource instead.

    memoryRecordSchema AgentcoreMemoryStrategyMemoryRecordSchema
    Schema for metadata fields on records generated by this strategy. Valid for all strategy types. See memoryRecordSchema Block below.
    name string
    Name of the memory strategy. Changing this forces a new resource, because the service API does not support renaming a strategy.
    namespaceTemplates string[]
    Set containing exactly one namespace template where this strategy applies (for example /strategies/{memoryStrategyId}/actors/{actorId}/sessions/{sessionId}). Namespace templates help organize and scope memory content. Exactly one of namespaceTemplates or namespaces must be configured for all strategies except CUSTOM strategies using SELF_MANAGED configuration.
    namespaces string[]
    Set of namespace identifiers where this strategy applies. Exactly one of namespaces or namespaceTemplates must be configured. The API treats this as a legacy parameter; prefer namespaceTemplates. Since the API mirrors the two fields, switching an existing configuration from namespaces to namespaceTemplates with the same value is an in-place no-op.

    Deprecated: namespaces is deprecated. Use namespaceTemplates instead.

    reflectionConfiguration AgentcoreMemoryStrategyReflectionConfiguration
    Configuration for the reflections created with the episodic memory strategy. Valid when type is EPISODIC, must be omitted for other types. See reflectionConfiguration Block below.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    timeouts AgentcoreMemoryStrategyTimeouts
    memory_id str
    ID of the memory to associate with this strategy. Changing this forces a new resource.
    type str

    Type of memory strategy. Valid values: SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC, CUSTOM. Changing this forces a new resource. Note that only one strategy of each built-in type (SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC) can exist per memory.

    The following arguments are optional:

    configuration AgentcoreMemoryStrategyConfigurationArgs
    Custom configuration block. Required when type is CUSTOM, must be omitted for other types. See configuration Block below.
    description str
    Description of the memory strategy. Once set, a description cannot be removed via update because the service API ignores a null description and retains the previously stored value.
    memory_execution_role_arn str
    ARN of the IAM role that the memory service assumes to perform operations.

    Deprecated: memory_execution_role_arn is deprecated. Use memoryExecutionRoleArn on the aws.bedrock.AgentcoreMemory resource instead.

    memory_record_schema AgentcoreMemoryStrategyMemoryRecordSchemaArgs
    Schema for metadata fields on records generated by this strategy. Valid for all strategy types. See memoryRecordSchema Block below.
    name str
    Name of the memory strategy. Changing this forces a new resource, because the service API does not support renaming a strategy.
    namespace_templates Sequence[str]
    Set containing exactly one namespace template where this strategy applies (for example /strategies/{memoryStrategyId}/actors/{actorId}/sessions/{sessionId}). Namespace templates help organize and scope memory content. Exactly one of namespaceTemplates or namespaces must be configured for all strategies except CUSTOM strategies using SELF_MANAGED configuration.
    namespaces Sequence[str]
    Set of namespace identifiers where this strategy applies. Exactly one of namespaces or namespaceTemplates must be configured. The API treats this as a legacy parameter; prefer namespaceTemplates. Since the API mirrors the two fields, switching an existing configuration from namespaces to namespaceTemplates with the same value is an in-place no-op.

    Deprecated: namespaces is deprecated. Use namespaceTemplates instead.

    reflection_configuration AgentcoreMemoryStrategyReflectionConfigurationArgs
    Configuration for the reflections created with the episodic memory strategy. Valid when type is EPISODIC, must be omitted for other types. See reflectionConfiguration Block below.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    timeouts AgentcoreMemoryStrategyTimeoutsArgs
    memoryId String
    ID of the memory to associate with this strategy. Changing this forces a new resource.
    type String

    Type of memory strategy. Valid values: SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC, CUSTOM. Changing this forces a new resource. Note that only one strategy of each built-in type (SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC) can exist per memory.

    The following arguments are optional:

    configuration Property Map
    Custom configuration block. Required when type is CUSTOM, must be omitted for other types. See configuration Block below.
    description String
    Description of the memory strategy. Once set, a description cannot be removed via update because the service API ignores a null description and retains the previously stored value.
    memoryExecutionRoleArn String
    ARN of the IAM role that the memory service assumes to perform operations.

    Deprecated: memory_execution_role_arn is deprecated. Use memoryExecutionRoleArn on the aws.bedrock.AgentcoreMemory resource instead.

    memoryRecordSchema Property Map
    Schema for metadata fields on records generated by this strategy. Valid for all strategy types. See memoryRecordSchema Block below.
    name String
    Name of the memory strategy. Changing this forces a new resource, because the service API does not support renaming a strategy.
    namespaceTemplates List<String>
    Set containing exactly one namespace template where this strategy applies (for example /strategies/{memoryStrategyId}/actors/{actorId}/sessions/{sessionId}). Namespace templates help organize and scope memory content. Exactly one of namespaceTemplates or namespaces must be configured for all strategies except CUSTOM strategies using SELF_MANAGED configuration.
    namespaces List<String>
    Set of namespace identifiers where this strategy applies. Exactly one of namespaces or namespaceTemplates must be configured. The API treats this as a legacy parameter; prefer namespaceTemplates. Since the API mirrors the two fields, switching an existing configuration from namespaces to namespaceTemplates with the same value is an in-place no-op.

    Deprecated: namespaces is deprecated. Use namespaceTemplates instead.

    reflectionConfiguration Property Map
    Configuration for the reflections created with the episodic memory strategy. Valid when type is EPISODIC, must be omitted for other types. See reflectionConfiguration Block below.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AgentcoreMemoryStrategy resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    MemoryStrategyId string
    Unique identifier of the Memory Strategy. This corresponds to the service strategyId identifier (AWS API / CloudFormation terminology).
    Id string
    The provider-assigned unique ID for this managed resource.
    MemoryStrategyId string
    Unique identifier of the Memory Strategy. This corresponds to the service strategyId identifier (AWS API / CloudFormation terminology).
    id string
    The provider-assigned unique ID for this managed resource.
    memory_strategy_id string
    Unique identifier of the Memory Strategy. This corresponds to the service strategyId identifier (AWS API / CloudFormation terminology).
    id String
    The provider-assigned unique ID for this managed resource.
    memoryStrategyId String
    Unique identifier of the Memory Strategy. This corresponds to the service strategyId identifier (AWS API / CloudFormation terminology).
    id string
    The provider-assigned unique ID for this managed resource.
    memoryStrategyId string
    Unique identifier of the Memory Strategy. This corresponds to the service strategyId identifier (AWS API / CloudFormation terminology).
    id str
    The provider-assigned unique ID for this managed resource.
    memory_strategy_id str
    Unique identifier of the Memory Strategy. This corresponds to the service strategyId identifier (AWS API / CloudFormation terminology).
    id String
    The provider-assigned unique ID for this managed resource.
    memoryStrategyId String
    Unique identifier of the Memory Strategy. This corresponds to the service strategyId identifier (AWS API / CloudFormation terminology).

    Look up Existing AgentcoreMemoryStrategy Resource

    Get an existing AgentcoreMemoryStrategy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AgentcoreMemoryStrategyState, opts?: CustomResourceOptions): AgentcoreMemoryStrategy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            configuration: Optional[AgentcoreMemoryStrategyConfigurationArgs] = None,
            description: Optional[str] = None,
            memory_execution_role_arn: Optional[str] = None,
            memory_id: Optional[str] = None,
            memory_record_schema: Optional[AgentcoreMemoryStrategyMemoryRecordSchemaArgs] = None,
            memory_strategy_id: Optional[str] = None,
            name: Optional[str] = None,
            namespace_templates: Optional[Sequence[str]] = None,
            namespaces: Optional[Sequence[str]] = None,
            reflection_configuration: Optional[AgentcoreMemoryStrategyReflectionConfigurationArgs] = None,
            region: Optional[str] = None,
            timeouts: Optional[AgentcoreMemoryStrategyTimeoutsArgs] = None,
            type: Optional[str] = None) -> AgentcoreMemoryStrategy
    func GetAgentcoreMemoryStrategy(ctx *Context, name string, id IDInput, state *AgentcoreMemoryStrategyState, opts ...ResourceOption) (*AgentcoreMemoryStrategy, error)
    public static AgentcoreMemoryStrategy Get(string name, Input<string> id, AgentcoreMemoryStrategyState? state, CustomResourceOptions? opts = null)
    public static AgentcoreMemoryStrategy get(String name, Output<String> id, AgentcoreMemoryStrategyState state, CustomResourceOptions options)
    resources:  _:    type: aws:bedrock:AgentcoreMemoryStrategy    get:      id: ${id}
    import {
      to = aws_bedrock_agentcore_memory_strategy.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Configuration AgentcoreMemoryStrategyConfiguration
    Custom configuration block. Required when type is CUSTOM, must be omitted for other types. See configuration Block below.
    Description string
    Description of the memory strategy. Once set, a description cannot be removed via update because the service API ignores a null description and retains the previously stored value.
    MemoryExecutionRoleArn string
    ARN of the IAM role that the memory service assumes to perform operations.

    Deprecated: memory_execution_role_arn is deprecated. Use memoryExecutionRoleArn on the aws.bedrock.AgentcoreMemory resource instead.

    MemoryId string
    ID of the memory to associate with this strategy. Changing this forces a new resource.
    MemoryRecordSchema AgentcoreMemoryStrategyMemoryRecordSchema
    Schema for metadata fields on records generated by this strategy. Valid for all strategy types. See memoryRecordSchema Block below.
    MemoryStrategyId string
    Unique identifier of the Memory Strategy. This corresponds to the service strategyId identifier (AWS API / CloudFormation terminology).
    Name string
    Name of the memory strategy. Changing this forces a new resource, because the service API does not support renaming a strategy.
    NamespaceTemplates List<string>
    Set containing exactly one namespace template where this strategy applies (for example /strategies/{memoryStrategyId}/actors/{actorId}/sessions/{sessionId}). Namespace templates help organize and scope memory content. Exactly one of namespaceTemplates or namespaces must be configured for all strategies except CUSTOM strategies using SELF_MANAGED configuration.
    Namespaces List<string>
    Set of namespace identifiers where this strategy applies. Exactly one of namespaces or namespaceTemplates must be configured. The API treats this as a legacy parameter; prefer namespaceTemplates. Since the API mirrors the two fields, switching an existing configuration from namespaces to namespaceTemplates with the same value is an in-place no-op.

    Deprecated: namespaces is deprecated. Use namespaceTemplates instead.

    ReflectionConfiguration AgentcoreMemoryStrategyReflectionConfiguration
    Configuration for the reflections created with the episodic memory strategy. Valid when type is EPISODIC, must be omitted for other types. See reflectionConfiguration Block below.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Timeouts AgentcoreMemoryStrategyTimeouts
    Type string

    Type of memory strategy. Valid values: SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC, CUSTOM. Changing this forces a new resource. Note that only one strategy of each built-in type (SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC) can exist per memory.

    The following arguments are optional:

    Configuration AgentcoreMemoryStrategyConfigurationArgs
    Custom configuration block. Required when type is CUSTOM, must be omitted for other types. See configuration Block below.
    Description string
    Description of the memory strategy. Once set, a description cannot be removed via update because the service API ignores a null description and retains the previously stored value.
    MemoryExecutionRoleArn string
    ARN of the IAM role that the memory service assumes to perform operations.

    Deprecated: memory_execution_role_arn is deprecated. Use memoryExecutionRoleArn on the aws.bedrock.AgentcoreMemory resource instead.

    MemoryId string
    ID of the memory to associate with this strategy. Changing this forces a new resource.
    MemoryRecordSchema AgentcoreMemoryStrategyMemoryRecordSchemaArgs
    Schema for metadata fields on records generated by this strategy. Valid for all strategy types. See memoryRecordSchema Block below.
    MemoryStrategyId string
    Unique identifier of the Memory Strategy. This corresponds to the service strategyId identifier (AWS API / CloudFormation terminology).
    Name string
    Name of the memory strategy. Changing this forces a new resource, because the service API does not support renaming a strategy.
    NamespaceTemplates []string
    Set containing exactly one namespace template where this strategy applies (for example /strategies/{memoryStrategyId}/actors/{actorId}/sessions/{sessionId}). Namespace templates help organize and scope memory content. Exactly one of namespaceTemplates or namespaces must be configured for all strategies except CUSTOM strategies using SELF_MANAGED configuration.
    Namespaces []string
    Set of namespace identifiers where this strategy applies. Exactly one of namespaces or namespaceTemplates must be configured. The API treats this as a legacy parameter; prefer namespaceTemplates. Since the API mirrors the two fields, switching an existing configuration from namespaces to namespaceTemplates with the same value is an in-place no-op.

    Deprecated: namespaces is deprecated. Use namespaceTemplates instead.

    ReflectionConfiguration AgentcoreMemoryStrategyReflectionConfigurationArgs
    Configuration for the reflections created with the episodic memory strategy. Valid when type is EPISODIC, must be omitted for other types. See reflectionConfiguration Block below.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Timeouts AgentcoreMemoryStrategyTimeoutsArgs
    Type string

    Type of memory strategy. Valid values: SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC, CUSTOM. Changing this forces a new resource. Note that only one strategy of each built-in type (SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC) can exist per memory.

    The following arguments are optional:

    configuration object
    Custom configuration block. Required when type is CUSTOM, must be omitted for other types. See configuration Block below.
    description string
    Description of the memory strategy. Once set, a description cannot be removed via update because the service API ignores a null description and retains the previously stored value.
    memory_execution_role_arn string
    ARN of the IAM role that the memory service assumes to perform operations.

    Deprecated: memory_execution_role_arn is deprecated. Use memoryExecutionRoleArn on the aws.bedrock.AgentcoreMemory resource instead.

    memory_id string
    ID of the memory to associate with this strategy. Changing this forces a new resource.
    memory_record_schema object
    Schema for metadata fields on records generated by this strategy. Valid for all strategy types. See memoryRecordSchema Block below.
    memory_strategy_id string
    Unique identifier of the Memory Strategy. This corresponds to the service strategyId identifier (AWS API / CloudFormation terminology).
    name string
    Name of the memory strategy. Changing this forces a new resource, because the service API does not support renaming a strategy.
    namespace_templates list(string)
    Set containing exactly one namespace template where this strategy applies (for example /strategies/{memoryStrategyId}/actors/{actorId}/sessions/{sessionId}). Namespace templates help organize and scope memory content. Exactly one of namespaceTemplates or namespaces must be configured for all strategies except CUSTOM strategies using SELF_MANAGED configuration.
    namespaces list(string)
    Set of namespace identifiers where this strategy applies. Exactly one of namespaces or namespaceTemplates must be configured. The API treats this as a legacy parameter; prefer namespaceTemplates. Since the API mirrors the two fields, switching an existing configuration from namespaces to namespaceTemplates with the same value is an in-place no-op.

    Deprecated: namespaces is deprecated. Use namespaceTemplates instead.

    reflection_configuration object
    Configuration for the reflections created with the episodic memory strategy. Valid when type is EPISODIC, must be omitted for other types. See reflectionConfiguration Block below.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    timeouts object
    type string

    Type of memory strategy. Valid values: SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC, CUSTOM. Changing this forces a new resource. Note that only one strategy of each built-in type (SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC) can exist per memory.

    The following arguments are optional:

    configuration AgentcoreMemoryStrategyConfiguration
    Custom configuration block. Required when type is CUSTOM, must be omitted for other types. See configuration Block below.
    description String
    Description of the memory strategy. Once set, a description cannot be removed via update because the service API ignores a null description and retains the previously stored value.
    memoryExecutionRoleArn String
    ARN of the IAM role that the memory service assumes to perform operations.

    Deprecated: memory_execution_role_arn is deprecated. Use memoryExecutionRoleArn on the aws.bedrock.AgentcoreMemory resource instead.

    memoryId String
    ID of the memory to associate with this strategy. Changing this forces a new resource.
    memoryRecordSchema AgentcoreMemoryStrategyMemoryRecordSchema
    Schema for metadata fields on records generated by this strategy. Valid for all strategy types. See memoryRecordSchema Block below.
    memoryStrategyId String
    Unique identifier of the Memory Strategy. This corresponds to the service strategyId identifier (AWS API / CloudFormation terminology).
    name String
    Name of the memory strategy. Changing this forces a new resource, because the service API does not support renaming a strategy.
    namespaceTemplates List<String>
    Set containing exactly one namespace template where this strategy applies (for example /strategies/{memoryStrategyId}/actors/{actorId}/sessions/{sessionId}). Namespace templates help organize and scope memory content. Exactly one of namespaceTemplates or namespaces must be configured for all strategies except CUSTOM strategies using SELF_MANAGED configuration.
    namespaces List<String>
    Set of namespace identifiers where this strategy applies. Exactly one of namespaces or namespaceTemplates must be configured. The API treats this as a legacy parameter; prefer namespaceTemplates. Since the API mirrors the two fields, switching an existing configuration from namespaces to namespaceTemplates with the same value is an in-place no-op.

    Deprecated: namespaces is deprecated. Use namespaceTemplates instead.

    reflectionConfiguration AgentcoreMemoryStrategyReflectionConfiguration
    Configuration for the reflections created with the episodic memory strategy. Valid when type is EPISODIC, must be omitted for other types. See reflectionConfiguration Block below.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    timeouts AgentcoreMemoryStrategyTimeouts
    type String

    Type of memory strategy. Valid values: SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC, CUSTOM. Changing this forces a new resource. Note that only one strategy of each built-in type (SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC) can exist per memory.

    The following arguments are optional:

    configuration AgentcoreMemoryStrategyConfiguration
    Custom configuration block. Required when type is CUSTOM, must be omitted for other types. See configuration Block below.
    description string
    Description of the memory strategy. Once set, a description cannot be removed via update because the service API ignores a null description and retains the previously stored value.
    memoryExecutionRoleArn string
    ARN of the IAM role that the memory service assumes to perform operations.

    Deprecated: memory_execution_role_arn is deprecated. Use memoryExecutionRoleArn on the aws.bedrock.AgentcoreMemory resource instead.

    memoryId string
    ID of the memory to associate with this strategy. Changing this forces a new resource.
    memoryRecordSchema AgentcoreMemoryStrategyMemoryRecordSchema
    Schema for metadata fields on records generated by this strategy. Valid for all strategy types. See memoryRecordSchema Block below.
    memoryStrategyId string
    Unique identifier of the Memory Strategy. This corresponds to the service strategyId identifier (AWS API / CloudFormation terminology).
    name string
    Name of the memory strategy. Changing this forces a new resource, because the service API does not support renaming a strategy.
    namespaceTemplates string[]
    Set containing exactly one namespace template where this strategy applies (for example /strategies/{memoryStrategyId}/actors/{actorId}/sessions/{sessionId}). Namespace templates help organize and scope memory content. Exactly one of namespaceTemplates or namespaces must be configured for all strategies except CUSTOM strategies using SELF_MANAGED configuration.
    namespaces string[]
    Set of namespace identifiers where this strategy applies. Exactly one of namespaces or namespaceTemplates must be configured. The API treats this as a legacy parameter; prefer namespaceTemplates. Since the API mirrors the two fields, switching an existing configuration from namespaces to namespaceTemplates with the same value is an in-place no-op.

    Deprecated: namespaces is deprecated. Use namespaceTemplates instead.

    reflectionConfiguration AgentcoreMemoryStrategyReflectionConfiguration
    Configuration for the reflections created with the episodic memory strategy. Valid when type is EPISODIC, must be omitted for other types. See reflectionConfiguration Block below.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    timeouts AgentcoreMemoryStrategyTimeouts
    type string

    Type of memory strategy. Valid values: SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC, CUSTOM. Changing this forces a new resource. Note that only one strategy of each built-in type (SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC) can exist per memory.

    The following arguments are optional:

    configuration AgentcoreMemoryStrategyConfigurationArgs
    Custom configuration block. Required when type is CUSTOM, must be omitted for other types. See configuration Block below.
    description str
    Description of the memory strategy. Once set, a description cannot be removed via update because the service API ignores a null description and retains the previously stored value.
    memory_execution_role_arn str
    ARN of the IAM role that the memory service assumes to perform operations.

    Deprecated: memory_execution_role_arn is deprecated. Use memoryExecutionRoleArn on the aws.bedrock.AgentcoreMemory resource instead.

    memory_id str
    ID of the memory to associate with this strategy. Changing this forces a new resource.
    memory_record_schema AgentcoreMemoryStrategyMemoryRecordSchemaArgs
    Schema for metadata fields on records generated by this strategy. Valid for all strategy types. See memoryRecordSchema Block below.
    memory_strategy_id str
    Unique identifier of the Memory Strategy. This corresponds to the service strategyId identifier (AWS API / CloudFormation terminology).
    name str
    Name of the memory strategy. Changing this forces a new resource, because the service API does not support renaming a strategy.
    namespace_templates Sequence[str]
    Set containing exactly one namespace template where this strategy applies (for example /strategies/{memoryStrategyId}/actors/{actorId}/sessions/{sessionId}). Namespace templates help organize and scope memory content. Exactly one of namespaceTemplates or namespaces must be configured for all strategies except CUSTOM strategies using SELF_MANAGED configuration.
    namespaces Sequence[str]
    Set of namespace identifiers where this strategy applies. Exactly one of namespaces or namespaceTemplates must be configured. The API treats this as a legacy parameter; prefer namespaceTemplates. Since the API mirrors the two fields, switching an existing configuration from namespaces to namespaceTemplates with the same value is an in-place no-op.

    Deprecated: namespaces is deprecated. Use namespaceTemplates instead.

    reflection_configuration AgentcoreMemoryStrategyReflectionConfigurationArgs
    Configuration for the reflections created with the episodic memory strategy. Valid when type is EPISODIC, must be omitted for other types. See reflectionConfiguration Block below.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    timeouts AgentcoreMemoryStrategyTimeoutsArgs
    type str

    Type of memory strategy. Valid values: SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC, CUSTOM. Changing this forces a new resource. Note that only one strategy of each built-in type (SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC) can exist per memory.

    The following arguments are optional:

    configuration Property Map
    Custom configuration block. Required when type is CUSTOM, must be omitted for other types. See configuration Block below.
    description String
    Description of the memory strategy. Once set, a description cannot be removed via update because the service API ignores a null description and retains the previously stored value.
    memoryExecutionRoleArn String
    ARN of the IAM role that the memory service assumes to perform operations.

    Deprecated: memory_execution_role_arn is deprecated. Use memoryExecutionRoleArn on the aws.bedrock.AgentcoreMemory resource instead.

    memoryId String
    ID of the memory to associate with this strategy. Changing this forces a new resource.
    memoryRecordSchema Property Map
    Schema for metadata fields on records generated by this strategy. Valid for all strategy types. See memoryRecordSchema Block below.
    memoryStrategyId String
    Unique identifier of the Memory Strategy. This corresponds to the service strategyId identifier (AWS API / CloudFormation terminology).
    name String
    Name of the memory strategy. Changing this forces a new resource, because the service API does not support renaming a strategy.
    namespaceTemplates List<String>
    Set containing exactly one namespace template where this strategy applies (for example /strategies/{memoryStrategyId}/actors/{actorId}/sessions/{sessionId}). Namespace templates help organize and scope memory content. Exactly one of namespaceTemplates or namespaces must be configured for all strategies except CUSTOM strategies using SELF_MANAGED configuration.
    namespaces List<String>
    Set of namespace identifiers where this strategy applies. Exactly one of namespaces or namespaceTemplates must be configured. The API treats this as a legacy parameter; prefer namespaceTemplates. Since the API mirrors the two fields, switching an existing configuration from namespaces to namespaceTemplates with the same value is an in-place no-op.

    Deprecated: namespaces is deprecated. Use namespaceTemplates instead.

    reflectionConfiguration Property Map
    Configuration for the reflections created with the episodic memory strategy. Valid when type is EPISODIC, must be omitted for other types. See reflectionConfiguration Block below.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    timeouts Property Map
    type String

    Type of memory strategy. Valid values: SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC, CUSTOM. Changing this forces a new resource. Note that only one strategy of each built-in type (SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC) can exist per memory.

    The following arguments are optional:

    Supporting Types

    AgentcoreMemoryStrategyConfiguration, AgentcoreMemoryStrategyConfigurationArgs

    Type string
    Type of custom override. Valid values: SEMANTIC_OVERRIDE, SUMMARY_OVERRIDE, USER_PREFERENCE_OVERRIDE, EPISODIC_OVERRIDE, SELF_MANAGED. Changing this forces a new resource.
    Consolidation AgentcoreMemoryStrategyConfigurationConsolidation
    Consolidation configuration for the memory strategy. See consolidation Block below. Cannot be used with type set to SELF_MANAGED. Once added, this block cannot be removed without recreating the resource.
    Extraction AgentcoreMemoryStrategyConfigurationExtraction
    Extraction configuration for the memory strategy. See extraction Block below. Cannot be used with type set to SUMMARY_OVERRIDE or SELF_MANAGED. Once added, this block cannot be removed without recreating the resource.
    Reflection AgentcoreMemoryStrategyConfigurationReflection
    Reflection configuration for the memory strategy. See reflection Block below. Can only be used, and is required, with type set to EPISODIC_OVERRIDE. Once added, this block cannot be removed without recreating the resource.
    SelfManagedConfiguration AgentcoreMemoryStrategyConfigurationSelfManagedConfiguration
    Self-managed processing configuration. Required when type is SELF_MANAGED and only valid for that type. See selfManagedConfiguration Block below.
    Type string
    Type of custom override. Valid values: SEMANTIC_OVERRIDE, SUMMARY_OVERRIDE, USER_PREFERENCE_OVERRIDE, EPISODIC_OVERRIDE, SELF_MANAGED. Changing this forces a new resource.
    Consolidation AgentcoreMemoryStrategyConfigurationConsolidation
    Consolidation configuration for the memory strategy. See consolidation Block below. Cannot be used with type set to SELF_MANAGED. Once added, this block cannot be removed without recreating the resource.
    Extraction AgentcoreMemoryStrategyConfigurationExtraction
    Extraction configuration for the memory strategy. See extraction Block below. Cannot be used with type set to SUMMARY_OVERRIDE or SELF_MANAGED. Once added, this block cannot be removed without recreating the resource.
    Reflection AgentcoreMemoryStrategyConfigurationReflection
    Reflection configuration for the memory strategy. See reflection Block below. Can only be used, and is required, with type set to EPISODIC_OVERRIDE. Once added, this block cannot be removed without recreating the resource.
    SelfManagedConfiguration AgentcoreMemoryStrategyConfigurationSelfManagedConfiguration
    Self-managed processing configuration. Required when type is SELF_MANAGED and only valid for that type. See selfManagedConfiguration Block below.
    type string
    Type of custom override. Valid values: SEMANTIC_OVERRIDE, SUMMARY_OVERRIDE, USER_PREFERENCE_OVERRIDE, EPISODIC_OVERRIDE, SELF_MANAGED. Changing this forces a new resource.
    consolidation object
    Consolidation configuration for the memory strategy. See consolidation Block below. Cannot be used with type set to SELF_MANAGED. Once added, this block cannot be removed without recreating the resource.
    extraction object
    Extraction configuration for the memory strategy. See extraction Block below. Cannot be used with type set to SUMMARY_OVERRIDE or SELF_MANAGED. Once added, this block cannot be removed without recreating the resource.
    reflection object
    Reflection configuration for the memory strategy. See reflection Block below. Can only be used, and is required, with type set to EPISODIC_OVERRIDE. Once added, this block cannot be removed without recreating the resource.
    self_managed_configuration object
    Self-managed processing configuration. Required when type is SELF_MANAGED and only valid for that type. See selfManagedConfiguration Block below.
    type String
    Type of custom override. Valid values: SEMANTIC_OVERRIDE, SUMMARY_OVERRIDE, USER_PREFERENCE_OVERRIDE, EPISODIC_OVERRIDE, SELF_MANAGED. Changing this forces a new resource.
    consolidation AgentcoreMemoryStrategyConfigurationConsolidation
    Consolidation configuration for the memory strategy. See consolidation Block below. Cannot be used with type set to SELF_MANAGED. Once added, this block cannot be removed without recreating the resource.
    extraction AgentcoreMemoryStrategyConfigurationExtraction
    Extraction configuration for the memory strategy. See extraction Block below. Cannot be used with type set to SUMMARY_OVERRIDE or SELF_MANAGED. Once added, this block cannot be removed without recreating the resource.
    reflection AgentcoreMemoryStrategyConfigurationReflection
    Reflection configuration for the memory strategy. See reflection Block below. Can only be used, and is required, with type set to EPISODIC_OVERRIDE. Once added, this block cannot be removed without recreating the resource.
    selfManagedConfiguration AgentcoreMemoryStrategyConfigurationSelfManagedConfiguration
    Self-managed processing configuration. Required when type is SELF_MANAGED and only valid for that type. See selfManagedConfiguration Block below.
    type string
    Type of custom override. Valid values: SEMANTIC_OVERRIDE, SUMMARY_OVERRIDE, USER_PREFERENCE_OVERRIDE, EPISODIC_OVERRIDE, SELF_MANAGED. Changing this forces a new resource.
    consolidation AgentcoreMemoryStrategyConfigurationConsolidation
    Consolidation configuration for the memory strategy. See consolidation Block below. Cannot be used with type set to SELF_MANAGED. Once added, this block cannot be removed without recreating the resource.
    extraction AgentcoreMemoryStrategyConfigurationExtraction
    Extraction configuration for the memory strategy. See extraction Block below. Cannot be used with type set to SUMMARY_OVERRIDE or SELF_MANAGED. Once added, this block cannot be removed without recreating the resource.
    reflection AgentcoreMemoryStrategyConfigurationReflection
    Reflection configuration for the memory strategy. See reflection Block below. Can only be used, and is required, with type set to EPISODIC_OVERRIDE. Once added, this block cannot be removed without recreating the resource.
    selfManagedConfiguration AgentcoreMemoryStrategyConfigurationSelfManagedConfiguration
    Self-managed processing configuration. Required when type is SELF_MANAGED and only valid for that type. See selfManagedConfiguration Block below.
    type str
    Type of custom override. Valid values: SEMANTIC_OVERRIDE, SUMMARY_OVERRIDE, USER_PREFERENCE_OVERRIDE, EPISODIC_OVERRIDE, SELF_MANAGED. Changing this forces a new resource.
    consolidation AgentcoreMemoryStrategyConfigurationConsolidation
    Consolidation configuration for the memory strategy. See consolidation Block below. Cannot be used with type set to SELF_MANAGED. Once added, this block cannot be removed without recreating the resource.
    extraction AgentcoreMemoryStrategyConfigurationExtraction
    Extraction configuration for the memory strategy. See extraction Block below. Cannot be used with type set to SUMMARY_OVERRIDE or SELF_MANAGED. Once added, this block cannot be removed without recreating the resource.
    reflection AgentcoreMemoryStrategyConfigurationReflection
    Reflection configuration for the memory strategy. See reflection Block below. Can only be used, and is required, with type set to EPISODIC_OVERRIDE. Once added, this block cannot be removed without recreating the resource.
    self_managed_configuration AgentcoreMemoryStrategyConfigurationSelfManagedConfiguration
    Self-managed processing configuration. Required when type is SELF_MANAGED and only valid for that type. See selfManagedConfiguration Block below.
    type String
    Type of custom override. Valid values: SEMANTIC_OVERRIDE, SUMMARY_OVERRIDE, USER_PREFERENCE_OVERRIDE, EPISODIC_OVERRIDE, SELF_MANAGED. Changing this forces a new resource.
    consolidation Property Map
    Consolidation configuration for the memory strategy. See consolidation Block below. Cannot be used with type set to SELF_MANAGED. Once added, this block cannot be removed without recreating the resource.
    extraction Property Map
    Extraction configuration for the memory strategy. See extraction Block below. Cannot be used with type set to SUMMARY_OVERRIDE or SELF_MANAGED. Once added, this block cannot be removed without recreating the resource.
    reflection Property Map
    Reflection configuration for the memory strategy. See reflection Block below. Can only be used, and is required, with type set to EPISODIC_OVERRIDE. Once added, this block cannot be removed without recreating the resource.
    selfManagedConfiguration Property Map
    Self-managed processing configuration. Required when type is SELF_MANAGED and only valid for that type. See selfManagedConfiguration Block below.

    AgentcoreMemoryStrategyConfigurationConsolidation, AgentcoreMemoryStrategyConfigurationConsolidationArgs

    AppendToPrompt string
    Additional text to append to the model prompt for consolidation processing.
    ModelId string
    ID of the foundation model to use for consolidation processing.
    AppendToPrompt string
    Additional text to append to the model prompt for consolidation processing.
    ModelId string
    ID of the foundation model to use for consolidation processing.
    append_to_prompt string
    Additional text to append to the model prompt for consolidation processing.
    model_id string
    ID of the foundation model to use for consolidation processing.
    appendToPrompt String
    Additional text to append to the model prompt for consolidation processing.
    modelId String
    ID of the foundation model to use for consolidation processing.
    appendToPrompt string
    Additional text to append to the model prompt for consolidation processing.
    modelId string
    ID of the foundation model to use for consolidation processing.
    append_to_prompt str
    Additional text to append to the model prompt for consolidation processing.
    model_id str
    ID of the foundation model to use for consolidation processing.
    appendToPrompt String
    Additional text to append to the model prompt for consolidation processing.
    modelId String
    ID of the foundation model to use for consolidation processing.

    AgentcoreMemoryStrategyConfigurationExtraction, AgentcoreMemoryStrategyConfigurationExtractionArgs

    AppendToPrompt string
    Additional text to append to the model prompt for extraction processing.
    ModelId string
    ID of the foundation model to use for extraction processing.
    AppendToPrompt string
    Additional text to append to the model prompt for extraction processing.
    ModelId string
    ID of the foundation model to use for extraction processing.
    append_to_prompt string
    Additional text to append to the model prompt for extraction processing.
    model_id string
    ID of the foundation model to use for extraction processing.
    appendToPrompt String
    Additional text to append to the model prompt for extraction processing.
    modelId String
    ID of the foundation model to use for extraction processing.
    appendToPrompt string
    Additional text to append to the model prompt for extraction processing.
    modelId string
    ID of the foundation model to use for extraction processing.
    append_to_prompt str
    Additional text to append to the model prompt for extraction processing.
    model_id str
    ID of the foundation model to use for extraction processing.
    appendToPrompt String
    Additional text to append to the model prompt for extraction processing.
    modelId String
    ID of the foundation model to use for extraction processing.

    AgentcoreMemoryStrategyConfigurationReflection, AgentcoreMemoryStrategyConfigurationReflectionArgs

    AppendToPrompt string
    Additional text to append to the model prompt for reflection processing.
    ModelId string
    ID of the foundation model to use for reflection processing.
    NamespaceTemplates List<string>
    Namespace templates for episodic reflection. Can be less nested than the episodic namespaces.
    AppendToPrompt string
    Additional text to append to the model prompt for reflection processing.
    ModelId string
    ID of the foundation model to use for reflection processing.
    NamespaceTemplates []string
    Namespace templates for episodic reflection. Can be less nested than the episodic namespaces.
    append_to_prompt string
    Additional text to append to the model prompt for reflection processing.
    model_id string
    ID of the foundation model to use for reflection processing.
    namespace_templates list(string)
    Namespace templates for episodic reflection. Can be less nested than the episodic namespaces.
    appendToPrompt String
    Additional text to append to the model prompt for reflection processing.
    modelId String
    ID of the foundation model to use for reflection processing.
    namespaceTemplates List<String>
    Namespace templates for episodic reflection. Can be less nested than the episodic namespaces.
    appendToPrompt string
    Additional text to append to the model prompt for reflection processing.
    modelId string
    ID of the foundation model to use for reflection processing.
    namespaceTemplates string[]
    Namespace templates for episodic reflection. Can be less nested than the episodic namespaces.
    append_to_prompt str
    Additional text to append to the model prompt for reflection processing.
    model_id str
    ID of the foundation model to use for reflection processing.
    namespace_templates Sequence[str]
    Namespace templates for episodic reflection. Can be less nested than the episodic namespaces.
    appendToPrompt String
    Additional text to append to the model prompt for reflection processing.
    modelId String
    ID of the foundation model to use for reflection processing.
    namespaceTemplates List<String>
    Namespace templates for episodic reflection. Can be less nested than the episodic namespaces.

    AgentcoreMemoryStrategyConfigurationSelfManagedConfiguration, AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationArgs

    InvocationConfiguration AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationInvocationConfiguration
    Configuration used to invoke the self-managed memory processing pipeline. See invocationConfiguration Block below.
    HistoricalContextWindowSize int
    Number of historical messages to include in processing context. Valid range: 0 to 50. Defaults to 4.
    TriggerConditions AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditions
    Conditions that trigger memory processing. See triggerConditions Block below. When omitted, the service supplies the documented defaults for all three trigger types.
    TriggerConditionsActuals List<AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActual>
    Actual deployed trigger conditions.
    InvocationConfiguration AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationInvocationConfiguration
    Configuration used to invoke the self-managed memory processing pipeline. See invocationConfiguration Block below.
    HistoricalContextWindowSize int
    Number of historical messages to include in processing context. Valid range: 0 to 50. Defaults to 4.
    TriggerConditions AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditions
    Conditions that trigger memory processing. See triggerConditions Block below. When omitted, the service supplies the documented defaults for all three trigger types.
    TriggerConditionsActuals []AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActual
    Actual deployed trigger conditions.
    invocation_configuration object
    Configuration used to invoke the self-managed memory processing pipeline. See invocationConfiguration Block below.
    historical_context_window_size number
    Number of historical messages to include in processing context. Valid range: 0 to 50. Defaults to 4.
    trigger_conditions object
    Conditions that trigger memory processing. See triggerConditions Block below. When omitted, the service supplies the documented defaults for all three trigger types.
    trigger_conditions_actuals list(object)
    Actual deployed trigger conditions.
    invocationConfiguration AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationInvocationConfiguration
    Configuration used to invoke the self-managed memory processing pipeline. See invocationConfiguration Block below.
    historicalContextWindowSize Integer
    Number of historical messages to include in processing context. Valid range: 0 to 50. Defaults to 4.
    triggerConditions AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditions
    Conditions that trigger memory processing. See triggerConditions Block below. When omitted, the service supplies the documented defaults for all three trigger types.
    triggerConditionsActuals List<AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActual>
    Actual deployed trigger conditions.
    invocationConfiguration AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationInvocationConfiguration
    Configuration used to invoke the self-managed memory processing pipeline. See invocationConfiguration Block below.
    historicalContextWindowSize number
    Number of historical messages to include in processing context. Valid range: 0 to 50. Defaults to 4.
    triggerConditions AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditions
    Conditions that trigger memory processing. See triggerConditions Block below. When omitted, the service supplies the documented defaults for all three trigger types.
    triggerConditionsActuals AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActual[]
    Actual deployed trigger conditions.
    invocation_configuration AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationInvocationConfiguration
    Configuration used to invoke the self-managed memory processing pipeline. See invocationConfiguration Block below.
    historical_context_window_size int
    Number of historical messages to include in processing context. Valid range: 0 to 50. Defaults to 4.
    trigger_conditions AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditions
    Conditions that trigger memory processing. See triggerConditions Block below. When omitted, the service supplies the documented defaults for all three trigger types.
    trigger_conditions_actuals Sequence[AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActual]
    Actual deployed trigger conditions.
    invocationConfiguration Property Map
    Configuration used to invoke the self-managed memory processing pipeline. See invocationConfiguration Block below.
    historicalContextWindowSize Number
    Number of historical messages to include in processing context. Valid range: 0 to 50. Defaults to 4.
    triggerConditions Property Map
    Conditions that trigger memory processing. See triggerConditions Block below. When omitted, the service supplies the documented defaults for all three trigger types.
    triggerConditionsActuals List<Property Map>
    Actual deployed trigger conditions.

    AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationInvocationConfiguration, AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationInvocationConfigurationArgs

    PayloadDeliveryBucketName string
    S3 bucket name for event payload delivery.
    TopicArn string
    ARN of the SNS topic for job notifications.
    PayloadDeliveryBucketName string
    S3 bucket name for event payload delivery.
    TopicArn string
    ARN of the SNS topic for job notifications.
    payload_delivery_bucket_name string
    S3 bucket name for event payload delivery.
    topic_arn string
    ARN of the SNS topic for job notifications.
    payloadDeliveryBucketName String
    S3 bucket name for event payload delivery.
    topicArn String
    ARN of the SNS topic for job notifications.
    payloadDeliveryBucketName string
    S3 bucket name for event payload delivery.
    topicArn string
    ARN of the SNS topic for job notifications.
    payload_delivery_bucket_name str
    S3 bucket name for event payload delivery.
    topic_arn str
    ARN of the SNS topic for job notifications.
    payloadDeliveryBucketName String
    S3 bucket name for event payload delivery.
    topicArn String
    ARN of the SNS topic for job notifications.

    AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditions, AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsArgs

    message_based_trigger object
    Message-based condition. See messageBasedTrigger Block below.
    time_based_trigger object
    Idle-time condition. See timeBasedTrigger Block below.
    token_based_trigger object
    Token-based condition. See tokenBasedTrigger Block below.
    messageBasedTrigger Property Map
    Message-based condition. See messageBasedTrigger Block below.
    timeBasedTrigger Property Map
    Idle-time condition. See timeBasedTrigger Block below.
    tokenBasedTrigger Property Map
    Token-based condition. See tokenBasedTrigger Block below.

    AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActual, AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActualArgs

    message_based_triggers list(object)
    Message-based condition.
    time_based_triggers list(object)
    Idle-time condition.
    token_based_triggers list(object)
    Token-based condition.

    AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActualMessageBasedTrigger, AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActualMessageBasedTriggerArgs

    MessageCount int
    Number of messages that trigger memory processing. Accepts values from 1 to 50.
    MessageCount int
    Number of messages that trigger memory processing. Accepts values from 1 to 50.
    message_count number
    Number of messages that trigger memory processing. Accepts values from 1 to 50.
    messageCount Integer
    Number of messages that trigger memory processing. Accepts values from 1 to 50.
    messageCount number
    Number of messages that trigger memory processing. Accepts values from 1 to 50.
    message_count int
    Number of messages that trigger memory processing. Accepts values from 1 to 50.
    messageCount Number
    Number of messages that trigger memory processing. Accepts values from 1 to 50.

    AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActualTimeBasedTrigger, AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActualTimeBasedTriggerArgs

    IdleSessionTimeout int
    Idle session timeout (seconds) that triggers memory processing. Accepts values from 10 to 3000.
    IdleSessionTimeout int
    Idle session timeout (seconds) that triggers memory processing. Accepts values from 10 to 3000.
    idle_session_timeout number
    Idle session timeout (seconds) that triggers memory processing. Accepts values from 10 to 3000.
    idleSessionTimeout Integer
    Idle session timeout (seconds) that triggers memory processing. Accepts values from 10 to 3000.
    idleSessionTimeout number
    Idle session timeout (seconds) that triggers memory processing. Accepts values from 10 to 3000.
    idle_session_timeout int
    Idle session timeout (seconds) that triggers memory processing. Accepts values from 10 to 3000.
    idleSessionTimeout Number
    Idle session timeout (seconds) that triggers memory processing. Accepts values from 10 to 3000.

    AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActualTokenBasedTrigger, AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsActualTokenBasedTriggerArgs

    TokenCount int
    Number of tokens that trigger memory processing. Accepts values from 100 to 500000.
    TokenCount int
    Number of tokens that trigger memory processing. Accepts values from 100 to 500000.
    token_count number
    Number of tokens that trigger memory processing. Accepts values from 100 to 500000.
    tokenCount Integer
    Number of tokens that trigger memory processing. Accepts values from 100 to 500000.
    tokenCount number
    Number of tokens that trigger memory processing. Accepts values from 100 to 500000.
    token_count int
    Number of tokens that trigger memory processing. Accepts values from 100 to 500000.
    tokenCount Number
    Number of tokens that trigger memory processing. Accepts values from 100 to 500000.

    AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsMessageBasedTrigger, AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsMessageBasedTriggerArgs

    MessageCount int
    Number of messages that trigger memory processing. Accepts values from 1 to 50.
    MessageCount int
    Number of messages that trigger memory processing. Accepts values from 1 to 50.
    message_count number
    Number of messages that trigger memory processing. Accepts values from 1 to 50.
    messageCount Integer
    Number of messages that trigger memory processing. Accepts values from 1 to 50.
    messageCount number
    Number of messages that trigger memory processing. Accepts values from 1 to 50.
    message_count int
    Number of messages that trigger memory processing. Accepts values from 1 to 50.
    messageCount Number
    Number of messages that trigger memory processing. Accepts values from 1 to 50.

    AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsTimeBasedTrigger, AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsTimeBasedTriggerArgs

    IdleSessionTimeout int
    Idle session timeout (seconds) that triggers memory processing. Accepts values from 10 to 3000.
    IdleSessionTimeout int
    Idle session timeout (seconds) that triggers memory processing. Accepts values from 10 to 3000.
    idle_session_timeout number
    Idle session timeout (seconds) that triggers memory processing. Accepts values from 10 to 3000.
    idleSessionTimeout Integer
    Idle session timeout (seconds) that triggers memory processing. Accepts values from 10 to 3000.
    idleSessionTimeout number
    Idle session timeout (seconds) that triggers memory processing. Accepts values from 10 to 3000.
    idle_session_timeout int
    Idle session timeout (seconds) that triggers memory processing. Accepts values from 10 to 3000.
    idleSessionTimeout Number
    Idle session timeout (seconds) that triggers memory processing. Accepts values from 10 to 3000.

    AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsTokenBasedTrigger, AgentcoreMemoryStrategyConfigurationSelfManagedConfigurationTriggerConditionsTokenBasedTriggerArgs

    TokenCount int
    Number of tokens that trigger memory processing. Accepts values from 100 to 500000.
    TokenCount int
    Number of tokens that trigger memory processing. Accepts values from 100 to 500000.
    token_count number
    Number of tokens that trigger memory processing. Accepts values from 100 to 500000.
    tokenCount Integer
    Number of tokens that trigger memory processing. Accepts values from 100 to 500000.
    tokenCount number
    Number of tokens that trigger memory processing. Accepts values from 100 to 500000.
    token_count int
    Number of tokens that trigger memory processing. Accepts values from 100 to 500000.
    tokenCount Number
    Number of tokens that trigger memory processing. Accepts values from 100 to 500000.

    AgentcoreMemoryStrategyMemoryRecordSchema, AgentcoreMemoryStrategyMemoryRecordSchemaArgs

    MetadataSchemas List<AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchema>
    List of metadata field definitions for records generated by this strategy. See metadataSchema Block below.
    MetadataSchemas []AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchema
    List of metadata field definitions for records generated by this strategy. See metadataSchema Block below.
    metadata_schemas list(object)
    List of metadata field definitions for records generated by this strategy. See metadataSchema Block below.
    metadataSchemas List<AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchema>
    List of metadata field definitions for records generated by this strategy. See metadataSchema Block below.
    metadataSchemas AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchema[]
    List of metadata field definitions for records generated by this strategy. See metadataSchema Block below.
    metadata_schemas Sequence[AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchema]
    List of metadata field definitions for records generated by this strategy. See metadataSchema Block below.
    metadataSchemas List<Property Map>
    List of metadata field definitions for records generated by this strategy. See metadataSchema Block below.

    AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchema, AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaArgs

    Key string
    Metadata field name. Must match an indexed key to be queryable via metadata filters.
    ExtractionConfig AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfig
    Configuration for extracting this metadata value from conversational content. Applicable only when extractionType is LLM_INFERRED. See extractionConfig Block below.
    ExtractionType string
    Whether the metadata value is extracted by the LLM or passed through deterministically from the event. Valid values: LLM_INFERRED, STRICTLY_CONSISTENT.
    Type string
    Metadata value type. Valid values: STRING, STRINGLIST, NUMBER.
    Key string
    Metadata field name. Must match an indexed key to be queryable via metadata filters.
    ExtractionConfig AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfig
    Configuration for extracting this metadata value from conversational content. Applicable only when extractionType is LLM_INFERRED. See extractionConfig Block below.
    ExtractionType string
    Whether the metadata value is extracted by the LLM or passed through deterministically from the event. Valid values: LLM_INFERRED, STRICTLY_CONSISTENT.
    Type string
    Metadata value type. Valid values: STRING, STRINGLIST, NUMBER.
    key string
    Metadata field name. Must match an indexed key to be queryable via metadata filters.
    extraction_config object
    Configuration for extracting this metadata value from conversational content. Applicable only when extractionType is LLM_INFERRED. See extractionConfig Block below.
    extraction_type string
    Whether the metadata value is extracted by the LLM or passed through deterministically from the event. Valid values: LLM_INFERRED, STRICTLY_CONSISTENT.
    type string
    Metadata value type. Valid values: STRING, STRINGLIST, NUMBER.
    key String
    Metadata field name. Must match an indexed key to be queryable via metadata filters.
    extractionConfig AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfig
    Configuration for extracting this metadata value from conversational content. Applicable only when extractionType is LLM_INFERRED. See extractionConfig Block below.
    extractionType String
    Whether the metadata value is extracted by the LLM or passed through deterministically from the event. Valid values: LLM_INFERRED, STRICTLY_CONSISTENT.
    type String
    Metadata value type. Valid values: STRING, STRINGLIST, NUMBER.
    key string
    Metadata field name. Must match an indexed key to be queryable via metadata filters.
    extractionConfig AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfig
    Configuration for extracting this metadata value from conversational content. Applicable only when extractionType is LLM_INFERRED. See extractionConfig Block below.
    extractionType string
    Whether the metadata value is extracted by the LLM or passed through deterministically from the event. Valid values: LLM_INFERRED, STRICTLY_CONSISTENT.
    type string
    Metadata value type. Valid values: STRING, STRINGLIST, NUMBER.
    key str
    Metadata field name. Must match an indexed key to be queryable via metadata filters.
    extraction_config AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfig
    Configuration for extracting this metadata value from conversational content. Applicable only when extractionType is LLM_INFERRED. See extractionConfig Block below.
    extraction_type str
    Whether the metadata value is extracted by the LLM or passed through deterministically from the event. Valid values: LLM_INFERRED, STRICTLY_CONSISTENT.
    type str
    Metadata value type. Valid values: STRING, STRINGLIST, NUMBER.
    key String
    Metadata field name. Must match an indexed key to be queryable via metadata filters.
    extractionConfig Property Map
    Configuration for extracting this metadata value from conversational content. Applicable only when extractionType is LLM_INFERRED. See extractionConfig Block below.
    extractionType String
    Whether the metadata value is extracted by the LLM or passed through deterministically from the event. Valid values: LLM_INFERRED, STRICTLY_CONSISTENT.
    type String
    Metadata value type. Valid values: STRING, STRINGLIST, NUMBER.

    AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfig, AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigArgs

    LlmExtractionConfig AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfig
    Model-based extraction configuration. See llmExtractionConfig Block below.
    LlmExtractionConfig AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfig
    Model-based extraction configuration. See llmExtractionConfig Block below.
    llm_extraction_config object
    Model-based extraction configuration. See llmExtractionConfig Block below.
    llmExtractionConfig AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfig
    Model-based extraction configuration. See llmExtractionConfig Block below.
    llmExtractionConfig AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfig
    Model-based extraction configuration. See llmExtractionConfig Block below.
    llm_extraction_config AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfig
    Model-based extraction configuration. See llmExtractionConfig Block below.
    llmExtractionConfig Property Map
    Model-based extraction configuration. See llmExtractionConfig Block below.

    AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfig, AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigArgs

    Definition string
    Description of what this metadata field represents.
    LlmExtractionInstruction string
    Instructions for extraction. Supports built-in operators like LATEST_VALUE or custom natural-language instructions.
    Validation AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigValidation
    Validation rules to constrain extracted values. See validation Block below.
    Definition string
    Description of what this metadata field represents.
    LlmExtractionInstruction string
    Instructions for extraction. Supports built-in operators like LATEST_VALUE or custom natural-language instructions.
    Validation AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigValidation
    Validation rules to constrain extracted values. See validation Block below.
    definition string
    Description of what this metadata field represents.
    llm_extraction_instruction string
    Instructions for extraction. Supports built-in operators like LATEST_VALUE or custom natural-language instructions.
    validation object
    Validation rules to constrain extracted values. See validation Block below.
    definition String
    Description of what this metadata field represents.
    llmExtractionInstruction String
    Instructions for extraction. Supports built-in operators like LATEST_VALUE or custom natural-language instructions.
    validation AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigValidation
    Validation rules to constrain extracted values. See validation Block below.
    definition string
    Description of what this metadata field represents.
    llmExtractionInstruction string
    Instructions for extraction. Supports built-in operators like LATEST_VALUE or custom natural-language instructions.
    validation AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigValidation
    Validation rules to constrain extracted values. See validation Block below.
    definition str
    Description of what this metadata field represents.
    llm_extraction_instruction str
    Instructions for extraction. Supports built-in operators like LATEST_VALUE or custom natural-language instructions.
    validation AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigValidation
    Validation rules to constrain extracted values. See validation Block below.
    definition String
    Description of what this metadata field represents.
    llmExtractionInstruction String
    Instructions for extraction. Supports built-in operators like LATEST_VALUE or custom natural-language instructions.
    validation Property Map
    Validation rules to constrain extracted values. See validation Block below.

    AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigValidation, AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigValidationArgs

    number_validation object
    Validation for NUMBER fields. See numberValidation Block below.
    string_list_validation object
    Validation for STRINGLIST fields. See stringListValidation Block below.
    string_validation object
    Validation for STRING fields. See stringValidation Block below.
    numberValidation Property Map
    Validation for NUMBER fields. See numberValidation Block below.
    stringListValidation Property Map
    Validation for STRINGLIST fields. See stringListValidation Block below.
    stringValidation Property Map
    Validation for STRING fields. See stringValidation Block below.

    AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigValidationNumberValidation, AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigValidationNumberValidationArgs

    MaxValue double
    Maximum allowed value.
    MinValue double
    Minimum allowed value.
    MaxValue float64
    Maximum allowed value.
    MinValue float64
    Minimum allowed value.
    max_value number
    Maximum allowed value.
    min_value number
    Minimum allowed value.
    maxValue Double
    Maximum allowed value.
    minValue Double
    Minimum allowed value.
    maxValue number
    Maximum allowed value.
    minValue number
    Minimum allowed value.
    max_value float
    Maximum allowed value.
    min_value float
    Minimum allowed value.
    maxValue Number
    Maximum allowed value.
    minValue Number
    Minimum allowed value.

    AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigValidationStringListValidation, AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigValidationStringListValidationArgs

    AllowedValues List<string>
    Allowed values for items in this STRINGLIST field.
    MaxItems int
    Maximum number of items in the string list.
    AllowedValues []string
    Allowed values for items in this STRINGLIST field.
    MaxItems int
    Maximum number of items in the string list.
    allowed_values list(string)
    Allowed values for items in this STRINGLIST field.
    max_items number
    Maximum number of items in the string list.
    allowedValues List<String>
    Allowed values for items in this STRINGLIST field.
    maxItems Integer
    Maximum number of items in the string list.
    allowedValues string[]
    Allowed values for items in this STRINGLIST field.
    maxItems number
    Maximum number of items in the string list.
    allowed_values Sequence[str]
    Allowed values for items in this STRINGLIST field.
    max_items int
    Maximum number of items in the string list.
    allowedValues List<String>
    Allowed values for items in this STRINGLIST field.
    maxItems Number
    Maximum number of items in the string list.

    AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigValidationStringValidation, AgentcoreMemoryStrategyMemoryRecordSchemaMetadataSchemaExtractionConfigLlmExtractionConfigValidationStringValidationArgs

    AllowedValues List<string>
    Allowed values for this STRING field.
    AllowedValues []string
    Allowed values for this STRING field.
    allowed_values list(string)
    Allowed values for this STRING field.
    allowedValues List<String>
    Allowed values for this STRING field.
    allowedValues string[]
    Allowed values for this STRING field.
    allowed_values Sequence[str]
    Allowed values for this STRING field.
    allowedValues List<String>
    Allowed values for this STRING field.

    AgentcoreMemoryStrategyReflectionConfiguration, AgentcoreMemoryStrategyReflectionConfigurationArgs

    NamespaceTemplates List<string>
    Namespace templates over which to create reflections. Can be less nested than episode namespaces.
    NamespaceTemplates []string
    Namespace templates over which to create reflections. Can be less nested than episode namespaces.
    namespace_templates list(string)
    Namespace templates over which to create reflections. Can be less nested than episode namespaces.
    namespaceTemplates List<String>
    Namespace templates over which to create reflections. Can be less nested than episode namespaces.
    namespaceTemplates string[]
    Namespace templates over which to create reflections. Can be less nested than episode namespaces.
    namespace_templates Sequence[str]
    Namespace templates over which to create reflections. Can be less nested than episode namespaces.
    namespaceTemplates List<String>
    Namespace templates over which to create reflections. Can be less nested than episode namespaces.

    AgentcoreMemoryStrategyTimeouts, AgentcoreMemoryStrategyTimeoutsArgs

    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    Import

    Identity Schema

    Required

    • memoryId (String) Memory ID.
    • memoryStrategyId (String) Memory strategy ID.

    Optional

    • accountId (String) Account ID where this resource is managed.
    • region (String) Region where this resource is managed.

    Using pulumi import, import memory strategies using memoryId and memoryStrategyId separated by a comma (,). For example:

    $ pulumi import aws:bedrock/agentcoreMemoryStrategy:AgentcoreMemoryStrategy example example_memory-5JcvKJ4GP0,example_memory_strategy-pblFzi8VyW
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo aws logo
    Viewing docs for AWS v7.46.0
    published on Thursday, Sep 10, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial