![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.sagemaker.kotlin.outputs.GetModelPackageGroupResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.sagemaker.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import com.pulumi.awsnative.sagemaker.kotlin.enums.ModelPackageGroupStatus
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property creationTime The time at which the model package group was created.
* @property modelPackageGroupArn The Amazon Resource Name (ARN) of the model group.
* @property modelPackageGroupPolicy A resouce policy to control access to a model group. For information about resoure policies, see [Identity-based policies and resource-based policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_identity-vs-resource.html) in the *AWS Identity and Access Management User Guide.* .
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::SageMaker::ModelPackageGroup` for more information about the expected schema for this property.
* @property modelPackageGroupStatus The status of a modelpackage group job.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class GetModelPackageGroupResult(
public val creationTime: String? = null,
public val modelPackageGroupArn: String? = null,
public val modelPackageGroupPolicy: Any? = null,
public val modelPackageGroupStatus: ModelPackageGroupStatus? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.GetModelPackageGroupResult): GetModelPackageGroupResult = GetModelPackageGroupResult(
creationTime = javaType.creationTime().map({ args0 -> args0 }).orElse(null),
modelPackageGroupArn = javaType.modelPackageGroupArn().map({ args0 -> args0 }).orElse(null),
modelPackageGroupPolicy = javaType.modelPackageGroupPolicy().map({ args0 -> args0 }).orElse(null),
modelPackageGroupStatus = javaType.modelPackageGroupStatus().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.sagemaker.kotlin.enums.ModelPackageGroupStatus.Companion.toKotlin(args0)
})
}).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy