machinelearning:CreateMLModel

Write

machinelearning:CreateMLModel is a Write access-level action in the machinelearning service. Creates a new MLModel

Resource types

ARNs that machinelearning:CreateMLModel can be scoped to in an IAM policy.

arn:${Partition}:machinelearning:${Region}:${Account}:datasource/${DatasourceId}
datasource
arn:${Partition}:machinelearning:${Region}:${Account}:mlmodel/${MlModelId}
mlmodel

Condition keys

No condition keys are documented for this action.

Example IAM policy

A minimal policy that allows machinelearning:CreateMLModel. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowMachinelearningCreateMLModel",
      "Effect": "Allow",
      "Action": "machinelearning:CreateMLModel",
      "Resource": "*"
    }
  ]
}

Related actions in machinelearning

View all machinelearning actions →