aws-cdk-lib 2.220.0__py3-none-any.whl → 2.221.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +21 -18
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.220.0.jsii.tgz → aws-cdk-lib@2.221.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +3 -0
- aws_cdk/aws_accessanalyzer/__init__.py +3 -0
- aws_cdk/aws_acmpca/__init__.py +4 -1
- aws_cdk/aws_aiops/__init__.py +3 -0
- aws_cdk/aws_amazonmq/__init__.py +3 -29
- aws_cdk/aws_amplify/__init__.py +3 -0
- aws_cdk/aws_amplifyuibuilder/__init__.py +3 -0
- aws_cdk/aws_apigateway/__init__.py +3 -0
- aws_cdk/aws_apigatewayv2/__init__.py +3 -0
- aws_cdk/aws_appconfig/__init__.py +3 -29
- aws_cdk/aws_appflow/__init__.py +3 -0
- aws_cdk/aws_appintegrations/__init__.py +3 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +3 -0
- aws_cdk/aws_applicationinsights/__init__.py +3 -0
- aws_cdk/aws_applicationsignals/__init__.py +4 -1
- aws_cdk/aws_appmesh/__init__.py +3 -0
- aws_cdk/aws_apprunner/__init__.py +3 -0
- aws_cdk/aws_appstream/__init__.py +3 -0
- aws_cdk/aws_appsync/__init__.py +3 -0
- aws_cdk/aws_apptest/__init__.py +3 -0
- aws_cdk/aws_aps/__init__.py +1168 -83
- aws_cdk/aws_arcregionswitch/__init__.py +3 -0
- aws_cdk/aws_arczonalshift/__init__.py +3 -0
- aws_cdk/aws_athena/__init__.py +3 -0
- aws_cdk/aws_auditmanager/__init__.py +3 -0
- aws_cdk/aws_autoscaling/__init__.py +3 -0
- aws_cdk/aws_autoscaling_common/__init__.py +3 -0
- aws_cdk/aws_autoscalingplans/__init__.py +3 -0
- aws_cdk/aws_b2bi/__init__.py +3 -0
- aws_cdk/aws_backup/__init__.py +3 -29
- aws_cdk/aws_backupgateway/__init__.py +3 -0
- aws_cdk/aws_batch/__init__.py +3 -0
- aws_cdk/aws_bcmdataexports/__init__.py +3 -0
- aws_cdk/aws_bedrock/__init__.py +9 -29
- aws_cdk/aws_bedrockagentcore/__init__.py +782 -169
- aws_cdk/aws_billingconductor/__init__.py +3 -0
- aws_cdk/aws_budgets/__init__.py +3 -0
- aws_cdk/aws_cassandra/__init__.py +3 -0
- aws_cdk/aws_ce/__init__.py +3 -0
- aws_cdk/aws_certificatemanager/__init__.py +3 -0
- aws_cdk/aws_chatbot/__init__.py +3 -0
- aws_cdk/aws_cleanrooms/__init__.py +3 -0
- aws_cdk/aws_cleanroomsml/__init__.py +3 -0
- aws_cdk/aws_cloud9/__init__.py +3 -0
- aws_cdk/aws_cloudformation/__init__.py +3 -0
- aws_cdk/aws_cloudfront/__init__.py +69 -3
- aws_cdk/aws_cloudtrail/__init__.py +3 -0
- aws_cdk/aws_cloudwatch/__init__.py +3 -0
- aws_cdk/aws_codeartifact/__init__.py +3 -0
- aws_cdk/aws_codebuild/__init__.py +3 -0
- aws_cdk/aws_codecommit/__init__.py +3 -0
- aws_cdk/aws_codeconnections/__init__.py +3 -0
- aws_cdk/aws_codedeploy/__init__.py +3 -0
- aws_cdk/aws_codeguruprofiler/__init__.py +3 -0
- aws_cdk/aws_codegurureviewer/__init__.py +3 -0
- aws_cdk/aws_codepipeline/__init__.py +3 -0
- aws_cdk/aws_codepipeline_actions/__init__.py +3 -0
- aws_cdk/aws_codestar/__init__.py +3 -0
- aws_cdk/aws_codestarconnections/__init__.py +3 -0
- aws_cdk/aws_codestarnotifications/__init__.py +3 -0
- aws_cdk/aws_cognito/__init__.py +3 -0
- aws_cdk/aws_cognito_identitypool/__init__.py +3 -0
- aws_cdk/aws_comprehend/__init__.py +3 -0
- aws_cdk/aws_config/__init__.py +3 -0
- aws_cdk/aws_connect/__init__.py +1232 -2
- aws_cdk/aws_connectcampaigns/__init__.py +3 -0
- aws_cdk/aws_connectcampaignsv2/__init__.py +3 -0
- aws_cdk/aws_controltower/__init__.py +3 -0
- aws_cdk/aws_cur/__init__.py +3 -0
- aws_cdk/aws_customerprofiles/__init__.py +3 -29
- aws_cdk/aws_databrew/__init__.py +3 -0
- aws_cdk/aws_datapipeline/__init__.py +3 -0
- aws_cdk/aws_datasync/__init__.py +3 -0
- aws_cdk/aws_datazone/__init__.py +17 -15
- aws_cdk/aws_dax/__init__.py +3 -0
- aws_cdk/aws_deadline/__init__.py +3 -0
- aws_cdk/aws_detective/__init__.py +3 -0
- aws_cdk/aws_devicefarm/__init__.py +3 -0
- aws_cdk/aws_devopsguru/__init__.py +3 -0
- aws_cdk/aws_directoryservice/__init__.py +3 -0
- aws_cdk/aws_dlm/__init__.py +3 -0
- aws_cdk/aws_dms/__init__.py +3 -0
- aws_cdk/aws_docdb/__init__.py +14 -3
- aws_cdk/aws_docdbelastic/__init__.py +3 -0
- aws_cdk/aws_dsql/__init__.py +3 -0
- aws_cdk/aws_dynamodb/__init__.py +3 -0
- aws_cdk/aws_ec2/__init__.py +106 -40
- aws_cdk/aws_ecr/__init__.py +156 -33
- aws_cdk/aws_ecs/__init__.py +87 -48
- aws_cdk/aws_efs/__init__.py +3 -0
- aws_cdk/aws_eks/__init__.py +3 -58
- aws_cdk/aws_elasticache/__init__.py +3 -0
- aws_cdk/aws_elasticbeanstalk/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancing/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +445 -36
- aws_cdk/aws_elasticsearch/__init__.py +3 -0
- aws_cdk/aws_emr/__init__.py +3 -0
- aws_cdk/aws_emrcontainers/__init__.py +3 -0
- aws_cdk/aws_emrserverless/__init__.py +12 -11
- aws_cdk/aws_entityresolution/__init__.py +3 -0
- aws_cdk/aws_events/__init__.py +73 -29
- aws_cdk/aws_events_targets/__init__.py +3 -0
- aws_cdk/aws_eventschemas/__init__.py +3 -0
- aws_cdk/aws_evidently/__init__.py +3 -0
- aws_cdk/aws_evs/__init__.py +3 -0
- aws_cdk/aws_finspace/__init__.py +3 -0
- aws_cdk/aws_fis/__init__.py +3 -0
- aws_cdk/aws_fms/__init__.py +3 -0
- aws_cdk/aws_forecast/__init__.py +3 -0
- aws_cdk/aws_frauddetector/__init__.py +3 -0
- aws_cdk/aws_fsx/__init__.py +3 -0
- aws_cdk/aws_gamelift/__init__.py +3 -0
- aws_cdk/aws_gameliftstreams/__init__.py +8 -5
- aws_cdk/aws_globalaccelerator/__init__.py +3 -0
- aws_cdk/aws_glue/__init__.py +11 -80
- aws_cdk/aws_grafana/__init__.py +3 -0
- aws_cdk/aws_greengrass/__init__.py +3 -0
- aws_cdk/aws_greengrassv2/__init__.py +3 -0
- aws_cdk/aws_groundstation/__init__.py +3 -0
- aws_cdk/aws_guardduty/__init__.py +3 -0
- aws_cdk/aws_healthimaging/__init__.py +3 -0
- aws_cdk/aws_healthlake/__init__.py +3 -0
- aws_cdk/aws_iam/__init__.py +30 -32
- aws_cdk/aws_identitystore/__init__.py +3 -0
- aws_cdk/aws_imagebuilder/__init__.py +499 -0
- aws_cdk/aws_inspector/__init__.py +3 -0
- aws_cdk/aws_inspectorv2/__init__.py +3 -0
- aws_cdk/aws_internetmonitor/__init__.py +3 -0
- aws_cdk/aws_invoicing/__init__.py +3 -0
- aws_cdk/aws_iot/__init__.py +3 -0
- aws_cdk/aws_iotanalytics/__init__.py +3 -0
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +3 -0
- aws_cdk/aws_iotevents/__init__.py +3 -0
- aws_cdk/aws_iotfleethub/__init__.py +3 -0
- aws_cdk/aws_iotfleetwise/__init__.py +3 -0
- aws_cdk/aws_iotsitewise/__init__.py +3 -0
- aws_cdk/aws_iotthingsgraph/__init__.py +3 -0
- aws_cdk/aws_iottwinmaker/__init__.py +3 -87
- aws_cdk/aws_iotwireless/__init__.py +61 -0
- aws_cdk/aws_ivs/__init__.py +3 -0
- aws_cdk/aws_ivschat/__init__.py +3 -0
- aws_cdk/aws_kafkaconnect/__init__.py +3 -0
- aws_cdk/aws_kendra/__init__.py +3 -58
- aws_cdk/aws_kendraranking/__init__.py +3 -0
- aws_cdk/aws_kinesis/__init__.py +3 -0
- aws_cdk/aws_kinesisanalytics/__init__.py +3 -0
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +3 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +1709 -10
- aws_cdk/aws_kinesisvideo/__init__.py +3 -29
- aws_cdk/aws_kms/__init__.py +3 -0
- aws_cdk/aws_lakeformation/__init__.py +3 -0
- aws_cdk/aws_lambda/__init__.py +14 -7
- aws_cdk/aws_lambda_nodejs/__init__.py +3 -0
- aws_cdk/aws_launchwizard/__init__.py +3 -0
- aws_cdk/aws_lex/__init__.py +3 -29
- aws_cdk/aws_licensemanager/__init__.py +3 -0
- aws_cdk/aws_lightsail/__init__.py +3 -0
- aws_cdk/aws_location/__init__.py +3 -0
- aws_cdk/aws_logs/__init__.py +226 -9
- aws_cdk/aws_lookoutequipment/__init__.py +3 -29
- aws_cdk/aws_lookoutmetrics/__init__.py +3 -0
- aws_cdk/aws_lookoutvision/__init__.py +3 -0
- aws_cdk/aws_m2/__init__.py +3 -0
- aws_cdk/aws_macie/__init__.py +3 -0
- aws_cdk/aws_managedblockchain/__init__.py +3 -0
- aws_cdk/aws_mediaconnect/__init__.py +3 -0
- aws_cdk/aws_mediaconvert/__init__.py +3 -0
- aws_cdk/aws_medialive/__init__.py +171 -33
- aws_cdk/aws_mediapackage/__init__.py +3 -0
- aws_cdk/aws_mediapackagev2/__init__.py +3 -0
- aws_cdk/aws_mediastore/__init__.py +3 -0
- aws_cdk/aws_mediatailor/__init__.py +3 -58
- aws_cdk/aws_memorydb/__init__.py +3 -0
- aws_cdk/aws_mpa/__init__.py +3 -0
- aws_cdk/aws_msk/__init__.py +3 -0
- aws_cdk/aws_mwaa/__init__.py +3 -0
- aws_cdk/aws_neptune/__init__.py +55 -0
- aws_cdk/aws_neptunegraph/__init__.py +3 -0
- aws_cdk/aws_networkfirewall/__init__.py +3 -0
- aws_cdk/aws_networkmanager/__init__.py +3 -0
- aws_cdk/aws_nimblestudio/__init__.py +3 -0
- aws_cdk/aws_notifications/__init__.py +3 -0
- aws_cdk/aws_notificationscontacts/__init__.py +3 -0
- aws_cdk/aws_oam/__init__.py +3 -0
- aws_cdk/aws_observabilityadmin/__init__.py +171 -137
- aws_cdk/aws_odb/__init__.py +4 -1
- aws_cdk/aws_omics/__init__.py +3 -0
- aws_cdk/aws_opensearchserverless/__init__.py +3 -0
- aws_cdk/aws_opensearchservice/__init__.py +3 -0
- aws_cdk/aws_opsworks/__init__.py +3 -0
- aws_cdk/aws_opsworkscm/__init__.py +3 -0
- aws_cdk/aws_organizations/__init__.py +3 -116
- aws_cdk/aws_osis/__init__.py +157 -0
- aws_cdk/aws_panorama/__init__.py +3 -0
- aws_cdk/aws_paymentcryptography/__init__.py +3 -0
- aws_cdk/aws_pcaconnectorad/__init__.py +3 -0
- aws_cdk/aws_pcaconnectorscep/__init__.py +3 -0
- aws_cdk/aws_pcs/__init__.py +3 -0
- aws_cdk/aws_personalize/__init__.py +3 -0
- aws_cdk/aws_pinpoint/__init__.py +3 -58
- aws_cdk/aws_pinpointemail/__init__.py +3 -0
- aws_cdk/aws_pipes/__init__.py +3 -0
- aws_cdk/aws_proton/__init__.py +3 -0
- aws_cdk/aws_qbusiness/__init__.py +3 -174
- aws_cdk/aws_qldb/__init__.py +3 -29
- aws_cdk/aws_quicksight/__init__.py +418 -411
- aws_cdk/aws_ram/__init__.py +3 -0
- aws_cdk/aws_rbin/__init__.py +3 -0
- aws_cdk/aws_rds/__init__.py +42 -19
- aws_cdk/aws_redshift/__init__.py +3 -0
- aws_cdk/aws_redshiftserverless/__init__.py +3 -0
- aws_cdk/aws_refactorspaces/__init__.py +3 -0
- aws_cdk/aws_rekognition/__init__.py +3 -29
- aws_cdk/aws_resiliencehub/__init__.py +3 -0
- aws_cdk/aws_resourceexplorer2/__init__.py +3 -0
- aws_cdk/aws_resourcegroups/__init__.py +3 -0
- aws_cdk/aws_robomaker/__init__.py +3 -0
- aws_cdk/aws_rolesanywhere/__init__.py +3 -0
- aws_cdk/aws_route53/__init__.py +18 -18
- aws_cdk/aws_route53_targets/__init__.py +3 -0
- aws_cdk/aws_route53profiles/__init__.py +3 -0
- aws_cdk/aws_route53recoverycontrol/__init__.py +3 -0
- aws_cdk/aws_route53recoveryreadiness/__init__.py +3 -0
- aws_cdk/aws_route53resolver/__init__.py +11 -4
- aws_cdk/aws_rum/__init__.py +3 -0
- aws_cdk/aws_s3/__init__.py +51 -41
- aws_cdk/aws_s3_deployment/__init__.py +3 -0
- aws_cdk/aws_s3express/__init__.py +3 -0
- aws_cdk/aws_s3objectlambda/__init__.py +3 -0
- aws_cdk/aws_s3outposts/__init__.py +3 -0
- aws_cdk/aws_s3tables/__init__.py +3 -0
- aws_cdk/aws_sagemaker/__init__.py +166 -87
- aws_cdk/aws_sam/__init__.py +3 -0
- aws_cdk/aws_scheduler/__init__.py +3 -29
- aws_cdk/aws_sdb/__init__.py +3 -0
- aws_cdk/aws_secretsmanager/__init__.py +3 -0
- aws_cdk/aws_securityhub/__init__.py +3 -0
- aws_cdk/aws_securitylake/__init__.py +3 -0
- aws_cdk/aws_servicecatalog/__init__.py +136 -124
- aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -0
- aws_cdk/aws_servicediscovery/__init__.py +3 -0
- aws_cdk/aws_ses/__init__.py +3 -0
- aws_cdk/aws_shield/__init__.py +3 -0
- aws_cdk/aws_signer/__init__.py +3 -0
- aws_cdk/aws_simspaceweaver/__init__.py +3 -0
- aws_cdk/aws_smsvoice/__init__.py +3 -29
- aws_cdk/aws_sns/__init__.py +3 -0
- aws_cdk/aws_sqs/__init__.py +3 -0
- aws_cdk/aws_ssm/__init__.py +10 -3
- aws_cdk/aws_ssmcontacts/__init__.py +3 -0
- aws_cdk/aws_ssmguiconnect/__init__.py +3 -0
- aws_cdk/aws_ssmincidents/__init__.py +3 -0
- aws_cdk/aws_ssmquicksetup/__init__.py +467 -0
- aws_cdk/aws_sso/__init__.py +3 -0
- aws_cdk/aws_stepfunctions/__init__.py +23 -19
- aws_cdk/aws_stepfunctions_tasks/__init__.py +6 -3
- aws_cdk/aws_supportapp/__init__.py +3 -0
- aws_cdk/aws_synthetics/__init__.py +59 -26
- aws_cdk/aws_systemsmanagersap/__init__.py +3 -0
- aws_cdk/aws_timestream/__init__.py +3 -29
- aws_cdk/aws_transfer/__init__.py +20 -34
- aws_cdk/aws_verifiedpermissions/__init__.py +3 -0
- aws_cdk/aws_voiceid/__init__.py +3 -0
- aws_cdk/aws_vpclattice/__init__.py +7 -4
- aws_cdk/aws_waf/__init__.py +3 -0
- aws_cdk/aws_wafregional/__init__.py +3 -0
- aws_cdk/aws_wafv2/__init__.py +3 -0
- aws_cdk/aws_wisdom/__init__.py +3 -116
- aws_cdk/aws_workspaces/__init__.py +3 -0
- aws_cdk/aws_workspacesinstances/__init__.py +3 -0
- aws_cdk/aws_workspacesthinclient/__init__.py +3 -0
- aws_cdk/aws_workspacesweb/__init__.py +3 -0
- aws_cdk/aws_xray/__init__.py +3 -0
- aws_cdk/cloud_assembly_schema/__init__.py +3 -0
- aws_cdk/cx_api/__init__.py +34 -0
- aws_cdk/pipelines/__init__.py +3 -0
- aws_cdk/region_info/__init__.py +3 -0
- aws_cdk/triggers/__init__.py +3 -0
- {aws_cdk_lib-2.220.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/METADATA +2 -2
- aws_cdk_lib-2.221.0.dist-info/RECORD +313 -0
- aws_cdk_lib-2.220.0.dist-info/RECORD +0 -313
- {aws_cdk_lib-2.220.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.220.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.220.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.220.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/top_level.txt +0 -0
|
@@ -887,13 +887,13 @@ class CfnMemoryProps:
|
|
|
887
887
|
) -> None:
|
|
888
888
|
'''Properties for defining a ``CfnMemory``.
|
|
889
889
|
|
|
890
|
-
:param event_expiry_duration:
|
|
891
|
-
:param name:
|
|
890
|
+
:param event_expiry_duration: The event expiry configuration.
|
|
891
|
+
:param name: The memory name.
|
|
892
892
|
:param description: Description of the Memory resource.
|
|
893
|
-
:param encryption_key_arn: ARN
|
|
894
|
-
:param memory_execution_role_arn: ARN
|
|
895
|
-
:param memory_strategies:
|
|
896
|
-
:param tags:
|
|
893
|
+
:param encryption_key_arn: The memory encryption key Amazon Resource Name (ARN).
|
|
894
|
+
:param memory_execution_role_arn: The memory role ARN.
|
|
895
|
+
:param memory_strategies: The memory strategies.
|
|
896
|
+
:param tags: The tags for the resources.
|
|
897
897
|
|
|
898
898
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-memory.html
|
|
899
899
|
:exampleMetadata: fixture=_generated
|
|
@@ -918,6 +918,24 @@ class CfnMemoryProps:
|
|
|
918
918
|
|
|
919
919
|
# the properties below are optional
|
|
920
920
|
configuration=bedrockagentcore.CfnMemory.CustomConfigurationInputProperty(
|
|
921
|
+
self_managed_configuration=bedrockagentcore.CfnMemory.SelfManagedConfigurationProperty(
|
|
922
|
+
historical_context_window_size=123,
|
|
923
|
+
invocation_configuration=bedrockagentcore.CfnMemory.InvocationConfigurationInputProperty(
|
|
924
|
+
payload_delivery_bucket_name="payloadDeliveryBucketName",
|
|
925
|
+
topic_arn="topicArn"
|
|
926
|
+
),
|
|
927
|
+
trigger_conditions=[bedrockagentcore.CfnMemory.TriggerConditionInputProperty(
|
|
928
|
+
message_based_trigger=bedrockagentcore.CfnMemory.MessageBasedTriggerInputProperty(
|
|
929
|
+
message_count=123
|
|
930
|
+
),
|
|
931
|
+
time_based_trigger=bedrockagentcore.CfnMemory.TimeBasedTriggerInputProperty(
|
|
932
|
+
idle_session_timeout=123
|
|
933
|
+
),
|
|
934
|
+
token_based_trigger=bedrockagentcore.CfnMemory.TokenBasedTriggerInputProperty(
|
|
935
|
+
token_count=123
|
|
936
|
+
)
|
|
937
|
+
)]
|
|
938
|
+
),
|
|
921
939
|
semantic_override=bedrockagentcore.CfnMemory.SemanticOverrideProperty(
|
|
922
940
|
consolidation=bedrockagentcore.CfnMemory.SemanticOverrideConsolidationConfigurationInputProperty(
|
|
923
941
|
append_to_prompt="appendToPrompt",
|
|
@@ -1021,7 +1039,7 @@ class CfnMemoryProps:
|
|
|
1021
1039
|
|
|
1022
1040
|
@builtins.property
|
|
1023
1041
|
def event_expiry_duration(self) -> jsii.Number:
|
|
1024
|
-
'''
|
|
1042
|
+
'''The event expiry configuration.
|
|
1025
1043
|
|
|
1026
1044
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-memory.html#cfn-bedrockagentcore-memory-eventexpiryduration
|
|
1027
1045
|
'''
|
|
@@ -1031,7 +1049,7 @@ class CfnMemoryProps:
|
|
|
1031
1049
|
|
|
1032
1050
|
@builtins.property
|
|
1033
1051
|
def name(self) -> builtins.str:
|
|
1034
|
-
'''
|
|
1052
|
+
'''The memory name.
|
|
1035
1053
|
|
|
1036
1054
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-memory.html#cfn-bedrockagentcore-memory-name
|
|
1037
1055
|
'''
|
|
@@ -1050,7 +1068,7 @@ class CfnMemoryProps:
|
|
|
1050
1068
|
|
|
1051
1069
|
@builtins.property
|
|
1052
1070
|
def encryption_key_arn(self) -> typing.Optional[builtins.str]:
|
|
1053
|
-
'''ARN
|
|
1071
|
+
'''The memory encryption key Amazon Resource Name (ARN).
|
|
1054
1072
|
|
|
1055
1073
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-memory.html#cfn-bedrockagentcore-memory-encryptionkeyarn
|
|
1056
1074
|
'''
|
|
@@ -1059,7 +1077,7 @@ class CfnMemoryProps:
|
|
|
1059
1077
|
|
|
1060
1078
|
@builtins.property
|
|
1061
1079
|
def memory_execution_role_arn(self) -> typing.Optional[builtins.str]:
|
|
1062
|
-
'''ARN
|
|
1080
|
+
'''The memory role ARN.
|
|
1063
1081
|
|
|
1064
1082
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-memory.html#cfn-bedrockagentcore-memory-memoryexecutionrolearn
|
|
1065
1083
|
'''
|
|
@@ -1070,7 +1088,7 @@ class CfnMemoryProps:
|
|
|
1070
1088
|
def memory_strategies(
|
|
1071
1089
|
self,
|
|
1072
1090
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnMemory.MemoryStrategyProperty"]]]]:
|
|
1073
|
-
'''
|
|
1091
|
+
'''The memory strategies.
|
|
1074
1092
|
|
|
1075
1093
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-memory.html#cfn-bedrockagentcore-memory-memorystrategies
|
|
1076
1094
|
'''
|
|
@@ -1079,7 +1097,7 @@ class CfnMemoryProps:
|
|
|
1079
1097
|
|
|
1080
1098
|
@builtins.property
|
|
1081
1099
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1082
|
-
'''
|
|
1100
|
+
'''The tags for the resources.
|
|
1083
1101
|
|
|
1084
1102
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-memory.html#cfn-bedrockagentcore-memory-tags
|
|
1085
1103
|
'''
|
|
@@ -2068,11 +2086,7 @@ class CfnBrowserCustom(
|
|
|
2068
2086
|
metaclass=jsii.JSIIMeta,
|
|
2069
2087
|
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnBrowserCustom",
|
|
2070
2088
|
):
|
|
2071
|
-
'''
|
|
2072
|
-
|
|
2073
|
-
Amazon Bedrock AgentCore is in preview release and is subject to change.
|
|
2074
|
-
|
|
2075
|
-
AgentCore Browser tool provides a fast, secure, cloud-based browser runtime to enable AI agents to interact with websites at scale.
|
|
2089
|
+
'''AgentCore Browser tool provides a fast, secure, cloud-based browser runtime to enable AI agents to interact with websites at scale.
|
|
2076
2090
|
|
|
2077
2091
|
For more information about using the custom browser, see `Interact with web applications using Amazon Bedrock AgentCore Browser <https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/browser-tool.html>`_ .
|
|
2078
2092
|
|
|
@@ -2669,11 +2683,9 @@ class CfnCodeInterpreterCustom(
|
|
|
2669
2683
|
metaclass=jsii.JSIIMeta,
|
|
2670
2684
|
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnCodeInterpreterCustom",
|
|
2671
2685
|
):
|
|
2672
|
-
'''
|
|
2686
|
+
'''The AgentCore Code Interpreter tool enables agents to securely execute code in isolated sandbox environments.
|
|
2673
2687
|
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
The AgentCore Code Interpreter tool enables agents to securely execute code in isolated sandbox environments. It offers advanced configuration support and seamless integration with popular frameworks.
|
|
2688
|
+
It offers advanced configuration support and seamless integration with popular frameworks.
|
|
2677
2689
|
|
|
2678
2690
|
For more information about using the custom code interpreter, see `Execute code and analyze data using Amazon Bedrock AgentCore Code Interpreter <https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/code-interpreter-tool.html>`_ .
|
|
2679
2691
|
|
|
@@ -3095,11 +3107,7 @@ class CfnGateway(
|
|
|
3095
3107
|
metaclass=jsii.JSIIMeta,
|
|
3096
3108
|
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnGateway",
|
|
3097
3109
|
):
|
|
3098
|
-
'''
|
|
3099
|
-
|
|
3100
|
-
Amazon Bedrock AgentCore is in preview release and is subject to change.
|
|
3101
|
-
|
|
3102
|
-
Amazon Bedrock AgentCore Gateway provides a unified connectivity layer between agents and the tools and resources they need to interact with.
|
|
3110
|
+
'''Amazon Bedrock AgentCore Gateway provides a unified connectivity layer between agents and the tools and resources they need to interact with.
|
|
3103
3111
|
|
|
3104
3112
|
For more information about creating a gateway, see `Set up an Amazon Bedrock AgentCore gateway <https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/gateway-building.html>`_ .
|
|
3105
3113
|
|
|
@@ -3814,11 +3822,7 @@ class CfnGatewayTarget(
|
|
|
3814
3822
|
metaclass=jsii.JSIIMeta,
|
|
3815
3823
|
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnGatewayTarget",
|
|
3816
3824
|
):
|
|
3817
|
-
'''
|
|
3818
|
-
|
|
3819
|
-
Amazon Bedrock AgentCore is in preview release and is subject to change.
|
|
3820
|
-
|
|
3821
|
-
After creating a gateway, you can add targets, which define the tools that your gateway will host.
|
|
3825
|
+
'''After creating a gateway, you can add targets, which define the tools that your gateway will host.
|
|
3822
3826
|
|
|
3823
3827
|
For more information about adding gateway targets, see `Add targets to an existing gateway <https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/gateway-building-adding-targets.html>`_ .
|
|
3824
3828
|
|
|
@@ -5405,7 +5409,11 @@ class CfnMemory(
|
|
|
5405
5409
|
metaclass=jsii.JSIIMeta,
|
|
5406
5410
|
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnMemory",
|
|
5407
5411
|
):
|
|
5408
|
-
'''
|
|
5412
|
+
'''Memory allows AI agents to maintain both immediate and long-term knowledge, enabling context-aware and personalized interactions.
|
|
5413
|
+
|
|
5414
|
+
For more information about using Memory in Amazon Bedrock AgentCore, see `Host agent or tools with Amazon Bedrock AgentCore Memory <https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/memory-getting-started.html>`_ .
|
|
5415
|
+
|
|
5416
|
+
See the *Properties* section below for descriptions of both the required and optional properties.
|
|
5409
5417
|
|
|
5410
5418
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-memory.html
|
|
5411
5419
|
:cloudformationResource: AWS::BedrockAgentCore::Memory
|
|
@@ -5431,6 +5439,24 @@ class CfnMemory(
|
|
|
5431
5439
|
|
|
5432
5440
|
# the properties below are optional
|
|
5433
5441
|
configuration=bedrockagentcore.CfnMemory.CustomConfigurationInputProperty(
|
|
5442
|
+
self_managed_configuration=bedrockagentcore.CfnMemory.SelfManagedConfigurationProperty(
|
|
5443
|
+
historical_context_window_size=123,
|
|
5444
|
+
invocation_configuration=bedrockagentcore.CfnMemory.InvocationConfigurationInputProperty(
|
|
5445
|
+
payload_delivery_bucket_name="payloadDeliveryBucketName",
|
|
5446
|
+
topic_arn="topicArn"
|
|
5447
|
+
),
|
|
5448
|
+
trigger_conditions=[bedrockagentcore.CfnMemory.TriggerConditionInputProperty(
|
|
5449
|
+
message_based_trigger=bedrockagentcore.CfnMemory.MessageBasedTriggerInputProperty(
|
|
5450
|
+
message_count=123
|
|
5451
|
+
),
|
|
5452
|
+
time_based_trigger=bedrockagentcore.CfnMemory.TimeBasedTriggerInputProperty(
|
|
5453
|
+
idle_session_timeout=123
|
|
5454
|
+
),
|
|
5455
|
+
token_based_trigger=bedrockagentcore.CfnMemory.TokenBasedTriggerInputProperty(
|
|
5456
|
+
token_count=123
|
|
5457
|
+
)
|
|
5458
|
+
)]
|
|
5459
|
+
),
|
|
5434
5460
|
semantic_override=bedrockagentcore.CfnMemory.SemanticOverrideProperty(
|
|
5435
5461
|
consolidation=bedrockagentcore.CfnMemory.SemanticOverrideConsolidationConfigurationInputProperty(
|
|
5436
5462
|
append_to_prompt="appendToPrompt",
|
|
@@ -5525,13 +5551,13 @@ class CfnMemory(
|
|
|
5525
5551
|
'''
|
|
5526
5552
|
:param scope: Scope in which this resource is defined.
|
|
5527
5553
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
5528
|
-
:param event_expiry_duration:
|
|
5529
|
-
:param name:
|
|
5554
|
+
:param event_expiry_duration: The event expiry configuration.
|
|
5555
|
+
:param name: The memory name.
|
|
5530
5556
|
:param description: Description of the Memory resource.
|
|
5531
|
-
:param encryption_key_arn: ARN
|
|
5532
|
-
:param memory_execution_role_arn: ARN
|
|
5533
|
-
:param memory_strategies:
|
|
5534
|
-
:param tags:
|
|
5557
|
+
:param encryption_key_arn: The memory encryption key Amazon Resource Name (ARN).
|
|
5558
|
+
:param memory_execution_role_arn: The memory role ARN.
|
|
5559
|
+
:param memory_strategies: The memory strategies.
|
|
5560
|
+
:param tags: The tags for the resources.
|
|
5535
5561
|
'''
|
|
5536
5562
|
if __debug__:
|
|
5537
5563
|
type_hints = typing.get_type_hints(_typecheckingstub__b95a7255db9df73ca225a32aecd624481667f18f3308ba77ce3fbf7d7e1cf4f0)
|
|
@@ -5582,7 +5608,8 @@ class CfnMemory(
|
|
|
5582
5608
|
@builtins.property
|
|
5583
5609
|
@jsii.member(jsii_name="attrCreatedAt")
|
|
5584
5610
|
def attr_created_at(self) -> builtins.str:
|
|
5585
|
-
'''
|
|
5611
|
+
'''The timestamp when the memory record was created.
|
|
5612
|
+
|
|
5586
5613
|
:cloudformationAttribute: CreatedAt
|
|
5587
5614
|
'''
|
|
5588
5615
|
return typing.cast(builtins.str, jsii.get(self, "attrCreatedAt"))
|
|
@@ -5607,7 +5634,7 @@ class CfnMemory(
|
|
|
5607
5634
|
@builtins.property
|
|
5608
5635
|
@jsii.member(jsii_name="attrMemoryId")
|
|
5609
5636
|
def attr_memory_id(self) -> builtins.str:
|
|
5610
|
-
'''
|
|
5637
|
+
'''The memory ID.
|
|
5611
5638
|
|
|
5612
5639
|
:cloudformationAttribute: MemoryId
|
|
5613
5640
|
'''
|
|
@@ -5616,7 +5643,7 @@ class CfnMemory(
|
|
|
5616
5643
|
@builtins.property
|
|
5617
5644
|
@jsii.member(jsii_name="attrStatus")
|
|
5618
5645
|
def attr_status(self) -> builtins.str:
|
|
5619
|
-
'''
|
|
5646
|
+
'''The memory status.
|
|
5620
5647
|
|
|
5621
5648
|
:cloudformationAttribute: Status
|
|
5622
5649
|
'''
|
|
@@ -5650,7 +5677,7 @@ class CfnMemory(
|
|
|
5650
5677
|
@builtins.property
|
|
5651
5678
|
@jsii.member(jsii_name="eventExpiryDuration")
|
|
5652
5679
|
def event_expiry_duration(self) -> jsii.Number:
|
|
5653
|
-
'''
|
|
5680
|
+
'''The event expiry configuration.'''
|
|
5654
5681
|
return typing.cast(jsii.Number, jsii.get(self, "eventExpiryDuration"))
|
|
5655
5682
|
|
|
5656
5683
|
@event_expiry_duration.setter
|
|
@@ -5663,7 +5690,7 @@ class CfnMemory(
|
|
|
5663
5690
|
@builtins.property
|
|
5664
5691
|
@jsii.member(jsii_name="name")
|
|
5665
5692
|
def name(self) -> builtins.str:
|
|
5666
|
-
'''
|
|
5693
|
+
'''The memory name.'''
|
|
5667
5694
|
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
5668
5695
|
|
|
5669
5696
|
@name.setter
|
|
@@ -5689,7 +5716,7 @@ class CfnMemory(
|
|
|
5689
5716
|
@builtins.property
|
|
5690
5717
|
@jsii.member(jsii_name="encryptionKeyArn")
|
|
5691
5718
|
def encryption_key_arn(self) -> typing.Optional[builtins.str]:
|
|
5692
|
-
'''ARN
|
|
5719
|
+
'''The memory encryption key Amazon Resource Name (ARN).'''
|
|
5693
5720
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "encryptionKeyArn"))
|
|
5694
5721
|
|
|
5695
5722
|
@encryption_key_arn.setter
|
|
@@ -5702,7 +5729,7 @@ class CfnMemory(
|
|
|
5702
5729
|
@builtins.property
|
|
5703
5730
|
@jsii.member(jsii_name="memoryExecutionRoleArn")
|
|
5704
5731
|
def memory_execution_role_arn(self) -> typing.Optional[builtins.str]:
|
|
5705
|
-
'''ARN
|
|
5732
|
+
'''The memory role ARN.'''
|
|
5706
5733
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "memoryExecutionRoleArn"))
|
|
5707
5734
|
|
|
5708
5735
|
@memory_execution_role_arn.setter
|
|
@@ -5717,7 +5744,7 @@ class CfnMemory(
|
|
|
5717
5744
|
def memory_strategies(
|
|
5718
5745
|
self,
|
|
5719
5746
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnMemory.MemoryStrategyProperty"]]]]:
|
|
5720
|
-
'''
|
|
5747
|
+
'''The memory strategies.'''
|
|
5721
5748
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnMemory.MemoryStrategyProperty"]]]], jsii.get(self, "memoryStrategies"))
|
|
5722
5749
|
|
|
5723
5750
|
@memory_strategies.setter
|
|
@@ -5733,7 +5760,7 @@ class CfnMemory(
|
|
|
5733
5760
|
@builtins.property
|
|
5734
5761
|
@jsii.member(jsii_name="tags")
|
|
5735
5762
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
5736
|
-
'''
|
|
5763
|
+
'''The tags for the resources.'''
|
|
5737
5764
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "tags"))
|
|
5738
5765
|
|
|
5739
5766
|
@tags.setter
|
|
@@ -5750,6 +5777,7 @@ class CfnMemory(
|
|
|
5750
5777
|
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnMemory.CustomConfigurationInputProperty",
|
|
5751
5778
|
jsii_struct_bases=[],
|
|
5752
5779
|
name_mapping={
|
|
5780
|
+
"self_managed_configuration": "selfManagedConfiguration",
|
|
5753
5781
|
"semantic_override": "semanticOverride",
|
|
5754
5782
|
"summary_override": "summaryOverride",
|
|
5755
5783
|
"user_preference_override": "userPreferenceOverride",
|
|
@@ -5759,14 +5787,17 @@ class CfnMemory(
|
|
|
5759
5787
|
def __init__(
|
|
5760
5788
|
self,
|
|
5761
5789
|
*,
|
|
5790
|
+
self_managed_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMemory.SelfManagedConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5762
5791
|
semantic_override: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMemory.SemanticOverrideProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5763
5792
|
summary_override: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMemory.SummaryOverrideProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5764
5793
|
user_preference_override: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMemory.UserPreferenceOverrideProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5765
5794
|
) -> None:
|
|
5766
|
-
'''
|
|
5767
|
-
|
|
5768
|
-
:param
|
|
5769
|
-
:param
|
|
5795
|
+
'''The memory configuration input.
|
|
5796
|
+
|
|
5797
|
+
:param self_managed_configuration: The custom configuration input.
|
|
5798
|
+
:param semantic_override: The memory override configuration.
|
|
5799
|
+
:param summary_override: The memory configuration override.
|
|
5800
|
+
:param user_preference_override: The memory user preference override.
|
|
5770
5801
|
|
|
5771
5802
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-customconfigurationinput.html
|
|
5772
5803
|
:exampleMetadata: fixture=_generated
|
|
@@ -5778,6 +5809,24 @@ class CfnMemory(
|
|
|
5778
5809
|
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
5779
5810
|
|
|
5780
5811
|
custom_configuration_input_property = bedrockagentcore.CfnMemory.CustomConfigurationInputProperty(
|
|
5812
|
+
self_managed_configuration=bedrockagentcore.CfnMemory.SelfManagedConfigurationProperty(
|
|
5813
|
+
historical_context_window_size=123,
|
|
5814
|
+
invocation_configuration=bedrockagentcore.CfnMemory.InvocationConfigurationInputProperty(
|
|
5815
|
+
payload_delivery_bucket_name="payloadDeliveryBucketName",
|
|
5816
|
+
topic_arn="topicArn"
|
|
5817
|
+
),
|
|
5818
|
+
trigger_conditions=[bedrockagentcore.CfnMemory.TriggerConditionInputProperty(
|
|
5819
|
+
message_based_trigger=bedrockagentcore.CfnMemory.MessageBasedTriggerInputProperty(
|
|
5820
|
+
message_count=123
|
|
5821
|
+
),
|
|
5822
|
+
time_based_trigger=bedrockagentcore.CfnMemory.TimeBasedTriggerInputProperty(
|
|
5823
|
+
idle_session_timeout=123
|
|
5824
|
+
),
|
|
5825
|
+
token_based_trigger=bedrockagentcore.CfnMemory.TokenBasedTriggerInputProperty(
|
|
5826
|
+
token_count=123
|
|
5827
|
+
)
|
|
5828
|
+
)]
|
|
5829
|
+
),
|
|
5781
5830
|
semantic_override=bedrockagentcore.CfnMemory.SemanticOverrideProperty(
|
|
5782
5831
|
consolidation=bedrockagentcore.CfnMemory.SemanticOverrideConsolidationConfigurationInputProperty(
|
|
5783
5832
|
append_to_prompt="appendToPrompt",
|
|
@@ -5808,10 +5857,13 @@ class CfnMemory(
|
|
|
5808
5857
|
'''
|
|
5809
5858
|
if __debug__:
|
|
5810
5859
|
type_hints = typing.get_type_hints(_typecheckingstub__80b393ad440afaf6b639d0ad3fdd1431e23bc8fa4658d92c51bbe3ae892ec72e)
|
|
5860
|
+
check_type(argname="argument self_managed_configuration", value=self_managed_configuration, expected_type=type_hints["self_managed_configuration"])
|
|
5811
5861
|
check_type(argname="argument semantic_override", value=semantic_override, expected_type=type_hints["semantic_override"])
|
|
5812
5862
|
check_type(argname="argument summary_override", value=summary_override, expected_type=type_hints["summary_override"])
|
|
5813
5863
|
check_type(argname="argument user_preference_override", value=user_preference_override, expected_type=type_hints["user_preference_override"])
|
|
5814
5864
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
5865
|
+
if self_managed_configuration is not None:
|
|
5866
|
+
self._values["self_managed_configuration"] = self_managed_configuration
|
|
5815
5867
|
if semantic_override is not None:
|
|
5816
5868
|
self._values["semantic_override"] = semantic_override
|
|
5817
5869
|
if summary_override is not None:
|
|
@@ -5819,11 +5871,23 @@ class CfnMemory(
|
|
|
5819
5871
|
if user_preference_override is not None:
|
|
5820
5872
|
self._values["user_preference_override"] = user_preference_override
|
|
5821
5873
|
|
|
5874
|
+
@builtins.property
|
|
5875
|
+
def self_managed_configuration(
|
|
5876
|
+
self,
|
|
5877
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMemory.SelfManagedConfigurationProperty"]]:
|
|
5878
|
+
'''The custom configuration input.
|
|
5879
|
+
|
|
5880
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-customconfigurationinput.html#cfn-bedrockagentcore-memory-customconfigurationinput-selfmanagedconfiguration
|
|
5881
|
+
'''
|
|
5882
|
+
result = self._values.get("self_managed_configuration")
|
|
5883
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMemory.SelfManagedConfigurationProperty"]], result)
|
|
5884
|
+
|
|
5822
5885
|
@builtins.property
|
|
5823
5886
|
def semantic_override(
|
|
5824
5887
|
self,
|
|
5825
5888
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMemory.SemanticOverrideProperty"]]:
|
|
5826
|
-
'''
|
|
5889
|
+
'''The memory override configuration.
|
|
5890
|
+
|
|
5827
5891
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-customconfigurationinput.html#cfn-bedrockagentcore-memory-customconfigurationinput-semanticoverride
|
|
5828
5892
|
'''
|
|
5829
5893
|
result = self._values.get("semantic_override")
|
|
@@ -5833,7 +5897,8 @@ class CfnMemory(
|
|
|
5833
5897
|
def summary_override(
|
|
5834
5898
|
self,
|
|
5835
5899
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMemory.SummaryOverrideProperty"]]:
|
|
5836
|
-
'''
|
|
5900
|
+
'''The memory configuration override.
|
|
5901
|
+
|
|
5837
5902
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-customconfigurationinput.html#cfn-bedrockagentcore-memory-customconfigurationinput-summaryoverride
|
|
5838
5903
|
'''
|
|
5839
5904
|
result = self._values.get("summary_override")
|
|
@@ -5843,7 +5908,8 @@ class CfnMemory(
|
|
|
5843
5908
|
def user_preference_override(
|
|
5844
5909
|
self,
|
|
5845
5910
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMemory.UserPreferenceOverrideProperty"]]:
|
|
5846
|
-
'''
|
|
5911
|
+
'''The memory user preference override.
|
|
5912
|
+
|
|
5847
5913
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-customconfigurationinput.html#cfn-bedrockagentcore-memory-customconfigurationinput-userpreferenceoverride
|
|
5848
5914
|
'''
|
|
5849
5915
|
result = self._values.get("user_preference_override")
|
|
@@ -5889,16 +5955,17 @@ class CfnMemory(
|
|
|
5889
5955
|
type: typing.Optional[builtins.str] = None,
|
|
5890
5956
|
updated_at: typing.Optional[builtins.str] = None,
|
|
5891
5957
|
) -> None:
|
|
5892
|
-
'''
|
|
5893
|
-
|
|
5894
|
-
:param
|
|
5958
|
+
'''The memory strategy.
|
|
5959
|
+
|
|
5960
|
+
:param name: The memory strategy name.
|
|
5961
|
+
:param configuration: The memory strategy configuration.
|
|
5895
5962
|
:param created_at: Creation timestamp of the memory strategy.
|
|
5896
|
-
:param description:
|
|
5897
|
-
:param namespaces:
|
|
5898
|
-
:param status:
|
|
5899
|
-
:param strategy_id:
|
|
5900
|
-
:param type:
|
|
5901
|
-
:param updated_at:
|
|
5963
|
+
:param description: The memory strategy description.
|
|
5964
|
+
:param namespaces: The memory strategy namespaces.
|
|
5965
|
+
:param status: The memory strategy status.
|
|
5966
|
+
:param strategy_id: The memory strategy ID.
|
|
5967
|
+
:param type: The memory strategy type.
|
|
5968
|
+
:param updated_at: The memory strategy update date and time.
|
|
5902
5969
|
|
|
5903
5970
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-custommemorystrategy.html
|
|
5904
5971
|
:exampleMetadata: fixture=_generated
|
|
@@ -5914,6 +5981,24 @@ class CfnMemory(
|
|
|
5914
5981
|
|
|
5915
5982
|
# the properties below are optional
|
|
5916
5983
|
configuration=bedrockagentcore.CfnMemory.CustomConfigurationInputProperty(
|
|
5984
|
+
self_managed_configuration=bedrockagentcore.CfnMemory.SelfManagedConfigurationProperty(
|
|
5985
|
+
historical_context_window_size=123,
|
|
5986
|
+
invocation_configuration=bedrockagentcore.CfnMemory.InvocationConfigurationInputProperty(
|
|
5987
|
+
payload_delivery_bucket_name="payloadDeliveryBucketName",
|
|
5988
|
+
topic_arn="topicArn"
|
|
5989
|
+
),
|
|
5990
|
+
trigger_conditions=[bedrockagentcore.CfnMemory.TriggerConditionInputProperty(
|
|
5991
|
+
message_based_trigger=bedrockagentcore.CfnMemory.MessageBasedTriggerInputProperty(
|
|
5992
|
+
message_count=123
|
|
5993
|
+
),
|
|
5994
|
+
time_based_trigger=bedrockagentcore.CfnMemory.TimeBasedTriggerInputProperty(
|
|
5995
|
+
idle_session_timeout=123
|
|
5996
|
+
),
|
|
5997
|
+
token_based_trigger=bedrockagentcore.CfnMemory.TokenBasedTriggerInputProperty(
|
|
5998
|
+
token_count=123
|
|
5999
|
+
)
|
|
6000
|
+
)]
|
|
6001
|
+
),
|
|
5917
6002
|
semantic_override=bedrockagentcore.CfnMemory.SemanticOverrideProperty(
|
|
5918
6003
|
consolidation=bedrockagentcore.CfnMemory.SemanticOverrideConsolidationConfigurationInputProperty(
|
|
5919
6004
|
append_to_prompt="appendToPrompt",
|
|
@@ -5983,7 +6068,7 @@ class CfnMemory(
|
|
|
5983
6068
|
|
|
5984
6069
|
@builtins.property
|
|
5985
6070
|
def name(self) -> builtins.str:
|
|
5986
|
-
'''
|
|
6071
|
+
'''The memory strategy name.
|
|
5987
6072
|
|
|
5988
6073
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-custommemorystrategy.html#cfn-bedrockagentcore-memory-custommemorystrategy-name
|
|
5989
6074
|
'''
|
|
@@ -5995,7 +6080,8 @@ class CfnMemory(
|
|
|
5995
6080
|
def configuration(
|
|
5996
6081
|
self,
|
|
5997
6082
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMemory.CustomConfigurationInputProperty"]]:
|
|
5998
|
-
'''
|
|
6083
|
+
'''The memory strategy configuration.
|
|
6084
|
+
|
|
5999
6085
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-custommemorystrategy.html#cfn-bedrockagentcore-memory-custommemorystrategy-configuration
|
|
6000
6086
|
'''
|
|
6001
6087
|
result = self._values.get("configuration")
|
|
@@ -6012,7 +6098,7 @@ class CfnMemory(
|
|
|
6012
6098
|
|
|
6013
6099
|
@builtins.property
|
|
6014
6100
|
def description(self) -> typing.Optional[builtins.str]:
|
|
6015
|
-
'''
|
|
6101
|
+
'''The memory strategy description.
|
|
6016
6102
|
|
|
6017
6103
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-custommemorystrategy.html#cfn-bedrockagentcore-memory-custommemorystrategy-description
|
|
6018
6104
|
'''
|
|
@@ -6021,7 +6107,7 @@ class CfnMemory(
|
|
|
6021
6107
|
|
|
6022
6108
|
@builtins.property
|
|
6023
6109
|
def namespaces(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
6024
|
-
'''
|
|
6110
|
+
'''The memory strategy namespaces.
|
|
6025
6111
|
|
|
6026
6112
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-custommemorystrategy.html#cfn-bedrockagentcore-memory-custommemorystrategy-namespaces
|
|
6027
6113
|
'''
|
|
@@ -6030,7 +6116,7 @@ class CfnMemory(
|
|
|
6030
6116
|
|
|
6031
6117
|
@builtins.property
|
|
6032
6118
|
def status(self) -> typing.Optional[builtins.str]:
|
|
6033
|
-
'''
|
|
6119
|
+
'''The memory strategy status.
|
|
6034
6120
|
|
|
6035
6121
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-custommemorystrategy.html#cfn-bedrockagentcore-memory-custommemorystrategy-status
|
|
6036
6122
|
'''
|
|
@@ -6039,7 +6125,7 @@ class CfnMemory(
|
|
|
6039
6125
|
|
|
6040
6126
|
@builtins.property
|
|
6041
6127
|
def strategy_id(self) -> typing.Optional[builtins.str]:
|
|
6042
|
-
'''
|
|
6128
|
+
'''The memory strategy ID.
|
|
6043
6129
|
|
|
6044
6130
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-custommemorystrategy.html#cfn-bedrockagentcore-memory-custommemorystrategy-strategyid
|
|
6045
6131
|
'''
|
|
@@ -6048,7 +6134,7 @@ class CfnMemory(
|
|
|
6048
6134
|
|
|
6049
6135
|
@builtins.property
|
|
6050
6136
|
def type(self) -> typing.Optional[builtins.str]:
|
|
6051
|
-
'''
|
|
6137
|
+
'''The memory strategy type.
|
|
6052
6138
|
|
|
6053
6139
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-custommemorystrategy.html#cfn-bedrockagentcore-memory-custommemorystrategy-type
|
|
6054
6140
|
'''
|
|
@@ -6057,7 +6143,7 @@ class CfnMemory(
|
|
|
6057
6143
|
|
|
6058
6144
|
@builtins.property
|
|
6059
6145
|
def updated_at(self) -> typing.Optional[builtins.str]:
|
|
6060
|
-
'''
|
|
6146
|
+
'''The memory strategy update date and time.
|
|
6061
6147
|
|
|
6062
6148
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-custommemorystrategy.html#cfn-bedrockagentcore-memory-custommemorystrategy-updatedat
|
|
6063
6149
|
'''
|
|
@@ -6075,6 +6161,79 @@ class CfnMemory(
|
|
|
6075
6161
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
6076
6162
|
)
|
|
6077
6163
|
|
|
6164
|
+
@jsii.data_type(
|
|
6165
|
+
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnMemory.InvocationConfigurationInputProperty",
|
|
6166
|
+
jsii_struct_bases=[],
|
|
6167
|
+
name_mapping={
|
|
6168
|
+
"payload_delivery_bucket_name": "payloadDeliveryBucketName",
|
|
6169
|
+
"topic_arn": "topicArn",
|
|
6170
|
+
},
|
|
6171
|
+
)
|
|
6172
|
+
class InvocationConfigurationInputProperty:
|
|
6173
|
+
def __init__(
|
|
6174
|
+
self,
|
|
6175
|
+
*,
|
|
6176
|
+
payload_delivery_bucket_name: typing.Optional[builtins.str] = None,
|
|
6177
|
+
topic_arn: typing.Optional[builtins.str] = None,
|
|
6178
|
+
) -> None:
|
|
6179
|
+
'''The memory invocation configuration input.
|
|
6180
|
+
|
|
6181
|
+
:param payload_delivery_bucket_name: The message invocation configuration information for the bucket name.
|
|
6182
|
+
:param topic_arn: The memory trigger condition topic Amazon Resource Name (ARN).
|
|
6183
|
+
|
|
6184
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-invocationconfigurationinput.html
|
|
6185
|
+
:exampleMetadata: fixture=_generated
|
|
6186
|
+
|
|
6187
|
+
Example::
|
|
6188
|
+
|
|
6189
|
+
# The code below shows an example of how to instantiate this type.
|
|
6190
|
+
# The values are placeholders you should change.
|
|
6191
|
+
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
6192
|
+
|
|
6193
|
+
invocation_configuration_input_property = bedrockagentcore.CfnMemory.InvocationConfigurationInputProperty(
|
|
6194
|
+
payload_delivery_bucket_name="payloadDeliveryBucketName",
|
|
6195
|
+
topic_arn="topicArn"
|
|
6196
|
+
)
|
|
6197
|
+
'''
|
|
6198
|
+
if __debug__:
|
|
6199
|
+
type_hints = typing.get_type_hints(_typecheckingstub__44e7fa751a69795001dc84cc0fd23b36ae6952ce8c475d549b7599b3353a7c9a)
|
|
6200
|
+
check_type(argname="argument payload_delivery_bucket_name", value=payload_delivery_bucket_name, expected_type=type_hints["payload_delivery_bucket_name"])
|
|
6201
|
+
check_type(argname="argument topic_arn", value=topic_arn, expected_type=type_hints["topic_arn"])
|
|
6202
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
6203
|
+
if payload_delivery_bucket_name is not None:
|
|
6204
|
+
self._values["payload_delivery_bucket_name"] = payload_delivery_bucket_name
|
|
6205
|
+
if topic_arn is not None:
|
|
6206
|
+
self._values["topic_arn"] = topic_arn
|
|
6207
|
+
|
|
6208
|
+
@builtins.property
|
|
6209
|
+
def payload_delivery_bucket_name(self) -> typing.Optional[builtins.str]:
|
|
6210
|
+
'''The message invocation configuration information for the bucket name.
|
|
6211
|
+
|
|
6212
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-invocationconfigurationinput.html#cfn-bedrockagentcore-memory-invocationconfigurationinput-payloaddeliverybucketname
|
|
6213
|
+
'''
|
|
6214
|
+
result = self._values.get("payload_delivery_bucket_name")
|
|
6215
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
6216
|
+
|
|
6217
|
+
@builtins.property
|
|
6218
|
+
def topic_arn(self) -> typing.Optional[builtins.str]:
|
|
6219
|
+
'''The memory trigger condition topic Amazon Resource Name (ARN).
|
|
6220
|
+
|
|
6221
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-invocationconfigurationinput.html#cfn-bedrockagentcore-memory-invocationconfigurationinput-topicarn
|
|
6222
|
+
'''
|
|
6223
|
+
result = self._values.get("topic_arn")
|
|
6224
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
6225
|
+
|
|
6226
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6227
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6228
|
+
|
|
6229
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6230
|
+
return not (rhs == self)
|
|
6231
|
+
|
|
6232
|
+
def __repr__(self) -> str:
|
|
6233
|
+
return "InvocationConfigurationInputProperty(%s)" % ", ".join(
|
|
6234
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
6235
|
+
)
|
|
6236
|
+
|
|
6078
6237
|
@jsii.data_type(
|
|
6079
6238
|
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnMemory.MemoryStrategyProperty",
|
|
6080
6239
|
jsii_struct_bases=[],
|
|
@@ -6094,11 +6253,12 @@ class CfnMemory(
|
|
|
6094
6253
|
summary_memory_strategy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMemory.SummaryMemoryStrategyProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6095
6254
|
user_preference_memory_strategy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMemory.UserPreferenceMemoryStrategyProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6096
6255
|
) -> None:
|
|
6097
|
-
'''
|
|
6098
|
-
|
|
6099
|
-
:param
|
|
6100
|
-
:param
|
|
6101
|
-
:param
|
|
6256
|
+
'''The memory strategy.
|
|
6257
|
+
|
|
6258
|
+
:param custom_memory_strategy: The memory strategy.
|
|
6259
|
+
:param semantic_memory_strategy: The memory strategy.
|
|
6260
|
+
:param summary_memory_strategy: The memory strategy summary.
|
|
6261
|
+
:param user_preference_memory_strategy: The memory strategy.
|
|
6102
6262
|
|
|
6103
6263
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-memorystrategy.html
|
|
6104
6264
|
:exampleMetadata: fixture=_generated
|
|
@@ -6115,6 +6275,24 @@ class CfnMemory(
|
|
|
6115
6275
|
|
|
6116
6276
|
# the properties below are optional
|
|
6117
6277
|
configuration=bedrockagentcore.CfnMemory.CustomConfigurationInputProperty(
|
|
6278
|
+
self_managed_configuration=bedrockagentcore.CfnMemory.SelfManagedConfigurationProperty(
|
|
6279
|
+
historical_context_window_size=123,
|
|
6280
|
+
invocation_configuration=bedrockagentcore.CfnMemory.InvocationConfigurationInputProperty(
|
|
6281
|
+
payload_delivery_bucket_name="payloadDeliveryBucketName",
|
|
6282
|
+
topic_arn="topicArn"
|
|
6283
|
+
),
|
|
6284
|
+
trigger_conditions=[bedrockagentcore.CfnMemory.TriggerConditionInputProperty(
|
|
6285
|
+
message_based_trigger=bedrockagentcore.CfnMemory.MessageBasedTriggerInputProperty(
|
|
6286
|
+
message_count=123
|
|
6287
|
+
),
|
|
6288
|
+
time_based_trigger=bedrockagentcore.CfnMemory.TimeBasedTriggerInputProperty(
|
|
6289
|
+
idle_session_timeout=123
|
|
6290
|
+
),
|
|
6291
|
+
token_based_trigger=bedrockagentcore.CfnMemory.TokenBasedTriggerInputProperty(
|
|
6292
|
+
token_count=123
|
|
6293
|
+
)
|
|
6294
|
+
)]
|
|
6295
|
+
),
|
|
6118
6296
|
semantic_override=bedrockagentcore.CfnMemory.SemanticOverrideProperty(
|
|
6119
6297
|
consolidation=bedrockagentcore.CfnMemory.SemanticOverrideConsolidationConfigurationInputProperty(
|
|
6120
6298
|
append_to_prompt="appendToPrompt",
|
|
@@ -6208,7 +6386,8 @@ class CfnMemory(
|
|
|
6208
6386
|
def custom_memory_strategy(
|
|
6209
6387
|
self,
|
|
6210
6388
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMemory.CustomMemoryStrategyProperty"]]:
|
|
6211
|
-
'''
|
|
6389
|
+
'''The memory strategy.
|
|
6390
|
+
|
|
6212
6391
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-memorystrategy.html#cfn-bedrockagentcore-memory-memorystrategy-custommemorystrategy
|
|
6213
6392
|
'''
|
|
6214
6393
|
result = self._values.get("custom_memory_strategy")
|
|
@@ -6218,7 +6397,8 @@ class CfnMemory(
|
|
|
6218
6397
|
def semantic_memory_strategy(
|
|
6219
6398
|
self,
|
|
6220
6399
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMemory.SemanticMemoryStrategyProperty"]]:
|
|
6221
|
-
'''
|
|
6400
|
+
'''The memory strategy.
|
|
6401
|
+
|
|
6222
6402
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-memorystrategy.html#cfn-bedrockagentcore-memory-memorystrategy-semanticmemorystrategy
|
|
6223
6403
|
'''
|
|
6224
6404
|
result = self._values.get("semantic_memory_strategy")
|
|
@@ -6228,7 +6408,8 @@ class CfnMemory(
|
|
|
6228
6408
|
def summary_memory_strategy(
|
|
6229
6409
|
self,
|
|
6230
6410
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMemory.SummaryMemoryStrategyProperty"]]:
|
|
6231
|
-
'''
|
|
6411
|
+
'''The memory strategy summary.
|
|
6412
|
+
|
|
6232
6413
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-memorystrategy.html#cfn-bedrockagentcore-memory-memorystrategy-summarymemorystrategy
|
|
6233
6414
|
'''
|
|
6234
6415
|
result = self._values.get("summary_memory_strategy")
|
|
@@ -6238,7 +6419,8 @@ class CfnMemory(
|
|
|
6238
6419
|
def user_preference_memory_strategy(
|
|
6239
6420
|
self,
|
|
6240
6421
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMemory.UserPreferenceMemoryStrategyProperty"]]:
|
|
6241
|
-
'''
|
|
6422
|
+
'''The memory strategy.
|
|
6423
|
+
|
|
6242
6424
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-memorystrategy.html#cfn-bedrockagentcore-memory-memorystrategy-userpreferencememorystrategy
|
|
6243
6425
|
'''
|
|
6244
6426
|
result = self._values.get("user_preference_memory_strategy")
|
|
@@ -6255,6 +6437,166 @@ class CfnMemory(
|
|
|
6255
6437
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
6256
6438
|
)
|
|
6257
6439
|
|
|
6440
|
+
@jsii.data_type(
|
|
6441
|
+
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnMemory.MessageBasedTriggerInputProperty",
|
|
6442
|
+
jsii_struct_bases=[],
|
|
6443
|
+
name_mapping={"message_count": "messageCount"},
|
|
6444
|
+
)
|
|
6445
|
+
class MessageBasedTriggerInputProperty:
|
|
6446
|
+
def __init__(
|
|
6447
|
+
self,
|
|
6448
|
+
*,
|
|
6449
|
+
message_count: typing.Optional[jsii.Number] = None,
|
|
6450
|
+
) -> None:
|
|
6451
|
+
'''The message based trigger input.
|
|
6452
|
+
|
|
6453
|
+
:param message_count: The memory trigger condition input for the message based trigger message count.
|
|
6454
|
+
|
|
6455
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-messagebasedtriggerinput.html
|
|
6456
|
+
:exampleMetadata: fixture=_generated
|
|
6457
|
+
|
|
6458
|
+
Example::
|
|
6459
|
+
|
|
6460
|
+
# The code below shows an example of how to instantiate this type.
|
|
6461
|
+
# The values are placeholders you should change.
|
|
6462
|
+
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
6463
|
+
|
|
6464
|
+
message_based_trigger_input_property = bedrockagentcore.CfnMemory.MessageBasedTriggerInputProperty(
|
|
6465
|
+
message_count=123
|
|
6466
|
+
)
|
|
6467
|
+
'''
|
|
6468
|
+
if __debug__:
|
|
6469
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f26f0bfb6bb91a96529926b34610d43ded0571d826aa8ac6cb6e63367e9ea089)
|
|
6470
|
+
check_type(argname="argument message_count", value=message_count, expected_type=type_hints["message_count"])
|
|
6471
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
6472
|
+
if message_count is not None:
|
|
6473
|
+
self._values["message_count"] = message_count
|
|
6474
|
+
|
|
6475
|
+
@builtins.property
|
|
6476
|
+
def message_count(self) -> typing.Optional[jsii.Number]:
|
|
6477
|
+
'''The memory trigger condition input for the message based trigger message count.
|
|
6478
|
+
|
|
6479
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-messagebasedtriggerinput.html#cfn-bedrockagentcore-memory-messagebasedtriggerinput-messagecount
|
|
6480
|
+
'''
|
|
6481
|
+
result = self._values.get("message_count")
|
|
6482
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
6483
|
+
|
|
6484
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6485
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6486
|
+
|
|
6487
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6488
|
+
return not (rhs == self)
|
|
6489
|
+
|
|
6490
|
+
def __repr__(self) -> str:
|
|
6491
|
+
return "MessageBasedTriggerInputProperty(%s)" % ", ".join(
|
|
6492
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
6493
|
+
)
|
|
6494
|
+
|
|
6495
|
+
@jsii.data_type(
|
|
6496
|
+
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnMemory.SelfManagedConfigurationProperty",
|
|
6497
|
+
jsii_struct_bases=[],
|
|
6498
|
+
name_mapping={
|
|
6499
|
+
"historical_context_window_size": "historicalContextWindowSize",
|
|
6500
|
+
"invocation_configuration": "invocationConfiguration",
|
|
6501
|
+
"trigger_conditions": "triggerConditions",
|
|
6502
|
+
},
|
|
6503
|
+
)
|
|
6504
|
+
class SelfManagedConfigurationProperty:
|
|
6505
|
+
def __init__(
|
|
6506
|
+
self,
|
|
6507
|
+
*,
|
|
6508
|
+
historical_context_window_size: typing.Optional[jsii.Number] = None,
|
|
6509
|
+
invocation_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMemory.InvocationConfigurationInputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6510
|
+
trigger_conditions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMemory.TriggerConditionInputProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
6511
|
+
) -> None:
|
|
6512
|
+
'''The self managed configuration.
|
|
6513
|
+
|
|
6514
|
+
:param historical_context_window_size: The memory configuration for self managed.
|
|
6515
|
+
:param invocation_configuration: The self managed configuration.
|
|
6516
|
+
:param trigger_conditions:
|
|
6517
|
+
|
|
6518
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-selfmanagedconfiguration.html
|
|
6519
|
+
:exampleMetadata: fixture=_generated
|
|
6520
|
+
|
|
6521
|
+
Example::
|
|
6522
|
+
|
|
6523
|
+
# The code below shows an example of how to instantiate this type.
|
|
6524
|
+
# The values are placeholders you should change.
|
|
6525
|
+
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
6526
|
+
|
|
6527
|
+
self_managed_configuration_property = bedrockagentcore.CfnMemory.SelfManagedConfigurationProperty(
|
|
6528
|
+
historical_context_window_size=123,
|
|
6529
|
+
invocation_configuration=bedrockagentcore.CfnMemory.InvocationConfigurationInputProperty(
|
|
6530
|
+
payload_delivery_bucket_name="payloadDeliveryBucketName",
|
|
6531
|
+
topic_arn="topicArn"
|
|
6532
|
+
),
|
|
6533
|
+
trigger_conditions=[bedrockagentcore.CfnMemory.TriggerConditionInputProperty(
|
|
6534
|
+
message_based_trigger=bedrockagentcore.CfnMemory.MessageBasedTriggerInputProperty(
|
|
6535
|
+
message_count=123
|
|
6536
|
+
),
|
|
6537
|
+
time_based_trigger=bedrockagentcore.CfnMemory.TimeBasedTriggerInputProperty(
|
|
6538
|
+
idle_session_timeout=123
|
|
6539
|
+
),
|
|
6540
|
+
token_based_trigger=bedrockagentcore.CfnMemory.TokenBasedTriggerInputProperty(
|
|
6541
|
+
token_count=123
|
|
6542
|
+
)
|
|
6543
|
+
)]
|
|
6544
|
+
)
|
|
6545
|
+
'''
|
|
6546
|
+
if __debug__:
|
|
6547
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e4fcd7b9f7c5c0bb0c80ff54635936b78ada2b3d24596ba7cd43b9ece93f804c)
|
|
6548
|
+
check_type(argname="argument historical_context_window_size", value=historical_context_window_size, expected_type=type_hints["historical_context_window_size"])
|
|
6549
|
+
check_type(argname="argument invocation_configuration", value=invocation_configuration, expected_type=type_hints["invocation_configuration"])
|
|
6550
|
+
check_type(argname="argument trigger_conditions", value=trigger_conditions, expected_type=type_hints["trigger_conditions"])
|
|
6551
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
6552
|
+
if historical_context_window_size is not None:
|
|
6553
|
+
self._values["historical_context_window_size"] = historical_context_window_size
|
|
6554
|
+
if invocation_configuration is not None:
|
|
6555
|
+
self._values["invocation_configuration"] = invocation_configuration
|
|
6556
|
+
if trigger_conditions is not None:
|
|
6557
|
+
self._values["trigger_conditions"] = trigger_conditions
|
|
6558
|
+
|
|
6559
|
+
@builtins.property
|
|
6560
|
+
def historical_context_window_size(self) -> typing.Optional[jsii.Number]:
|
|
6561
|
+
'''The memory configuration for self managed.
|
|
6562
|
+
|
|
6563
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-selfmanagedconfiguration.html#cfn-bedrockagentcore-memory-selfmanagedconfiguration-historicalcontextwindowsize
|
|
6564
|
+
'''
|
|
6565
|
+
result = self._values.get("historical_context_window_size")
|
|
6566
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
6567
|
+
|
|
6568
|
+
@builtins.property
|
|
6569
|
+
def invocation_configuration(
|
|
6570
|
+
self,
|
|
6571
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMemory.InvocationConfigurationInputProperty"]]:
|
|
6572
|
+
'''The self managed configuration.
|
|
6573
|
+
|
|
6574
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-selfmanagedconfiguration.html#cfn-bedrockagentcore-memory-selfmanagedconfiguration-invocationconfiguration
|
|
6575
|
+
'''
|
|
6576
|
+
result = self._values.get("invocation_configuration")
|
|
6577
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMemory.InvocationConfigurationInputProperty"]], result)
|
|
6578
|
+
|
|
6579
|
+
@builtins.property
|
|
6580
|
+
def trigger_conditions(
|
|
6581
|
+
self,
|
|
6582
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnMemory.TriggerConditionInputProperty"]]]]:
|
|
6583
|
+
'''
|
|
6584
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-selfmanagedconfiguration.html#cfn-bedrockagentcore-memory-selfmanagedconfiguration-triggerconditions
|
|
6585
|
+
'''
|
|
6586
|
+
result = self._values.get("trigger_conditions")
|
|
6587
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnMemory.TriggerConditionInputProperty"]]]], result)
|
|
6588
|
+
|
|
6589
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6590
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6591
|
+
|
|
6592
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6593
|
+
return not (rhs == self)
|
|
6594
|
+
|
|
6595
|
+
def __repr__(self) -> str:
|
|
6596
|
+
return "SelfManagedConfigurationProperty(%s)" % ", ".join(
|
|
6597
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
6598
|
+
)
|
|
6599
|
+
|
|
6258
6600
|
@jsii.data_type(
|
|
6259
6601
|
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnMemory.SemanticMemoryStrategyProperty",
|
|
6260
6602
|
jsii_struct_bases=[],
|
|
@@ -6282,14 +6624,15 @@ class CfnMemory(
|
|
|
6282
6624
|
type: typing.Optional[builtins.str] = None,
|
|
6283
6625
|
updated_at: typing.Optional[builtins.str] = None,
|
|
6284
6626
|
) -> None:
|
|
6285
|
-
'''
|
|
6286
|
-
|
|
6627
|
+
'''The memory strategy.
|
|
6628
|
+
|
|
6629
|
+
:param name: The memory strategy name.
|
|
6287
6630
|
:param created_at: Creation timestamp of the memory strategy.
|
|
6288
|
-
:param description:
|
|
6289
|
-
:param namespaces:
|
|
6631
|
+
:param description: The memory strategy description.
|
|
6632
|
+
:param namespaces: The memory strategy namespaces.
|
|
6290
6633
|
:param status: Status of the memory strategy.
|
|
6291
|
-
:param strategy_id:
|
|
6292
|
-
:param type:
|
|
6634
|
+
:param strategy_id: The memory strategy ID.
|
|
6635
|
+
:param type: The memory strategy type.
|
|
6293
6636
|
:param updated_at: Last update timestamp of the memory strategy.
|
|
6294
6637
|
|
|
6295
6638
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticmemorystrategy.html
|
|
@@ -6344,7 +6687,7 @@ class CfnMemory(
|
|
|
6344
6687
|
|
|
6345
6688
|
@builtins.property
|
|
6346
6689
|
def name(self) -> builtins.str:
|
|
6347
|
-
'''
|
|
6690
|
+
'''The memory strategy name.
|
|
6348
6691
|
|
|
6349
6692
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticmemorystrategy.html#cfn-bedrockagentcore-memory-semanticmemorystrategy-name
|
|
6350
6693
|
'''
|
|
@@ -6363,7 +6706,7 @@ class CfnMemory(
|
|
|
6363
6706
|
|
|
6364
6707
|
@builtins.property
|
|
6365
6708
|
def description(self) -> typing.Optional[builtins.str]:
|
|
6366
|
-
'''
|
|
6709
|
+
'''The memory strategy description.
|
|
6367
6710
|
|
|
6368
6711
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticmemorystrategy.html#cfn-bedrockagentcore-memory-semanticmemorystrategy-description
|
|
6369
6712
|
'''
|
|
@@ -6372,7 +6715,7 @@ class CfnMemory(
|
|
|
6372
6715
|
|
|
6373
6716
|
@builtins.property
|
|
6374
6717
|
def namespaces(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
6375
|
-
'''
|
|
6718
|
+
'''The memory strategy namespaces.
|
|
6376
6719
|
|
|
6377
6720
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticmemorystrategy.html#cfn-bedrockagentcore-memory-semanticmemorystrategy-namespaces
|
|
6378
6721
|
'''
|
|
@@ -6390,7 +6733,7 @@ class CfnMemory(
|
|
|
6390
6733
|
|
|
6391
6734
|
@builtins.property
|
|
6392
6735
|
def strategy_id(self) -> typing.Optional[builtins.str]:
|
|
6393
|
-
'''
|
|
6736
|
+
'''The memory strategy ID.
|
|
6394
6737
|
|
|
6395
6738
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticmemorystrategy.html#cfn-bedrockagentcore-memory-semanticmemorystrategy-strategyid
|
|
6396
6739
|
'''
|
|
@@ -6399,7 +6742,7 @@ class CfnMemory(
|
|
|
6399
6742
|
|
|
6400
6743
|
@builtins.property
|
|
6401
6744
|
def type(self) -> typing.Optional[builtins.str]:
|
|
6402
|
-
'''
|
|
6745
|
+
'''The memory strategy type.
|
|
6403
6746
|
|
|
6404
6747
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticmemorystrategy.html#cfn-bedrockagentcore-memory-semanticmemorystrategy-type
|
|
6405
6748
|
'''
|
|
@@ -6438,9 +6781,10 @@ class CfnMemory(
|
|
|
6438
6781
|
append_to_prompt: builtins.str,
|
|
6439
6782
|
model_id: builtins.str,
|
|
6440
6783
|
) -> None:
|
|
6441
|
-
'''
|
|
6442
|
-
|
|
6443
|
-
:param
|
|
6784
|
+
'''The memory override configuration.
|
|
6785
|
+
|
|
6786
|
+
:param append_to_prompt: The override configuration.
|
|
6787
|
+
:param model_id: The memory override model ID.
|
|
6444
6788
|
|
|
6445
6789
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticoverrideconsolidationconfigurationinput.html
|
|
6446
6790
|
:exampleMetadata: fixture=_generated
|
|
@@ -6467,7 +6811,7 @@ class CfnMemory(
|
|
|
6467
6811
|
|
|
6468
6812
|
@builtins.property
|
|
6469
6813
|
def append_to_prompt(self) -> builtins.str:
|
|
6470
|
-
'''
|
|
6814
|
+
'''The override configuration.
|
|
6471
6815
|
|
|
6472
6816
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticoverrideconsolidationconfigurationinput.html#cfn-bedrockagentcore-memory-semanticoverrideconsolidationconfigurationinput-appendtoprompt
|
|
6473
6817
|
'''
|
|
@@ -6477,7 +6821,8 @@ class CfnMemory(
|
|
|
6477
6821
|
|
|
6478
6822
|
@builtins.property
|
|
6479
6823
|
def model_id(self) -> builtins.str:
|
|
6480
|
-
'''
|
|
6824
|
+
'''The memory override model ID.
|
|
6825
|
+
|
|
6481
6826
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticoverrideconsolidationconfigurationinput.html#cfn-bedrockagentcore-memory-semanticoverrideconsolidationconfigurationinput-modelid
|
|
6482
6827
|
'''
|
|
6483
6828
|
result = self._values.get("model_id")
|
|
@@ -6507,9 +6852,10 @@ class CfnMemory(
|
|
|
6507
6852
|
append_to_prompt: builtins.str,
|
|
6508
6853
|
model_id: builtins.str,
|
|
6509
6854
|
) -> None:
|
|
6510
|
-
'''
|
|
6511
|
-
|
|
6512
|
-
:param
|
|
6855
|
+
'''The memory override configuration.
|
|
6856
|
+
|
|
6857
|
+
:param append_to_prompt: The extraction configuration.
|
|
6858
|
+
:param model_id: The memory override configuration model ID.
|
|
6513
6859
|
|
|
6514
6860
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticoverrideextractionconfigurationinput.html
|
|
6515
6861
|
:exampleMetadata: fixture=_generated
|
|
@@ -6536,7 +6882,7 @@ class CfnMemory(
|
|
|
6536
6882
|
|
|
6537
6883
|
@builtins.property
|
|
6538
6884
|
def append_to_prompt(self) -> builtins.str:
|
|
6539
|
-
'''
|
|
6885
|
+
'''The extraction configuration.
|
|
6540
6886
|
|
|
6541
6887
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticoverrideextractionconfigurationinput.html#cfn-bedrockagentcore-memory-semanticoverrideextractionconfigurationinput-appendtoprompt
|
|
6542
6888
|
'''
|
|
@@ -6546,7 +6892,8 @@ class CfnMemory(
|
|
|
6546
6892
|
|
|
6547
6893
|
@builtins.property
|
|
6548
6894
|
def model_id(self) -> builtins.str:
|
|
6549
|
-
'''
|
|
6895
|
+
'''The memory override configuration model ID.
|
|
6896
|
+
|
|
6550
6897
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticoverrideextractionconfigurationinput.html#cfn-bedrockagentcore-memory-semanticoverrideextractionconfigurationinput-modelid
|
|
6551
6898
|
'''
|
|
6552
6899
|
result = self._values.get("model_id")
|
|
@@ -6576,9 +6923,10 @@ class CfnMemory(
|
|
|
6576
6923
|
consolidation: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMemory.SemanticOverrideConsolidationConfigurationInputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6577
6924
|
extraction: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMemory.SemanticOverrideExtractionConfigurationInputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6578
6925
|
) -> None:
|
|
6579
|
-
'''
|
|
6580
|
-
|
|
6581
|
-
:param
|
|
6926
|
+
'''The memory override.
|
|
6927
|
+
|
|
6928
|
+
:param consolidation: The memory override consolidation.
|
|
6929
|
+
:param extraction: The memory override extraction.
|
|
6582
6930
|
|
|
6583
6931
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticoverride.html
|
|
6584
6932
|
:exampleMetadata: fixture=_generated
|
|
@@ -6614,7 +6962,8 @@ class CfnMemory(
|
|
|
6614
6962
|
def consolidation(
|
|
6615
6963
|
self,
|
|
6616
6964
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMemory.SemanticOverrideConsolidationConfigurationInputProperty"]]:
|
|
6617
|
-
'''
|
|
6965
|
+
'''The memory override consolidation.
|
|
6966
|
+
|
|
6618
6967
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticoverride.html#cfn-bedrockagentcore-memory-semanticoverride-consolidation
|
|
6619
6968
|
'''
|
|
6620
6969
|
result = self._values.get("consolidation")
|
|
@@ -6624,7 +6973,8 @@ class CfnMemory(
|
|
|
6624
6973
|
def extraction(
|
|
6625
6974
|
self,
|
|
6626
6975
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMemory.SemanticOverrideExtractionConfigurationInputProperty"]]:
|
|
6627
|
-
'''
|
|
6976
|
+
'''The memory override extraction.
|
|
6977
|
+
|
|
6628
6978
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticoverride.html#cfn-bedrockagentcore-memory-semanticoverride-extraction
|
|
6629
6979
|
'''
|
|
6630
6980
|
result = self._values.get("extraction")
|
|
@@ -6668,15 +7018,16 @@ class CfnMemory(
|
|
|
6668
7018
|
type: typing.Optional[builtins.str] = None,
|
|
6669
7019
|
updated_at: typing.Optional[builtins.str] = None,
|
|
6670
7020
|
) -> None:
|
|
6671
|
-
'''
|
|
6672
|
-
|
|
7021
|
+
'''The memory strategy.
|
|
7022
|
+
|
|
7023
|
+
:param name: The memory strategy name.
|
|
6673
7024
|
:param created_at: Creation timestamp of the memory strategy.
|
|
6674
|
-
:param description:
|
|
6675
|
-
:param namespaces:
|
|
6676
|
-
:param status:
|
|
6677
|
-
:param strategy_id:
|
|
6678
|
-
:param type:
|
|
6679
|
-
:param updated_at:
|
|
7025
|
+
:param description: The memory strategy description.
|
|
7026
|
+
:param namespaces: The summary memory strategy.
|
|
7027
|
+
:param status: The memory strategy status.
|
|
7028
|
+
:param strategy_id: The memory strategy ID.
|
|
7029
|
+
:param type: The memory strategy type.
|
|
7030
|
+
:param updated_at: The memory strategy update date and time.
|
|
6680
7031
|
|
|
6681
7032
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-summarymemorystrategy.html
|
|
6682
7033
|
:exampleMetadata: fixture=_generated
|
|
@@ -6730,7 +7081,7 @@ class CfnMemory(
|
|
|
6730
7081
|
|
|
6731
7082
|
@builtins.property
|
|
6732
7083
|
def name(self) -> builtins.str:
|
|
6733
|
-
'''
|
|
7084
|
+
'''The memory strategy name.
|
|
6734
7085
|
|
|
6735
7086
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-summarymemorystrategy.html#cfn-bedrockagentcore-memory-summarymemorystrategy-name
|
|
6736
7087
|
'''
|
|
@@ -6749,7 +7100,7 @@ class CfnMemory(
|
|
|
6749
7100
|
|
|
6750
7101
|
@builtins.property
|
|
6751
7102
|
def description(self) -> typing.Optional[builtins.str]:
|
|
6752
|
-
'''
|
|
7103
|
+
'''The memory strategy description.
|
|
6753
7104
|
|
|
6754
7105
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-summarymemorystrategy.html#cfn-bedrockagentcore-memory-summarymemorystrategy-description
|
|
6755
7106
|
'''
|
|
@@ -6758,7 +7109,7 @@ class CfnMemory(
|
|
|
6758
7109
|
|
|
6759
7110
|
@builtins.property
|
|
6760
7111
|
def namespaces(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
6761
|
-
'''
|
|
7112
|
+
'''The summary memory strategy.
|
|
6762
7113
|
|
|
6763
7114
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-summarymemorystrategy.html#cfn-bedrockagentcore-memory-summarymemorystrategy-namespaces
|
|
6764
7115
|
'''
|
|
@@ -6767,7 +7118,7 @@ class CfnMemory(
|
|
|
6767
7118
|
|
|
6768
7119
|
@builtins.property
|
|
6769
7120
|
def status(self) -> typing.Optional[builtins.str]:
|
|
6770
|
-
'''
|
|
7121
|
+
'''The memory strategy status.
|
|
6771
7122
|
|
|
6772
7123
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-summarymemorystrategy.html#cfn-bedrockagentcore-memory-summarymemorystrategy-status
|
|
6773
7124
|
'''
|
|
@@ -6776,7 +7127,7 @@ class CfnMemory(
|
|
|
6776
7127
|
|
|
6777
7128
|
@builtins.property
|
|
6778
7129
|
def strategy_id(self) -> typing.Optional[builtins.str]:
|
|
6779
|
-
'''
|
|
7130
|
+
'''The memory strategy ID.
|
|
6780
7131
|
|
|
6781
7132
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-summarymemorystrategy.html#cfn-bedrockagentcore-memory-summarymemorystrategy-strategyid
|
|
6782
7133
|
'''
|
|
@@ -6785,7 +7136,7 @@ class CfnMemory(
|
|
|
6785
7136
|
|
|
6786
7137
|
@builtins.property
|
|
6787
7138
|
def type(self) -> typing.Optional[builtins.str]:
|
|
6788
|
-
'''
|
|
7139
|
+
'''The memory strategy type.
|
|
6789
7140
|
|
|
6790
7141
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-summarymemorystrategy.html#cfn-bedrockagentcore-memory-summarymemorystrategy-type
|
|
6791
7142
|
'''
|
|
@@ -6794,7 +7145,7 @@ class CfnMemory(
|
|
|
6794
7145
|
|
|
6795
7146
|
@builtins.property
|
|
6796
7147
|
def updated_at(self) -> typing.Optional[builtins.str]:
|
|
6797
|
-
'''
|
|
7148
|
+
'''The memory strategy update date and time.
|
|
6798
7149
|
|
|
6799
7150
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-summarymemorystrategy.html#cfn-bedrockagentcore-memory-summarymemorystrategy-updatedat
|
|
6800
7151
|
'''
|
|
@@ -6824,9 +7175,10 @@ class CfnMemory(
|
|
|
6824
7175
|
append_to_prompt: builtins.str,
|
|
6825
7176
|
model_id: builtins.str,
|
|
6826
7177
|
) -> None:
|
|
6827
|
-
'''
|
|
6828
|
-
|
|
6829
|
-
:param
|
|
7178
|
+
'''The consolidation configuration.
|
|
7179
|
+
|
|
7180
|
+
:param append_to_prompt: The memory override configuration.
|
|
7181
|
+
:param model_id: The memory override configuration model ID.
|
|
6830
7182
|
|
|
6831
7183
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-summaryoverrideconsolidationconfigurationinput.html
|
|
6832
7184
|
:exampleMetadata: fixture=_generated
|
|
@@ -6853,7 +7205,7 @@ class CfnMemory(
|
|
|
6853
7205
|
|
|
6854
7206
|
@builtins.property
|
|
6855
7207
|
def append_to_prompt(self) -> builtins.str:
|
|
6856
|
-
'''
|
|
7208
|
+
'''The memory override configuration.
|
|
6857
7209
|
|
|
6858
7210
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-summaryoverrideconsolidationconfigurationinput.html#cfn-bedrockagentcore-memory-summaryoverrideconsolidationconfigurationinput-appendtoprompt
|
|
6859
7211
|
'''
|
|
@@ -6863,7 +7215,8 @@ class CfnMemory(
|
|
|
6863
7215
|
|
|
6864
7216
|
@builtins.property
|
|
6865
7217
|
def model_id(self) -> builtins.str:
|
|
6866
|
-
'''
|
|
7218
|
+
'''The memory override configuration model ID.
|
|
7219
|
+
|
|
6867
7220
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-summaryoverrideconsolidationconfigurationinput.html#cfn-bedrockagentcore-memory-summaryoverrideconsolidationconfigurationinput-modelid
|
|
6868
7221
|
'''
|
|
6869
7222
|
result = self._values.get("model_id")
|
|
@@ -6892,8 +7245,9 @@ class CfnMemory(
|
|
|
6892
7245
|
*,
|
|
6893
7246
|
consolidation: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMemory.SummaryOverrideConsolidationConfigurationInputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6894
7247
|
) -> None:
|
|
6895
|
-
'''
|
|
6896
|
-
|
|
7248
|
+
'''The memory summary override.
|
|
7249
|
+
|
|
7250
|
+
:param consolidation: The memory override consolidation.
|
|
6897
7251
|
|
|
6898
7252
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-summaryoverride.html
|
|
6899
7253
|
:exampleMetadata: fixture=_generated
|
|
@@ -6922,7 +7276,8 @@ class CfnMemory(
|
|
|
6922
7276
|
def consolidation(
|
|
6923
7277
|
self,
|
|
6924
7278
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMemory.SummaryOverrideConsolidationConfigurationInputProperty"]]:
|
|
6925
|
-
'''
|
|
7279
|
+
'''The memory override consolidation.
|
|
7280
|
+
|
|
6926
7281
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-summaryoverride.html#cfn-bedrockagentcore-memory-summaryoverride-consolidation
|
|
6927
7282
|
'''
|
|
6928
7283
|
result = self._values.get("consolidation")
|
|
@@ -6939,6 +7294,213 @@ class CfnMemory(
|
|
|
6939
7294
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
6940
7295
|
)
|
|
6941
7296
|
|
|
7297
|
+
@jsii.data_type(
|
|
7298
|
+
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnMemory.TimeBasedTriggerInputProperty",
|
|
7299
|
+
jsii_struct_bases=[],
|
|
7300
|
+
name_mapping={"idle_session_timeout": "idleSessionTimeout"},
|
|
7301
|
+
)
|
|
7302
|
+
class TimeBasedTriggerInputProperty:
|
|
7303
|
+
def __init__(
|
|
7304
|
+
self,
|
|
7305
|
+
*,
|
|
7306
|
+
idle_session_timeout: typing.Optional[jsii.Number] = None,
|
|
7307
|
+
) -> None:
|
|
7308
|
+
'''The memory trigger condition input for the time based trigger.
|
|
7309
|
+
|
|
7310
|
+
:param idle_session_timeout: The memory trigger condition input for the session timeout.
|
|
7311
|
+
|
|
7312
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-timebasedtriggerinput.html
|
|
7313
|
+
:exampleMetadata: fixture=_generated
|
|
7314
|
+
|
|
7315
|
+
Example::
|
|
7316
|
+
|
|
7317
|
+
# The code below shows an example of how to instantiate this type.
|
|
7318
|
+
# The values are placeholders you should change.
|
|
7319
|
+
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
7320
|
+
|
|
7321
|
+
time_based_trigger_input_property = bedrockagentcore.CfnMemory.TimeBasedTriggerInputProperty(
|
|
7322
|
+
idle_session_timeout=123
|
|
7323
|
+
)
|
|
7324
|
+
'''
|
|
7325
|
+
if __debug__:
|
|
7326
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0cf65bf0b7de7a122f8fdf3c50a61ba88dd5248ad841dd004cb6bd0f7174ec45)
|
|
7327
|
+
check_type(argname="argument idle_session_timeout", value=idle_session_timeout, expected_type=type_hints["idle_session_timeout"])
|
|
7328
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
7329
|
+
if idle_session_timeout is not None:
|
|
7330
|
+
self._values["idle_session_timeout"] = idle_session_timeout
|
|
7331
|
+
|
|
7332
|
+
@builtins.property
|
|
7333
|
+
def idle_session_timeout(self) -> typing.Optional[jsii.Number]:
|
|
7334
|
+
'''The memory trigger condition input for the session timeout.
|
|
7335
|
+
|
|
7336
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-timebasedtriggerinput.html#cfn-bedrockagentcore-memory-timebasedtriggerinput-idlesessiontimeout
|
|
7337
|
+
'''
|
|
7338
|
+
result = self._values.get("idle_session_timeout")
|
|
7339
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
7340
|
+
|
|
7341
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7342
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
7343
|
+
|
|
7344
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
7345
|
+
return not (rhs == self)
|
|
7346
|
+
|
|
7347
|
+
def __repr__(self) -> str:
|
|
7348
|
+
return "TimeBasedTriggerInputProperty(%s)" % ", ".join(
|
|
7349
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
7350
|
+
)
|
|
7351
|
+
|
|
7352
|
+
@jsii.data_type(
|
|
7353
|
+
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnMemory.TokenBasedTriggerInputProperty",
|
|
7354
|
+
jsii_struct_bases=[],
|
|
7355
|
+
name_mapping={"token_count": "tokenCount"},
|
|
7356
|
+
)
|
|
7357
|
+
class TokenBasedTriggerInputProperty:
|
|
7358
|
+
def __init__(self, *, token_count: typing.Optional[jsii.Number] = None) -> None:
|
|
7359
|
+
'''The token based trigger input.
|
|
7360
|
+
|
|
7361
|
+
:param token_count: The token based trigger token count.
|
|
7362
|
+
|
|
7363
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-tokenbasedtriggerinput.html
|
|
7364
|
+
:exampleMetadata: fixture=_generated
|
|
7365
|
+
|
|
7366
|
+
Example::
|
|
7367
|
+
|
|
7368
|
+
# The code below shows an example of how to instantiate this type.
|
|
7369
|
+
# The values are placeholders you should change.
|
|
7370
|
+
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
7371
|
+
|
|
7372
|
+
token_based_trigger_input_property = bedrockagentcore.CfnMemory.TokenBasedTriggerInputProperty(
|
|
7373
|
+
token_count=123
|
|
7374
|
+
)
|
|
7375
|
+
'''
|
|
7376
|
+
if __debug__:
|
|
7377
|
+
type_hints = typing.get_type_hints(_typecheckingstub__171b0765936a13c6e7c17456605ec3e2bc9c36685a864e8c11187bfd9a4bc89a)
|
|
7378
|
+
check_type(argname="argument token_count", value=token_count, expected_type=type_hints["token_count"])
|
|
7379
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
7380
|
+
if token_count is not None:
|
|
7381
|
+
self._values["token_count"] = token_count
|
|
7382
|
+
|
|
7383
|
+
@builtins.property
|
|
7384
|
+
def token_count(self) -> typing.Optional[jsii.Number]:
|
|
7385
|
+
'''The token based trigger token count.
|
|
7386
|
+
|
|
7387
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-tokenbasedtriggerinput.html#cfn-bedrockagentcore-memory-tokenbasedtriggerinput-tokencount
|
|
7388
|
+
'''
|
|
7389
|
+
result = self._values.get("token_count")
|
|
7390
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
7391
|
+
|
|
7392
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7393
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
7394
|
+
|
|
7395
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
7396
|
+
return not (rhs == self)
|
|
7397
|
+
|
|
7398
|
+
def __repr__(self) -> str:
|
|
7399
|
+
return "TokenBasedTriggerInputProperty(%s)" % ", ".join(
|
|
7400
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
7401
|
+
)
|
|
7402
|
+
|
|
7403
|
+
@jsii.data_type(
|
|
7404
|
+
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnMemory.TriggerConditionInputProperty",
|
|
7405
|
+
jsii_struct_bases=[],
|
|
7406
|
+
name_mapping={
|
|
7407
|
+
"message_based_trigger": "messageBasedTrigger",
|
|
7408
|
+
"time_based_trigger": "timeBasedTrigger",
|
|
7409
|
+
"token_based_trigger": "tokenBasedTrigger",
|
|
7410
|
+
},
|
|
7411
|
+
)
|
|
7412
|
+
class TriggerConditionInputProperty:
|
|
7413
|
+
def __init__(
|
|
7414
|
+
self,
|
|
7415
|
+
*,
|
|
7416
|
+
message_based_trigger: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMemory.MessageBasedTriggerInputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7417
|
+
time_based_trigger: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMemory.TimeBasedTriggerInputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7418
|
+
token_based_trigger: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMemory.TokenBasedTriggerInputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7419
|
+
) -> None:
|
|
7420
|
+
'''The memory trigger condition input.
|
|
7421
|
+
|
|
7422
|
+
:param message_based_trigger: The memory trigger condition input for the message based trigger.
|
|
7423
|
+
:param time_based_trigger: The memory trigger condition input.
|
|
7424
|
+
:param token_based_trigger: The trigger condition information for a token based trigger.
|
|
7425
|
+
|
|
7426
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-triggerconditioninput.html
|
|
7427
|
+
:exampleMetadata: fixture=_generated
|
|
7428
|
+
|
|
7429
|
+
Example::
|
|
7430
|
+
|
|
7431
|
+
# The code below shows an example of how to instantiate this type.
|
|
7432
|
+
# The values are placeholders you should change.
|
|
7433
|
+
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
7434
|
+
|
|
7435
|
+
trigger_condition_input_property = bedrockagentcore.CfnMemory.TriggerConditionInputProperty(
|
|
7436
|
+
message_based_trigger=bedrockagentcore.CfnMemory.MessageBasedTriggerInputProperty(
|
|
7437
|
+
message_count=123
|
|
7438
|
+
),
|
|
7439
|
+
time_based_trigger=bedrockagentcore.CfnMemory.TimeBasedTriggerInputProperty(
|
|
7440
|
+
idle_session_timeout=123
|
|
7441
|
+
),
|
|
7442
|
+
token_based_trigger=bedrockagentcore.CfnMemory.TokenBasedTriggerInputProperty(
|
|
7443
|
+
token_count=123
|
|
7444
|
+
)
|
|
7445
|
+
)
|
|
7446
|
+
'''
|
|
7447
|
+
if __debug__:
|
|
7448
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9ca3b096b467bf1778a21961da57f12ce16cf0ef63aeee1b912577f66fdb48cb)
|
|
7449
|
+
check_type(argname="argument message_based_trigger", value=message_based_trigger, expected_type=type_hints["message_based_trigger"])
|
|
7450
|
+
check_type(argname="argument time_based_trigger", value=time_based_trigger, expected_type=type_hints["time_based_trigger"])
|
|
7451
|
+
check_type(argname="argument token_based_trigger", value=token_based_trigger, expected_type=type_hints["token_based_trigger"])
|
|
7452
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
7453
|
+
if message_based_trigger is not None:
|
|
7454
|
+
self._values["message_based_trigger"] = message_based_trigger
|
|
7455
|
+
if time_based_trigger is not None:
|
|
7456
|
+
self._values["time_based_trigger"] = time_based_trigger
|
|
7457
|
+
if token_based_trigger is not None:
|
|
7458
|
+
self._values["token_based_trigger"] = token_based_trigger
|
|
7459
|
+
|
|
7460
|
+
@builtins.property
|
|
7461
|
+
def message_based_trigger(
|
|
7462
|
+
self,
|
|
7463
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMemory.MessageBasedTriggerInputProperty"]]:
|
|
7464
|
+
'''The memory trigger condition input for the message based trigger.
|
|
7465
|
+
|
|
7466
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-triggerconditioninput.html#cfn-bedrockagentcore-memory-triggerconditioninput-messagebasedtrigger
|
|
7467
|
+
'''
|
|
7468
|
+
result = self._values.get("message_based_trigger")
|
|
7469
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMemory.MessageBasedTriggerInputProperty"]], result)
|
|
7470
|
+
|
|
7471
|
+
@builtins.property
|
|
7472
|
+
def time_based_trigger(
|
|
7473
|
+
self,
|
|
7474
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMemory.TimeBasedTriggerInputProperty"]]:
|
|
7475
|
+
'''The memory trigger condition input.
|
|
7476
|
+
|
|
7477
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-triggerconditioninput.html#cfn-bedrockagentcore-memory-triggerconditioninput-timebasedtrigger
|
|
7478
|
+
'''
|
|
7479
|
+
result = self._values.get("time_based_trigger")
|
|
7480
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMemory.TimeBasedTriggerInputProperty"]], result)
|
|
7481
|
+
|
|
7482
|
+
@builtins.property
|
|
7483
|
+
def token_based_trigger(
|
|
7484
|
+
self,
|
|
7485
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMemory.TokenBasedTriggerInputProperty"]]:
|
|
7486
|
+
'''The trigger condition information for a token based trigger.
|
|
7487
|
+
|
|
7488
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-triggerconditioninput.html#cfn-bedrockagentcore-memory-triggerconditioninput-tokenbasedtrigger
|
|
7489
|
+
'''
|
|
7490
|
+
result = self._values.get("token_based_trigger")
|
|
7491
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMemory.TokenBasedTriggerInputProperty"]], result)
|
|
7492
|
+
|
|
7493
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7494
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
7495
|
+
|
|
7496
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
7497
|
+
return not (rhs == self)
|
|
7498
|
+
|
|
7499
|
+
def __repr__(self) -> str:
|
|
7500
|
+
return "TriggerConditionInputProperty(%s)" % ", ".join(
|
|
7501
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
7502
|
+
)
|
|
7503
|
+
|
|
6942
7504
|
@jsii.data_type(
|
|
6943
7505
|
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnMemory.UserPreferenceMemoryStrategyProperty",
|
|
6944
7506
|
jsii_struct_bases=[],
|
|
@@ -6966,15 +7528,16 @@ class CfnMemory(
|
|
|
6966
7528
|
type: typing.Optional[builtins.str] = None,
|
|
6967
7529
|
updated_at: typing.Optional[builtins.str] = None,
|
|
6968
7530
|
) -> None:
|
|
6969
|
-
'''
|
|
6970
|
-
|
|
7531
|
+
'''The memory strategy.
|
|
7532
|
+
|
|
7533
|
+
:param name: The memory strategy name.
|
|
6971
7534
|
:param created_at: Creation timestamp of the memory strategy.
|
|
6972
|
-
:param description:
|
|
6973
|
-
:param namespaces:
|
|
6974
|
-
:param status:
|
|
6975
|
-
:param strategy_id:
|
|
6976
|
-
:param type:
|
|
6977
|
-
:param updated_at:
|
|
7535
|
+
:param description: The memory strategy description.
|
|
7536
|
+
:param namespaces: The memory namespaces.
|
|
7537
|
+
:param status: The memory strategy status.
|
|
7538
|
+
:param strategy_id: The memory strategy ID.
|
|
7539
|
+
:param type: The memory strategy type.
|
|
7540
|
+
:param updated_at: The memory strategy update date and time.
|
|
6978
7541
|
|
|
6979
7542
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferencememorystrategy.html
|
|
6980
7543
|
:exampleMetadata: fixture=_generated
|
|
@@ -7028,7 +7591,7 @@ class CfnMemory(
|
|
|
7028
7591
|
|
|
7029
7592
|
@builtins.property
|
|
7030
7593
|
def name(self) -> builtins.str:
|
|
7031
|
-
'''
|
|
7594
|
+
'''The memory strategy name.
|
|
7032
7595
|
|
|
7033
7596
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferencememorystrategy.html#cfn-bedrockagentcore-memory-userpreferencememorystrategy-name
|
|
7034
7597
|
'''
|
|
@@ -7047,7 +7610,7 @@ class CfnMemory(
|
|
|
7047
7610
|
|
|
7048
7611
|
@builtins.property
|
|
7049
7612
|
def description(self) -> typing.Optional[builtins.str]:
|
|
7050
|
-
'''
|
|
7613
|
+
'''The memory strategy description.
|
|
7051
7614
|
|
|
7052
7615
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferencememorystrategy.html#cfn-bedrockagentcore-memory-userpreferencememorystrategy-description
|
|
7053
7616
|
'''
|
|
@@ -7056,7 +7619,7 @@ class CfnMemory(
|
|
|
7056
7619
|
|
|
7057
7620
|
@builtins.property
|
|
7058
7621
|
def namespaces(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
7059
|
-
'''
|
|
7622
|
+
'''The memory namespaces.
|
|
7060
7623
|
|
|
7061
7624
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferencememorystrategy.html#cfn-bedrockagentcore-memory-userpreferencememorystrategy-namespaces
|
|
7062
7625
|
'''
|
|
@@ -7065,7 +7628,7 @@ class CfnMemory(
|
|
|
7065
7628
|
|
|
7066
7629
|
@builtins.property
|
|
7067
7630
|
def status(self) -> typing.Optional[builtins.str]:
|
|
7068
|
-
'''
|
|
7631
|
+
'''The memory strategy status.
|
|
7069
7632
|
|
|
7070
7633
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferencememorystrategy.html#cfn-bedrockagentcore-memory-userpreferencememorystrategy-status
|
|
7071
7634
|
'''
|
|
@@ -7074,7 +7637,7 @@ class CfnMemory(
|
|
|
7074
7637
|
|
|
7075
7638
|
@builtins.property
|
|
7076
7639
|
def strategy_id(self) -> typing.Optional[builtins.str]:
|
|
7077
|
-
'''
|
|
7640
|
+
'''The memory strategy ID.
|
|
7078
7641
|
|
|
7079
7642
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferencememorystrategy.html#cfn-bedrockagentcore-memory-userpreferencememorystrategy-strategyid
|
|
7080
7643
|
'''
|
|
@@ -7083,7 +7646,7 @@ class CfnMemory(
|
|
|
7083
7646
|
|
|
7084
7647
|
@builtins.property
|
|
7085
7648
|
def type(self) -> typing.Optional[builtins.str]:
|
|
7086
|
-
'''
|
|
7649
|
+
'''The memory strategy type.
|
|
7087
7650
|
|
|
7088
7651
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferencememorystrategy.html#cfn-bedrockagentcore-memory-userpreferencememorystrategy-type
|
|
7089
7652
|
'''
|
|
@@ -7092,7 +7655,7 @@ class CfnMemory(
|
|
|
7092
7655
|
|
|
7093
7656
|
@builtins.property
|
|
7094
7657
|
def updated_at(self) -> typing.Optional[builtins.str]:
|
|
7095
|
-
'''
|
|
7658
|
+
'''The memory strategy update date and time.
|
|
7096
7659
|
|
|
7097
7660
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferencememorystrategy.html#cfn-bedrockagentcore-memory-userpreferencememorystrategy-updatedat
|
|
7098
7661
|
'''
|
|
@@ -7122,9 +7685,10 @@ class CfnMemory(
|
|
|
7122
7685
|
append_to_prompt: builtins.str,
|
|
7123
7686
|
model_id: builtins.str,
|
|
7124
7687
|
) -> None:
|
|
7125
|
-
'''
|
|
7126
|
-
|
|
7127
|
-
:param
|
|
7688
|
+
'''The configuration input.
|
|
7689
|
+
|
|
7690
|
+
:param append_to_prompt: The memory configuration.
|
|
7691
|
+
:param model_id: The memory override configuration model ID.
|
|
7128
7692
|
|
|
7129
7693
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferenceoverrideconsolidationconfigurationinput.html
|
|
7130
7694
|
:exampleMetadata: fixture=_generated
|
|
@@ -7151,7 +7715,7 @@ class CfnMemory(
|
|
|
7151
7715
|
|
|
7152
7716
|
@builtins.property
|
|
7153
7717
|
def append_to_prompt(self) -> builtins.str:
|
|
7154
|
-
'''
|
|
7718
|
+
'''The memory configuration.
|
|
7155
7719
|
|
|
7156
7720
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferenceoverrideconsolidationconfigurationinput.html#cfn-bedrockagentcore-memory-userpreferenceoverrideconsolidationconfigurationinput-appendtoprompt
|
|
7157
7721
|
'''
|
|
@@ -7161,7 +7725,8 @@ class CfnMemory(
|
|
|
7161
7725
|
|
|
7162
7726
|
@builtins.property
|
|
7163
7727
|
def model_id(self) -> builtins.str:
|
|
7164
|
-
'''
|
|
7728
|
+
'''The memory override configuration model ID.
|
|
7729
|
+
|
|
7165
7730
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferenceoverrideconsolidationconfigurationinput.html#cfn-bedrockagentcore-memory-userpreferenceoverrideconsolidationconfigurationinput-modelid
|
|
7166
7731
|
'''
|
|
7167
7732
|
result = self._values.get("model_id")
|
|
@@ -7191,9 +7756,10 @@ class CfnMemory(
|
|
|
7191
7756
|
append_to_prompt: builtins.str,
|
|
7192
7757
|
model_id: builtins.str,
|
|
7193
7758
|
) -> None:
|
|
7194
|
-
'''
|
|
7195
|
-
|
|
7196
|
-
:param
|
|
7759
|
+
'''The memory override configuration.
|
|
7760
|
+
|
|
7761
|
+
:param append_to_prompt: The extraction configuration.
|
|
7762
|
+
:param model_id: The memory override for the model ID.
|
|
7197
7763
|
|
|
7198
7764
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferenceoverrideextractionconfigurationinput.html
|
|
7199
7765
|
:exampleMetadata: fixture=_generated
|
|
@@ -7220,7 +7786,7 @@ class CfnMemory(
|
|
|
7220
7786
|
|
|
7221
7787
|
@builtins.property
|
|
7222
7788
|
def append_to_prompt(self) -> builtins.str:
|
|
7223
|
-
'''
|
|
7789
|
+
'''The extraction configuration.
|
|
7224
7790
|
|
|
7225
7791
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferenceoverrideextractionconfigurationinput.html#cfn-bedrockagentcore-memory-userpreferenceoverrideextractionconfigurationinput-appendtoprompt
|
|
7226
7792
|
'''
|
|
@@ -7230,7 +7796,8 @@ class CfnMemory(
|
|
|
7230
7796
|
|
|
7231
7797
|
@builtins.property
|
|
7232
7798
|
def model_id(self) -> builtins.str:
|
|
7233
|
-
'''
|
|
7799
|
+
'''The memory override for the model ID.
|
|
7800
|
+
|
|
7234
7801
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferenceoverrideextractionconfigurationinput.html#cfn-bedrockagentcore-memory-userpreferenceoverrideextractionconfigurationinput-modelid
|
|
7235
7802
|
'''
|
|
7236
7803
|
result = self._values.get("model_id")
|
|
@@ -7260,9 +7827,10 @@ class CfnMemory(
|
|
|
7260
7827
|
consolidation: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMemory.UserPreferenceOverrideConsolidationConfigurationInputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7261
7828
|
extraction: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMemory.UserPreferenceOverrideExtractionConfigurationInputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7262
7829
|
) -> None:
|
|
7263
|
-
'''
|
|
7264
|
-
|
|
7265
|
-
:param
|
|
7830
|
+
'''The memory user preference override.
|
|
7831
|
+
|
|
7832
|
+
:param consolidation: The memory override consolidation information.
|
|
7833
|
+
:param extraction: The memory user preferences for extraction.
|
|
7266
7834
|
|
|
7267
7835
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferenceoverride.html
|
|
7268
7836
|
:exampleMetadata: fixture=_generated
|
|
@@ -7298,7 +7866,8 @@ class CfnMemory(
|
|
|
7298
7866
|
def consolidation(
|
|
7299
7867
|
self,
|
|
7300
7868
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMemory.UserPreferenceOverrideConsolidationConfigurationInputProperty"]]:
|
|
7301
|
-
'''
|
|
7869
|
+
'''The memory override consolidation information.
|
|
7870
|
+
|
|
7302
7871
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferenceoverride.html#cfn-bedrockagentcore-memory-userpreferenceoverride-consolidation
|
|
7303
7872
|
'''
|
|
7304
7873
|
result = self._values.get("consolidation")
|
|
@@ -7308,7 +7877,8 @@ class CfnMemory(
|
|
|
7308
7877
|
def extraction(
|
|
7309
7878
|
self,
|
|
7310
7879
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMemory.UserPreferenceOverrideExtractionConfigurationInputProperty"]]:
|
|
7311
|
-
'''
|
|
7880
|
+
'''The memory user preferences for extraction.
|
|
7881
|
+
|
|
7312
7882
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferenceoverride.html#cfn-bedrockagentcore-memory-userpreferenceoverride-extraction
|
|
7313
7883
|
'''
|
|
7314
7884
|
result = self._values.get("extraction")
|
|
@@ -7332,11 +7902,7 @@ class CfnRuntime(
|
|
|
7332
7902
|
metaclass=jsii.JSIIMeta,
|
|
7333
7903
|
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnRuntime",
|
|
7334
7904
|
):
|
|
7335
|
-
'''
|
|
7336
|
-
|
|
7337
|
-
Amazon Bedrock AgentCore is in preview release and is subject to change.
|
|
7338
|
-
|
|
7339
|
-
Contains information about an agent runtime. An agent runtime is the execution environment for a Amazon Bedrock Agent.
|
|
7905
|
+
'''Contains information about an agent runtime. An agent runtime is the execution environment for a Amazon Bedrock Agent.
|
|
7340
7906
|
|
|
7341
7907
|
AgentCore Runtime is a secure, serverless runtime purpose-built for deploying and scaling dynamic AI agents and tools using any open-source framework including LangGraph, CrewAI, and Strands Agents, any protocol, and any model.
|
|
7342
7908
|
|
|
@@ -8166,11 +8732,7 @@ class CfnRuntimeEndpoint(
|
|
|
8166
8732
|
metaclass=jsii.JSIIMeta,
|
|
8167
8733
|
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnRuntimeEndpoint",
|
|
8168
8734
|
):
|
|
8169
|
-
'''
|
|
8170
|
-
|
|
8171
|
-
Amazon Bedrock AgentCore is in preview release and is subject to change.
|
|
8172
|
-
|
|
8173
|
-
AgentCore Runtime is a secure, serverless runtime purpose-built for deploying and scaling dynamic AI agents and tools using any open-source framework including LangGraph, CrewAI, and Strands Agents, any protocol, and any model.
|
|
8735
|
+
'''AgentCore Runtime is a secure, serverless runtime purpose-built for deploying and scaling dynamic AI agents and tools using any open-source framework including LangGraph, CrewAI, and Strands Agents, any protocol, and any model.
|
|
8174
8736
|
|
|
8175
8737
|
For more information about using agent runtime endpoints in Amazon Bedrock AgentCore, see `AgentCore Runtime versioning and endpoints <https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/agent-runtime-versioning.html>`_ .
|
|
8176
8738
|
|
|
@@ -9143,6 +9705,7 @@ def _typecheckingstub__20937c3b9ee32cb1df4d7eaf09c5da2b921076b8dab073c8f61380cb9
|
|
|
9143
9705
|
|
|
9144
9706
|
def _typecheckingstub__80b393ad440afaf6b639d0ad3fdd1431e23bc8fa4658d92c51bbe3ae892ec72e(
|
|
9145
9707
|
*,
|
|
9708
|
+
self_managed_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMemory.SelfManagedConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9146
9709
|
semantic_override: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMemory.SemanticOverrideProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9147
9710
|
summary_override: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMemory.SummaryOverrideProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9148
9711
|
user_preference_override: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMemory.UserPreferenceOverrideProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -9165,6 +9728,14 @@ def _typecheckingstub__68f9ef2809f813258bef3dcd9ec460d2f237f2127d9f7cb9aae325616
|
|
|
9165
9728
|
"""Type checking stubs"""
|
|
9166
9729
|
pass
|
|
9167
9730
|
|
|
9731
|
+
def _typecheckingstub__44e7fa751a69795001dc84cc0fd23b36ae6952ce8c475d549b7599b3353a7c9a(
|
|
9732
|
+
*,
|
|
9733
|
+
payload_delivery_bucket_name: typing.Optional[builtins.str] = None,
|
|
9734
|
+
topic_arn: typing.Optional[builtins.str] = None,
|
|
9735
|
+
) -> None:
|
|
9736
|
+
"""Type checking stubs"""
|
|
9737
|
+
pass
|
|
9738
|
+
|
|
9168
9739
|
def _typecheckingstub__c7fa25b2413ebaf6794a4e0d96d4404f578a37b86cd501369f7c93f8d049e8e7(
|
|
9169
9740
|
*,
|
|
9170
9741
|
custom_memory_strategy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMemory.CustomMemoryStrategyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -9175,6 +9746,22 @@ def _typecheckingstub__c7fa25b2413ebaf6794a4e0d96d4404f578a37b86cd501369f7c93f8d
|
|
|
9175
9746
|
"""Type checking stubs"""
|
|
9176
9747
|
pass
|
|
9177
9748
|
|
|
9749
|
+
def _typecheckingstub__f26f0bfb6bb91a96529926b34610d43ded0571d826aa8ac6cb6e63367e9ea089(
|
|
9750
|
+
*,
|
|
9751
|
+
message_count: typing.Optional[jsii.Number] = None,
|
|
9752
|
+
) -> None:
|
|
9753
|
+
"""Type checking stubs"""
|
|
9754
|
+
pass
|
|
9755
|
+
|
|
9756
|
+
def _typecheckingstub__e4fcd7b9f7c5c0bb0c80ff54635936b78ada2b3d24596ba7cd43b9ece93f804c(
|
|
9757
|
+
*,
|
|
9758
|
+
historical_context_window_size: typing.Optional[jsii.Number] = None,
|
|
9759
|
+
invocation_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMemory.InvocationConfigurationInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9760
|
+
trigger_conditions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMemory.TriggerConditionInputProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
9761
|
+
) -> None:
|
|
9762
|
+
"""Type checking stubs"""
|
|
9763
|
+
pass
|
|
9764
|
+
|
|
9178
9765
|
def _typecheckingstub__fdd1426fa7487dcb02499d9f810acd963031578a3c30fd4be0b076b09a32b124(
|
|
9179
9766
|
*,
|
|
9180
9767
|
name: builtins.str,
|
|
@@ -9242,6 +9829,29 @@ def _typecheckingstub__b23ed198bcd958ec3a014c4dd2d6c418b82bc1895ca1b0af24503f002
|
|
|
9242
9829
|
"""Type checking stubs"""
|
|
9243
9830
|
pass
|
|
9244
9831
|
|
|
9832
|
+
def _typecheckingstub__0cf65bf0b7de7a122f8fdf3c50a61ba88dd5248ad841dd004cb6bd0f7174ec45(
|
|
9833
|
+
*,
|
|
9834
|
+
idle_session_timeout: typing.Optional[jsii.Number] = None,
|
|
9835
|
+
) -> None:
|
|
9836
|
+
"""Type checking stubs"""
|
|
9837
|
+
pass
|
|
9838
|
+
|
|
9839
|
+
def _typecheckingstub__171b0765936a13c6e7c17456605ec3e2bc9c36685a864e8c11187bfd9a4bc89a(
|
|
9840
|
+
*,
|
|
9841
|
+
token_count: typing.Optional[jsii.Number] = None,
|
|
9842
|
+
) -> None:
|
|
9843
|
+
"""Type checking stubs"""
|
|
9844
|
+
pass
|
|
9845
|
+
|
|
9846
|
+
def _typecheckingstub__9ca3b096b467bf1778a21961da57f12ce16cf0ef63aeee1b912577f66fdb48cb(
|
|
9847
|
+
*,
|
|
9848
|
+
message_based_trigger: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMemory.MessageBasedTriggerInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9849
|
+
time_based_trigger: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMemory.TimeBasedTriggerInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9850
|
+
token_based_trigger: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMemory.TokenBasedTriggerInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9851
|
+
) -> None:
|
|
9852
|
+
"""Type checking stubs"""
|
|
9853
|
+
pass
|
|
9854
|
+
|
|
9245
9855
|
def _typecheckingstub__404072c850abd871eb86ee8d04d20a311da6fb4147c983194a800b234cbf1e04(
|
|
9246
9856
|
*,
|
|
9247
9857
|
name: builtins.str,
|
|
@@ -9470,3 +10080,6 @@ def _typecheckingstub__1df913b08f181c8777324479d4caab3dc1c0e41137ac1db4a0b10f478
|
|
|
9470
10080
|
) -> None:
|
|
9471
10081
|
"""Type checking stubs"""
|
|
9472
10082
|
pass
|
|
10083
|
+
|
|
10084
|
+
for cls in [IBrowserCustomRef, ICodeInterpreterCustomRef, IGatewayRef, IGatewayTargetRef, IMemoryRef, IRuntimeEndpointRef, IRuntimeRef]:
|
|
10085
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|