View a markdown version of this page

ModelPackageArnDataSource - Amazon Bedrock

ModelPackageArnDataSource

Contains the Amazon Resource Name (ARN) of a SageMaker AI model package to use as the data source for a custom model.

Contents

modelPackageArn

The Amazon Resource Name (ARN) of the SageMaker AI model package. The ARN must be for a model package of restricted type.

To use a model package ARN, you must have the sagemaker:DescribeModelPackage and sagemaker:AccessModelPackageData permissions on the model package resource.

Type: String

Pattern: arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]{9,16}:[0-9]{12}:model-package/[\S]{1,2048}

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: