GetRolesPlainArgs

data class GetRolesPlainArgs(val nameRegex: String? = null, val pathPrefix: String? = null) : ConvertibleToJava<GetRolesPlainArgs>

A collection of arguments for invoking getRoles.

Constructors

Link copied to clipboard
constructor(nameRegex: String? = null, pathPrefix: String? = null)

Properties

Link copied to clipboard
val nameRegex: String? = null

Regex string to apply to the IAM roles list returned by AWS. This allows more advanced filtering not supported from the AWS API. This filtering is done locally on what AWS returns, and could have a performance impact if the result is large. Combine this with other options to narrow down the list AWS returns.

Link copied to clipboard
val pathPrefix: String? = null

Path prefix for filtering the results. For example, the prefix /application_abc/component_xyz/ gets all roles whose path starts with /application_abc/component_xyz/. If it is not included, it defaults to a slash (/), listing all roles. For more details, check out 1.

Functions

Link copied to clipboard
open override fun toJava(): GetRolesPlainArgs