Skip to content
v2.277.0

InferenceProfileModelSourceProperty Struct ​

Contains information about the model or system-defined inference profile that is the source for an inference profile..

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 inferenceProfileModelSourceProperty: bedrock.CfnApplicationInferenceProfile.InferenceProfileModelSourceProperty = {
  copyFrom: 'copyFrom',
};
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

inference_profile_model_source_property = bedrock.CfnApplicationInferenceProfile.InferenceProfileModelSourceProperty(
    copy_from="copyFrom"
)
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.*;

InferenceProfileModelSourceProperty inferenceProfileModelSourceProperty = InferenceProfileModelSourceProperty.builder()
        .copyFrom("copyFrom")
        .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 inferenceProfileModelSourceProperty = new InferenceProfileModelSourceProperty {
    CopyFrom = "copyFrom"
};
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"

inferenceProfileModelSourceProperty := &InferenceProfileModelSourceProperty{
	CopyFrom: jsii.String("copyFrom"),
}

Properties ​

copyFromstringcopy_fromstrcopyFromStringCopyFromstringCopyFrom*string required #
The ARN of the model or system-defined inference profile that is the source for the inference profile.