LifecycleConfigurationProperty
Struct External
Configuration for managing the lifecycle of runtime sessions and resources.
| 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_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const lifecycleConfigurationProperty: bedrockagentcore.CfnRuntime.LifecycleConfigurationProperty = {
idleRuntimeSessionTimeout: 123,
maxLifetime: 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
lifecycle_configuration_property = bedrockagentcore.CfnRuntime.LifecycleConfigurationProperty(
idle_runtime_session_timeout=123,
max_lifetime=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.*;
LifecycleConfigurationProperty lifecycleConfigurationProperty = LifecycleConfigurationProperty.builder()
.idleRuntimeSessionTimeout(123)
.maxLifetime(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 lifecycleConfigurationProperty = new LifecycleConfigurationProperty {
IdleRuntimeSessionTimeout = 123,
MaxLifetime = 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"
lifecycleConfigurationProperty := &LifecycleConfigurationProperty{
IdleRuntimeSessionTimeout: jsii.Number(123),
MaxLifetime: jsii.Number(123),
}
Properties
idleRuntimeSessionTimeoutoptionalnumberidle_runtime_session_timeoutoptionalint | floatidleRuntimeSessionTimeoutoptionalNumberIdleRuntimeSessionTimeoutoptionaldoubleIdleRuntimeSessionTimeoutoptional*float64 #Timeout in seconds for idle runtime sessions.
maxLifetimeoptionalnumbermax_lifetimeoptionalint | floatmaxLifetimeoptionalNumberMaxLifetimeoptionaldoubleMaxLifetimeoptional*float64 #Maximum lifetime in seconds for runtime sessions.