Skip to content
v2.274.0

ModelAccessConfigProperty Struct ​

The access configuration file to control access to the ML model.

You can explicitly accept the model end-user license agreement (EULA) within the ModelAccessConfig .

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 modelAccessConfigProperty: sagemaker.CfnModel.ModelAccessConfigProperty = {
  acceptEula: false,
};

Properties ​

acceptEulaboolean | IResolvableaccept_eulatyping.Union[bool, IResolvable]acceptEulaBooleanAcceptEulaboolAcceptEulainterface{}required#
Specifies agreement to the model end-user license agreement (EULA).
notes

The AcceptEula value must be explicitly defined as True in order to accept the EULA that this model requires. You are responsible for reviewing and complying with any applicable license terms and making sure they are acceptable for your use case before downloading or using a model.