HubAccessConfigProperty Struct
The configuration for a private hub model reference that points to a public SageMaker JumpStart model.
For more information about private hubs, see Private curated hubs for foundation model access control in JumpStart .
| 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_sagemaker as sagemaker } from 'aws-cdk-lib';
const hubAccessConfigProperty: sagemaker.CfnModel.HubAccessConfigProperty = {
hubContentArn: 'hubContentArn',
};
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_sagemaker as sagemaker
hub_access_config_property = sagemaker.CfnModel.HubAccessConfigProperty(
hub_content_arn="hubContentArn"
)
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.sagemaker.*;
HubAccessConfigProperty hubAccessConfigProperty = HubAccessConfigProperty.builder()
.hubContentArn("hubContentArn")
.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.Sagemaker;
var hubAccessConfigProperty = new HubAccessConfigProperty {
HubContentArn = "hubContentArn"
};
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"
hubAccessConfigProperty := &HubAccessConfigProperty{
HubContentArn: jsii.String("hubContentArn"),
}
Properties
hubContentArnstringhub_content_arnstrhubContentArnStringHubContentArnstringHubContentArn*string required #The ARN of your private model hub content.
This should be a ModelReference resource type that points to a SageMaker JumpStart public hub model.