Skip to content
v2.278.0

TokenBasedTriggerInputProperty Struct ​

The token based trigger input.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const tokenBasedTriggerInputProperty: bedrockagentcore.CfnMemory.TokenBasedTriggerInputProperty = {
  tokenCount: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrockagentcore as bedrockagentcore

token_based_trigger_input_property = bedrockagentcore.CfnMemory.TokenBasedTriggerInputProperty(
    token_count=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrockagentcore.*;

TokenBasedTriggerInputProperty tokenBasedTriggerInputProperty = TokenBasedTriggerInputProperty.builder()
        .tokenCount(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.BedrockAgentCore;

var tokenBasedTriggerInputProperty = new TokenBasedTriggerInputProperty {
    TokenCount = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

tokenBasedTriggerInputProperty := &TokenBasedTriggerInputProperty{
	TokenCount: jsii.Number(123),
}

Properties ​

tokenCountoptionalnumbertoken_countoptionalint | floattokenCountoptionalNumberTokenCountoptionaldoubleTokenCountoptional*float64 #
The token based trigger token count.