-

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

  1. Di panel navigasi, pilih Peran.

  2. Pilih Buat peran.

  1. JSON
    { "Version":"2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "Service": [ "hyperpod.sagemaker.amazonaws.com" ] }, "Action": "sts:AssumeRole" } ] }
  2. Pilih Berikutnya.

  1. Pilih Buat kebijakan.

  2. Pilih tab JSON.

  3. JSON
    { "Version":"2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "sagemaker:BatchAddClusterNodes", "sagemaker:BatchDeleteClusterNodes" ], "Resource": "arn:aws:sagemaker:*:*:cluster/*", "Condition": { "StringEquals": { "aws:ResourceAccount": "${aws:PrincipalAccount}" } } }, { "Effect": "Allow", "Action": [ "kms:CreateGrant", "kms:DescribeKey" ], "Resource": "arn:aws:kms:*:*:key/*", "Condition": { "StringLike": { "kms:ViaService": "sagemaker.*.amazonaws.com" }, "Bool": { "kms:GrantIsForAWSResource": "true" }, "ForAllValues:StringEquals": { "kms:GrantOperations": [ "CreateGrant", "Decrypt", "DescribeKey", "GenerateDataKeyWithoutPlaintext", "ReEncryptTo", "ReEncryptFrom", "RetireGrant" ] } } } ] }
  4. Pilih Berikutnya.

  5. Untuk Nama kebijakan, masukkan SageMakerHyperPodKarpenterPolicy.

  6. (Opsional) Untuk Deskripsi, masukkan deskripsi untuk kebijakan.

  7. Pilih Buat kebijakan.

  8. Pilih Berikutnya.

  1. Untuk Nama peran, masukkan SageMakerHyperPodKarpenterRole.

  2. Pilih Buat peran.