# HubAccessConfigProperty

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](https://docs.aws.amazon.com/sagemaker/latest/dg/jumpstart-curated-hubs.html) .

- Source: Generated at build time
- Type last changed: v2.154.0 · 22 Aug 2024

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `hubContentArn`: 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.
