Class MemoryProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.bedrockagentcore.MemoryProps.Jsii$Proxy
- All Implemented Interfaces:
MemoryProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
MemoryProps
@Stability(Stable)
@Internal
public static final class MemoryProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements MemoryProps
An implementation for
MemoryProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.bedrockagentcore.MemoryProps
MemoryProps.Builder, MemoryProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(MemoryProps.Builder builder) Constructor that initializes the object based on literal property values passed by theMemoryProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringOptional description for the memory Valid characters are a-z, A-Z, 0-9, _ (underscore), - (hyphen) and spaces The description can have up to 200 characters.final IRoleThe IAM role that provides permissions for the memory to access AWS services when using custom strategies.final DurationShort-term memory expiration in days (between 7 and 365).final IKeyCustom KMS key to use for encryption.final StringThe name of the memory Valid characters are a-z, A-Z, 0-9, _ (underscore) The name must start with a letter and can be up to 48 characters long Pattern: [a-zA-Z][a-zA-Z0-9_]{0,47}.final List<IMemoryStrategy> If you need long-term memory for context recall across sessions, you can setup memory extraction strategies to extract the relevant memory from the raw events.final List<StreamDeliveryResource> Stream delivery resources for real-time push-based streaming of memory record lifecycle events (created, updated, deleted) to Amazon Kinesis Data Streams.getTags()Tags (optional) A list of key:value pairs of tags to apply to this memory resource.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theMemoryProps.Builder.
-
-
Method Details
-
getDescription
Description copied from interface:MemoryPropsOptional description for the memory Valid characters are a-z, A-Z, 0-9, _ (underscore), - (hyphen) and spaces The description can have up to 200 characters.Default: - No description
- Specified by:
getDescriptionin interfaceMemoryProps
-
getExecutionRole
Description copied from interface:MemoryPropsThe IAM role that provides permissions for the memory to access AWS services when using custom strategies.Default: - A new role will be created.
- Specified by:
getExecutionRolein interfaceMemoryProps
-
getExpirationDuration
Description copied from interface:MemoryPropsShort-term memory expiration in days (between 7 and 365).Sets the short-term (raw event) memory retention. Events older than the specified duration will expire and no longer be stored.
Default: - 90 days
- Specified by:
getExpirationDurationin interfaceMemoryProps
-
getKmsKey
Description copied from interface:MemoryPropsCustom KMS key to use for encryption.Default: - Your data is encrypted with a key that AWS owns and manages for you
- Specified by:
getKmsKeyin interfaceMemoryProps
-
getMemoryName
Description copied from interface:MemoryPropsThe name of the memory Valid characters are a-z, A-Z, 0-9, _ (underscore) The name must start with a letter and can be up to 48 characters long Pattern: [a-zA-Z][a-zA-Z0-9_]{0,47}.Default: - auto generate
- Specified by:
getMemoryNamein interfaceMemoryProps
-
getMemoryStrategies
Description copied from interface:MemoryPropsIf you need long-term memory for context recall across sessions, you can setup memory extraction strategies to extract the relevant memory from the raw events.Default: - No extraction strategies (short term memory only)
- Specified by:
getMemoryStrategiesin interfaceMemoryProps
-
getStreamDeliveryResources
Description copied from interface:MemoryPropsStream delivery resources for real-time push-based streaming of memory record lifecycle events (created, updated, deleted) to Amazon Kinesis Data Streams.The memory execution role will automatically be granted write permissions to each stream.
Only one stream delivery resource is currently supported (CloudFormation maximum); providing more than one fails at synth with
TooManyStreamDeliveryResources:IStream stream; Memory.Builder.create(this, "Memory") .streamDeliveryResources(List.of(StreamDeliveryResource.kinesis(stream, KinesisStreamDeliveryOptions.builder() .contentConfigurations(List.of(StreamDeliveryContentConfiguration.builder() .type(StreamDeliveryContentType.MEMORY_RECORDS) .level(StreamDeliveryContentLevel.METADATA_ONLY) .build())) .build()))) .build();Default: - No stream delivery (events are not pushed to Kinesis)
- Specified by:
getStreamDeliveryResourcesin interfaceMemoryProps- See Also:
-
getTags
Description copied from interface:MemoryPropsTags (optional) A list of key:value pairs of tags to apply to this memory resource.Default: - no tags
- Specified by:
getTagsin interfaceMemoryProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-