Skip to content
v2.277.0

AlgorithmReference Struct ​

A reference to a Algorithm resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as interfaces_sagemaker } from 'aws-cdk-lib/interfaces';
const algorithmReference: interfaces_sagemaker.AlgorithmReference = {
  algorithmArn: 'algorithmArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_sagemaker as interfaces_sagemaker

algorithm_reference = interfaces_sagemaker.AlgorithmReference(
    algorithm_arn="algorithmArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.sagemaker.*;

AlgorithmReference algorithmReference = AlgorithmReference.builder()
        .algorithmArn("algorithmArn")
        .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.Interfaces.Sagemaker;

var algorithmReference = new AlgorithmReference {
    AlgorithmArn = "algorithmArn"
};
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"

algorithmReference := &AlgorithmReference{
	AlgorithmArn: jsii.String("algorithmArn"),
}

Properties ​

algorithmArnstringalgorithm_arnstralgorithmArnStringAlgorithmArnstringAlgorithmArn*string required #
The AlgorithmArn of the Algorithm resource.