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, orfiddler. -
ExecutionRoleArn[required] The ARN of the IAM role that the partner application uses.
-
KmsKeyIdSageMaker 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.
-
MaintenanceConfigMaintenance 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.
-
ApplicationConfigConfiguration settings for the SageMaker Partner AI App.
-
IdcConfigSpecifies the Amazon Web Services IAM Identity Center configuration for the SageMaker Partner AI App. Specify this parameter when
AuthTypeisIDC. Apps that useIAMauthorization 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 inIdcConfig.
-
EnableIamSessionBasedIdentityWhen 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. -
EnableAutoMinorVersionUpgradeWhen 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 isFALSE. -
ClientTokenA unique token that guarantees that the call to this API is idempotent.
-
TagsEach tag consists of a key and an optional value. Tag keys must be unique per resource.
Value¶
A list with the following syntax:
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"
)
)
)