GetRolesPlainArgs

data class GetRolesPlainArgs(val ids: List<String>? = null, val nameRegex: String? = null, val outputFile: String? = null, val policyName: String? = null, val policyType: String? = null) : ConvertibleToJava<GetRolesPlainArgs>

A collection of arguments for invoking getRoles.

Constructors

Link copied to clipboard
constructor(ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null, policyName: String? = null, policyType: String? = null)

Properties

Link copied to clipboard
val ids: List<String>? = null

A list of ram role IDs.

Link copied to clipboard
val nameRegex: String? = null

A regex string to filter results by the role name.

Link copied to clipboard
val outputFile: String? = null

File name where to save data source results (after running pulumi preview).

Link copied to clipboard
val policyName: String? = null

Filter results by a specific policy name. If you set this parameter without setting policy_type, the later will be automatically set to System. The resulting roles will be attached to the specified policy.

Link copied to clipboard
val policyType: String? = null

Filter results by a specific policy type. Valid values are Custom and System. If you set this parameter, you must set policy_name as well.

Functions

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