Skip to content

Creates an Amazon SageMaker Partner AI App

Description

Creates an Amazon SageMaker Partner AI App.

Usage

sagemaker_create_partner_app(Name, Type, ExecutionRoleArn, KmsKeyId,
  MaintenanceConfig, Tier, ApplicationConfig, IdcConfig, AuthType,
  EnableIamSessionBasedIdentity, EnableAutoMinorVersionUpgrade,
  ClientToken, Tags)

Arguments

  • Name

    [required] The name to give the SageMaker Partner AI App.

  • Type

    [required] The type of SageMaker Partner AI App to create. Must be one of the following: lakera-guard, comet, deepchecks-llm-evaluation, or fiddler.

  • ExecutionRoleArn

    [required] The ARN of the IAM role that the partner application uses.

  • KmsKeyId

    SageMaker Partner AI Apps uses Amazon Web Services KMS to encrypt data at rest using an Amazon Web Services managed key by default. For more control, specify a customer managed key.

  • MaintenanceConfig

    Maintenance configuration settings for the SageMaker Partner AI App.

  • Tier

    [required] Indicates the instance type and size of the cluster attached to the SageMaker Partner AI App.

  • ApplicationConfig

    Configuration settings for the SageMaker Partner AI App.

  • IdcConfig

    Specifies the Amazon Web Services IAM Identity Center configuration for the SageMaker Partner AI App. Specify this parameter when AuthType is IDC. Apps that use IAM authorization don't use this parameter.

  • AuthType

    [required] The authorization type that users use to access the SageMaker Partner AI App. Valid values:

    • IAM: Users access the SageMaker Partner AI App with their Amazon Web Services IAM identity.
    • IDC: Users access the SageMaker Partner AI App with their Amazon Web Services IAM Identity Center identity. Specify the Identity Center instance to use in IdcConfig.
  • EnableIamSessionBasedIdentity

    When set to TRUE, the SageMaker Partner AI App sets the Amazon Web Services IAM session name or the authenticated IAM user as the identity of the SageMaker Partner AI App user.

  • EnableAutoMinorVersionUpgrade

    When set to TRUE, the SageMaker Partner AI App is automatically upgraded to the latest minor version during the next scheduled maintenance window, if one is available. Default is FALSE.

  • ClientToken

    A unique token that guarantees that the call to this API is idempotent.

  • Tags

    Each tag consists of a key and an optional value. Tag keys must be unique per resource.

Value

A list with the following syntax:

list(
  Arn = "string"
)

Request syntax

svc$create_partner_app(
  Name = "string",
  Type = "lakera-guard"|"comet"|"deepchecks-llm-evaluation"|"fiddler",
  ExecutionRoleArn = "string",
  KmsKeyId = "string",
  MaintenanceConfig = list(
    MaintenanceWindowStart = "string"
  ),
  Tier = "string",
  ApplicationConfig = list(
    AdminUsers = list(
      "string"
    ),
    Arguments = list(
      "string"
    ),
    AssignedGroupPatterns = list(
      "string"
    ),
    RoleGroupAssignments = list(
      list(
        RoleName = "string",
        GroupPatterns = list(
          "string"
        )
      )
    )
  ),
  IdcConfig = list(
    InstanceArn = "string"
  ),
  AuthType = "IAM"|"IDC",
  EnableIamSessionBasedIdentity = TRUE|FALSE,
  EnableAutoMinorVersionUpgrade = TRUE|FALSE,
  ClientToken = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)