# LifecycleConfigurationProperty

Struct · External

Configuration for managing the lifecycle of runtime sessions and resources.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

TypeScript:

```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 lifecycleConfigurationProperty: bedrockagentcore.CfnRuntime.LifecycleConfigurationProperty = {
  idleRuntimeSessionTimeout: 123,
  maxLifetime: 123,
};
```

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_bedrockagentcore as bedrockagentcore

lifecycle_configuration_property = bedrockagentcore.CfnRuntime.LifecycleConfigurationProperty(
    idle_runtime_session_timeout=123,
    max_lifetime=123
)
```

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.bedrockagentcore.*;

LifecycleConfigurationProperty lifecycleConfigurationProperty = LifecycleConfigurationProperty.builder()
        .idleRuntimeSessionTimeout(123)
        .maxLifetime(123)
        .build();
```

C#:

```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 lifecycleConfigurationProperty = new LifecycleConfigurationProperty {
    IdleRuntimeSessionTimeout = 123,
    MaxLifetime = 123
};
```

Go:

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

lifecycleConfigurationProperty := &LifecycleConfigurationProperty{
	IdleRuntimeSessionTimeout: jsii.Number(123),
	MaxLifetime: jsii.Number(123),
}
```

## Properties

- `idleRuntimeSessionTimeout`: number — Timeout in seconds for idle runtime sessions.

- `maxLifetime`: number — Maximum lifetime in seconds for runtime sessions.
