@Stability(value=Stable)
public static interface CfnModel.RepositoryAuthConfigProperty
extends software.amazon.jsii.JsiiSerializable
Specify a value for this property only if you specified Vpc as the value for the RepositoryAccessMode field of the ImageConfig object that you passed to a call to CreateModel and the private Docker registry where the model image is hosted requires authentication.
Example:
// 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.*;
RepositoryAuthConfigProperty repositoryAuthConfigProperty = RepositoryAuthConfigProperty.builder()
.repositoryCredentialsProviderArn("repositoryCredentialsProviderArn")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnModel.RepositoryAuthConfigProperty.Builder
A builder for
CfnModel.RepositoryAuthConfigProperty |
static class |
CfnModel.RepositoryAuthConfigProperty.Jsii$Proxy
An implementation for
CfnModel.RepositoryAuthConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnModel.RepositoryAuthConfigProperty.Builder |
builder() |
String |
getRepositoryCredentialsProviderArn()
The Amazon Resource Name (ARN) of an AWS Lambda function that provides credentials to authenticate to the private Docker registry where your model image is hosted.
|
@Stability(value=Stable) @NotNull String getRepositoryCredentialsProviderArn()
For information about how to create an AWS Lambda function, see Create a Lambda function with the console in the AWS Lambda Developer Guide .
@Stability(value=Stable) static CfnModel.RepositoryAuthConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.