Group

data class Group(val value: String) : SubscriptionPrincipal

The identifier of a group in the IAM Identity Center instance connected to the Amazon Q Business application.

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard

Casts this SubscriptionPrincipal as a Group and retrieves its kotlin.String value. Throws an exception if the SubscriptionPrincipal is not a Group.

Link copied to clipboard

Casts this SubscriptionPrincipal as a Group and retrieves its kotlin.String value. Returns null if the SubscriptionPrincipal is not a Group.

Link copied to clipboard
fun asUser(): String

Casts this SubscriptionPrincipal as a User and retrieves its kotlin.String value. Throws an exception if the SubscriptionPrincipal is not a User.

Link copied to clipboard

Casts this SubscriptionPrincipal as a User and retrieves its kotlin.String value. Returns null if the SubscriptionPrincipal is not a User.