GetRolePlainArgs

data class GetRolePlainArgs(val roleName: String) : ConvertibleToJava<GetRolePlainArgs>

Constructors

Link copied to clipboard
constructor(roleName: String)

Properties

Link copied to clipboard

A name for the IAM role, up to 64 characters in length. For valid values, see the RoleName parameter for the CreateRole action in the IAM User Guide . This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-. The role name must be unique within the account. Role names are not distinguished by case. For example, you cannot create roles named both "Role1" and "role1". If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the role name. If you specify a name, you must specify the CAPABILITY_NAMED_IAM value to acknowledge your template's capabilities. For more information, see Acknowledging IAM Resources in AWS CloudFormation Templates .

Functions

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