# AgentAliasHistoryEventProperty

Contains details about the history of the alias.

- Source: Generated at build time
- Type last changed: v2.139.0 · 24 Apr 2024

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `endDate`: string — The date that the alias stopped being associated to the version in the `routingConfiguration` object.

- `routingConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAgentAlias.AgentAliasRoutingConfigurationListItemProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnAgentAlias.AgentAliasRoutingConfigurationListItemProperty.html)[] — Contains details about the version of the agent with which the alias is associated.

- `startDate`: string — The date that the alias began being associated to the version in the `routingConfiguration` object.
