tree: ec74527e8ada7128accbaaa4bbc18d8a915446af [path history] [tgz]
  1. archetype/
  2. data_preparation/
  3. data_train/
  4. inference.py
  5. liminal.yaml
  6. liminal_sm.py
  7. README.md
  8. requirements.txt
  9. sm_ops.py
examples/sagemaker_example/README.md

sageMaker

Enable access to AWS STS AssumeRole:

Go yo IAM->Role of your user and add under Trust Relationships

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Principal": {
                "Federated": "arn:aws:iam::<ACCOUNT_ID>:saml-provider/Okta"
            },
            "Action": "sts:AssumeRoleWithSAML",
            "Condition": {
                "StringEquals": {
                    "SAML:aud": "https://signin.aws.amazon.com/saml"
                }
            }
        },
        {
            "Sid": "",
            "Effect": "Allow",
            "Principal": {
                "Service": "sagemaker.amazonaws.com"
            },
            "Action": "sts:AssumeRole"
        }
    ]
}