AgentAliasHistoryEventProperty Struct
Contains details about the history of the alias.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const agentAliasHistoryEventProperty: bedrock.CfnAgentAlias.AgentAliasHistoryEventProperty = {
endDate: 'endDate',
routingConfiguration: [{
agentVersion: 'agentVersion',
}],
startDate: 'startDate',
};
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_bedrock as bedrock
agent_alias_history_event_property = bedrock.CfnAgentAlias.AgentAliasHistoryEventProperty(
end_date="endDate",
routing_configuration=[bedrock.CfnAgentAlias.AgentAliasRoutingConfigurationListItemProperty(
agent_version="agentVersion"
)],
start_date="startDate"
)
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.bedrock.*;
AgentAliasHistoryEventProperty agentAliasHistoryEventProperty = AgentAliasHistoryEventProperty.builder()
.endDate("endDate")
.routingConfiguration(List.of(AgentAliasRoutingConfigurationListItemProperty.builder()
.agentVersion("agentVersion")
.build()))
.startDate("startDate")
.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.Bedrock;
var agentAliasHistoryEventProperty = new AgentAliasHistoryEventProperty {
EndDate = "endDate",
RoutingConfiguration = new [] { new AgentAliasRoutingConfigurationListItemProperty {
AgentVersion = "agentVersion"
} },
StartDate = "startDate"
};
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"
agentAliasHistoryEventProperty := &AgentAliasHistoryEventProperty{
EndDate: jsii.String("endDate"),
RoutingConfiguration: []interface{}{
&AgentAliasRoutingConfigurationListItemProperty{
AgentVersion: jsii.String("agentVersion"),
},
},
StartDate: jsii.String("startDate"),
}
Properties
endDateoptionalstringend_dateoptionalstrendDateoptionalStringEndDateoptionalstringEndDateoptional*string #The date that the alias stopped being associated to the version in the `routingConfiguration` object.
routingConfigurationoptionalIResolvable | IResolvable | CfnAgentAlias.routing_configurationoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, AgentAliasRoutingConfigurationListItemProperty]]]routingConfigurationoptionalIResolvableRoutingConfigurationoptionalIResolvableRoutingConfigurationoptionalinterface{} #Contains details about the version of the agent with which the alias is associated.
startDateoptionalstringstart_dateoptionalstrstartDateoptionalStringStartDateoptionalstringStartDateoptional*string #The date that the alias began being associated to the version in the `routingConfiguration` object.