interface InstanceLifecycleConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.BedrockAgentCore.CfnCapacityProvider.InstanceLifecycleConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CfnCapacityProvider_InstanceLifecycleConfigurationProperty |
Java | software.amazon.awscdk.services.bedrockagentcore.CfnCapacityProvider.InstanceLifecycleConfigurationProperty |
Python | aws_cdk.aws_bedrockagentcore.CfnCapacityProvider.InstanceLifecycleConfigurationProperty |
TypeScript | aws-cdk-lib » aws_bedrockagentcore » CfnCapacityProvider » InstanceLifecycleConfigurationProperty |
Configuration for managing the lifecycle of instances in a capacity provider.
Example
// 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 instanceLifecycleConfigurationProperty: bedrockagentcore.CfnCapacityProvider.InstanceLifecycleConfigurationProperty = {
idleInstanceTimeout: 123,
maxLifetime: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| idle | number | The number of seconds an instance can remain idle before it is stopped. |
| max | number | Maximum lifetime for the instance in seconds. |
idleInstanceTimeout?
Type:
number
(optional)
The number of seconds an instance can remain idle before it is stopped.
maxLifetime?
Type:
number
(optional)
Maximum lifetime for the instance in seconds.
Once reached, instances will be automatically terminated regardless of activity. Default: 28800 seconds (8 hours). Maximum: 1209600 seconds (14 days).

.NET
Go
Java
Python
TypeScript