Skip to content
v2.277.0

PerformanceConfigurationProperty Struct ​

Performance settings for a model.

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 performanceConfigurationProperty: bedrock.CfnFlow.PerformanceConfigurationProperty = {
  latency: 'latency',
};
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

performance_configuration_property = bedrock.CfnFlow.PerformanceConfigurationProperty(
    latency="latency"
)
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.*;

PerformanceConfigurationProperty performanceConfigurationProperty = PerformanceConfigurationProperty.builder()
        .latency("latency")
        .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 performanceConfigurationProperty = new PerformanceConfigurationProperty {
    Latency = "latency"
};
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"

performanceConfigurationProperty := &PerformanceConfigurationProperty{
	Latency: jsii.String("latency"),
}

Properties ​

latencyoptionalstringlatencyoptionalstrlatencyoptionalStringLatencyoptionalstringLatencyoptional*string#
To use a latency-optimized version of the model, set to `optimized` .