Class AgentcoreMemoryStrategyState


  • public final class AgentcoreMemoryStrategyState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • configuration

        public java.util.Optional<com.pulumi.core.Output<AgentcoreMemoryStrategyConfigurationArgs>> configuration()
        Returns:
        Custom configuration block. Required when `type` is `CUSTOM`, must be omitted for other types. See `configuration` Block below.
      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        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

        @Deprecated
        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> memoryExecutionRoleArn()
        Deprecated.
        memory_execution_role_arn is deprecated. Use memoryExecutionRoleArn on the aws.bedrock.AgentcoreMemory resource instead.
        Returns:
        ARN of the IAM role that the memory service assumes to perform operations.
      • memoryId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> memoryId()
        Returns:
        ID of the memory to associate with this strategy. Changing this forces a new resource.
      • memoryRecordSchema

        public java.util.Optional<com.pulumi.core.Output<AgentcoreMemoryStrategyMemoryRecordSchemaArgs>> memoryRecordSchema()
        Returns:
        Schema for metadata fields on records generated by this strategy. Valid for all strategy types. See `memoryRecordSchema` Block below.
      • memoryStrategyId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> memoryStrategyId()
        Returns:
        Unique identifier of the Memory Strategy. This corresponds to the service `strategyId` identifier (AWS API / CloudFormation terminology).
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        Name of the memory strategy. Changing this forces a new resource, because the service API does not support renaming a strategy.
      • namespaceTemplates

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> namespaceTemplates()
        Returns:
        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, except for `CUSTOM` strategies using `SELF_MANAGED` configuration, where neither can be configured.
      • namespaces

        @Deprecated
        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> namespaces()
        Deprecated.
        namespaces is deprecated. Use namespaceTemplates instead.
        Returns:
        Set of namespace identifiers where this strategy applies. Exactly one of `namespaces` or `namespaceTemplates` must be configured, except for `CUSTOM` strategies using `SELF_MANAGED` configuration, where neither can 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.
      • reflectionConfiguration

        public java.util.Optional<com.pulumi.core.Output<AgentcoreMemoryStrategyReflectionConfigurationArgs>> reflectionConfiguration()
        Returns:
        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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • type

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> type()
        Returns:
        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: